docs(faq): FAQ and Segmentation Mode Fix for some studies (#3762)

This commit is contained in:
Alireza authored and GitHub committed 2023-11-03 12:19:24 -04:00
1 parent f9f16bc69f
commit ee67bcc0f5
29 files changed
+321 -96

No files matched your search

@@ -14,15 +14,12 @@ export default function isDisplaySetReconstructable(instances) {
if (!instances.length) {
return { value: false };
}
const firstInstance = instances[0];
const Modality = firstInstance.Modality;
const isMultiframe = firstInstance.NumberOfFrames > 1;
if (!constructableModalities.includes(Modality)) {
return { value: false };
}
// We used to check is reconstructable modalities here, but the logic is removed
// in favor of the calculation by metadata (orientation and positions)
// Can't reconstruct if we only have one image.
if (!isMultiframe && instances.length === 1) {