Re: Isolating the background pixels from foreground pixels

Posted by Geology Guy on
URL: http://imagej.273.s1.nabble.com/Isolating-the-background-pixels-from-foreground-pixels-tp5003764p5003766.html

Dear Karsten,
Thanks for your response. I checked the Edit> Options> Colors and the background is black while the Foreground is White. This is what I expect because after reading the Image J manual, I learnt that Image J only makes calculations from binary images when the background is black and the foreground is white.

I am using the default thresholding (i.e. AUTO) and checked the DARK BACKGROUND BOX. Then when I was ready to do binary image a,dialogue box popped up and I unchecked the box next to "BLACK FOREGROUND and WHITE BACKGROUND". Again this setting that I am using is because the Image J manual recommended a background that is black and white foreground in order to be able to carry out calculations involving binary imaging. Or am I wrong somewhere maybe that's why the background pixels are getting picked up in the foreground when I try to calculate Area for foreground objects ONLY? Thanks for your help.