Skip to content

Conversation

@amroamroamro
Copy link
Contributor

Fixes the issues raised by @mshabunin for #181 in the comments.

I updated the function code, added support for the other threshold types, and included the missing Doxygen comments in the header file.

I also expanded the sample demo with more trackbars to manipulate the thresholding parameters.

otherwise we get a failed assertion from OutputArray::create
- no for-loops
- support all thresholding types
- support any input image depth
- add Doxygen comments
- read image as 1-channel grayscale
- 3 trackers to control function parameters
- K allowed to go to negative values (usually to detect black text on white bg)
@mshabunin
Copy link
Contributor

Thank you!
👍

@opencv-pushbot opencv-pushbot merged commit 6c7a806 into opencv:master Feb 12, 2016
@amroamroamro amroamroamro deleted the fix_niblack branch February 12, 2016 10:17
amroamroamro added a commit to kyamagu/mexopencv that referenced this pull request Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants