I am a novice in image processing. As a part of my school project, I have to do the following steps in Matlab on the below image.
- Detect the edges of a leaf.
- Calculate the area of a leaf (excluding the stem portion)
My friend suggested me an idea of calculating the total number of pixels in the leaf (excluding stem portion) divided by the number of pixels per cm2.
But I don't know how to do these in Matlab. Someone, please guide me.