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

Home » Public Forums » archive » Re: idl variable naming
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: idl variable naming [message #48708] Wed, 17 May 2006 05:42 Go to previous message
gareth.j.roberts@kcl. is currently offline  gareth.j.roberts@kcl.
Messages: 2
Registered: May 2006
Junior Member
Thanks for your response Greg.

The images are 2319*2477 float arrays, although perhaps only half the
image pixels contain data. I have an image of the mean value for each
pixel (after looping over all the input images) so I know beforehand
which pixels in the output (median) image will contain a value.

You are quite right. Perhaps I could store the index of each pixel in
the image which has a value and then store all the values associated
with each pixel which will have a value

eg fltarr(51, all pixels which will have a value)
where 50 cols are for storing the values (50 is the max a pixel
contains) and 1 col for storing the index - calculate the median and
then fill in the output image using the index values.

I will give it a go - thanks
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: idl variable naming
Next Topic: Re: ENVI_OUTPUT_TO_EXTERNAL_FORMAT

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

Current Time: Wed Oct 08 20:01:33 PDT 2025

Total time taken to generate the page: 0.00433 seconds