From: LFG Tech on
Hello Friends,

I am trying to filter out blobs in an image which are lesser than a threshold value.

My image contains a few dozen blobs(amoeba shaped). Some are big and some are small. I intend to filter out all the blobs except the largest, followed by filtering all blobs except the second largest and so on and so forth.

Could you pls advice me as to how to achieve this?

Regards,
LFG.
From: kinor on
"LFG Tech " <vinodkaruvat(a)gmail.com> wrote in message <hunch8$9qo$1(a)fred.mathworks.com>...
> Hello Friends,
>
> I am trying to filter out blobs in an image which are lesser than a threshold value.
>
> My image contains a few dozen blobs(amoeba shaped). Some are big and some are small. I intend to filter out all the blobs except the largest, followed by filtering all blobs except the second largest and so on and so forth.
>
> Could you pls advice me as to how to achieve this?
>
> Regards,
> LFG.

if you can use the image processing toolbox:

help label
help regionprops

hth
kinor
From: ImageAnalyst on
LFG.:
This exact thing (with coins instead of amoeba) is done in my image
processing demo:
http://www.mathworks.com/matlabcentral/fileexchange/25157
-ImageAnalyst

From: LFG Tech on
"kinor " <kinor.removethiswithdot(a)gmx.de> wrote in message <hunr7p$44b$1(a)fred.mathworks.com>...
> "LFG Tech " <vinodkaruvat(a)gmail.com> wrote in message <hunch8$9qo$1(a)fred.mathworks.com>...
> > Hello Friends,
> >
> > I am trying to filter out blobs in an image which are lesser than a threshold value.
> >
> > My image contains a few dozen blobs(amoeba shaped). Some are big and some are small. I intend to filter out all the blobs except the largest, followed by filtering all blobs except the second largest and so on and so forth.
> >
> > Could you pls advice me as to how to achieve this?
> >
> > Regards,
> > LFG.
>
> if you can use the image processing toolbox:
>
> help label
> help regionprops
>
> hth
> kinor

Hello Kinor,

Is it label or bwlabel?

Thanks
LFG