brandonmpetty / Doxa

A Local Adaptive Thresholding framework for image binarization written in C++, with JS and Python bindings. Implementing: Otsu, Bernsen, Niblack, Sauvola, Wolf, Gatos, NICK, Su, T.R. Singh, WAN, ISauvola, Bataineh, Chan and Shafait.
https://brandonmpetty.github.io/Doxa/WebAssembly
Creative Commons Zero v1.0 Universal
164 stars 37 forks source link

`#include "Morphology.hpp"` is missing from `Wan.hpp` #37

Closed ghost closed 8 months ago

ghost commented 9 months ago

Hello,

The Wan algorithm won't compile, because it makes uses of a morphology function:

Morphology::Dilate(maxImage, Algorithm::grayScaleImageIn, windowSize);

and yet, #include "Morphology.hpp" is missing from Wan.hpp.

Luckily, the fix is easy. The relevant include simply has to be added.

Hope this helps!

brandonmpetty commented 8 months ago

Thank you. This has been resolved.