Re: IMAGE_STATISTICS for 3D Array [message #70446] |
Tue, 13 April 2010 20:46 |
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
|
|
|
Re: IMAGE_STATISTICS for 3D Array [message #70450 is a reply to message #70446] |
Mon, 12 April 2010 20:42  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
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.")
|
|
|