Skip to content

Commit

Permalink
add comment to clarify label filter application
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov committed Dec 14, 2023
1 parent 4747eed commit 4f98007
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libsrc/Itk2DicomConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ namespace dcmqi {

//cout << "Processing input label " << segmentations[segFileNumber] << endl;

// note that labels are the same in the input and output image produced
// by this filter, see https://itk.org/Doxygen/html/classitk_1_1LabelImageToLabelMapFilter.html
LabelToLabelMapFilterType::Pointer l2lm = LabelToLabelMapFilterType::New();
l2lm->SetInput(segmentations[segFileNumber]);
l2lm->Update();
Expand Down

0 comments on commit 4f98007

Please sign in to comment.