watershed: tiles result into different segmentation intensities
Description
Segmentation/watershed with tile-based processing for a non-uniform image results on an output where the different tiles have different segmentation intensities:
This problem occurs even if I set the tile size to a value much larger than any of the dimensions of the image (4096 for an 1147 x 1568 image).
I conjecture that the application translates the input "Depth threshold" and "Flood Level" parameters (entered as proportions in the 0-1 range) into different values for each tile.
Steps to reproduce
otbcli_Segmentation.bat -in D:/FLUXPYRetal/Montseny/segmentation/chFLT32.tif -filter watershed -filter.watershed.threshold 0.01 -filter.watershed.level 0.1 -mode.vector.out D:/FLUXPYRetal/Montseny/segmentation/testFLT32_001_01.shp -mode.vector.layername layer -mode.vector.fieldname DN -mode.vector.tilesize 4096
Configuration information
OTB 7.1.0 chFLT32.tif