- Open Pic3D.nrrd
- Create a segmentation
- Add another layer so you are now at layer 1
- Add two labels (so on layer 1 you now have "Label 2" and "Label 3")
- Paint a circle in Label 3
- Fill the circle Fills the circle with the value of Label 2
Description
Description
Revisions and Commits
Revisions and Commits
rMITK MITK | |||
Restricted Differential Revision | rMITK35af1cb02b5f Source fill label value from active layer | ||
Restricted Differential Revision | rMITK89d9cd7003e9 Source fill label value from active layer |
Related Objects
Related Objects
- Mentioned In
- T29377: 2022 Week 43 (Late October)
Event Timeline
Comment Actions
The fix is trivial. The source fill label value was always sourced from layer 0 instead of the active layer.
Before
m_FillLabelValue = labelSetImage->GetActiveLabel()->GetValue();
After
m_FillLabelValue = labelSetImage->GetActiveLabel(labelSetImage->GetActiveLayer())->GetValue();