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

Home » Public Forums » archive » Quick question regarding "where" function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Quick question regarding "where" function [message #45830] Wed, 12 October 2005 14:06
ChiChiRuiz@gmail.com is currently offline  ChiChiRuiz@gmail.com
Messages: 32
Registered: October 2005
Member
I have an image of pixels (xsize by ysize), each pixel is associated
with a value. Say I'd like to know which pixels have value over 20. I
need to book-keep the values as well as the location of the pixel (i.e.
x, y values). I started with

indices = where (image GT 20)

now I have a list of indices, what do i do next? How do I go backwards
to retrieve the values and the locations of the pixels that pass the
test?

thanks for your help.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Tab Widgets changes at runtime?
Next Topic: Re: group leader for iTools

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

Current Time: Wed Oct 08 18:41:34 PDT 2025

Total time taken to generate the page: 0.00606 seconds