LargeScaleMeanShift logs always say "0 small regions will be removed"
Description
When running LargeScaleMeanShift, the logs say "0 small regions will be removed", even if more than 1 small region is removed.
A user reported this issue on the forum. He used WordlView3 products. I tried with a Sentinel2 product. When the parameter minsize
is set to 50, I can see that the smallest region's size is 50. And when the parameter is set to 10, the smallest region's size is 10. This shows that some regions are removed.
Steps to reproduce
Run LargeScaleMeanShift. Read the logs at the "Small regions pruning" step.
Configuration information
OTB 8.1.1.