Just wondering what the correct syntax is for choosing the pansharpening
algorithm?
Just following the example from the cookbook I've tried adding the
highlighted line to choose the rcs algorithm but I get an error saying
Could not find parameter "method". Also how would I choose the bayes or
lmvm algorithm?
thanks
#!/usr/bin/python# Import the otb applications packageimport otbApplication#
The following line creates an instance of the Pansharpening
applicationPansharpening =
otbApplication.Registry.CreateApplication("Pansharpening")# The following lines
set all the application parameters:Pansharpening.SetParameterString("inp",
"QB_Toulouse_Ortho_PAN.tif")Pansharpening.SetParameterString("inxs",
"QB_Toulouse_Ortho_XS.tif")Pansharpening.SetParameterString("out",
"Pansharpening.tif")Pansharpening.SetParameterOutputImagePixelType("out",
1)Pansharpening.SetParameter("method", "method rcs")# The following line
execute the applicationPansharpening.ExecuteAndWriteOutput()
--
--
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.