Skip to content

Commit

Permalink
Added support for new segmentation SOP Classes.
Browse files Browse the repository at this point in the history
Added support for new segmentation SOP Classes introduced with
Supplement 240 and 243 to the SR image reference value class.

Also removed support for the Surface Segmentation Storage SOP Class
from this class as it is not based on the DICOM image model.
  • Loading branch information
jriesmeier committed Nov 6, 2024
1 parent 779372e commit efe0f6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dcmsr/libsrc/dsrimgvl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,9 @@ OFBool DSRImageReferenceValue::appliesToSegment(const Uint16 segmentNumber) cons

OFBool DSRImageReferenceValue::isSegmentationObject(const OFString &sopClassUID) const
{
/* check for all segmentation SOP classes (according to DICOM PS 3.6-2023c) */
return (sopClassUID == UID_SegmentationStorage) || (sopClassUID == UID_SurfaceSegmentationStorage);
/* check for all _image_ segmentation SOP classes (according to DICOM PS 3.6-2024d) */
return (sopClassUID == UID_SegmentationStorage) || /* (sopClassUID == UID_SurfaceSegmentationStorage) || */
(sopClassUID == UID_HeightMapSegmentationStorage) || (sopClassUID == UID_LabelMapSegmentationStorage);
}


Expand Down

0 comments on commit efe0f6f

Please sign in to comment.