Closed AmbachtIT closed 3 years ago
This PR fixes #457 by separating the projection from 1D to a 4D array first and slicing out the correct size afterward if the width of the supplied image is not even.
Please note: This is my first Github PR ever. Please be gentle ;).
I have discovered a similar error in NDArray.ToBitmap(). I'll combine both fixes in a single PR. Closing this one.
This PR fixes #457 by separating the projection from 1D to a 4D array first and slicing out the correct size afterward if the width of the supplied image is not even.
Please note: This is my first Github PR ever. Please be gentle ;).