JuliaImages / ImageBinarization.jl

A Julia package of algorithms for analyzing images and automatically binarizing them into background and foreground.
MIT License
35 stars 8 forks source link

refactor Sauvola using the functor API #43

Closed johnnychen94 closed 5 years ago

johnnychen94 commented 5 years ago

This PR is done in the same manner as #42 except that:

I didn't move window_size out of Sauvola according to #41

codecov[bot] commented 5 years ago

Codecov Report

Merging #43 into api will increase coverage by 8.62%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              api      #43      +/-   ##
==========================================
+ Coverage   80.31%   88.94%   +8.62%     
==========================================
  Files          20       20              
  Lines         188      190       +2     
==========================================
+ Hits          151      169      +18     
+ Misses         37       21      -16
Impacted Files Coverage Δ
src/sauvola.jl 94.73% <100%> (+94.73%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 94f6ad8...a5e0b86. Read the comment docs.