-
-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Refactor RelabelComponentImageFilter
Parallelized the computation of the label counting with parallel reduction of the map. Parallelized applying the output production step. Modernizes the use of STL data structures and loops. Stream-lined cases. Save iterators used for searching to exploit coherence in images. Updated some type to avoid casts. The filter clearly maps input pixels to output pixels, so those type are used. And the number of objects type has been changed to SizeValueType.
- Loading branch information
Showing
3 changed files
with
216 additions
and
151 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
Oops, something went wrong.