Info

This question is closed. Reopen it to edit or answer.

I need help writing a programme to count the adhesion area of algae (in pixels) on a polythene strip

1 view (last 30 days)
I have taken pictures of the polythene strips on a light-box on a hi res camera and need a programme to count what area is covered in algae and what area is polythene only. Would i be best changing the image to black and white or is there a way i can do it with colour?
Thanks

Answers (1)

Image Analyst
Image Analyst on 27 Mar 2014
At some point you need to get it to a gray level image so you can then turn it into a binary image by thresholding. So you'll have "algae" and "non-algae" pixels defined as "true" and "false" in your binary image. I don't know what color the algae is or the polythene is. You can probably do some color segmentation or texture segmentation to discriminate between the two. See my File Exchange for color segmentation demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  6 Comments
Nick
Nick on 2 Apr 2014
I appreciate the help but i'm an inexperienced Matlab user and i'm struggling to understand coding to this level. I looked at your programme for simple colour detection that detects red but wouldn't know where to start to change it to green. Thanks anyway.
Image Analyst
Image Analyst on 2 Apr 2014
Sounds like you've given up. The delta E code lets you pick whatever color you want. Pick a green area and a delta E and see what happens.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!