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

Home » Public Forums » archive » Re: Cell boundary program?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Cell boundary program? [message #21096 is a reply to message #21093] Tue, 08 August 2000 00:00 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
> I'm a new IDL user and I don't know much about objects. What would I do
> with a IDLgrROIGroup once I have it? How would I plot an outline? Thanks a
> lot!!

If your new to IDL (and programming in general) I suggest playing with
the first suggestion put forth by Richard. IDL Objects are great. I
love them. But I would never suggest that someone new to IDL start
programming with them.

I would also suggest getting a book on IDL programming. The RSI docs
leave much to be desired. There are a few of them available. I started
with David Fanning's book and found it a great for the beginner. I have
Ron Kling's book on order but I am under the assumption that this book
is geared more towards the intermediate programmer so it might not be
what you are looking for.

Good Luck!

-Rick Towler


> Richard Adams wrote in message ...
>>> The other method, convolution is also quick, but the returned indices are
> in
>>> scan-line order. In this case, all the boundary pixels are included.
> This
>>> method was suggested by ... uhoh, I forgotten who it was right now,
> sorry.
>>> Here's the steps as described on the newsgroup by the unknown author.
>>>
>>> bb = convol(Image, replicate(1,3,3),9,/center)
>>> Edges = Where(bb gt 0 AND bb LT 255)
>>> bb[*] = 0
>>> bb[edges] = 255 ; make this new image just edges
>>> bb = Image AND BB ; now keep just those edges inside your object
>>> perimeter = where(bb eq 255); these are indices to final outline
>>>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VMS FORTRAN/GKS Graphics to PV-WAVE conversion
Next Topic: Splitting JPEG files into RGB components

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

Current Time: Wed Oct 08 16:07:15 PDT 2025

Total time taken to generate the page: 0.00218 seconds