forked from Slicer/SlicerGitSVNArchive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Update segment center calculation to use largest island
Previously vtkSegmentationNode::GetSegmentCenter() calculated the center of a segment as the center of the bounding box containing the entire segment. This commit changes GetSegmentCenter to calculate and return the the center of the largest island extent. Also fixes a padding bug in vtkOrientedImageDataResample::ResampleOrientedImageToReferenceOrientedImage that calculated an incorrect extent when the reference extent was empty. git-svn-id: http://svn.slicer.org/Slicer4/trunk@28699 3bd1e089-480b-0410-8dfb-8563597acbee
- Loading branch information
Showing
2 changed files
with
105 additions
and
10 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