Re: idl variable naming [message #48708] |
Wed, 17 May 2006 05:42 |
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
|
|
|
|
|