Hi,

this feature is not implemented yet, you have the current list of options here :
http://wiki.orfeo-toolbox.org/index.php/ExtendedFileName

Regards,
Guillaume

Le 03/12/2014 16:18, Agustin Lobo a écrit :
Has this command-line band selection that you mentioned been implemented?
I've tried and get an error, but perhaps do not use it in the right way.

Agus

On Mon, Sep 30, 2013 at 1:14 PM, Julien Michel <[email protected]> wrote:
Hi agustin,

This is something we can solve by adding more parameters to
GridBasedImageResampling application, but having it has an option for
extended input filenames would actually be more powerful. Write something
like

otbcli_GridBasedImageResampling -grid.in "grid.tif?&bands=1,2" would be
nice.

I will add it to the backlog.

Regarding the example of GridBasedImageResampling, the data can be found
here : http://hg.orfeo-toolbox.org/OTB-Data/file/706055076b4c/Input

Regards,

Julien

Le 24/09/2013 09:19, Agustin Lobo a écrit :

otbcli_GridBasedImageResampling cannot be run directly with
the output of FineRegistration, as this result includes a 3rd band
(the correlation) that GridBasedImageResampling does not accept:

2013 sep 23 12:03:28 : Application.logger (FATAL) The following error
occurred during application execution :

/build/buildd/otb-3.18.1/Applications/Projections/otbGridBasedImageResampling.cxx:201:
itk::ERROR: GridBasedImageResampling(0x4690130): Number of components
of the grid is not 2, this is probably not an image of 2D resampling
grid.

I've solved the problem by writing an image with only the firs two
"bands". Once the 3rd band is dropped, the application runs.

My question is whether this type of problem can be solved by somehow
telling OTB to use only the first two bands of the input, thus
avoiding making a new image.

Also, cannot find the images for running the example of
GridBasedImageResampling in Mercurial (or in the examples tar file):
otbcli_GridBasedImageResampling -io.in ROI_IKO_PAN_LesHalles_sub.tif
-io.out ROI_IKO_PAN_LesHalles_sub_resampled.tif uint8 -grid.in
ROI_IKO_PAN_LesHalles_sub_deformation_field.tif -out.sizex 256
-out.sizey 256 -grid.type def

could these data be added to Mercurial or point me for the correct url
in case they are actually in the server?

Thanks

Agus


--
Julien MICHEL
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel: +33 561 282 894 - Fax: +33 561 283 109

--
--
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/groups/opt_out.


--
<www.c-s.fr>      *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information* <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département APPLICATIONS*

*CS Systèmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]

--
--
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