From: ImageAnalyst on 22 May 2010 17:19 On May 22, 11:13 am, "subrajeet Mohapatra" <subraje...(a)gmail.com> wrote: > After you read the help, if you have questions.. post here. > > >Sir after doing this I got a white boundary which are my edges. Is it possible to get the original gray data within that again so that i can calculate other features such as area , mean , max density , major axis, minor axis -------------------------------------------------- Yes, by using: imfill() bwlabel() regionprops() like Ashish said "Please do have a look at the help/doc for the functions used above (needs Image Processing Toolbox). "
From: subrajeet Mohapatra on 23 May 2010 08:35 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <fdfabec7-fcbf-419b-91c8-a971b9a3ab2a(a)w3g2000vbd.googlegroups.com>... > On May 22, 11:13 am, "subrajeet Mohapatra" <subraje...(a)gmail.com> > wrote: > > After you read the help, if you have questions.. post here. > > > > >Sir after doing this I got a white boundary which are my edges. Is it possible to get the original gray data within that again so that i can calculate other features such as area , mean , max density , major axis, minor axis > > -------------------------------------------------- > Yes, by using: > imfill() > bwlabel() > regionprops() > like Ashish said "Please do have a look at the help/doc for the > functions used above (needs Image Processing Toolbox). " Thanks to Ashish and Image analyst I am able get a the desired region and now able to calculate the perimeter ,area mean intensity. I was unable to do because I was not having 2008a. But still thanks a lot for solving the problem But now my problem is since my original image is a color one I need to calculate the color region features. But using region prop I am only able to do for the gray scale image. Shall I apply the whole algorithm separately for three color bands( R G B). I mean to calculate mean RED intensity, GREEN intensity, BLUE Intensity. Further I want to calculate the texture features of the region. So kindly advice
From: Ashish Uthama on 24 May 2010 15:04
On Sun, 23 May 2010 08:35:05 -0400, subrajeet Mohapatra <subrajeets(a)gmail.com> wrote: You could just use the pixel indices for each region obtained from REGIONPROPS to index into the original RGB image to compute any RGB metric you want. |