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 Entropy using the functor API #33

Closed johnnychen94 closed 5 years ago

johnnychen94 commented 5 years ago

This is a PR-commit for PR https://github.com/zygmuntszpak/ImageBinarization.jl/pull/29 that refactors the whole codebase to use the new functor API, which is discussed in more details in https://github.com/zygmuntszpak/ImageBinarization.jl/issues/26 and explained in my GSoC 2019 blog

Changes:

codecov[bot] commented 5 years ago

Codecov Report

Merging #33 into api will increase coverage by 3.85%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              api      #33      +/-   ##
==========================================
+ Coverage   37.42%   41.27%   +3.85%     
==========================================
  Files          20       20              
  Lines         171      172       +1     
==========================================
+ Hits           64       71       +7     
+ Misses        107      101       -6
Impacted Files Coverage Δ
src/entropy.jl 100% <100%> (+100%) :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 95184f6...24fd5f3. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #33 into api will increase coverage by 3.85%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              api      #33      +/-   ##
==========================================
+ Coverage   37.42%   41.27%   +3.85%     
==========================================
  Files          20       20              
  Lines         171      172       +1     
==========================================
+ Hits           64       71       +7     
+ Misses        107      101       -6
Impacted Files Coverage Δ
src/entropy.jl 100% <100%> (+100%) :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 95184f6...78903b2. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #33 into api will increase coverage by 3.85%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              api      #33      +/-   ##
==========================================
+ Coverage   37.42%   41.27%   +3.85%     
==========================================
  Files          20       20              
  Lines         171      172       +1     
==========================================
+ Hits           64       71       +7     
+ Misses        107      101       -6
Impacted Files Coverage Δ
src/entropy.jl 100% <100%> (+100%) :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 95184f6...24fd5f3. Read the comment docs.