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

Home » Public Forums » archive » Re: Image profiles along a curved line
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
Re: Image profiles along a curved line [message #52640] Sun, 18 February 2007 08:11
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
james_harrison_321@hotmail.com writes:

> I have recently started using IDL to come up with an image
> analysis program and I have come up with a way of extracting pixel
> intensities along an arbitrary line specified by the cursor (a simple
> y=mx+c job) but I'm stumped on how to extend this to extract
> information along curves (like line profiles along a spline curve for
> instance). I've heard of methods using interpolation, but I've found
> the help a bit confusing when it comes to how to apply it.

Here is an article that describes the technique. The
solution works equally well for curved lines, as well
as for the straight line described in the article.

http://www.dfanning.com/ip_tips/image_profile.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contour on map
Next Topic: Re: Multiply matrix

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

Current Time: Sat Oct 11 05:38:17 PDT 2025

Total time taken to generate the page: 0.64196 seconds