From: saurabh pandey on 5 Jun 2010 01:31 how to calculate area of a grayscale image?
From: Walter Roberson on 5 Jun 2010 01:56 saurabh pandey wrote: > how to calculate area of a grayscale image? Multiply the height by the width ? Other than that, consider thresholding the image to binary and using bwarea()
From: saurabh pandey on 5 Jun 2010 02:19 Walter Roberson <roberson(a)hushmail.com> wrote in message <1GlOn.41508$Ak3.35826(a)newsfe16.iad>... > saurabh pandey wrote: > > how to calculate area of a grayscale image? > > Multiply the height by the width ? > > Other than that, consider thresholding the image to binary and using > bwarea() actually sir i made a code for segmentation of images using morphology.now i want to anaylse quantitatively that by how much percent the image is segmented? if i convert the image to binary,then i think it is not a best way. is there any method to analyse the segmentation?
From: ImageAnalyst on 5 Jun 2010 07:58 On Jun 5, 2:19 am, "saurabh pandey" <sathiya_saur...(a)yahoo.co.in> wrote: > actually sir i made a code for segmentation of images using morphology.now i want to anaylse quantitatively that by how much percent the image is segmented? > if i convert the image to binary,then i think it is not a best way. > is there any method to analyse the segmentation? ---------------------------------------------------------------------- So you did some grayscale morphology on a grayscale image and now you have a grayscale image. You didn't convert the image to binary so exactly which of the gray pixels do you consider to be the "segmented" ones and which are unsegmented? I don't think you have a segmentation. You just have a grayscale image so all you can do now are things like calculating the mean of the whole image, it's standard deviation, centroid, and things like that. You can't calculate the area of anything because you haven't defined any object yet in the image. All you have is the whole image so like Walter said you can only calculate the area of the whole image.
From: saurabh pandey on 5 Jun 2010 08:34 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <691b8b64-1fde-49b3-9626-1c0d955c953c(a)a30g2000yqn.googlegroups.com>... > On Jun 5, 2:19 am, "saurabh pandey" <sathiya_saur...(a)yahoo.co.in> > wrote: > > actually sir i made a code for segmentation of images using morphology.now i want to anaylse quantitatively that by how much percent the image is segmented? > > if i convert the image to binary,then i think it is not a best way. > > is there any method to analyse the segmentation? > > ---------------------------------------------------------------------- > So you did some grayscale morphology on a grayscale image and now you > have a grayscale image. You didn't convert the image to binary so > exactly which of the gray pixels do you consider to be the "segmented" > ones and which are unsegmented? > > I don't think you have a segmentation. You just have a grayscale > image so all you can do now are things like calculating the mean of > the whole image, it's standard deviation, centroid, and things like > that. You can't calculate the area of anything because you haven't > defined any object yet in the image. All you have is the whole image > so like Walter said you can only calculate the area of the whole image. no sir actually i have converted the image to binary image.and then i applied morphological image processing on it and segment the area of interest which is also a binary image(black and white).now i find the perimeter of my segmented image and overlay(downloaded from steve blog) that perimeter to my grayscale image.now the area of segmented image can be calculated by the image for which i calculate the perimeter using bwarea, because it is a binary image.but how can i calculate the area for gray image so dividing the area of segmented image by area of gray image i could found the percent of segmentation, i.e.,by how much percent the original gray image is segmented. can you please tell me what is meant by area in gray and binary image? thank you for your support.
|
Next
|
Last
Pages: 1 2 Prev: Free Project Management Software Next: simmechanics and structure's vibrating freq. |