docs(faq): FAQ and Segmentation Mode Fix for some studies (#3762)
This commit is contained in:
1 parent
f9f16bc69f
commit
ee67bcc0f5
29 files changed
+321
-96
No files matched your search
@@ -36,7 +36,7 @@ export default class DisplaySetService extends PubSubService {
|
||||
};
|
||||
|
||||
public activeDisplaySets = [];
|
||||
public unsuportedSOPClassHandler;
|
||||
public unsupportedSOPClassHandler;
|
||||
extensionManager: ExtensionManager;
|
||||
|
||||
protected activeDisplaySetsMap = new Map<string, DisplaySet>();
|
||||
@@ -47,7 +47,7 @@ export default class DisplaySetService extends PubSubService {
|
||||
|
||||
constructor() {
|
||||
super(EVENTS);
|
||||
this.unsuportedSOPClassHandler =
|
||||
this.unsupportedSOPClassHandler =
|
||||
'@ohif/extension-default.sopClassHandlerModule.not-supported-display-sets-handler';
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ export default class DisplaySetService extends PubSubService {
|
||||
* @param sopClassHandlerUID
|
||||
*/
|
||||
public setUnsuportedSOPClassHandler(sopClassHandler) {
|
||||
this.unsuportedSOPClassHandler = sopClassHandler;
|
||||
this.unsupportedSOPClassHandler = sopClassHandler;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -384,7 +384,7 @@ export default class DisplaySetService extends PubSubService {
|
||||
// applying the default sopClassUID handler
|
||||
if (allDisplaySets.length === 0) {
|
||||
// applying hp-defined viewport settings to the displaysets
|
||||
const handler = this.extensionManager.getModuleEntry(this.unsuportedSOPClassHandler);
|
||||
const handler = this.extensionManager.getModuleEntry(this.unsupportedSOPClassHandler);
|
||||
const displaySets = handler.getDisplaySetsFromSeries(instances);
|
||||
if (displaySets?.length) {
|
||||
displaySets.forEach(ds => {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user