davidstutz / superpixel-benchmark

An extensive evaluation and comparison of 28 state-of-the-art superpixel algorithms on 5 datasets.
398 stars 109 forks source link

Compatibility with OpenCV #4

Closed skn123 closed 4 years ago

skn123 commented 6 years ago

Can the code be modified to be compatible with OpenCV 4.0?

davidstutz commented 4 years ago

Sorry for the very late answer!

I haven't used OpenCV in quite a while, so I do not feel comfortable giving a definite answer. You might have difficulties with the utilities. However, most of the algorithms are actually implemented in a stand-alone fashion and I only added OpenCV wrappers around them, so you should be able to adapt the wrappers to OpenCV 4 and the algorithms should still work. Evaluation, however, is based more heavily on OpenCV.