Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9d484fb2e | ||
|
|
597ac11c4d | ||
|
|
6007f340bf | ||
|
|
44738078db | ||
|
|
686fe7d931 | ||
|
|
0b8facbea6 |
No files matched your search
@@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.7.17](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.7.16...@ohif/extension-dicom-segmentation@0.7.17) (2022-12-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#2964](https://github.com/OHIF/Viewers/issues/2964) Reword message for segmentation error loading due to orientation tolerance ([#3017](https://github.com/OHIF/Viewers/issues/3017)) ([597ac11](https://github.com/OHIF/Viewers/commit/597ac11c4daee1b1e14148804551e20611cfef08))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.7.16](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.7.15...@ohif/extension-dicom-segmentation@0.7.16) (2022-10-28)
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-dicom-segmentation",
|
||||
"version": "0.7.16",
|
||||
"version": "0.7.17",
|
||||
"description": "OHIF extension for viewing segmentations in the 2D MPR view",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -36,9 +36,9 @@ export default {
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
LoggerService.error({ error, message });
|
||||
UINotificationService.show({
|
||||
|
||||
@@ -3,6 +3,30 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [1.12.40](https://github.com/OHIF/Viewers/compare/@ohif/extension-vtk@1.12.39...@ohif/extension-vtk@1.12.40) (2022-12-12)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-vtk
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [1.12.39](https://github.com/OHIF/Viewers/compare/@ohif/extension-vtk@1.12.38...@ohif/extension-vtk@1.12.39) (2022-11-12)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-vtk
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [1.12.38](https://github.com/OHIF/Viewers/compare/@ohif/extension-vtk@1.12.37...@ohif/extension-vtk@1.12.38) (2022-11-02)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-vtk
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [1.12.37](https://github.com/OHIF/Viewers/compare/@ohif/extension-vtk@1.12.36...@ohif/extension-vtk@1.12.37) (2022-10-28)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-vtk
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-vtk",
|
||||
"version": "1.12.37",
|
||||
"version": "1.12.40",
|
||||
"description": "OHIF extension for VTK.js",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -53,7 +53,7 @@
|
||||
"react-vtkjs-viewport": "^0.14.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ohif/core": "^2.16.31",
|
||||
"@ohif/core": "^2.16.34",
|
||||
"@ohif/ui": "^1.10.10",
|
||||
"cornerstone-tools": "^6.0.6",
|
||||
"cornerstone-wado-image-loader": "^4.2.1",
|
||||
|
||||
@@ -3,6 +3,36 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [2.16.34](https://github.com/OHIF/Viewers/compare/@ohif/core@2.16.33...@ohif/core@2.16.34) (2022-12-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#2964](https://github.com/OHIF/Viewers/issues/2964) Reword message for segmentation error loading due to orientation tolerance ([#3017](https://github.com/OHIF/Viewers/issues/3017)) ([597ac11](https://github.com/OHIF/Viewers/commit/597ac11c4daee1b1e14148804551e20611cfef08))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.16.33](https://github.com/OHIF/Viewers/compare/@ohif/core@2.16.32...@ohif/core@2.16.33) (2022-11-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* handle missing ReferencedInstanceSequence attribute ([#2786](https://github.com/OHIF/Viewers/issues/2786)) ([4473807](https://github.com/OHIF/Viewers/commit/44738078dbd8dc6b27d2d669e25417e37371f48d))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.16.32](https://github.com/OHIF/Viewers/compare/@ohif/core@2.16.31...@ohif/core@2.16.32) (2022-11-02)
|
||||
|
||||
**Note:** Version bump only for package @ohif/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.16.31](https://github.com/OHIF/Viewers/compare/@ohif/core@2.16.30...@ohif/core@2.16.31) (2022-10-28)
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/core",
|
||||
"version": "2.16.31",
|
||||
"version": "2.16.34",
|
||||
"description": "Generic business logic for web-based medical imaging applications",
|
||||
"author": "OHIF Core Team",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { ImageSet } from '../../classes';
|
||||
import getMeasurements from './utils/getMeasurements';
|
||||
import getReferencedImagesList from './utils/getReferencedImagesList';
|
||||
import isRehydratable from './utils/isRehydratable';
|
||||
import addMeasurement from './utils/addMeasurement';
|
||||
|
||||
@@ -27,7 +26,6 @@ const parseSCOORD3D = ({ servicesManager, displaySets }) => {
|
||||
|
||||
const { ContentSequence } = firstInstance;
|
||||
|
||||
srDisplaySet.referencedImages = getReferencedImagesList(ContentSequence);
|
||||
srDisplaySet.measurements = getMeasurements(ContentSequence);
|
||||
const mappings = MeasurementService.getSourceMappings(
|
||||
'CornerstoneTools',
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
import getSequenceAsArray from './getSequenceAsArray';
|
||||
import { CodeNameCodeSequenceValues } from '../enums';
|
||||
|
||||
const getReferencedImagesList = ImagingMeasurementReportContentSequence => {
|
||||
const referencedImages = [];
|
||||
|
||||
const ImageLibrary = ImagingMeasurementReportContentSequence.find(
|
||||
item =>
|
||||
item.ConceptNameCodeSequence.CodeValue ===
|
||||
CodeNameCodeSequenceValues.ImageLibrary
|
||||
);
|
||||
|
||||
if (!ImageLibrary || !ImageLibrary.ContentSequence) {
|
||||
return referencedImages;
|
||||
}
|
||||
|
||||
const ImageLibraryGroup = getSequenceAsArray(
|
||||
ImageLibrary.ContentSequence
|
||||
).find(
|
||||
item =>
|
||||
item.ConceptNameCodeSequence.CodeValue ===
|
||||
CodeNameCodeSequenceValues.ImageLibraryGroup
|
||||
);
|
||||
|
||||
if (!ImageLibraryGroup || !ImageLibraryGroup.ContentSequence) {
|
||||
return referencedImages;
|
||||
}
|
||||
|
||||
getSequenceAsArray(ImageLibraryGroup.ContentSequence).forEach(item => {
|
||||
const { ReferencedSOPSequence } = item;
|
||||
if (ReferencedSOPSequence) {
|
||||
const {
|
||||
ReferencedSOPClassUID,
|
||||
ReferencedSOPInstanceUID,
|
||||
} = ReferencedSOPSequence;
|
||||
|
||||
referencedImages.push({
|
||||
ReferencedSOPClassUID,
|
||||
ReferencedSOPInstanceUID,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return referencedImages;
|
||||
};
|
||||
|
||||
export default getReferencedImagesList;
|
||||
@@ -21,16 +21,18 @@ const getReferencedSeriesSequence = instance => {
|
||||
const referencedInstanceSequenceRaw = referencedSeries['0008114A'];
|
||||
const referencedInstanceSequence = [];
|
||||
|
||||
referencedInstanceSequenceRaw.Value.forEach(referencedInstance => {
|
||||
referencedInstanceSequence.push({
|
||||
referencedSOPClassUID: DICOMWeb.getString(
|
||||
referencedInstance['00081150']
|
||||
),
|
||||
referencedSOPInstanceUID: DICOMWeb.getString(
|
||||
referencedInstance['00081155']
|
||||
),
|
||||
if (referencedInstanceSequenceRaw) {
|
||||
referencedInstanceSequenceRaw.Value.forEach(referencedInstance => {
|
||||
referencedInstanceSequence.push({
|
||||
referencedSOPClassUID: DICOMWeb.getString(
|
||||
referencedInstance['00081150']
|
||||
),
|
||||
referencedSOPInstanceUID: DICOMWeb.getString(
|
||||
referencedInstance['00081155']
|
||||
),
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
referencedSeriesSequence.push({
|
||||
referencedSeriesInstanceUID,
|
||||
|
||||
@@ -122,9 +122,9 @@ async function loadAndCacheDerivedDisplaySets(
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
|
||||
logger.error({ error, message });
|
||||
|
||||
@@ -3,6 +3,33 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [4.12.46](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.12.45...@ohif/viewer@4.12.46) (2022-12-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#2964](https://github.com/OHIF/Viewers/issues/2964) Reword message for segmentation error loading due to orientation tolerance ([#3017](https://github.com/OHIF/Viewers/issues/3017)) ([597ac11](https://github.com/OHIF/Viewers/commit/597ac11c4daee1b1e14148804551e20611cfef08))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.12.45](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.12.44...@ohif/viewer@4.12.45) (2022-11-12)
|
||||
|
||||
**Note:** Version bump only for package @ohif/viewer
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.12.44](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.12.43...@ohif/viewer@4.12.44) (2022-11-02)
|
||||
|
||||
**Note:** Version bump only for package @ohif/viewer
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.12.43](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.12.42...@ohif/viewer@4.12.43) (2022-10-28)
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/viewer",
|
||||
"version": "4.12.43",
|
||||
"version": "4.12.46",
|
||||
"description": "OHIF Viewer",
|
||||
"author": "OHIF Contributors",
|
||||
"license": "MIT",
|
||||
@@ -47,16 +47,16 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.5.5",
|
||||
"@ohif/core": "^2.16.31",
|
||||
"@ohif/core": "^2.16.34",
|
||||
"@ohif/extension-cornerstone": "^2.12.15",
|
||||
"@ohif/extension-debugging": "^0.3.3",
|
||||
"@ohif/extension-dicom-html": "^1.3.23",
|
||||
"@ohif/extension-dicom-microscopy": "^0.52.0",
|
||||
"@ohif/extension-dicom-pdf": "^1.1.2",
|
||||
"@ohif/extension-dicom-rt": "^0.7.13",
|
||||
"@ohif/extension-dicom-segmentation": "^0.7.16",
|
||||
"@ohif/extension-dicom-segmentation": "^0.7.17",
|
||||
"@ohif/extension-lesion-tracker": "^0.2.2",
|
||||
"@ohif/extension-vtk": "^1.12.37",
|
||||
"@ohif/extension-vtk": "^1.12.40",
|
||||
"@ohif/i18n": "^0.53.0",
|
||||
"@ohif/ui": "^1.10.10",
|
||||
"@tanem/react-nprogress": "^1.1.25",
|
||||
|
||||
@@ -23,9 +23,9 @@ const mapDispatchToProps = (dispatch, ownProps) => {
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
|
||||
LoggerService.error({ error, message });
|
||||
|
||||
@@ -148,9 +148,9 @@ class ViewerMain extends Component {
|
||||
const message =
|
||||
error.message.includes('orthogonal') ||
|
||||
error.message.includes('oblique')
|
||||
? 'The segmentation has been detected as not planar,\
|
||||
If you really think it is planar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
? 'The segmentation has been detected as non coplanar,\
|
||||
If you really think it is coplanar,\
|
||||
please adjust the tolerance in the segmentation panel settings (at your own peril!)'
|
||||
: error.message;
|
||||
LoggerService.error({ error, message });
|
||||
UINotificationService.show({
|
||||
|
||||
Reference in new issue
Block a user