[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pixel coordinates of a line

Marc Schellens writes:

> I want to extract pixels along a line.
> I know start and endpoint (ie. I draw the line in top of the
> image).
> How to get the pixel values? Do I have to do it 'by hand'?

Here is an article that describes how to do this
for another purpose, using the INTERPOLATE function:




David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155