I've an image read into matlab as matrix.I'll like to determine the area covered
by the pixels of certain value. I don't have image toolbox processing. I'll
like do the coding directly.
Please advise.
Thanks for your usual help.
Area covered by the pixel
Started by ●August 12, 2009
Reply by ●August 12, 20092009-08-12
Kay Ajayi-
> I've an image read into matlab as matrix.I'll like to determine
> the area covered by the pixels of certain value. I
> don't have image toolbox processing. I'll like do the coding
> directly.
Can't you just count all the values in the matrix that are equal to what you want?
For an image, "area" depends on what hardware and how the image is rendered. I think it's called "dot pitch"... and
from that you could get mm2 or other actual area-per-pixel figure, then just sum.
-Jeff
> I've an image read into matlab as matrix.I'll like to determine
> the area covered by the pixels of certain value. I
> don't have image toolbox processing. I'll like do the coding
> directly.
Can't you just count all the values in the matrix that are equal to what you want?
For an image, "area" depends on what hardware and how the image is rendered. I think it's called "dot pitch"... and
from that you could get mm2 or other actual area-per-pixel figure, then just sum.
-Jeff