Skip to content

Commit

Permalink
Fix segmentation label null issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed Feb 7, 2025
1 parent 0e2553f commit 24053ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void initContours(DicomSeries series) {
if (segSeq != null && series != null) {
for (Attributes seg : segSeq) {
int nb = seg.getInt(Tag.SegmentNumber, -1);
String segmentLabel = seg.getString(Tag.SegmentLabel);
String segmentLabel = seg.getString(Tag.SegmentLabel, "" + nb);

int[] colorRgb =
CIELab.dicomLab2rgb(
Expand Down

0 comments on commit 24053ab

Please sign in to comment.