Commit Graph

185 Commits

Author SHA1 Message Date
ohif-bot
c529c0da9c chore(version): version.json [skip ci] 2023-06-19 14:44:10 +00:00
ohif-bot
2d8400f9d8 chore(version): Update package versions [skip ci] 2023-06-19 14:10:15 +00:00
ohif-bot
e12242a15c chore(version): version.json [skip ci] 2023-06-19 14:10:11 +00:00
ohif-bot
a34a0b1a3a chore(version): Update package versions [skip ci] 2023-06-19 13:47:55 +00:00
ohif-bot
e1545b67da chore(version): version.json [skip ci] 2023-06-19 13:47:52 +00:00
ohif-bot
242beb7b46 chore(version): Update package versions [skip ci] 2023-06-19 13:39:11 +00:00
ohif-bot
c5d4e97115 chore(version): version.json [skip ci] 2023-06-19 13:39:07 +00:00
ohif-bot
971c594791 chore(version): Update package versions [skip ci] 2023-06-19 13:22:44 +00:00
ohif-bot
c55136f55e chore(version): version.json [skip ci] 2023-06-19 13:22:41 +00:00
ohif-bot
c75c6af22f chore(version): Update package versions [skip ci] 2023-06-19 13:09:00 +00:00
ohif-bot
3c777ba58b chore(version): version.json [skip ci] 2023-06-19 13:08:56 +00:00
ohif-bot
652e61a417 chore(version): Update package versions [skip ci] 2023-06-15 17:08:06 +00:00
ohif-bot
48bcdd6b50 chore(version): version.json [skip ci] 2023-06-15 17:08:01 +00:00
ohif-bot
3dce70e624 chore(version): Update package versions [skip ci] 2023-06-13 12:59:35 +00:00
ohif-bot
1d00893c49 chore(version): version.json [skip ci] 2023-06-13 12:59:31 +00:00
ohif-bot
a6d967a37e chore(version): Update package versions [skip ci] 2023-06-13 02:41:20 +00:00
ohif-bot
f23a4500f5 chore(version): version.json [skip ci] 2023-06-13 02:41:17 +00:00
ohif-bot
a74e5a733f chore(version): Update package versions [skip ci] 2023-06-13 02:12:34 +00:00
ohif-bot
9326c4fffc chore(version): version.json [skip ci] 2023-06-13 02:12:31 +00:00
ohif-bot
cd1d097957 chore(version): Update package versions [skip ci] 2023-06-12 18:34:02 +00:00
ohif-bot
866647ae79 chore(version): version.json [skip ci] 2023-06-12 18:33:58 +00:00
Joe Boccanfuso
694b4a3f4d
chore(version): update cornerstone version (#3468) 2023-06-12 14:23:49 -04:00
ohif-bot
0e52169677 chore(version): Update package versions [skip ci] 2023-06-08 17:33:51 +00:00
ohif-bot
b23cbc34dd chore(version): version.json [skip ci] 2023-06-08 17:33:48 +00:00
ohif-bot
ca07ef2928 chore(version): Update package versions [skip ci] 2023-06-07 13:40:47 +00:00
ohif-bot
48aa945839 chore(version): version.json [skip ci] 2023-06-07 13:40:43 +00:00
ohif-bot
655ccd310e chore(version): Update package versions [skip ci] 2023-06-07 13:13:40 +00:00
ohif-bot
20275d7d08 chore(version): version.json [skip ci] 2023-06-07 13:13:36 +00:00
ohif-bot
9ee13860a2 chore(version): Update package versions [skip ci] 2023-06-07 12:38:24 +00:00
ohif-bot
f43e45ab1a chore(version): version.json [skip ci] 2023-06-07 12:38:21 +00:00
ohif-bot
ffaffbdfa3 chore(version): Update package versions [skip ci] 2023-06-07 01:54:54 +00:00
ohif-bot
de35860ba6 chore(version): version.json [skip ci] 2023-06-07 01:54:51 +00:00
ohif-bot
6d7561946b chore(version): Update package versions [skip ci] 2023-06-06 21:47:27 +00:00
ohif-bot
fd8a9599d7 chore(version): version.json [skip ci] 2023-06-06 21:47:23 +00:00
ohif-bot
ef9363e8b9 chore(version): Update package versions [skip ci] 2023-06-06 20:11:21 +00:00
ohif-bot
77a8447ceb chore(version): version.json [skip ci] 2023-06-06 20:11:17 +00:00
Alireza
fc8b948b0d
chore(build): separate half and half for publish (#3446) 2023-06-06 16:02:59 -04:00
Alireza
828690cd3b
chore(build): try to build demo and docs (#3434) 2023-06-06 13:34:26 -04:00
Alireza
4a17177d81
chore(bump): use cornerstone 3d 1.x (#3414)
* chore(bump): use cornerstone 3d 1.x

* yarn lock
2023-05-22 15:26:18 -04:00
Joe Boccanfuso
c0fd4416ed
fix(Measurement): fixed line dashing of measurements in various scenarios (#3407)
* fix(Measurement): fixed line dashing of measurements in various scenarios

For a StackViewport simply rely on the SeriesInstanceUID being part of the
tracked measurements or not.

For a VolumeViewport first check the image id of the current image in the viewport
and then check the SeriesInstanceUID (like for a StackViewport) if an id is returned.
To reliably get the id of the current image, listen for the VOLUME_VIEWPORT_NEW_VOLUME event.

* Changes for PR comments.
2023-05-18 20:59:33 -04:00
Alireza
1881ce5cbc
feat(custom displayOptions): add custom options to every level of hp (#3372)
* feat(custom displayOptions): add custom options to every level of hanging protocols

* move set preset down to cornerstone3d

* works

* fix tmtv based on new api

* fix unit test

* close

* review1

* upgrade packages

* update packages

* apply review comments

* recursive call

* less copy

* apply review comments

* fix e2e tests

* apply review comments

* revert

* apply review comments

* apply review comments

---------

Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
2023-05-16 13:07:37 -04:00
Joe Boccanfuso
045e54aa02
fix(Measurement): Use dashed lines for measurments of viewports where getCurrentImageId returns undefined (#3392)
* fix(Measurement): Use dashed lines for measurments of viewports where getCurrentImageId returns undefined

* Updated cornerstone3d packages

* Fixed code comment.

* Removed unused imports.
2023-05-16 10:02:10 -04:00
Alireza
84cb709b44
feat(panel and auth): fix study panel to not rely on priors and add token param to url (#3381)
* fix: multiframe

* fix the unnecessary use of prior since some servers dont like it

* add authentication via token in url

* add data citation

* add resources

* upgrade packages

* yarn lock

* apply review comments
2023-05-11 10:01:33 -04:00
Alireza
969e7698fa
chore(bump cs3d): bump package and add caching to webpack (#3353)
* chore(bump cs3d): bump package and add caching to webpack

* remove test for now
2023-05-03 12:30:02 -04:00
Alireza
eea0ed487b
feat(dicomImageLoader): replace wado image loader with the new library (#3339)
* use new dicom image loader instead of cswil

new dicom image loader fails

update dicom image loader

update yarn lock

modify webpack

* update webpack

* fix webpack

* update package versions

* update package versions
2023-04-26 20:55:56 -04:00
Alireza
66863281c4
feat(RT): add dicom RT support via volume viewports (#3310)
* feat: initial RT support

* make the segmentation service work with representation data

* feat: make segmentation service work with representations

* fix rtss vis

* fix: rt hydration

* fix the rendering of rt names

* fix imports

* refactor: Modify status and click handling for hydration of RTStructures

Modify status and click handling for hydration of RTStructures by renaming `onPillClick` to `onStatusClick` in `OHIFCornerstoneRTViewport.tsx` and `_getStatusComponent.tsx` files. Also, update initial segmentation configurations in `PanelSegmentation.tsx` and simplify configuration changes and values for segmentation service in `SegmentationService.ts`. Finally, remove console debug in `CornerstoneViewportService.ts`.

* wip for highlighting contours

* refactor rt displayset code

* review code update

* update cornerstone dependencies

* refactor: Update license year, version number, and minor code cleanup

This commit updates the license year in several files, updates the version number in package.json, and contains minor code cleanup in two files.

* add bulkdataURI retrieve for RT

* fix package version

* apply review comments

* apply review comments

* apply review comments

* feat(panels): refactor and streamline segmentation configuration and inputs

Rewrote state hooks and streamlined the configuration input for `PanelSegmentation` to be more verbose and reusable. Included several new input types, including the `InputRange` component which now shows a fixed floating value based on the step provided. The `SegmentationConfig` component now works with dynamic values controlled by `initialConfig`. These changes should improve function usability and make the code more maintainable going forward.

* fix various bugs

* fix contour delete by upgrade cs3d version

* feat(viewport, inputNumber, segmentationConfig, orthanc): Implement minimum and maximum values for input number components, and useBulkDataURI for Orthanc configuration. Compare measurement view planes with absolute viewport view planes in Cornerstone viewport.

* update yarn lock
2023-04-26 12:21:08 -04:00
Bill Wallace
69d8e6a191
fix(SR): When loading DICOM SR, only one measurement is shown with no way to show others (#3228)
* fix: Make the cornerstone sR viewport show all measurements

* PR fixes

* PR fixes

* Add a DICOM SR hanging protocol

* Duplicate the hanging protocol for seg as well

* PR requested change

* PR requested changes

* PR fixes plus merge update fixes

* PR fixes and integration test fix

* PR - documentation
2023-04-25 17:25:10 -04:00
Bill Wallace
6cf271d006
fix: Service consistency typing (#3309)
* Use more consistent type/structure for services

* Fix restoring SR so the tests described work

* One more typed service

* Added types for the Cornerstone library

* Couple more type fixes
2023-04-18 11:17:50 -04:00
M.D
47c25f4364
feat(measurements): add CircleROI Tool (#3211)
* [refactor] measurement service mapping files - rename to .ts files

* [fix] RectangleROI - measurement service mapping _getReport() function - tool name fix

* [feat] added CircleROI tool from updated cornerstone3D

* [refactor] fix for typescript strong typing warnings

* [feat] cornerstone-dicom-sr extension - added CircleROI tool

* [feat] added toolbar button for CircleROI tool

* [doc] doc updates for CircleROI tool

* [update] library - dcmjs to 0.29.5

* [fix] roundNumber() function when given strings

* [fix] refactor after upgrading conerstonejs library 0.49.0

* yarn.lock file change
2023-04-17 08:23:03 -04:00
rodrigobasilio2022
226244a26c
feat(multiframe): enhanced support for multiframe dicom (#3164)
* Changes in cswil version and multiframe

* Minor changes

* wip

* Adding support for NM multiframe images

* Applying PR suggestions

* fixing package versions

* Restoring default.js config file

* Check if NM subtype is reconstructable

* Restore default.js values

* refactore code

* feat: add flag for strict zspacing

---------

Co-authored-by: Alireza <ar.sedghi@gmail.com>
2023-03-31 22:21:16 -04:00