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

Home » Public Forums » archive » Re: Convert 3D to 1D, apply fuction then convert back to 3D
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: Convert 3D to 1D, apply fuction then convert back to 3D [message #71435 is a reply to message #71433] Sun, 20 June 2010 17:58 Go to previous messageGo to previous message
Mat is currently offline  Mat
Messages: 14
Registered: December 2009
Junior Member
On Jun 21, 12:21 pm, pp <pp.pente...@gmail.com> wrote:
> On Jun 20, 9:06 pm, Mat <m...@waikato.ac.nz> wrote:
>
>> The results are three water quality parameters. Actually it does not
>> matter whether they are within one result or three separate results.
>
> That still says nothing to answer your question. You called a function
> that used a (5,nx*xy) array and returned a 3-element array. We do not
> know how those 3 numbers relate to the 5*nx*ny values in the array, or
> what you were intending to get that also was supposed to have 5*nx*ny
> elements.

No the function used the "imageR" from above which is a floating 1D 5
element array (reformed from a 5 band 3d image (satellite reflectance)
and returned a 3-element array(water quality). The function is complex
and not my code so I'm not in a position to post it sorry. So for each
pixel in the original tiff I want the water quality (three parameters)
in an image format. I hope this helps.

I think it is simpler if somebody posts a code to convert an
image(5,nx*xy) to 1D, then convert it back to the original image. I
think I could fill in the gaps.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Selecting data from two separate arrays
Next Topic: Re: MPFIT Chance probability

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

Current Time: Fri Oct 10 04:58:07 PDT 2025

Total time taken to generate the page: 0.02733 seconds