You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect results GetAxisAlignedBoundingBoxRegion() for 2D #734
ImageMaskSpatialObject::GetAxisAlignedBoundingBoxRegion() appears to produce incorrect results for image dimensions other than 3D, in two cases:
When the image is entirely black (all zero's). In this case, a bounding box region size of zero is expected, but instead, the returned region appears to have a very large size! For example, { 18446744073709551613, 18446744073709551611 }
When the (N-dimensional) index of the requested region of the image has non-zero coordinates. In this case, the size of the returned bounding box region is also incorrect, apparently because the function just does not take the image region index into account.
Activity
Merge pull request #732 from N-Dekker/BUG-2D-ImageMaskSpatialObject-G…
N-Dekker commentedon Apr 16, 2019
Thanks @dzenanz for merging the pull request to fix this issue: #732
Note that it should be possible, technically, to apply the commit that fixes this issue to ITK 4.13 as well: 6dc3846
dzenanz commentedon Apr 16, 2019
Please make a PR to release-4.13 branch.
BUG: Fix InsightSoftwareConsortium#734 Incorrect results GetAxisAlign…
Merge pull request InsightSoftwareConsortium#732 from N-Dekker/BUG-2D…
BUG: Fix InsightSoftwareConsortium#734 Incorrect results GetAxisAlign…
Merge pull request InsightSoftwareConsortium#732 from N-Dekker/BUG-2D…