-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Optimize FullSampler for if input image and mask have same domain
Similar to the existing optimization in itkComputeImageExtremaFilter.hxx When the mask and the image have exactly the same image domain, the sampler may become more than 3x as fast as before, from more than 0.60 sec. (before this commit) to less than 0.18 (after this commit), on an image of 4096x4096 pixels, using VS2022 Release.
- Loading branch information
Showing
3 changed files
with
127 additions
and
28 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