Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor warp to be consistent with WarpedView #23

Closed
wants to merge 1 commit into from

Conversation

Evizero
Copy link
Member

@Evizero Evizero commented Apr 21, 2017

Depends on #13. This follows the idea from WarpedView that the eltype of the input should be preserved, since the transformation should only be about warping.

@codecov-io
Copy link

codecov-io commented Apr 21, 2017

Codecov Report

Merging #23 into cs/warpedview will decrease coverage by 0.07%.
The diff coverage is 88.88%.

Impacted file tree graph

@@               Coverage Diff                @@
##           cs/warpedview     #23      +/-   ##
================================================
- Coverage          97.28%   97.2%   -0.08%     
================================================
  Files                  5       5              
  Lines                221     215       -6     
================================================
- Hits                 215     209       -6     
  Misses                 6       6
Impacted Files Coverage Δ
src/ImageTransformations.jl 100% <100%> (ø) ⬆️
src/warp.jl 89.47% <87.5%> (-2.84%) ⬇️

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 c66678a...43b1096. Read the comment docs.

plain array and the `img[tform(x)]` is inbound. In the case
`tform(x)` maps to indices outside the original `img`, the value
/ extrapolation scheme denoted by the optional parameter `fill`
(which defaults to `NaN`) is used to indicate locations for which
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe specify NaN, if the element type supports it, and 0 otherwise?

@Evizero Evizero closed this Apr 21, 2017
@Evizero Evizero deleted the cs/warp branch April 21, 2017 16:25
@Evizero
Copy link
Member Author

Evizero commented Apr 21, 2017

closing in favour of #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants