Re: Pixel Information [message #10390] |
Wed, 26 November 1997 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Jonathan Greenspon (jon@eddyco.com) writes:
> I am trying to figure out a method of getting IDL to look at a 640x480
> image that I have equipment generating, and then take a certain pixel
> (207,179 - for example) and save the infor on that pixel only.
>
> Then I can plot out or run an FFT analysis on the values within that
> point on a given day....
This has got to be a trick question. Oh, all right, I'll
bite.
How about this:
pixelValues = FltArr(daysTotal)
FOR eachimage=0,daysTotal-1 DO BEGIN
image = OpenImage()
pixelValues[eachimage] = image[207,179]
ENDFOR
Plot, pixelValues
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|