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

Home » Public Forums » archive » Erosion and dilation
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
Erosion and dilation [message #28933] Tue, 22 January 2002 21:54
idlfreak is currently offline  idlfreak
Messages: 47
Registered: October 2001
Member
HI,
I have a image in this link given below. This image is a segmented
and thresholded binary image. I want to perform morphological
operations so that i can get the arteries and veins only.

http://www.geocities.com/idlfreak/image.jpg

this is what i tried:
st_el = 1
B=REPLICATE(1,st_el,st_el)
image2=ERODE(DILATE(image1,B),B)
WINDOW,2,XSIZE=imSize[1],YSIZE=imSize[2]
TVSCL,CONGRID(image2,imSize[1],imSize[2])

when i enter a value of 1 for the structuring elements. the image is
completely black and for a value of 2 its completely white. I have no
idea why that happens. I'm not able to enter a value that's floating
also.

Can anybody help me with this please.

thank you in advance....

Cheers,
Akhila.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Two Images in One Window - Like oplot or /NOERASE
Next Topic: runtime-license

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

Current Time: Wed Oct 08 17:36:53 PDT 2025

Total time taken to generate the page: 0.00579 seconds