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

Home » Public Forums » archive » Manipulation using where
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Manipulation using where [message #53104] Wed, 21 March 2007 06:25
Vidhya is currently offline  Vidhya
Messages: 6
Registered: October 2006
Junior Member
Hi all,

I have an image, SUBIMAGE LONG = Array[372, 374, 62] and I
would like to find all the values equal to zero (basically missing
lines/rows). Right, done using


z = where(subimage(*,*,*) EQ 0, count)

The result is one-dimensional array: LONG = Array[15457]

now I would like perform an operation trying to find which row there
are in, and find the averages of the rows above and below and
replacing them for those found zero values.

How do I go about this?

I tried using array_indices, but its bit confusing.
Your help is appreciated.

Thanks,
Vidhya
[Message index]
 
Read Message
Previous Topic: Re: using ion scripts for local server -apache
Next Topic: Re: Modis Georeferencing

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

Current Time: Sat Oct 11 09:18:40 PDT 2025

Total time taken to generate the page: 0.32611 seconds