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

Home » Public Forums » archive » Re: sigma_filter calling sequence
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: sigma_filter calling sequence [message #73896 is a reply to message #73895] Sat, 04 December 2010 15:55 Go to previous messageGo to previous message
burton449 is currently offline  burton449
Messages: 15
Registered: December 2010
Junior Member
On Dec 4, 5:47 pm, David Fanning <n...@dfanning.com> wrote:
> burton449 writes:
>> I would like to use the sigma_filter.pro on an image in IDL 7.1.
>
>> Im a new user and I dont understand how the calling sequence works.
>> The documentation of the filter says that the calling sequence is:
>
>> Result = sigma_filter( image, box_width, N_sigma=(#), /ALL,/MON )
>
>> Can someone help me? I try it in IDL command Line without any success.
>
> Please send us the syntax of the command you used,
> and the error message. Otherwise we have to guess
> among about 100 things you could have done wrong.
>
> Good questions get good answers. :-)
>
> 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.")

Ok!
the script and the image are in the directory d:\
the image is a .tif

In IDL command line I typed the calling sequence with those
parameters:

Result = sigma_filter( image.tif, 5, 2 )

I want the box_widht to be of 5 and the N_sigma to be 2.

The error i got is:

% Syntax error.
IDL> Result = sigma_filter( image.tif, 5, 2 )
% Expression must be a structure in this context: IMAGE.
% Execution halted at: $MAIN$

If try to show the path of the image like d:\\image.tif the error
message is:
% Illegal character in program text.

Thank you for your help,
Max
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: comp.lang isdl pvwaave
Next Topic: FFT+inverse FFT

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

Current Time: Fri Oct 10 11:37:33 PDT 2025

Total time taken to generate the page: 0.40077 seconds