Re: Removing grill/grate - "horizontal stripes in background"

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/Removing-grill-grate-horizontal-stripes-in-background-tp5009203p5009209.html

Hi Kiwa,

in such a situation good lighting is the key to success:

(1) with light from left and right only, you should be able to eliminate the reflections on the grid
(2) have the background as dark as possible (block light that would illuminate background objects below the grid)
(3) have the same light intensity in all of the image (currently, it gets much darker towards the back).

Michael
________________________________________________________________
On Aug 14, 2014, at 16:49, Kiwa wrote:

> Hello All,
>
> I am trying to process this image:
> <http://imagej.1557.x6.nabble.com/file/n5009203/Food.jpg>
>
> I would like to remove the background to keep only the "food".
> The color doesn't matter since I basically want to calculate the surface of
> the food.
> (I know this image is not really good, I would need to take a picture
> directly above the belt)
>
> I am facing difficulties with the grill/grid in the background.
> I tried several approaches :
> - Grayscale + Thresholding + Bandpass filter
> - Split RBG channel, Threshold min/max on each, Merge
> - Edge detection
> - Watershed ..
>
> So far, the best image I got is after applying good Levels/Windows.. to the
> Red channel image.
> Here :
> <http://imagej.1557.x6.nabble.com/file/n5009203/Food.jpg>
>
>
> Do you guys have any ideas how I could remove the horizontal lines ?
>
> Do you think it's feasible or better to do a detection/object-tracking of
> the large white/colored features to get multiple ROI for each food part and
> then work on them separately ?
>
> I am open to any suggestions,
>
> Thanks a lot,
> K.
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Removing-grill-grate-horizontal-stripes-in-background-tp5009203.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html