Closed EscapedGibbon closed 1 year ago
I would have called it "add", in reference to the matlab method (https://ch.mathworks.com/help/images/ref/imadd.html) and also this is the counterpart of subtract
.
@stropitek not sure why you're mentioning mask here. The PR doesn't touch anything on mask code.
not sure why you're mentioning mask here. The PR doesn't touch anything on mask code.
It's because the subtract
method exists on Mask and to be on par we could implement the sum
method as well. But to me the concept of doing sums and subtractions on masks seems kind of strange. I don't know for which use case the subtract method exists in the first place.
Patch coverage: 100.00%
and no project coverage change.
Comparison is base (
e10ab1e
) 98.64% compared to head (6740a0e
) 98.64%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
image.add(otherImage)
should be possible as well
close: https://github.com/image-js/image-js-typescript/issues/320