Hi!!
I´ve a problem with the Image Calculator. I wanted to evaluate the number of bacteria in a z-stack and I decided to sum all the slices (Sum Slices) and then make a mask of the bacteria, and use the AND function of the Image Calculator to evaluate only the fluorescence that matches the mask. The result of this operation gives me a dotted image. When I convert the image to 16 bit, I don't have this problem, but I need to keep the image in 32 bit. I am not sure what mistake I am making. I wanted to know if you could help me. Thank you very much -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html Sample.tif (166K) Download Attachment |
On 21/07/2020 02:02, María Victoria Pepe wrote:
> Hi!! > > I´ve a problem with the Image Calculator. I wanted to evaluate the number > of bacteria in a z-stack and I decided to sum all the slices (Sum Slices) > and then make a mask of the bacteria, and use the AND function of the Image > Calculator to evaluate only the fluorescence that matches the mask. The > result of this operation gives me a dotted image. When I convert the image > to 16 bit, I don't have this problem, but I need to keep the image in 32 > bit. I am not sure what mistake I am making. I wanted to know if you could > help me. > > Thank you very much > This will not work. What I do in such cases is convert the mask to an image that contains only 1 and 0 (eg by integer division by 255), and then multiplying the two images, instead of logical AND. --aryeh -- Aryeh Weiss Faculty of Engineering Bar Ilan University Ramat Gan 52900 Israel Ph: 972-3-5317638 FAX: 972-3-7384051 -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi!!
This is a beautiful group! Whenever I had a problem, you knew how to guide me! Thank you so much for all the help! <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Libre de virus. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> El lun., 20 jul. 2020 a las 23:48, Aryeh Weiss (<[hidden email]>) escribió: > On 21/07/2020 02:02, María Victoria Pepe wrote: > > Hi!! > > > > I´ve a problem with the Image Calculator. I wanted to evaluate the number > > of bacteria in a z-stack and I decided to sum all the slices (Sum Slices) > > and then make a mask of the bacteria, and use the AND function of the > Image > > Calculator to evaluate only the fluorescence that matches the mask. The > > result of this operation gives me a dotted image. When I convert the > image > > to 16 bit, I don't have this problem, but I need to keep the image in 32 > > bit. I am not sure what mistake I am making. I wanted to know if you > could > > help me. > > > > Thank you very much > > > I suspect that you are using a logical bit by bit AND on a 32 bit image. > This will not work. > > What I do in such cases is convert the mask to an image that contains > only 1 and 0 (eg by integer division by 255), and then > multiplying the two images, instead of logical AND. > > --aryeh > > -- > Aryeh Weiss > Faculty of Engineering > Bar Ilan University > Ramat Gan 52900 Israel > > Ph: 972-3-5317638 > FAX: 972-3-7384051 > > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |