forked from InsightSoftwareConsortium/ITK
-
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.
BUG: Address race condition in SLIC filter
Addresses issue InsightSoftwareConsortium#4711. When RelabelConnectedRegion is called by ThreadedConnectivity, both outputLabel and requeredLabel are the same value. Don't re-write the same label value and check the unmodifeld label image first. Also consolidated duplicate code into a loop.
- Loading branch information
1 parent
1f4fad1
commit bbf9f17
Showing
1 changed file
with
12 additions
and
13 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