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

Home » Public Forums » archive » coherence test implementation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
coherence test implementation [message #15336] Thu, 13 May 1999 00:00 Go to previous message
Mark Rehbein is currently offline  Mark Rehbein
Messages: 8
Registered: January 1999
Junior Member
Hi,

I'm doing some cloud detection on some rather large images using what
some people call a coherence test. To do a coherence test on a pixel
you take a 3x3 matrix around that pixel and assign that pixel the
standard deviation of the 3x3 matrix. I have implemented this the
following way:

for y=1, lines-1 do begin
for x=1, pixels-1 do begin
matrix=ch4(x-1:x+1, y-1:y+1)
stats=moment(matrix, sdev=sdev)
sddevimage(x,y)=sdev
endfor
endfor


You might agree that the code above can be more efficient if I use array
and matrix operations. I'm fairly new to IDL and haven't been able to
successfully use array and matrix operations in this application.

I'd appreciate any help any of you could provide.

Please email mrehbein@aims.gov.au

Thanks

Mark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: divide by zero problems
Next Topic: little and big endian -- once more

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

Current Time: Thu Oct 09 22:50:00 PDT 2025

Total time taken to generate the page: 1.75828 seconds