forked from InsightSoftwareConsortium/ITK
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Added GetCenterPoint and SetCenterPoint to EllipseSpatialObject
Wraps access to ellipseSpatialObject->GetObjectToWorldTransform()->m_Offset. These new member functions allow simplifying the implementation, as well as use cases of itk::HoughTransform2DCirclesImageFilter::GetCircles(). With this commit, the implementation, test, and example of the HoughTransform2DCircles filter are adapted to make use of them. Note that this change silently breaks old ITK user code (ITK < 5.0) calling HoughTransform2DCirclesImageFilter::GetCircles(). Triggered by comments from Tim Evain at ITK Discourse, starting at https://discourse.itk.org/t/hough-transform-2d-circles-image-filter-getcircles-patch/350/46 Change-Id: I49a9f0504c0fc85aeefddd813fcabca309bd09e8
- Loading branch information
Showing
5 changed files
with
41 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters