Skip to content

Commit

Permalink
Add OCT normalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsimko committed Sep 18, 2024
1 parent 7b44953 commit b98e76c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/DicomMetaDictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ DicomMetaDictionary.sopClassNamesByUID = {
"1.2.840.10008.5.1.4.1.1.88.33": "ComprehensiveSR",
"1.2.840.10008.5.1.4.1.1.128": "PETImage",
"1.2.840.10008.5.1.4.1.1.130": "EnhancedPETImage",
"1.2.840.10008.5.1.4.1.1.128.1": "LegacyConvertedEnhancedPETImage"
"1.2.840.10008.5.1.4.1.1.128.1": "LegacyConvertedEnhancedPETImage",
'1.2.840.10008.5.1.4.1.1.77.1.5.4': "OphthalmicTomographyImage",
};

DicomMetaDictionary.dictionary = dictionary;
Expand Down
11 changes: 10 additions & 1 deletion src/normalizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class Normalizer {
PETImageNormalizer;
sopClassUIDMap[toUID.Segmentation] = SEGImageNormalizer;
sopClassUIDMap[toUID.DeformableSpatialRegistration] = DSRNormalizer;
sopClassUIDMap[toUID.OphthalmicTomographyImage] = OCTImageNormalizer;
return sopClassUIDMap[sopClassUID];
}

Expand All @@ -66,7 +67,8 @@ class Normalizer {
toUID.EnhancedPETImage,
toUID.LegacyConvertedEnhancedPETImage,
toUID.Segmentation,
toUID.ParametricMapStorage
toUID.ParametricMapStorage,
toUID.OphthalmicTomographyImage
];
return multiframeSOPClasses.indexOf(sopClassUID) !== -1;
}
Expand Down Expand Up @@ -531,6 +533,12 @@ class DSRNormalizer extends Normalizer {
}
}

class OCTImageNormalizer extends ImageNormalizer {
normalize() {
super.normalize();
}
}

export { Normalizer };
export { ImageNormalizer };
export { MRImageNormalizer };
Expand All @@ -543,3 +551,4 @@ export { PETImageNormalizer };
export { SEGImageNormalizer };
export { PMImageNormalizer };
export { DSRNormalizer };
export { OCTImageNormalizer };

0 comments on commit b98e76c

Please sign in to comment.