Comment out some stuff that I didn't mean to push yet
This commit is contained in:
1 parent
22202141b8
commit
5b29d082ca
5 files changed
+12
-12
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ohif-cornerstone-extension",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"description": "OHIF extension for Cornerstone",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
|
||||
+5
-5
@@ -49,11 +49,11 @@ function getCornerstoneStack(studies, studyInstanceUid, displaySetInstanceUid) {
|
||||
return stackClone;
|
||||
}
|
||||
|
||||
function parseSeg(arrayBuffer, imageIds, firstImagePlane) {
|
||||
function parseSeg(arrayBuffer, imageIds) {
|
||||
return dcmjs.adapters.Cornerstone.Segmentation.readToolState(
|
||||
imageIds,
|
||||
arrayBuffer,
|
||||
firstImagePlane
|
||||
//firstImagePlane
|
||||
);
|
||||
}
|
||||
|
||||
@@ -118,11 +118,11 @@ async function handleSegmentationStorage(
|
||||
|
||||
const referenceDisplaySet = displaySets[0];
|
||||
const imageIds = referenceDisplaySet.images.map(image => image.getImageId());
|
||||
debugger;
|
||||
//debugger;
|
||||
|
||||
const firstImagePlane = cornerstone.metadata.get('imagePlane', imageIds[0]);
|
||||
//const firstImagePlane = cornerstone.metadata.get('imagePlane', imageIds[0]);
|
||||
|
||||
const results = parseSeg(arrayBuffer, imageIds, firstImagePlane);
|
||||
const results = parseSeg(arrayBuffer, imageIds);
|
||||
|
||||
if (!results) {
|
||||
throw new Error('Fractional segmentations are not supported');
|
||||
|
||||
Reference in new issue
Block a user