Open zygmuntszpak opened 3 years ago
Merging #54 (87bee8a) into master (b3e7330) will increase coverage by
0.71%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #54 +/- ##
==========================================
+ Coverage 95.94% 96.65% +0.71%
==========================================
Files 12 14 +2
Lines 592 718 +126
==========================================
+ Hits 568 694 +126
Misses 24 24
Impacted Files | Coverage Δ | |
---|---|---|
src/ImageContrastAdjustment.jl | 100.00% <100.00%> (ø) |
|
src/algorithms/piecewise_linear_stretching.jl | 100.00% <100.00%> (ø) |
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 b3e7330...87bee8a. Read the comment docs.
@timholy @johnnychen94 I think this implementation should cover what we need to facilitate generalised linear stretching. Please let me know if you think there is anything major I may have missed. Barring that, I plan to merge this pull-request in a couple of days.
Thank you both for the excellent feedback. I'll have a stab at refactoring the code and ping you once I am done.
Adds
PiecewiseLinearStretching
as a basis for addressing https://github.com/JuliaImages/ImageContrastAdjustment.jl/issues/33Currently, I have implemented this under the old
adjust_histogram
umbrella. The intention is to refactor everything intoadjust_intensities
in subsequent pull requests.The next steps involve adding
Percentile
and perhapsQuantile
types toImageCore
to facilitate the implementation of some convenience functions described in https://github.com/JuliaImages/ImageContrastAdjustment.jl/issues/33 and other places.