Adding imageRendering and thumbnailRendering to DICOMWeb config files
This commit is contained in:
1 parent
cc24548e21
commit
3f575358f0
3 files changed
+3
-3
No files matched your search
@@ -19,9 +19,8 @@ export function getImageId(instance, frame, thumbnail) {
|
|||||||
|
|
||||||
const renderingAttr = thumbnail ? 'thumbnailRendering' : 'imageRendering';
|
const renderingAttr = thumbnail ? 'thumbnailRendering' : 'imageRendering';
|
||||||
|
|
||||||
if (instance[renderingAttr] === 'wadouri') {
|
if (!instance[renderingAttr] || instance[renderingAttr] === 'wadouri' || !instance.wadorsuri) {
|
||||||
var imageId = 'dicomweb:' + instance.wadouri;
|
var imageId = 'dicomweb:' + instance.wadouri;
|
||||||
|
|
||||||
if (frame !== undefined) {
|
if (frame !== undefined) {
|
||||||
imageId += '&frame=' + frame;
|
imageId += '&frame=' + frame;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"qidoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs",
|
"qidoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs",
|
||||||
"wadoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs",
|
"wadoRoot": "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs",
|
||||||
"qidoSupportsIncludeField": false,
|
"qidoSupportsIncludeField": false,
|
||||||
"imageRendering": "wadors",
|
"imageRendering": "wadouri",
|
||||||
"thumbnailRendering": "wadors",
|
"thumbnailRendering": "wadors",
|
||||||
"requestOptions": {
|
"requestOptions": {
|
||||||
"auth": "admin:admin",
|
"auth": "admin:admin",
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
"wadoRoot": "http://localhost:8042/dicom-web",
|
"wadoRoot": "http://localhost:8042/dicom-web",
|
||||||
"qidoSupportsIncludeField": false,
|
"qidoSupportsIncludeField": false,
|
||||||
"imageRendering": "wadouri",
|
"imageRendering": "wadouri",
|
||||||
|
"thumbnailRendering": "wadors",
|
||||||
"requestOptions": {
|
"requestOptions": {
|
||||||
"auth": "orthanc:orthanc",
|
"auth": "orthanc:orthanc",
|
||||||
"logRequests": true,
|
"logRequests": true,
|
||||||
|
|||||||
Reference in new issue
Block a user