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 #70632] Tue, 27 April 2010 02:58 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
sid wrote:

> data, but I need to know at which pixel this 5500 counts occur
> exactly, without displaying the image, because I need to do this for

Use WHERE() to find the 1d index of the pixels. If WHERE() delivers a
count of more than zero indices, use ARRAY_INDICES() to convert these
1d indices to x and y indices for your 2d data array.


chl
[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 14:31:15 PDT 2025

Total time taken to generate the page: 1.59511 seconds