Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Use ShapedImageNeighborhoodRange in MeanImageFilter
Improved the performance of `MeanImageFilter::Update` by replacing its local `itk::ConstNeighborhoodIterator` variable by an `Experimental::ShapedImageNeighborhoodRange` variable, using the new `BufferedImageNeighborhoodPixelAccessPolicy`. ~40% reduction of the run-time duration was observed on a `filter->Update()` call, using VS2017, processing a 256x256x256 image. For a 1024x1024x16 image, the performance improvement appeared even higher.
- Loading branch information
Showing
2 changed files
with
70 additions
and
35 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