Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[gsoc2019] Otsu threshold implemented #314
New method threshold_optimal introduced. In this method, the user does not need to specify any threshold value but is chosen by the Otsu's algorithm. More details about the algorithm can be found in the reference.
If the image is multi-channel then the algorithm is applied on each channel. If the image has channel depth more than 8bit then each channel is normalized to fit in the range from 0 to 255.
mloskot left a comment
@miralshah365 This looks good.
Here is my first batch of comments clearing some trivial aspects of the code.
Could you also try to update your PR against latest
Later today, I will do another round of comments and run proper testing of your code.