I have a photo of a mixture of blue plastic and sand (attached below). I want to identify the % area of the blue plastic (i.e. % blue color in the image) via imageJ. I’ve already tried the color pixel counter plugin, but my problem is with adapting the image before using the plugin.
Problem part 1:
I usually adjust the brightness/contrast and the color balance (set to blue) (under image > adjust ). However the % area of blue color changes with every slight change in the brightness/contrast and the color balance.
Problem part 2:
My aim is to split the image into grids (analyze > tools > grid) and then analyze each cell on the grid individually. Obviously I could not find an easy way to do that, so I hand-draw rectangles and then use the plugin to count the blue color pixel in every rectangle. The problem is that if the overall % blue in the image is 60%, then for each individual cell on the grid that I analyze, I will get a value that’s around 60%, even though I can easily tell that’s wrong by simple looking at the image.
The reason I do not threshold is that once I do (color threshold), the plugin no longer recognizes the color blue (even if part of the image is still blue).
Thanks in advance,