From: Ashish Uthama on
On Thu, 20 May 2010 00:00:20 -0400, subrajeet Mohapatra
<subrajeets(a)gmail.com> wrote:

Did you get a chance to think about some of the suggestions?

Here is something to get you started:

%%
Irgb = imread('Leukemia_test_sample1_cell1_virginia_whitebg.jpg');
Igray = rgb2gray(Irgb);
Ie = edge(Igray);
If = bwareaopen(Ie,96); %Tweak this number and observe the difference in
the final image
imshow(If);

You could then look at the 'PixelList' option to REGIONPROPS to obtain the
perimeter pixel indices.

Please do have a look at the help/doc for the functions used above (needs
Image Processing Toolbox).
After you read the help, if you have questions.. post here.
From: subrajeet Mohapatra on
"Ashish Uthama" <first.last(a)mathworks.com> wrote in message <op.vcz8xhpia5ziv5(a)uthamaa.dhcp.mathworks.com>...
> On Thu, 20 May 2010 00:00:20 -0400, subrajeet Mohapatra
> <subrajeets(a)gmail.com> wrote:
>
> Did you get a chance to think about some of the suggestions?
>
> Here is something to get you started:
>
> %%
> Irgb = imread('Leukemia_test_sample1_cell1_virginia_whitebg.jpg');
> Igray = rgb2gray(Irgb);
> Ie = edge(Igray);
> If = bwareaopen(Ie,96); %Tweak this number and observe the difference in
> the final image
> imshow(If);
>
> You could then look at the 'PixelList' option to REGIONPROPS to obtain the
> perimeter pixel indices.
>
> Please do have a look at the help/doc for the functions used above (needs
> Image Processing Toolbox).
> After you read the help, if you have questions.. post here.

Thanks Sir,
Actually I am trapped in one place. I had the complete microscopic image and then getting subimages. Actually I want the whole WBC cell separated from the subimages then apply the process which u have said to measure roughness.
Now I have applied kmeans to get the cell but I am loosing some information of the WBC which I dont want to loose.

The original image is like this
http://www.healthsystem.virginia.edu/internet/hematology/hessimages/acute-lymphoblastic-leukemia-l1-subtype-100x-website.jpg

then I applied bounding box to get the subimage
http://drop.io/np0ihon2011
now how can i get the background
removed
From: Ashish Uthama on
On Fri, 21 May 2010 00:32:05 -0400, subrajeet Mohapatra
<subrajeets(a)gmail.com> wrote:

Subrajeet, its best to keep one thread dedicated to a specific issue.
I saw some good recommendation on your other thread(s) for segmenting the
cell, hope you tried them out.
From: subrajeet Mohapatra on
"Ashish Uthama" <first.last(a)mathworks.com> wrote in message <op.vc12uof7a5ziv5(a)uthamaa.dhcp.mathworks.com>...
> On Fri, 21 May 2010 00:32:05 -0400, subrajeet Mohapatra
> <subrajeets(a)gmail.com> wrote:
>
> Subrajeet, its best to keep one thread dedicated to a specific issue.
> I saw some good recommendation on your other thread(s) for segmenting the
> cell, hope you tried them out.

True i shd dedicate i was just answering ur query
From: subrajeet Mohapatra on
"subrajeet Mohapatra" <subrajeets(a)gmail.com> wrote in message <ht52c5$ce2$1(a)fred.mathworks.com>...
> "Ashish Uthama" <first.last(a)mathworks.com> wrote in message <op.vcz8xhpia5ziv5(a)uthamaa.dhcp.mathworks.com>...
> > On Thu, 20 May 2010 00:00:20 -0400, subrajeet Mohapatra
> > <subrajeets(a)gmail.com> wrote:
> >
> > Did you get a chance to think about some of the suggestions?
> >
> > Here is something to get you started:
> >
> > %%
> > Irgb = imread('Leukemia_test_sample1_cell1_virginia_whitebg.jpg');
> > Igray = rgb2gray(Irgb);
> > Ie = edge(Igray);
> > If = bwareaopen(Ie,96); %Tweak this number and observe the difference in
> > the final image
> > imshow(If);
> >
> > You could then look at the 'PixelList' option to REGIONPROPS to obtain the
> > perimeter pixel indices.
> >
> > Please do have a look at the help/doc for the functions used above (needs
> > Image Processing Toolbox).
> > 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