comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Automatic Segmentation of a region
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Automatic Segmentation of a region [message #29633] Sun, 03 March 2002 13:42
idlfreak is currently offline  idlfreak
Messages: 47
Registered: October 2001
Member
Hi,
I have a small problem in segmentation. I first threshold a image and
then i perform morphological operations on the binary image. Using
label_regions i've identified all the blobs. I used the where function
to get the regions in each blob. I have one huge blob and the rest are
small. I want to make all the pixels in the small blob as 0.
I tried the following:

Method1:

im = Origimage and morphimage
tv,image

Method 2:

for j = 1, noofblobs do begin
region = Where (morphimage eq j)
Area = n_elements(region)
if (Area le 80000) then begin
morphimage[region] = 0B
endif
endfor

Both didn't work and i get a black screen.

Can anybody please help me.

Thank you for ur help in advance.

Cheers,
Akhila.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to locate the center of particle?
Next Topic: sec : U Re: Mouse Wheel

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:20:50 PDT 2025

Total time taken to generate the page: 0.00504 seconds