feat: Add WSI bulk data annotations support (ANN) (#4972)
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
This commit is contained in:
1 parent
0164ad5519
commit
2ed6818171
29 files changed
+461
-265
No files matched your search
@@ -7,6 +7,7 @@ import { Types } from '@ohif/core';
|
||||
|
||||
import { useViewportGrid } from '@ohif/ui-next';
|
||||
import getDicomMicroscopySRSopClassHandler from './DicomMicroscopySRSopClassHandler';
|
||||
import getDicomMicroscopyANNSopClassHandler from './DicomMicroscopyANNSopClassHandler';
|
||||
import MicroscopyService from './services/MicroscopyService';
|
||||
import { useResizeDetector } from 'react-resize-detector';
|
||||
import debounce from 'lodash.debounce';
|
||||
@@ -43,7 +44,7 @@ const extension: Types.Extensions.Extension = {
|
||||
* {name, component} object. Example of a viewport module is the CornerstoneViewport
|
||||
* that is provided by the Cornerstone extension in OHIF.
|
||||
*/
|
||||
getViewportModule({ servicesManager, extensionManager, commandsManager }) {
|
||||
getViewportModule({ servicesManager }) {
|
||||
/**
|
||||
*
|
||||
* @param props {*}
|
||||
@@ -150,7 +151,10 @@ const extension: Types.Extensions.Extension = {
|
||||
* Examples include the default sop class handler provided by the default extension
|
||||
*/
|
||||
getSopClassHandlerModule(params) {
|
||||
return [getDicomMicroscopySRSopClassHandler(params)];
|
||||
return [
|
||||
getDicomMicroscopySRSopClassHandler(params),
|
||||
getDicomMicroscopyANNSopClassHandler(params),
|
||||
];
|
||||
},
|
||||
|
||||
getPanelModule,
|
||||
|
||||
Reference in new issue
Block a user