It is bash or sh shell script. 
You can type it into a command line terminal, or 
put it in file like doit.sh and run it with 
sh doit.sh

This presumes you are on linux, it you on windows then there is some 
equivalent bat file commands to do the same thing.

On Sunday, May 21, 2017 at 1:52:27 PM UTC-4, Flint Freakwood wrote:
>
> Hey there! Thanks a lot for answering, I really appreciate it! However I 
> have trouble understanding where to put that. For me it looks like a python 
> code or something - do I save it as a python file and go ahead from there? 
> I'll try things out until I receive an answer :)
>
> Thanks again!
>
>
> Am Sonntag, 21. Mai 2017 19:43:04 UTC+2 schrieb Stephen Woodbridge:
>
>> How about something like:
>>
>> for tif in directory/*.tif ; do
>>   out=$tif-out.tif
>>   otbcli_MeanShiftSmoothing -in $tif -fout $out -spatialr x -ranger y 
>> -maxiter z
>> done
>>
>>
>>
>> On Sunday, May 21, 2017 at 11:25:56 AM UTC-4, Flint Freakwood wrote:
>>>
>>> Hey there! I want to smooth multiple *.tif-files and would like to do it 
>>> as a batch process so I don't have to smooth every picture by hand. The 
>>> command line input I begin with looks like this:
>>>
>>> otbcli_MeanShiftSmoothing -in Input.tif -fout Output.tif -spatialr x 
>>> -ranger y -maxiter z
>>>
>>> How do I go about processing the whole folder or every tif-file in the 
>>> folder?
>>>
>>> Thanks in advance :)
>>>
>>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to