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

Home » Public Forums » archive » Re: IMAGE_STATISTICS for 3D Array
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: IMAGE_STATISTICS for 3D Array [message #70446] Tue, 13 April 2010 20:46 Go to previous message
Ashok is currently offline  Ashok
Messages: 5
Registered: April 2010
Junior Member
On Apr 12, 10:42 pm, David Fanning <n...@dfanning.com> wrote:
> Ashok writes:
>> Your clarification is highly appreciated.
>
> Can you show us the result of these two commands just
> prior to the call to Image_Statistics.
>
>   Help, ref_band
>   Help, maskgrid
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Hi David,

Thank you for your reply.

ref_band and maskgrid both have dimensions of [600, 1000, 7]. My bad I
didn't mention earlier.

I found that IMAGE_STATISTICS works for 3D as well; I changed by code
like;

ref_band = fltarr(s_size,l_size,7)
ref_band(*,*,band_no-1) = reflective_bands(nw_sam:nw_sam +
roi_sam_size-1 , nw_lin:nw_lin + roi_len_size-1, band_no)

where, nw_sam and nw_lin are pixel position of northwest corner of my
ROI.
roi_sam_size = 600
roi_len_size = 1000

Anyway, I am happy to come-over this problem.


Ashok
[Message index]
 
Read Message
Read Message
Previous Topic: IDL license costs in europe?
Next Topic: Object Graphics Color Weirdness

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

Current Time: Wed Oct 08 15:07:42 PDT 2025

Total time taken to generate the page: 0.00465 seconds