feat(segmentation mode): Add create, and export SEG with Brushes (#3632)
This commit is contained in:
1 parent
896866e9d0
commit
48bbd6281a
186 files changed
+6801
-2883
No files matched your search
@@ -60,10 +60,10 @@ export default function constructSR(metadata, { SeriesDescription, SeriesNumber
|
||||
const { roiGraphic: roi, label } = annotations[i];
|
||||
let { measurements, evaluations, marker, presentationState } = roi.properties;
|
||||
|
||||
console.debug('[SR] storing marker...', marker);
|
||||
console.debug('[SR] storing measurements...', measurements);
|
||||
console.debug('[SR] storing evaluations...', evaluations);
|
||||
console.debug('[SR] storing presentation state...', presentationState);
|
||||
console.log('[SR] storing marker...', marker);
|
||||
console.log('[SR] storing measurements...', measurements);
|
||||
console.log('[SR] storing evaluations...', evaluations);
|
||||
console.log('[SR] storing presentation state...', presentationState);
|
||||
|
||||
if (presentationState) {
|
||||
presentationState.marker = marker;
|
||||
|
||||
@@ -149,12 +149,12 @@ async function _getROIsFromToolState(naturalizedDataset, FrameOfReferenceUID) {
|
||||
|
||||
if (measurements && measurements.length) {
|
||||
properties.measurements = measurements;
|
||||
console.debug('[SR] retrieving measurements...', measurements);
|
||||
console.log('[SR] retrieving measurements...', measurements);
|
||||
}
|
||||
|
||||
if (evaluations && evaluations.length) {
|
||||
properties.evaluations = evaluations;
|
||||
console.debug('[SR] retrieving evaluations...', evaluations);
|
||||
console.log('[SR] retrieving evaluations...', evaluations);
|
||||
}
|
||||
|
||||
const roi = new DICOMMicroscopyViewer.roi.ROI({ scoord3d, properties });
|
||||
|
||||
Reference in new issue
Block a user