Threshold module can not threshold images with low non-integer dynamic
Mantis Issue 182, reported by jmichel, assigned to jmichel, created: 2010-08-09
When trying to threshold an image with low non-integer dynamic, such as correlation map or NDVI, parameters, the slider to set the thresolds are stuck to 1,inf, or Nan,Nan.
The step of the slider should adapt to the image dynamic. Morover, the user should be able to set the threshold values by hand.
1281364164 - aurelienThe threshold module works fine on an image with a dynamic between -1.2605e-10 and 7.03704e-10. Perhaps the issue is related to the following bogue: http://bugs.orfeo-toolbox.org/view.php?id=166
Could your image possess pixels outside what appears to be the dynamic?
1281364618 - julienNo, it does not work fine. Try thresholding the attached image, which I created with the fine correlation module.
1281367438 - julienOk the image contains inf pixel at the border, which causes the odd behaviour. I switch the bug status to feature request, since it would be useful to be able to set the threshold by hand.
1281367773 - julienInput image contains inf values, which prevent the threshold module to behave correctly.
1304066259 - julienNot a bug.