otbImageViewerBase does not handle the overlay image pipeline
Mantis Issue 35, reported by echristophe, assigned to jmichel, created: 2008-12-01
otbImageViewerBase does not handle the overlay image pipeline. Thus, to use an overlay image, an update() call is required. The process should be handled in the same way as the image.
1228208614 - julienThe bug seems not to be reproducible. A test (http://hg.orfeo-toolbox.org/OTB/rev/7d98da434f11) has been added.
Note that it is not possible to add an overlay after the Build() method has been called (neither it is to change the main image after the Build() method call). This is rather a change request and should be part of the larger visu refactoring task.
1228209630 - christopConfirm the segfault on singaporecrisp:
~/OTB/OTB-Binary-Applications-Debug/bin/otbImageViewer -in ~/OTB/trunk/OTB-Data/Input/GomaAvant.png -ov ~/OTB/trunk/OTB-Data/Input/GomaApres.png Msg Dev: ONERAImageIO::CanReadFile() failed header open ! Msg Dev: ONERAImageIO::CanReadFile() failed header open ! Segmentation fault
Added the test ivViewerOverlay in applications. But the test with the exact same command does not always segfault.
1228211280 - julienOverlay are supposed to be 3-band unsigned char images. The idea is that it is not up to the viewer to format the overlay image on its side