Skip to content

Liang-yc/IntegralThreshold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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 to speed up. The original code consumes more than 3 minutes for processing this test image while it only costs about 1 second with numba.

About

Adaptive Thresholding Using the Integral Image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages