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

Home » Public Forums » archive » Re: Need Some Good Ideas
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: Need Some Good Ideas [message #29437 is a reply to message #29436] Thu, 21 February 2002 04:46 Go to previous messageGo to previous message
ronn is currently offline  ronn
Messages: 123
Registered: April 1999
Senior Member
Hi David,

Craig's method is much more elegant than this one, but I find it useful.

After you draw the contours around your blobs then create a blank pixmap of
the same size as the image. (I am guessing that you are using device
coordinates) Then draw the contour to the pixmap in a single color like 255.
Do an im= TVRD() to get a new image and then do an indices = where( im eq
255). Turn these back to x,y coords and you have a very nearly evenly
spaced series of points.

-Ronn


--
Ronn Kling
KRS, inc.
email: ronn@rlkling.com
"Application Development with IDL"� programming book updated for IDL5.5!
"Calling C from IDL, Using DLM's to extend your IDL code"!
http://www.rlkling.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: OT - Programmer war stories
Next Topic: Euler formula with complex numbers

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

Current Time: Thu Oct 09 07:21:30 PDT 2025

Total time taken to generate the page: 0.79536 seconds