Home »
Public Forums »
archive »
Re: Subscript arrays for ROIs
Re: Subscript arrays for ROIs [message #45240] |
Thu, 18 August 2005 07:54 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
pravesh.subramanian@gmail.com writes:
> SOme of the IDL functions return 1-D array of subscripts for the
> selected regions. Just as arr[1,1] = arr[3]
>
> Many of the IDL functions use X and Y coords explicitly. So it will not
> accept those returned by the aforementioned functions.
>
> Whats the way out (we could write a formula to convert the subscripts
> to x and y form)?
We could (in fact you could find the formulas on my web page),
but it is easier to use ARRAY_INDICES.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Current Time: Fri Oct 10 20:06:51 PDT 2025
Total time taken to generate the page: 0.40063 seconds