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
  • Loading branch information
rogerbramon committed Jan 15, 2025
1 parent 566da91 commit d344d4e
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 d344d4e

Please sign in to comment.