Threshold limitations

asked 2018-07-06 08:23:36 -0600

Patrik gravatar image

This has been discussed before, but it was 4 years ago so I thought it would be interesting to get an update.

The threshold method is limited to 8 or 32 bit images. However, looking at the code today it is apparent that most of the datatypes that are supported in OpenCV have been implemented in thresh.cppbut that the public API does not reflect the available functionality.

This is more than a little frustrating. Especially if you are relying on a wrapper such as Emgu which only provides the functionality that the opencv API documentation exposes.

Does anyone have any insight in why the added depth support has not been exposed and if there is any chance for things to improve in 4.0? Or should I just accept fact and work around this arbitrary limitation as best I can.

edit retag flag offensive close merge delete

Comments

have been implemented in thresh.cppbut that the public API does not reflect the available functionality.

where do you see that ?

berak gravatar imageberak ( 2018-07-06 08:49:22 -0600 )edit

yea, i'm looking at that, too, i meant the

but that the public API does not reflect the available functionality

part. why do you think, it is not so ? (OTSU is restricted to CV_8U, but that's all)

(and we cannot help you with emgu problems of any kind here. you have to nag those folks on their own forum)

berak gravatar imageberak ( 2018-07-06 08:54:51 -0600 )edit