Skip to content

Commit

Permalink
Merge branch 'main' into fix/undefined-voi-lut-function
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE authored Dec 20, 2024
2 parents 1ccdab9 + 7dcbc1d commit 29b60ec
Show file tree
Hide file tree
Showing 19 changed files with 52 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.1](https://github.com/cornerstonejs/cornerstone3D/compare/v2.14.0...v2.14.1) (2024-12-20)

**Note:** Version bump only for package root

# [2.14.0](https://github.com/cornerstonejs/cornerstone3D/compare/v2.13.0...v2.14.0) (2024-12-20)

### Features
Expand Down
2 changes: 1 addition & 1 deletion commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
90c1a98965584df7154cb39b43f60ae187f5e399
bf76c52d1881c2f46704ace9fa4b9c9c62403b00
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.14.0",
"version": "2.14.1",
"packages": [
"packages/core",
"packages/tools",
Expand Down
4 changes: 4 additions & 0 deletions packages/adapters/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.1](https://github.com/dcmjs-org/dcmjs/compare/v2.14.0...v2.14.1) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/adapters

# [2.14.0](https://github.com/dcmjs-org/dcmjs/compare/v2.13.0...v2.14.0) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/adapters
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cornerstonejs/adapters",
"version": "2.14.0",
"version": "2.14.1",
"description": "Adapters for Cornerstone3D to/from formats including DICOM SR and others",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
Expand Down Expand Up @@ -84,7 +84,7 @@
"ndarray": "^1.0.19"
},
"peerDependencies": {
"@cornerstonejs/core": "^2.14.0",
"@cornerstonejs/tools": "^2.14.0"
"@cornerstonejs/core": "^2.14.1",
"@cornerstonejs/tools": "^2.14.1"
}
}
4 changes: 4 additions & 0 deletions packages/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.1](https://github.com/dcmjs-org/dcmjs/compare/v2.14.0...v2.14.1) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/ai

# [2.14.0](https://github.com/dcmjs-org/dcmjs/compare/v2.13.0...v2.14.0) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/ai
Expand Down
6 changes: 3 additions & 3 deletions packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cornerstonejs/ai",
"version": "2.14.0",
"version": "2.14.1",
"description": "AI and ML Interfaces for Cornerstone3D",
"files": [
"dist"
Expand Down Expand Up @@ -53,7 +53,7 @@
"onnxruntime-web": "1.17.1"
},
"peerDependencies": {
"@cornerstonejs/core": "^2.14.0",
"@cornerstonejs/tools": "^2.14.0"
"@cornerstonejs/core": "^2.14.1",
"@cornerstonejs/tools": "^2.14.1"
}
}
4 changes: 4 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.1](https://github.com/cornerstonejs/cornerstone3D/compare/v2.14.0...v2.14.1) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/core

# [2.14.0](https://github.com/cornerstonejs/cornerstone3D/compare/v2.13.0...v2.14.0) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/core
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cornerstonejs/core",
"version": "2.14.0",
"version": "2.14.1",
"description": "Cornerstone3D Core",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function getVOIFromMetadata(imageVolume: IImageVolume): VOIRange | undefined {
const voiLutModule = metaData.get('voiLutModule', imageId);
if (voiLutModule && voiLutModule.windowWidth && voiLutModule.windowCenter) {
voi = {};
voi.voiLUTFunction = voiLutModule.voiLUTFunction;
voi.voiLUTFunction = voiLutModule?.voiLUTFunction;
const { windowWidth, windowCenter } = voiLutModule;
const width = Array.isArray(windowWidth) ? windowWidth[0] : windowWidth;
const center = Array.isArray(windowCenter)
Expand Down
4 changes: 4 additions & 0 deletions packages/dicomImageLoader/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.1](https://github.com/cornerstonejs/cornerstone3D/compare/v2.14.0...v2.14.1) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/dicom-image-loader

# [2.14.0](https://github.com/cornerstonejs/cornerstone3D/compare/v2.13.0...v2.14.0) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/dicom-image-loader
Expand Down
4 changes: 2 additions & 2 deletions packages/dicomImageLoader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cornerstonejs/dicom-image-loader",
"version": "2.14.0",
"version": "2.14.1",
"description": "Cornerstone Image Loader for DICOM WADO-URI and WADO-RS and Local file",
"keywords": [
"DICOM",
Expand Down Expand Up @@ -116,7 +116,7 @@
"uuid": "^9.0.0"
},
"peerDependencies": {
"@cornerstonejs/core": "^2.14.0",
"@cornerstonejs/core": "^2.14.1",
"dicom-parser": "^1.8.9"
},
"lint-staged": {
Expand Down
10 changes: 5 additions & 5 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@cornerstonejs/adapters": "^2.14.0",
"@cornerstonejs/core": "^2.14.0",
"@cornerstonejs/dicom-image-loader": "^2.14.0",
"@cornerstonejs/nifti-volume-loader": "^2.14.0",
"@cornerstonejs/tools": "^2.14.0",
"@cornerstonejs/adapters": "^2.14.1",
"@cornerstonejs/core": "^2.14.1",
"@cornerstonejs/dicom-image-loader": "^2.14.1",
"@cornerstonejs/nifti-volume-loader": "^2.14.1",
"@cornerstonejs/tools": "^2.14.1",
"@docusaurus/core": "3.6.3",
"@docusaurus/faster": "3.6.3",
"@docusaurus/module-type-aliases": "3.6.3",
Expand Down
4 changes: 4 additions & 0 deletions packages/nifti-volume-loader/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.1](https://github.com/cornerstonejs/cornerstone3D/compare/v2.14.0...v2.14.1) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/nifti-volume-loader

# [2.14.0](https://github.com/cornerstonejs/cornerstone3D/compare/v2.13.0...v2.14.0) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/nifti-volume-loader
Expand Down
4 changes: 2 additions & 2 deletions packages/nifti-volume-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cornerstonejs/nifti-volume-loader",
"version": "2.14.0",
"version": "2.14.1",
"description": "Nifti Image Loader for Cornerstone3D",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
Expand Down Expand Up @@ -61,7 +61,7 @@
"nifti-reader-js": "^0.6.8"
},
"peerDependencies": {
"@cornerstonejs/core": "^2.14.0"
"@cornerstonejs/core": "^2.14.1"
},
"contributors": [
{
Expand Down
4 changes: 4 additions & 0 deletions packages/tools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.1](https://github.com/cornerstonejs/cornerstone3D/compare/v2.14.0...v2.14.1) (2024-12-20)

**Note:** Version bump only for package @cornerstonejs/tools

# [2.14.0](https://github.com/cornerstonejs/cornerstone3D/compare/v2.13.0...v2.14.0) (2024-12-20)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cornerstonejs/tools",
"version": "2.14.0",
"version": "2.14.1",
"description": "Cornerstone3D Tools",
"types": "./dist/esm/index.d.ts",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -104,7 +104,7 @@
"canvas": "^2.11.2"
},
"peerDependencies": {
"@cornerstonejs/core": "^2.14.0",
"@cornerstonejs/core": "^2.14.1",
"@kitware/vtk.js": "32.1.1",
"@types/d3-array": "^3.0.4",
"@types/d3-interpolate": "^3.0.1",
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "2.14.0",
"commit": "90c1a98965584df7154cb39b43f60ae187f5e399"
"version": "2.14.1",
"commit": "bf76c52d1881c2f46704ace9fa4b9c9c62403b00"
}
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.14.0
2.14.1

0 comments on commit 29b60ec

Please sign in to comment.