# IntegralThreshold **Repository Path**: woaichengyang/IntegralThreshold ## Basic Information - **Project Name**: IntegralThreshold - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # IntegralThreshold Adaptive Thresholding Using the Integral Image. Based on https://github.com/phryniszak/AdaptiveIntegralThresholding Converted to Python.
For more details, please read this papaer [Adaptive Thresholding Using the Integral Image](https://www.researchgate.net/publication/220494200_Adaptive_Thresholding_using_the_Integral_Image).
This method can preserve more image details as the table shows.                                        
test imageOTSU Thresholding
Adaptive ThresholdingAdaptive Thresholding Using the Integral Image
The code is simple but the speed is insanely slow when the image is very large; and I use [numba](http://numba.pydata.org/) to speed up. The original code consumes more than 3 minutes for processing this test image while it only costs about 1 seconds with numba.