imagej / imagej-ops

ImageJ Ops: "Write once, run anywhere" image processing
https://imagej.net/libs/imagej-ops
BSD 2-Clause "Simplified" License
89 stars 42 forks source link

Allow copies across boolean types #651

Closed gselzer closed 1 year ago

gselzer commented 1 year ago

Currently, Ops can only copy between the same RealType implementations. This is because the set/get methods only work on values of the same type. We could copy across different BooleanType implementations, though, as their set/get methods work on boolean. This PR does just that.