Public
Authored by Victor Poughon

MR 400

Input file does not exist (DynamicConvert)

Command line:

otbcli_DynamicConvert -in blabla.tif -out /tmp/out.tif
2019-03-05 11:46:02 (FATAL) DynamicConvert: Cannot open image blabla.tif. The file does not exist.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:02 (FATAL): Cannot open image blabla.tif. The file does not exist.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'blabla.tif'
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif. The file does not exist.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif. The file does not exist.

Input file does not exist (ReadImageInfo)

Command line:

otbcli_ReadImageInfo -in blabla.tif
2019-03-05 11:46:03 (INFO) ReadImageInfo: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:03 (INFO) ReadImageInfo: GDAL maximum cache size is 383 MB
2019-03-05 11:46:03 (INFO) ReadImageInfo: OTB will use at most 8 threads
2019-03-05 11:46:03 (FATAL) ReadImageInfo: Cannot open image blabla.tif. The file does not exist.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:03 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:03 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:03 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:03 (FATAL): Cannot open image blabla.tif. The file does not exist.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('ReadImageInfo')
app.IN = 'blabla.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif. The file does not exist.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif. The file does not exist.

Input file does not exist, with extended filename (DynamicConvert)

Command line:

otbcli_DynamicConvert -in 'blabla.tif&bands=1' -out /tmp/out.tif
2019-03-05 11:46:04 (FATAL) DynamicConvert: Cannot open image blabla.tif&bands=1. The file does not exist.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:04 (FATAL): Cannot open image blabla.tif&bands=1. The file does not exist.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'blabla.tif&bands=1'
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif&bands=1. The file does not exist.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif&bands=1. The file does not exist.

One of the input files does not exist

Command line:

otbcli_BandMath -il data/QB_1_ortho.tif blabla.tif -out /tmp/out.tif -exp '1'
2019-03-05 11:46:05 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:05 (FATAL) BandMath: Cannot open image blabla.tif. The file does not exist.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:05 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:05 (FATAL): Cannot open image blabla.tif. The file does not exist.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('BandMath')
app.SetParameterStringList('il', ['data/QB_1_ortho.tif', 'blabla.tif'])
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

2019-03-05 11:46:05 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif. The file does not exist.

Output on branch (debug build):

 

Output on release-6.6

2019-03-05 11:46:05 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image blabla.tif. The file does not exist.

Unsupported input format

Command line:

otbcli_DynamicConvert -in data/svm_model.svm -out /tmp/out.tif
2019-03-05 11:46:05 (FATAL) DynamicConvert: Cannot open image data/svm_model.svm. Probably unsupported format or incorrect filename extension.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:05 (FATAL): Cannot open image data/svm_model.svm. Probably unsupported format or incorrect filename extension.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'data/svm_model.svm'
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image data/svm_model.svm. Probably unsupported format or incorrect filename extension.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image data/svm_model.svm. Probably unsupported format or incorrect filename extension.

Unsupported output format

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /tmp/out.blabla
2019-03-05 11:46:06 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:06 (INFO) DynamicConvert: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:06 (INFO) DynamicConvert: GDAL maximum cache size is 383 MB
2019-03-05 11:46:06 (INFO) DynamicConvert: OTB will use at most 8 threads
2019-03-05 11:46:06 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:06 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
Computing shrink Image for min/max estimation...: 100% [**************************************************] (0s)
2019-03-05 11:46:06 (FATAL) DynamicConvert: Cannot write image /tmp/out.blabla. Probably unsupported format or incorrect filename extension.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:06 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:06 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:06 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:06 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:06 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:06 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels

Computing shrink Image for min/max estimation...: 0% [                                                  ]
Computing shrink Image for min/max estimation...: 2% [*                                                 ]
Computing shrink Image for min/max estimation...: 4% [**                                                ]
Computing shrink Image for min/max estimation...: 6% [***                                               ]
Computing shrink Image for min/max estimation...: 8% [****                                              ]
Computing shrink Image for min/max estimation...: 10% [*****                                             ]
Computing shrink Image for min/max estimation...: 12% [******                                            ]
Computing shrink Image for min/max estimation...: 14% [*******                                           ]
Computing shrink Image for min/max estimation...: 16% [********                                          ]
Computing shrink Image for min/max estimation...: 18% [*********                                         ]
Computing shrink Image for min/max estimation...: 20% [**********                                        ]
Computing shrink Image for min/max estimation...: 22% [***********                                       ]
Computing shrink Image for min/max estimation...: 24% [************                                      ]
Computing shrink Image for min/max estimation...: 26% [*************                                     ]
Computing shrink Image for min/max estimation...: 28% [**************                                    ]
Computing shrink Image for min/max estimation...: 30% [***************                                   ]
Computing shrink Image for min/max estimation...: 32% [****************                                  ]
Computing shrink Image for min/max estimation...: 34% [*****************                                 ]
Computing shrink Image for min/max estimation...: 36% [******************                                ]
Computing shrink Image for min/max estimation...: 38% [*******************                               ]
Computing shrink Image for min/max estimation...: 40% [********************                              ]
Computing shrink Image for min/max estimation...: 42% [*********************                             ]
Computing shrink Image for min/max estimation...: 44% [**********************                            ]
Computing shrink Image for min/max estimation...: 46% [***********************                           ]
Computing shrink Image for min/max estimation...: 48% [************************                          ]
Computing shrink Image for min/max estimation...: 50% [*************************                         ]
Computing shrink Image for min/max estimation...: 52% [**************************                        ]
Computing shrink Image for min/max estimation...: 54% [***************************                       ]
Computing shrink Image for min/max estimation...: 56% [****************************                      ]
Computing shrink Image for min/max estimation...: 58% [*****************************                     ]
Computing shrink Image for min/max estimation...: 60% [******************************                    ]
Computing shrink Image for min/max estimation...: 62% [*******************************                   ]
Computing shrink Image for min/max estimation...: 64% [********************************                  ]
Computing shrink Image for min/max estimation...: 66% [*********************************                 ]
Computing shrink Image for min/max estimation...: 68% [**********************************                ]
Computing shrink Image for min/max estimation...: 70% [***********************************               ]
Computing shrink Image for min/max estimation...: 72% [************************************              ]
Computing shrink Image for min/max estimation...: 74% [*************************************             ]
Computing shrink Image for min/max estimation...: 76% [**************************************            ]
Computing shrink Image for min/max estimation...: 78% [***************************************           ]
Computing shrink Image for min/max estimation...: 80% [****************************************          ]
Computing shrink Image for min/max estimation...: 82% [*****************************************         ]
Computing shrink Image for min/max estimation...: 84% [******************************************        ]
Computing shrink Image for min/max estimation...: 86% [*******************************************       ]
Computing shrink Image for min/max estimation...: 88% [********************************************      ]
Computing shrink Image for min/max estimation...: 90% [*********************************************     ]
Computing shrink Image for min/max estimation...: 92% [**********************************************    ]
Computing shrink Image for min/max estimation...: 94% [***********************************************   ]
Computing shrink Image for min/max estimation...: 96% [************************************************  ]
Computing shrink Image for min/max estimation...: 98% [************************************************* ]
Computing shrink Image for min/max estimation...: 100% [**************************************************] (0 seconds)
2019-03-05 11:46:07 (FATAL): Cannot write image /tmp/out.blabla. Probably unsupported format or incorrect filename extension.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'data/QB_1_ortho.tif'
app.OUT = '/tmp/out.blabla'
app.ExecuteAndWriteOutput()

Output on branch (release build):

2019-03-05 11:46:07 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:07 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:07 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/poughov/cnes/dev/otb/Modules/IO/ImageIO/include/otbImageFileWriter.hxx:437:
Cannot write image /tmp/out.blabla. Probably unsupported format or incorrect filename extension.

Output on branch (debug build):

 

Output on release-6.6

2019-03-05 11:46:07 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:07 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:07 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/otbval/dashboard/otb/src/Modules/IO/ImageIO/include/otbImageFileWriter.txx:439:
Cannot write image /tmp/out.blabla. Probably unsupported format or incorrect filename extension.

Invalid input image (DynamicConvert)

Command line:

otbcli_DynamicConvert -in data/notActuallyTif.tif -out /tmp/out.tif
2019-03-05 11:46:08 (FATAL) DynamicConvert: Cannot open image data/notActuallyTif.tif. Probably unsupported format or incorrect filename extension.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:08 (FATAL): Cannot open image data/notActuallyTif.tif. Probably unsupported format or incorrect filename extension.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'data/notActually.tif'
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image data/notActually.tif. The file does not exist.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image data/notActually.tif. The file does not exist.

Permission denied (input)

Command line:

otbcli_DynamicConvert -in noReadPermission.png -out /tmp/out.tif
2019-03-05 11:46:08 (FATAL) DynamicConvert: Cannot open image noReadPermission.png. The file does not exist.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:08 (FATAL): Cannot open image noReadPermission.png. The file does not exist.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'noReadPermission.png'
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image noReadPermission.png. The file does not exist.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image noReadPermission.png. The file does not exist.

Permission denied (output)

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /root/out.tif -progress false
ERROR 4: Attempt to create new tiff file `/root/out.tif' failed: Permission denied
2019-03-05 11:46:09 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:09 (INFO) DynamicConvert: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:09 (INFO) DynamicConvert: GDAL maximum cache size is 383 MB
2019-03-05 11:46:09 (INFO) DynamicConvert: OTB will use at most 8 threads
2019-03-05 11:46:09 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:09 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:09 (INFO): Estimated memory for full processing: 216.677MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:09 (INFO): File /root/out.tif will be written in 1 blocks of 512x512 pixels
2019-03-05 11:46:09 (FATAL) DynamicConvert: itk::ERROR: GDALImageIO(0x55e69b66bce0): Attempt to create new tiff file `/root/out.tif' failed: Permission denied

Output on branch (debug build):

Output on release-6.6

ERROR 4: Attempt to create new tiff file `/root/out.tif' failed: Permission denied
2019-03-05 11:46:09 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:09 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:09 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:09 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:09 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:09 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:09 (INFO): Estimated memory for full processing: 216.677MB (avail.: 128 MB), optimal image partitioning: 2 blocks
2019-03-05 11:46:09 (INFO): File /root/out.tif will be written in 4 blocks of 384x384 pixels
2019-03-05 11:46:09 (FATAL): itk::ERROR: GDALImageIO(0x13c0850): Attempt to create new tiff file `/root/out.tif' failed: Permission denied

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'data/QB_1_ortho.tif'
app.OUT = '/root/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

ERROR 4: Attempt to create new tiff file `/root/out.tif' failed: Permission denied
2019-03-05 11:46:10 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:10 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:10 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:10 (INFO): Estimated memory for full processing: 216.677MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:10 (INFO): File /root/out.tif will be written in 1 blocks of 512x512 pixels
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/poughov/cnes/dev/otb/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx:1430:
itk::ERROR: GDALImageIO(0xb7a790): Attempt to create new tiff file `/root/out.tif' failed: Permission denied

Output on branch (debug build):

 

Output on release-6.6

ERROR 4: Attempt to create new tiff file `/root/out.tif' failed: Permission denied
2019-03-05 11:46:10 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:10 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:10 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:10 (INFO): Estimated memory for full processing: 216.677MB (avail.: 128 MB), optimal image partitioning: 2 blocks
2019-03-05 11:46:10 (INFO): File /root/out.tif will be written in 4 blocks of 384x384 pixels
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/otbval/dashboard/otb/src/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx:1404:
itk::ERROR: GDALImageIO(0x5562c9a15dd0): Attempt to create new tiff file `/root/out.tif' failed: Permission denied

Trying to open a directory

Command line:

otbcli_DynamicConvert -in data/DEM_srtm -out /tmp/out.tif
2019-03-05 11:46:10 (FATAL) DynamicConvert: Cannot open image data/DEM_srtm. Probably unsupported format or incorrect filename extension.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:11 (FATAL): Cannot open image data/DEM_srtm. Probably unsupported format or incorrect filename extension.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'data/DEM_srtm'
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image data/DEM_srtm. Probably unsupported format or incorrect filename extension.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image data/DEM_srtm. Probably unsupported format or incorrect filename extension.

Too many dashes

Command line:

otbcli_BandMath --il -out /tmp/out.tif -exp '1'
ERROR: Parameters are set using "-", not "--".

Output on branch (debug build):

Output on release-6.6

ERROR: Parameters are set using "-", not "--".

Repeated parameter

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -in data/QB_1_ortho.tif -out /tmp/out.tif -progress false
ERROR: At least one parameter is not unique in the expression.

Output on branch (debug build):

Output on release-6.6

ERROR: At least one parameter is not unique in the expression.

No parameter

Command line:

otbcli_DynamicConvert
ERROR: Waiting for at least one parameter.


This is the Dynamic Conversion (DynamicConvert) application, version 6.7.0

Change the pixel type and rescale the image's dynamic
Complete documentation: https://www.orfeo-toolbox.org/CookBook/Applications/app_DynamicConvert.html or -help

Parameters: 
MISSING -in                         <string>         Input image  (mandatory)
MISSING -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory)
        -channels.rgb.green         <int32>          Green Channel  (mandatory)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (MB)  (optional, off by default, default value is 256)
        -inxml                      <string>         Load parameters from XML  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Output on branch (debug build):

Output on release-6.6

ERROR: Waiting for at least one parameter.


This is the Dynamic Conversion (DynamicConvert) application, version 6.6.1

Change the pixel type and rescale the image's dynamic
Complete documentation: http://www.orfeo-toolbox.org/Applications/DynamicConvert.html or -help

Parameters: 
MISSING -in                         <string>         Input image  (mandatory)
MISSING -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory)
        -channels.rgb.green         <int32>          Green Channel  (mandatory)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (Mb)  (optional, off by default, default value is 128)
        -inxml                      <string>         Load otb application from xml file  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Non existing parameter

Command line:

otbcli_DynamicConvert -hello world
ERROR: Parameter -hello does not exist in the application.

Output on branch (debug build):

Output on release-6.6

ERROR: Parameter -hello does not exist in the application.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.HELLO = 'WORLD'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2943, in __setattr__
    raise AttributeError("You cannot add attributes to %s" % self)
AttributeError: You cannot add attributes to Dynamic Conversion
This application performs an image pixel type conversion (short, ushort, uchar, int, uint, float and double types are handled). The output image is written in the specified format (ie. that corresponds to the given extension).
The conversion can include a rescale of the data range, by default it's set between the 2nd to the 98th percentile. The rescale can be linear or log2. 
The choice of the output channels can be done with the extended filename, but less easy to handle. To do this, a 'channels' parameter allows you to select the desired bands at the output. There are 3 modes, the available choices are: 

* **All**: keep all bands.
* **Grayscale**: to display mono image as standard color image 
* **RGB**: select 3 bands in the input image (multi-bands)

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2949, in __setattr__
    raise AttributeError("You cannot add attributes to %s" % self)
AttributeError: You cannot add attributes to Dynamic Conversion
This application performs an image pixel type conversion (short, ushort, uchar, int, uint, float and double types are handled). The output image is written in the specified format (ie. that corresponds to the given extension).
 The conversion can include a rescale of the data range, by default it's set between the 2nd to the 98th percentile. The rescale can be linear or log2. 
 The choice of the output channels can be done with the extended filename, but less easy to handle. To do this, a 'channels' parameter allows you to select the desired bands at the output. There are 3 modes, the available choices are: 
 * grayscale :  to display mono image as standard color image 
 * rgb : select 3 bands in the input image (multi-bands) 
 * all : keep all bands.

Missing parameter (output)

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif
2019-03-05 11:46:12 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Missing mandatory parameter -out.


This is the Dynamic Conversion (DynamicConvert) application, version 6.7.0

Change the pixel type and rescale the image's dynamic
Complete documentation: https://www.orfeo-toolbox.org/CookBook/Applications/app_DynamicConvert.html or -help

Parameters: 
        -in                         <string>         Input image  (mandatory, default value is data/QB_1_ortho.tif)
MISSING -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory, default value is 3)
        -channels.rgb.green         <int32>          Green Channel  (mandatory, default value is 2)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory, default value is 1)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (MB)  (optional, off by default, default value is 256)
        -inxml                      <string>         Load parameters from XML  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:12 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Missing mandatory parameter -out.


This is the Dynamic Conversion (DynamicConvert) application, version 6.6.1

Change the pixel type and rescale the image's dynamic
Complete documentation: http://www.orfeo-toolbox.org/Applications/DynamicConvert.html or -help

Parameters: 
        -in                         <string>         Input image  (mandatory, default value is data/QB_1_ortho.tif)
MISSING -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory, default value is 3)
        -channels.rgb.green         <int32>          Green Channel  (mandatory, default value is 2)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory, default value is 1)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (Mb)  (optional, off by default, default value is 128)
        -inxml                      <string>         Load otb application from xml file  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = 'data/QB_1_ortho.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

2019-03-05 11:46:13 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:13 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:13 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels

Output on branch (debug build):

 

Output on release-6.6

2019-03-05 11:46:13 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:13 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:13 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels

Missing parameter (input)

Command line:

otbcli_DynamicConvert -out /tmp/out.tif
ERROR: Missing mandatory parameter -in.


This is the Dynamic Conversion (DynamicConvert) application, version 6.7.0

Change the pixel type and rescale the image's dynamic
Complete documentation: https://www.orfeo-toolbox.org/CookBook/Applications/app_DynamicConvert.html or -help

Parameters: 
MISSING -in                         <string>         Input image  (mandatory)
        -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory, default value is /tmp/out.tif)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory)
        -channels.rgb.green         <int32>          Green Channel  (mandatory)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (MB)  (optional, off by default, default value is 256)
        -inxml                      <string>         Load parameters from XML  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Output on branch (debug build):

Output on release-6.6

ERROR: Missing mandatory parameter -in.


This is the Dynamic Conversion (DynamicConvert) application, version 6.6.1

Change the pixel type and rescale the image's dynamic
Complete documentation: http://www.orfeo-toolbox.org/Applications/DynamicConvert.html or -help

Parameters: 
MISSING -in                         <string>         Input image  (mandatory)
        -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory, default value is /tmp/out.tif)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory)
        -channels.rgb.green         <int32>          Green Channel  (mandatory)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (Mb)  (optional, off by default, default value is 128)
        -inxml                      <string>         Load otb application from xml file  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/poughov/cnes/dev/otb/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx:78:
itk::ERROR: InputImageParameter(0x2bac510): No input image or filename detected...

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/otbval/dashboard/otb/src/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.txx:79:
itk::ERROR: InputImageParameter(0x5573cd7a16e0): No input image or filename detected...

Missing parameter value

Command line:

otbcli_DynamicConvert -in -out /tmp/out.tif
ERROR: No value associated to parameter -in.

Output on branch (debug build):

Output on release-6.6

ERROR: No value associated to parameter -in.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('DynamicConvert')
app.IN = ''
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/poughov/cnes/dev/otb/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx:78:
itk::ERROR: InputImageParameter(0x2561570): No input image or filename detected...

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/otbval/dashboard/otb/src/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.txx:79:
itk::ERROR: InputImageParameter(0x5618b3398c50): No input image or filename detected...

Empty input image list

Command line:

otbcli_BandMath -il -out /tmp/out.tif -exp '1'
ERROR: No value associated to parameter -il.

Output on branch (debug build):

Output on release-6.6

ERROR: No value associated to parameter -il.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('BandMath')
app.SetParameterStringList('il', [])
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/poughov/cnes/dev/otb/Modules/Applications/AppMathParser/app/otbBandMath.cxx:217:
itk::ERROR: BandMath(0x25a0030): No input Image set...; please set at least one input image

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /home/otbval/dashboard/otb/src/Modules/Applications/AppMathParser/app/otbBandMath.cxx:216:
itk::ERROR: BandMath(0x5619ab9016f0): No input Image set...; please set at least one input image

Missing input extension (DynamicConvert)

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho -out /tmp/out.tif
2019-03-05 11:46:15 (FATAL) DynamicConvert: Cannot open image data/QB_1_ortho. The file does not exist.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:15 (FATAL): Cannot open image data/QB_1_ortho. The file does not exist.

Missing output extension (DynamicConvert)

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /tmp/out -progress false
2019-03-05 11:46:15 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:15 (INFO) DynamicConvert: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:15 (INFO) DynamicConvert: GDAL maximum cache size is 383 MB
2019-03-05 11:46:15 (INFO) DynamicConvert: OTB will use at most 8 threads
2019-03-05 11:46:15 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:15 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:15 (WARNING) DynamicConvert: Check filename: no extension detected, using TIF as default.
2019-03-05 11:46:15 (INFO): Estimated memory for full processing: 216.677MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:15 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:15 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:15 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:15 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:15 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:15 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:15 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:16 (WARNING): Check filename: no extension detected, using TIF as default.
2019-03-05 11:46:16 (INFO): Estimated memory for full processing: 216.677MB (avail.: 128 MB), optimal image partitioning: 2 blocks
2019-03-05 11:46:16 (INFO): File /tmp/out.tif will be written in 4 blocks of 384x384 pixels

Empty output filename

Command line:

otbcli_BandMath -il data/QB_1_ortho.tif -out -exp '1'
2019-03-05 11:46:16 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: No value associated to parameter -out.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:16 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: No value associated to parameter -out.

Invalid extended filename

Command line:

otbcli_DynamicConvert -in data/'QB_1_ortho.tif?&bla=blabla' -out /tmp/out.tif -progress false
WARNING: In /home/poughov/cnes/dev/otb/Modules/IO/ExtendedFilename/src/otbExtendedFilenameToReaderOptions.cxx, line 169
ExtendedFilenameToReaderOptions (0x5579ab7cac40): Unknown option detected: bla.

2019-03-05 11:46:16 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:16 (INFO) DynamicConvert: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:16 (INFO) DynamicConvert: GDAL maximum cache size is 383 MB
2019-03-05 11:46:16 (INFO) DynamicConvert: OTB will use at most 8 threads
2019-03-05 11:46:16 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:16 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:16 (INFO): Estimated memory for full processing: 216.677MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:16 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

WARNING: In /home/otbval/dashboard/otb/src/Modules/IO/ExtendedFilename/src/otbExtendedFilenameToReaderOptions.cxx, line 159
ExtendedFilenameToReaderOptions (0x6a1620): Unknown option detected: bla.

2019-03-05 11:46:16 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:16 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:16 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:16 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:16 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:16 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:16 (INFO): Estimated memory for full processing: 216.677MB (avail.: 128 MB), optimal image partitioning: 2 blocks
2019-03-05 11:46:16 (INFO): File /tmp/out.tif will be written in 4 blocks of 384x384 pixels

Parameter syntax error (forgot '-in')

Command line:

otbcli_DynamicConvert data/QB_1_ortho.tif -out /tmp/out.tif
Invalid module path: /home/poughov/build/SuperBuild-develop/OTB/build/data/QB_1_ortho.tif
Invalid module path: /home/poughov/build/SuperBuild-develop/OTB/build/data/QB_1_ortho.tif
ERROR: Missing mandatory parameter -in.


This is the Dynamic Conversion (DynamicConvert) application, version 6.7.0

Change the pixel type and rescale the image's dynamic
Complete documentation: https://www.orfeo-toolbox.org/CookBook/Applications/app_DynamicConvert.html or -help

Parameters: 
MISSING -in                         <string>         Input image  (mandatory)
        -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory, default value is /tmp/out.tif)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory)
        -channels.rgb.green         <int32>          Green Channel  (mandatory)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (MB)  (optional, off by default, default value is 256)
        -inxml                      <string>         Load parameters from XML  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Output on branch (debug build):

Output on release-6.6

Invalid module path: /home/poughov/build/SuperBuild-develop/OTB/build/data/QB_1_ortho.tif
Invalid module path: /home/poughov/build/SuperBuild-develop/OTB/build/data/QB_1_ortho.tif
ERROR: Missing mandatory parameter -in.


This is the Dynamic Conversion (DynamicConvert) application, version 6.6.1

Change the pixel type and rescale the image's dynamic
Complete documentation: http://www.orfeo-toolbox.org/Applications/DynamicConvert.html or -help

Parameters: 
MISSING -in                         <string>         Input image  (mandatory)
        -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory, default value is /tmp/out.tif)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory)
        -channels.rgb.green         <int32>          Green Channel  (mandatory)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (Mb)  (optional, off by default, default value is 128)
        -inxml                      <string>         Load otb application from xml file  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Parameter syntax error (forgot '-out')

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif /tmp/out.tif
2019-03-05 11:46:17 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Missing mandatory parameter -out.


This is the Dynamic Conversion (DynamicConvert) application, version 6.7.0

Change the pixel type and rescale the image's dynamic
Complete documentation: https://www.orfeo-toolbox.org/CookBook/Applications/app_DynamicConvert.html or -help

Parameters: 
        -in                         <string>         Input image  (mandatory, default value is data/QB_1_ortho.tif)
MISSING -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory, default value is 3)
        -channels.rgb.green         <int32>          Green Channel  (mandatory, default value is 2)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory, default value is 1)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (MB)  (optional, off by default, default value is 256)
        -inxml                      <string>         Load parameters from XML  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:17 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Missing mandatory parameter -out.


This is the Dynamic Conversion (DynamicConvert) application, version 6.6.1

Change the pixel type and rescale the image's dynamic
Complete documentation: http://www.orfeo-toolbox.org/Applications/DynamicConvert.html or -help

Parameters: 
        -in                         <string>         Input image  (mandatory, default value is data/QB_1_ortho.tif)
MISSING -out                        <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is uint8) (mandatory)
        -type                       <string>         Rescale type [linear/log2] (mandatory, default value is linear)
        -type.linear.gamma          <float>          Gamma correction factor  (optional, off by default, default value is 1)
        -mask                       <string>         Input mask  (optional, off by default)
        -quantile                   <group>          Histogram quantile cutting 
        -quantile.high              <float>          High cut quantile  (optional, off by default, default value is 2)
        -quantile.low               <float>          Low cut quantile  (optional, off by default, default value is 2)
        -channels                   <string>         Channels selection [all/grayscale/rgb] (mandatory, default value is all)
        -channels.grayscale.channel <int32>          Grayscale channel  (mandatory, default value is 1)
        -channels.rgb.red           <int32>          Red Channel  (mandatory, default value is 3)
        -channels.rgb.green         <int32>          Green Channel  (mandatory, default value is 2)
        -channels.rgb.blue          <int32>          Blue Channel  (mandatory, default value is 1)
        -outmin                     <float>          Output min value  (optional, off by default, default value is 0)
        -outmax                     <float>          Output max value  (optional, off by default, default value is 255)
        -ram                        <int32>          Available RAM (Mb)  (optional, off by default, default value is 128)
        -inxml                      <string>         Load otb application from xml file  (optional, off by default)
        -progress                   <boolean>        Report progress 
        -help                       <string list>    Display long help (empty list), or help for given parameters keys

Use -help param1 [... paramN] to see detailed documentation of those parameters.

Examples: 
otbcli_DynamicConvert -in QB_Toulouse_Ortho_XS.tif -out otbConvertWithScalingOutput.png -type linear -channels rgb -outmin 0 -outmax 255

Progress value error

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /tmp/out.tif -progress false false true
ERROR: Invalid value for parameter -progress. It must be 0, 1, false or true.

Output on branch (debug build):

Output on release-6.6

ERROR: Invalid value for parameter -progress. It must be 0, 1, false or true.

Progress value error 2

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /tmp/out.tif -progress blabla
ERROR: Invalid value for parameter -progress. It must be 0, 1, false or true.

Output on branch (debug build):

Output on release-6.6

ERROR: Invalid value for parameter -progress. It must be 0, 1, false or true.

Invalid output type

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /tmp/out.tif iunt8 -progress false
2019-03-05 11:46:17 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Invalid output type for parameter -out: iunt8.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:17 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Invalid output type for parameter -out: iunt8.

Type given to input image

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif uint8 -out /tmp/out.tif -progress false
2019-03-05 11:46:17 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:17 (INFO) DynamicConvert: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:17 (INFO) DynamicConvert: GDAL maximum cache size is 383 MB
2019-03-05 11:46:17 (INFO) DynamicConvert: OTB will use at most 8 threads
2019-03-05 11:46:17 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:17 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:17 (INFO): Estimated memory for full processing: 216.677MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:17 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:17 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:17 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:17 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:17 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:17 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:17 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:18 (INFO): Estimated memory for full processing: 216.677MB (avail.: 128 MB), optimal image partitioning: 2 blocks
2019-03-05 11:46:18 (INFO): File /tmp/out.tif will be written in 4 blocks of 384x384 pixels

Too many parameter values (-in)

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif blabla.tif -out /tmp/out.tif -progress false
2019-03-05 11:46:18 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:18 (INFO) DynamicConvert: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:18 (INFO) DynamicConvert: GDAL maximum cache size is 383 MB
2019-03-05 11:46:18 (INFO) DynamicConvert: OTB will use at most 8 threads
2019-03-05 11:46:18 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:18 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:18 (INFO): Estimated memory for full processing: 216.677MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:18 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:18 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:18 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:18 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:18 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:18 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:18 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:18 (INFO): Estimated memory for full processing: 216.677MB (avail.: 128 MB), optimal image partitioning: 2 blocks
2019-03-05 11:46:18 (INFO): File /tmp/out.tif will be written in 4 blocks of 384x384 pixels

Too many parameter values (-out)

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /tmp/out.tif uint8 float double -progress false
2019-03-05 11:46:18 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Too many values for parameter -out (expected 2 or 1, got 4).

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:18 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
ERROR: Too many values for parameter -out (expected 2 or 1, got 4).

otbApplicationLauncherCommandLine without arguments

Command line:

otbApplicationLauncherCommandLine
Usage: otbApplicationLauncherCommandLine module_name [MODULEPATH] [arguments]

Output on branch (debug build):

Output on release-6.6

Usage: otbApplicationLauncherCommandLine module_name [MODULEPATH] [arguments]

No module available

Command line:

OTB_APPLICATION_PATH=""; otbApplicationLauncherCommandLine DynamicConvert
ERROR: Could not find application "DynamicConvert"
ERROR: Module search path: none (check OTB_APPLICATION_PATH)
ERROR: Available modules: none.

Output on branch (debug build):

Output on release-6.6

ERROR: Could not find application "DynamicConvert"
ERROR: Module search path: none (check OTB_APPLICATION_PATH)
ERROR: Available modules: none.

Application not available

Command line:

otbApplicationLauncherCommandLine MakeCoffee
ERROR: Could not find application "MakeCoffee"
ERROR: Module search path: /home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/applications
ERROR: Available modules:
	BandMath
	BandMathX
	BinaryMorphologicalOperation
	BlockMatching
	BundleToPerfectSensor
	ClassificationMapRegularization
	ColorMapping
	CompareImages
	ComputeConfusionMatrix
	ComputeImagesStatistics
	ComputeModulusAndPhase
	ComputeOGRLayersFeaturesStatistics
	ComputePolylineFeatureFromImage
	ConcatenateImages
	ConcatenateVectorData
	ConnectedComponentSegmentation
	ContrastEnhancement
	ConvertCartoToGeoPoint
	ConvertSensorToGeoPoint
	DSFuzzyModelEstimation
	Despeckle
	DimensionalityReduction
	DisparityMapToElevationMap
	DomainTransform
	DownloadSRTMTiles
	DynamicConvert
	EdgeExtraction
	EndmemberNumberEstimation
	ExtractROI
	FineRegistration
	FusionOfClassifications
	GeneratePlyFile
	GenerateRPCSensorModel
	GrayScaleMorphologicalOperation
	GridBasedImageResampling
	HaralickTextureExtraction
	HomologousPointsExtraction
	HooverCompareSegmentation
	HyperspectralUnmixing
	ImageClassifier
	ImageDimensionalityReduction
	ImageEnvelope
	KMeansClassification
	KmzExport
	LSMSSegmentation
	LSMSSmallRegionsMerging
	LSMSVectorization
	LargeScaleMeanShift
	LineSegmentDetection
	LocalRxDetection
	LocalStatisticExtraction
	ManageNoData
	MeanShiftSmoothing
	MorphologicalClassification
	MorphologicalMultiScaleDecomposition
	MorphologicalProfilesAnalysis
	MultiImageSamplingRate
	MultiResolutionPyramid
	MultivariateAlterationDetector
	OGRLayerClassifier
	OSMDownloader
	ObtainUTMZoneFromGeoPoint
	OpticalCalibration
	OrthoRectification
	Pansharpening
	PixelValue
	PolygonClassStatistics
	PredictRegression
	Quicklook
	RadiometricIndices
	Rasterization
	ReadImageInfo
	RefineSensorModel
	Rescale
	RigidTransformResample
	SARBurstExtraction
	SARCalibration
	SARConcatenateBursts
	SARDeburst
	SARDecompositions
	SARPolarMatrixConvert
	SARPolarSynth
	SFSTextureExtraction
	SOMClassification
	SampleAugmentation
	SampleExtraction
	SampleSelection
	Segmentation
	SmallRegionsMerging
	Smoothing
	SplitImage
	StereoFramework
	StereoRectificationGridGenerator
	Superimpose
	TestApplication
	TileFusion
	TrainDimensionalityReduction
	TrainImagesClassifier
	TrainRegression
	TrainVectorClassifier
	VectorClassifier
	VectorDataDSValidation
	VectorDataExtractROI
	VectorDataReprojection
	VectorDataSetField
	VectorDataTransform
	VectorDimensionalityReduction
	VertexComponentAnalysis
	ZonalStatistics

Output on branch (debug build):

Output on release-6.6

ERROR: Could not find application "MakeCoffee"
ERROR: Module search path: /home/poughov/Downloads/OTB-6.6.1-Linux64/lib/otb/applications
ERROR: Available modules:
	Aggregate
	BandMath
	BandMathX
	BinaryMorphologicalOperation
	BlockMatching
	BundleToPerfectSensor
	ClassificationMapRegularization
	ColorMapping
	CompareImages
	ComputeConfusionMatrix
	ComputeImagesStatistics
	ComputeModulusAndPhase
	ComputeOGRLayersFeaturesStatistics
	ComputePolylineFeatureFromImage
	ConcatenateImages
	ConcatenateVectorData
	ConnectedComponentSegmentation
	ContrastEnhancement
	Convert
	ConvertCartoToGeoPoint
	ConvertSensorToGeoPoint
	DEMConvert
	DSFuzzyModelEstimation
	Despeckle
	DimensionalityReduction
	DisparityMapToElevationMap
	DomainTransform
	DownloadSRTMTiles
	DynamicConvert
	EdgeExtraction
	ExtractROI
	FineRegistration
	FusionOfClassifications
	GeneratePlyFile
	GenerateRPCSensorModel
	GenericRegionMerging
	GrayScaleMorphologicalOperation
	GridBasedImageResampling
	HaralickTextureExtraction
	HomologousPointsExtraction
	HooverCompareSegmentation
	HyperspectralUnmixing
	ImageClassifier
	ImageDimensionalityReduction
	ImageEnvelope
	ImageTimeSeriesGapFilling
	KMeansClassification
	KmzExport
	LSMSSegmentation
	LSMSSmallRegionsMerging
	LSMSVectorization
	LargeScaleMeanShift
	LineSegmentDetection
	LocalStatisticExtraction
	ManageNoData
	MeanShiftSmoothing
	MorphologicalClassification
	MorphologicalMultiScaleDecomposition
	MorphologicalProfilesAnalysis
	Mosaic
	MultiImageSamplingRate
	MultiResolutionPyramid
	MultivariateAlterationDetector
	OGRLayerClassifier
	OSMDownloader
	ObjectsRadiometricStatistics
	ObtainUTMZoneFromGeoPoint
	OpticalCalibration
	OrthoRectification
	Pansharpening
	PixelValue
	PolygonClassStatistics
	PredictGMMApp
	PredictRegression
	Quicklook
	RadiometricIndices
	Rasterization
	ReadImageInfo
	RefineSensorModel
	Rescale
	RigidTransformResample
	SARAmplitudeEstimation
	SARCalibration
	SARCartesianMeanEstimation
	SARCartesianMeanWithMeanPerLineEstimation
	SARCoRegistration
	SARCorrectionGrid
	SARCorrelationGrid
	SARDEMGrid
	SARDEMProjection
	SARDEMToAmplitude
	SARDeburst
	SARDecompositions
	SARDoppler0
	SARFineDeformationGrid
	SARFineMetadata
	SARGridStatistics
	SARInterferogram
	SARMultiLook
	SARPolarMatrixConvert
	SARPolarSynth
	SARRobustInterferogram
	SARTopographicPhase
	SFSTextureExtraction
	SOMClassification
	SampleAugmentation
	SampleExtraction
	SampleSelection
	Segmentation
	Smoothing
	SplitImage
	StereoFramework
	StereoRectificationGridGenerator
	Superimpose
	TestApplication
	TileFusion
	TrainDimensionalityReduction
	TrainGMMApp
	TrainGMMSelectionApp
	TrainImagesClassifier
	TrainRegression
	TrainVectorClassifier
	VectorClassifier
	VectorDataDSValidation
	VectorDataExtractROI
	VectorDataReprojection
	VectorDataSetField
	VectorDataTransform
	VectorDimensionalityReduction
	VertexComponentAnalysis

Almost nothing (segfault)

Command line:

otbApplicationLauncherCommandLine ''
Usage: otbApplicationLauncherCommandLine module_name [MODULEPATH] [arguments]

Output on branch (debug build):

Output on release-6.6

Usage: otbApplicationLauncherCommandLine module_name [MODULEPATH] [arguments]

A bit more than almost nothing

Command line:

otbApplicationLauncherCommandLine '' /tmp
ERROR: Invalid module name: /tmp.

Output on branch (debug build):

Output on release-6.6

ERROR: Invalid module name: /tmp.

RadiometricIndices

Command line:

otbcli_RadiometricIndices -in data/QB_1_ortho.tif  -out /tmp/out.tif -list blabla
2019-03-05 11:46:20 (FATAL) RadiometricIndices: itk::ERROR: ListViewParameter(0x563bf0a532e0): Value blabla not found in the list of choices: Vegetation:NDVI, Vegetation:TNDVI, Vegetation:RVI, Vegetation:SAVI, Vegetation:TSAVI, Vegetation:MSAVI, Vegetation:MSAVI2, Vegetation:GEMI, Vegetation:IPVI, Vegetation:LAIFromNDVILog, Vegetation:LAIFromReflLinear, Vegetation:LAIFromNDVIFormo, Water:NDWI, Water:NDWI2, Water:MNDWI, Water:NDPI, Water:NDTI, Soil:RI, Soil:CI, Soil:BI, Soil:BI2.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:20 (FATAL): itk::ERROR: ListViewParameter(0xeb4270): Value blabla not found in the list of choices: Vegetation:NDVI, Vegetation:TNDVI, Vegetation:RVI, Vegetation:SAVI, Vegetation:TSAVI, Vegetation:MSAVI, Vegetation:MSAVI2, Vegetation:GEMI, Vegetation:IPVI, Vegetation:LAIFromNDVILog, Vegetation:LAIFromReflLinear, Vegetation:LAIFromNDVIFormo, Water:NDWI, Water:NDWI2, Water:MNDWI, Water:NDPI, Water:NDTI, Soil:RI, Soil:CI, Soil:BI, Soil:BI2.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('RadiometricIndices')
app.IN = 'data/QB_1_ortho.tif'
app.OUT = '/tmp/out.tif'
app.SetParameterStringList('list', 'blabla')
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2532, in SetParameterStringList
    return _otbApplication.Application_SetParameterStringList(self, parameter, values, hasUserValueFlag)
RuntimeError: Exception thrown in otbApplication Application_SetParameterStringList: /home/poughov/cnes/dev/otb/Modules/Wrappers/ApplicationEngine/src/otbWrapperListViewParameter.cxx:194:
itk::ERROR: ListViewParameter(0x1d68a00): Value b not found in the list of choices: Vegetation:NDVI, Vegetation:TNDVI, Vegetation:RVI, Vegetation:SAVI, Vegetation:TSAVI, Vegetation:MSAVI, Vegetation:MSAVI2, Vegetation:GEMI, Vegetation:IPVI, Vegetation:LAIFromNDVILog, Vegetation:LAIFromReflLinear, Vegetation:LAIFromNDVIFormo, Water:NDWI, Water:NDWI2, Water:MNDWI, Water:NDPI, Water:NDTI, Soil:RI, Soil:CI, Soil:BI, Soil:BI2.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2533, in SetParameterStringList
    return _otbApplication.Application_SetParameterStringList(self, parameter, values, hasUserValueFlag)
RuntimeError: Exception thrown in otbApplication Application_SetParameterStringList: /home/otbval/dashboard/otb/src/Modules/Wrappers/ApplicationEngine/src/otbWrapperListViewParameter.cxx:194:
itk::ERROR: ListViewParameter(0x55e1f80a1430): Value b not found in the list of choices: Vegetation:NDVI, Vegetation:TNDVI, Vegetation:RVI, Vegetation:SAVI, Vegetation:TSAVI, Vegetation:MSAVI, Vegetation:MSAVI2, Vegetation:GEMI, Vegetation:IPVI, Vegetation:LAIFromNDVILog, Vegetation:LAIFromReflLinear, Vegetation:LAIFromNDVIFormo, Water:NDWI, Water:NDWI2, Water:MNDWI, Water:NDPI, Water:NDTI, Soil:RI, Soil:CI, Soil:BI, Soil:BI2.

PixelValue

Command line:

otbcli_PixelValue -in ~/cnes/dev/otb-data/Examples/QB_1_ortho.tif -coordx 50 -coordy -6
2019-03-05 11:46:21 (FATAL) PixelValue: Cannot open image /home/poughov/cnes/dev/otb-data/Examples/QB_1_ortho.tif. The file does not exist.

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:21 (FATAL): Cannot open image /home/poughov/cnes/dev/otb-data/Examples/QB_1_ortho.tif. The file does not exist.

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('PixelValue')
app.IN = '/home/poughov/cnes/dev/otb-data/Examples/QB_1_ortho.tif'
app.COORDX = 50
app.COORDY = -6
app.ExecuteAndWriteOutput()

Output on branch (release build):

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "/home/poughov/build/SuperBuild-develop/OTB/build/lib/otb/python/otbApplication.py", line 2460, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image /home/poughov/cnes/dev/otb-data/Examples/QB_1_ortho.tif. The file does not exist.

Output on branch (debug build):

 

Output on release-6.6

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "/home/poughov/Downloads/OTB-6.6.1-Linux64/lib/python/otbApplication.py", line 2461, in ExecuteAndWriteOutput
    return _otbApplication.Application_ExecuteAndWriteOutput(self)
RuntimeError: Cannot open image /home/poughov/cnes/dev/otb-data/Examples/QB_1_ortho.tif. The file does not exist.

ConcatenateImage

Command line:

otbcli_ConcatenateImages -il data/QB_1_ortho.tif data/Circle.png -out /tmp/out.tif
2019-03-05 11:46:21 (INFO) ConcatenateImages: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:21 (INFO) ConcatenateImages: GDAL maximum cache size is 383 MB
2019-03-05 11:46:21 (INFO) ConcatenateImages: OTB will use at most 8 threads
2019-03-05 11:46:21 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:21 (INFO): No kwl metadata found in file data/Circle.png
2019-03-05 11:46:21 (FATAL) ConcatenateImages: itk::ERROR: ConcatenateImages(0x558e2b8249f0): Input Image size mismatch...

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:21 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:21 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:21 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:21 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:21 (INFO): No kwl metadata found in file data/Circle.png
2019-03-05 11:46:21 (FATAL): itk::ERROR: ConcatenateImages(0x1b34d70): Input Image size mismatch...

ReadImageInfo

Command line:

otbcli_ReadImageInfo -in data/QB_1_ortho.tif
2019-03-05 11:46:22 (INFO) ReadImageInfo: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:22 (INFO) ReadImageInfo: GDAL maximum cache size is 383 MB
2019-03-05 11:46:22 (INFO) ReadImageInfo: OTB will use at most 8 threads
2019-03-05 11:46:22 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:22 (INFO) ReadImageInfo: 
Image general information:
	Number of bands : 4
	Data type : float
	No data flags : Not found
	Start index :  [0,0]
	Size :  [512,512]
	Origin :  [370588,4.83177e+06]
	Spacing :  [2.55939,-2.76378]
	Estimated ground spacing (in meters): [2.55293,2.76626]

Image acquisition information:
	Sensor : QB02
	Image identification number: 02APR01105228-M1BS-000000128955_01_P001
	Image projection : PROJCS["WGS 84 / UTM zone 31N",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",3],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","32631"]]
	Acquisition time : 2002-04-01T10:52:00
	Country : France
	Town : Rangueuil

Image footprint coordinates:
	Upper left corner (latitude, longitude) = [43.6635,1.35446]
	Upper right corner (latitude, longitude) = [43.6638,1.57255]
	Lower left corner (latitude, longitude) = [43.4877,1.35617]
	Lower right corner (latitude, longitude) = [43.488,1.57224]

Image default RGB composition:
	[R, G, B] = [2,1,0]

Ground control points information:
	Number of GCPs = 0
	GCPs projection = 

Output parameters value:
indexx: 0
indexy: 0
sizex: 512
sizey: 512
spacingx: 2.559390068
spacingy: -2.763780117
originx: 370587.5312
originy: 4831766.5
estimatedgroundspacingx: 2.552932024
estimatedgroundspacingy: 2.76625824
numberbands: 4
datatype: float
sensor: QB02
id: 02APR01105228-M1BS-000000128955_01_P001
time: 2002-04-01T10:52:00
ullat: 43.66353607
ullon: 1.354463339
urlat: 43.6638298
urlon: 1.572546124
lrlat: 43.487957
lrlon: 1.57224226
lllat: 43.48768997
lllon: 1.356172442
town: Rangueuil
country: France
rgb.r: 2
rgb.g: 1
rgb.b: 0
projectionref: PROJCS["WGS 84 / UTM zone 31N",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",3],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","32631"]]
keyword: 
gcp.count: 0
gcp.proj: 
gcp.ids: 
gcp.info: 
gcp.imcoord: 
gcp.geocoord: 

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:22 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:22 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:22 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:22 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:22 (INFO): 
Image general information:
	Number of bands : 4
	No data flags : Not found
	Start index :  [0,0]
	Size :  [512,512]
	Origin :  [370588,4.83177e+06]
	Spacing :  [2.55939,-2.76378]
	Estimated ground spacing (in meters): [2.55293,2.76626]

Image acquisition information:
	Sensor : QB02
	Image identification number: 02APR01105228-M1BS-000000128955_01_P001
	Image projection : PROJCS["WGS 84 / UTM zone 31N",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",3],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","32631"]]
	Acquisition time : 2002-04-01T10:52:00
	Country : France
	Town : Rangueuil

Image footprint coordinates:
	Upper left corner (latitude, longitude) = [43.6635,1.35446]
	Upper right corner (latitude, longitude) = [43.6638,1.57255]
	Lower left corner (latitude, longitude) = [43.4877,1.35617]
	Lower right corner (latitude, longitude) = [43.488,1.57224]

Image default RGB composition:
	[R, G, B] = [2,1,0]

Ground control points information:
	Number of GCPs = 0
	GCPs projection = 

Output parameters value:
indexx: 0
indexy: 0
sizex: 512
sizey: 512
spacingx: 2.559390068
spacingy: -2.763780117
originx: 370587.5312
originy: 4831766.5
estimatedgroundspacingx: 2.552932024
estimatedgroundspacingy: 2.76625824
numberbands: 4
sensor: QB02
id: 02APR01105228-M1BS-000000128955_01_P001
time: 2002-04-01T10:52:00
ullat: 43.66353607
ullon: 1.354463339
urlat: 43.6638298
urlon: 1.572546124
lrlat: 43.487957
lrlon: 1.57224226
lllat: 43.48768997
lllon: 1.356172442
town: Rangueuil
country: France
rgb.r: 2
rgb.g: 1
rgb.b: 0
projectionref: PROJCS["WGS 84 / UTM zone 31N",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",3],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","32631"]]
keyword: 
gcp.count: 0
gcp.proj: 
gcp.ids: 
gcp.info: 
gcp.imcoord: 
gcp.geocoord: 

DynamicConvert

Command line:

otbcli_DynamicConvert -in data/QB_1_ortho.tif -out /tmp/out.tif -progress false
2019-03-05 11:46:22 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:22 (INFO) DynamicConvert: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:22 (INFO) DynamicConvert: GDAL maximum cache size is 383 MB
2019-03-05 11:46:22 (INFO) DynamicConvert: OTB will use at most 8 threads
2019-03-05 11:46:22 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:22 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:22 (INFO): Estimated memory for full processing: 216.677MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:22 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:22 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:22 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:22 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:22 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:22 (INFO): Estimated memory for full processing: 19.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:22 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:23 (INFO): Estimated memory for full processing: 216.677MB (avail.: 128 MB), optimal image partitioning: 2 blocks
2019-03-05 11:46:23 (INFO): File /tmp/out.tif will be written in 4 blocks of 384x384 pixels

BandMath

Command line:

otbcli_BandMath -il data/QB_1_ortho.tif -out /tmp/out.tif -exp '1' -progress false
2019-03-05 11:46:23 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:23 (INFO) BandMath: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:23 (INFO) BandMath: GDAL maximum cache size is 383 MB
2019-03-05 11:46:23 (INFO) BandMath: OTB will use at most 8 threads
2019-03-05 11:46:23 (INFO) BandMath: Image #1 has 4 components

2019-03-05 11:46:23 (INFO): Estimated memory for full processing: 10.9619MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:23 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:23 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:23 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:23 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:23 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:23 (INFO): Image #1 has 4 components

2019-03-05 11:46:23 (INFO): Estimated memory for full processing: 10.9619MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:23 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('BandMath')
app.SetParameterStringList('il', ['data/QB_1_ortho.tif'])
app.OUT = '/tmp/out.tif'
app.EXP = '1'
app.ExecuteAndWriteOutput()

Output on branch (release build):

2019-03-05 11:46:23 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:23 (INFO): Estimated memory for full processing: 10.9619MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:23 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

 

Output on release-6.6

2019-03-05 11:46:23 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:23 (INFO): Estimated memory for full processing: 10.9619MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:23 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

BandMathX

Command line:

otbcli_BandMathX -il data/QB_1_ortho.tif -out /tmp/out.tif -exp '1' -progress false
2019-03-05 11:46:23 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:23 (INFO) BandMathX: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:23 (INFO) BandMathX: GDAL maximum cache size is 383 MB
2019-03-05 11:46:23 (INFO) BandMathX: OTB will use at most 8 threads
2019-03-05 11:46:23 (INFO) BandMathX: Image #1 has 4 components
2019-03-05 11:46:23 (INFO) BandMathX: Using expression: 1
2019-03-05 11:46:23 (INFO): Estimated memory for full processing: 6.96185MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:23 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:24 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:24 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:24 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:24 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:24 (INFO): Image #1 has 4 components
2019-03-05 11:46:24 (INFO): Using expression : 1
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 6.96185MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Rescale

Command line:

otbcli_Rescale -in data/QB_1_ortho.tif -out /tmp/out.tif -progress false
2019-03-05 11:46:24 (INFO) Rescale: Default RAM limit for OTB is 256 MB
2019-03-05 11:46:24 (INFO) Rescale: GDAL maximum cache size is 383 MB
2019-03-05 11:46:24 (INFO) Rescale: OTB will use at most 8 threads
2019-03-05 11:46:24 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 11.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 15.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

Output on release-6.6

2019-03-05 11:46:24 (INFO): Default RAM limit for OTB is 128 MB
2019-03-05 11:46:24 (INFO): GDAL maximum cache size is 383 MB
2019-03-05 11:46:24 (INFO): OTB will use at most 8 threads
2019-03-05 11:46:24 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 11.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 15.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Python API:

import otbApplication
app = otbApplication.Registry.CreateApplication('Rescale')
app.IN = 'data/QB_1_ortho.tif'
app.OUT = '/tmp/out.tif'
app.ExecuteAndWriteOutput()

Output on branch (release build):

2019-03-05 11:46:24 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 11.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 15.8474MB (avail.: 256 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels

Output on branch (debug build):

 

Output on release-6.6

2019-03-05 11:46:24 (INFO): Loading kwl metadata from attached geom file data/QB_1_ortho.geom
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 11.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): Estimation will be performed in 1 blocks of 512x512 pixels
2019-03-05 11:46:24 (INFO): Estimated memory for full processing: 15.8474MB (avail.: 128 MB), optimal image partitioning: 1 blocks
2019-03-05 11:46:24 (INFO): File /tmp/out.tif will be written in 1 blocks of 512x512 pixels
Edited
3 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment