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

Home » Public Forums » archive » Re: How to find the pixel position
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: How to find the pixel position [message #70678 is a reply to message #70637] Thu, 29 April 2010 10:58 Go to previous messageGo to previous message
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
> Note that the WHERE function returns one-dimensional subscripts. You can
> convert them back to two-dimensional subscripts (if you need to) using
> the ARRAY_INDICES function:
>
> rectIndices = array_indices([1024,1024],findIndices,/dimensions)


Can anyone enlighten me about whether there's any advantage to using
the /dimensons keyword in array_indices? I hear people claim it's to
prevent passing big arrays around, but those big arrays would be
passed by reference, yes? In which case that wouldn't be a problem

chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL Page Downloads
Next Topic: Re: Regarding " WRITING DICOM IMAGES"

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

Current Time: Fri Oct 10 19:30:27 PDT 2025

Total time taken to generate the page: 2.39800 seconds