Skip to content

Commit

Permalink
feat(segmentation): Preserve optional SegmentDescription during segme…
Browse files Browse the repository at this point in the history
…nt renumbering (#419)
  • Loading branch information
rogerbramon authored Jan 17, 2025
1 parent d1f7b75 commit d6ac162
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/derivations/Segmentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,11 @@ export default class Segmentation extends DerivedPixels {
Segment.SegmentedPropertyTypeCodeSequence
};

if (Segment.SegmentDescription) {
reNumberedSegmentCopy.SegmentDescription =
Segment.SegmentDescription;
}

if (
SegmentAlgorithmType === "AUTOMATIC" ||
SegmentAlgorithmType === "SEMIAUTOMATIC"
Expand Down

0 comments on commit d6ac162

Please sign in to comment.