* skeleton for dicom-microscopy extension * skeleton for microscopy mode * [feat] ported @radicalimaging/microscopy-dicom to OHIF's default extension * [feat] ported microscopy mode from private repo * added new definitions to the package.json * webpack configuration update for microscopy extension * register new icons for microscopy tools * fixes to the microscopy extension and mode * trivial error fix - typescript type import error * link microscopy extension with default OHIF app plugin config * demo config fix * fix logs * remove unsed imports * [fix] loading of microscopy * [fix] webworker script loading, normalizing denaturalized dataset * found the latest version of dicom-microscopy-viewer that works with current OHIF extension : 0.35.2 * hide thumbnail pane by default, as we have issues with * comments * remove unused code * [feat] microscopy - annotation selection * [feat] microscopy - edit annotation label * wip * [bugfix] dicom-microscopy tool * [bugfix] dicom microscopy annotations * [fix] mixed-content blocking caused by BulkDataURI * [fix] microscopy measurements panel - center button * [fix] microscopy measurements panel - styling * [fix] microscopy - controls * fix local loading of microscopy * fix local loading of dicom microscopy * fix typo - indexof to indexOf * [fix] remove unused icons * remove commented out lines from webpack configuration * platform/viewer/public/config/default.js - revert accidental changes * [refactor] redirecting to microscopy mode on Local mode * attribution to DMV and SLIM viewer * [fix] code review feedbacks * fix thumbnails * [fix] microscopy - fix old publisher.publish() to PubSubService._broadcastEvent() * [fix] interactions, webpack config, roi selection * [feat] microscopy - remove select tool from UI * microscopy author * [fix] saving and loading SR * [bugfix] - missing publish() function in MicroscopyService, replace with _broadcastEvent * remove author section from readme * refactor SR saving feature * fix webpack config after merge * [bugfix] repeated import * fix e2e * webpack configuration * hide "Create report" button for microscopy
123 lines
3.5 KiB
JavaScript
123 lines
3.5 KiB
JavaScript
window.config = {
|
|
routerBasename: '/',
|
|
modes: [],
|
|
extensions: [],
|
|
showStudyList: true,
|
|
// below flag is for performance reasons, but it might not work for all servers
|
|
omitQuotationForMultipartRequest: true,
|
|
showWarningMessageForCrossOrigin: true,
|
|
strictZSpacingForVolumeViewport: true,
|
|
showCPUFallbackMessage: true,
|
|
dataSources: [
|
|
{
|
|
friendlyName: 'DCM4CHEE Server',
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
sourceName: 'dicomweb',
|
|
configuration: {
|
|
name: 'DCM4CHEE',
|
|
wadoUriRoot: 'https://domvja9iplmyu.cloudfront.net/dicomweb',
|
|
qidoRoot: 'https://domvja9iplmyu.cloudfront.net/dicomweb',
|
|
wadoRoot: 'https://domvja9iplmyu.cloudfront.net/dicomweb',
|
|
qidoSupportsIncludeField: true,
|
|
imageRendering: 'wadors',
|
|
enableStudyLazyLoad: true,
|
|
useBulkDataURI: false,
|
|
},
|
|
},
|
|
],
|
|
defaultDataSourceName: 'dicomweb',
|
|
hotkeys: [
|
|
{
|
|
commandName: 'incrementActiveViewport',
|
|
label: 'Next Viewport',
|
|
keys: ['right'],
|
|
},
|
|
{
|
|
commandName: 'decrementActiveViewport',
|
|
label: 'Previous Viewport',
|
|
keys: ['left'],
|
|
},
|
|
{ commandName: 'rotateViewportCW', label: 'Rotate Right', keys: ['r'] },
|
|
{ commandName: 'rotateViewportCCW', label: 'Rotate Left', keys: ['l'] },
|
|
{ commandName: 'invertViewport', label: 'Invert', keys: ['i'] },
|
|
{
|
|
commandName: 'flipViewportHorizontal',
|
|
label: 'Flip Horizontally',
|
|
keys: ['h'],
|
|
},
|
|
{
|
|
commandName: 'flipViewportVertical',
|
|
label: 'Flip Vertically',
|
|
keys: ['v'],
|
|
},
|
|
{ commandName: 'scaleUpViewport', label: 'Zoom In', keys: ['+'] },
|
|
{ commandName: 'scaleDownViewport', label: 'Zoom Out', keys: ['-'] },
|
|
{ commandName: 'fitViewportToWindow', label: 'Zoom to Fit', keys: ['='] },
|
|
{ commandName: 'resetViewport', label: 'Reset', keys: ['space'] },
|
|
{ commandName: 'nextImage', label: 'Next Image', keys: ['down'] },
|
|
{ commandName: 'previousImage', label: 'Previous Image', keys: ['up'] },
|
|
// {
|
|
// commandName: 'previousViewportDisplaySet',
|
|
// label: 'Previous Series',
|
|
// keys: ['pagedown'],
|
|
// },
|
|
// {
|
|
// commandName: 'nextViewportDisplaySet',
|
|
// label: 'Next Series',
|
|
// keys: ['pageup'],
|
|
// },
|
|
{ commandName: 'setZoomTool', label: 'Zoom', keys: ['z'] },
|
|
// ~ Window level presets
|
|
{
|
|
commandName: 'windowLevelPreset1',
|
|
label: 'W/L Preset 1',
|
|
keys: ['1'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset2',
|
|
label: 'W/L Preset 2',
|
|
keys: ['2'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset3',
|
|
label: 'W/L Preset 3',
|
|
keys: ['3'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset4',
|
|
label: 'W/L Preset 4',
|
|
keys: ['4'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset5',
|
|
label: 'W/L Preset 5',
|
|
keys: ['5'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset6',
|
|
label: 'W/L Preset 6',
|
|
keys: ['6'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset7',
|
|
label: 'W/L Preset 7',
|
|
keys: ['7'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset8',
|
|
label: 'W/L Preset 8',
|
|
keys: ['8'],
|
|
},
|
|
{
|
|
commandName: 'windowLevelPreset9',
|
|
label: 'W/L Preset 9',
|
|
keys: ['9'],
|
|
},
|
|
],
|
|
i18n: {
|
|
LOCIZE_PROJECTID: 'a8da3f9a-e467-4dd6-af33-474d582a0294',
|
|
LOCIZE_API_KEY: null, // Developers can use this to do in-context editing. DO NOT COMMIT THIS KEY!
|
|
USE_LOCIZE: true,
|
|
},
|
|
};
|