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

Home » Public Forums » archive » Re: How to obtain pixel location
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 obtain pixel location [message #62833 is a reply to message #62832] Sat, 11 October 2008 10:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
frankosuna writes:

> I need to get the pixel locations where the pixels equal a certain
> value. I need an x and y value for them. Is there any easy and
> efficient way to do this? I'm working with 1024x1024 images

The WHERE function comes to mind. Perhaps combined with
ARRAY_INDICES if you need the column and row values.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Chinese antique
Next Topic: Re: Another MPFIT question

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

Current Time: Sat Oct 11 14:19:39 PDT 2025

Total time taken to generate the page: 0.56227 seconds