Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradient rebase 12212023 #6

Open
wants to merge 163 commits into
base: gradienthealth/dicom-zip-image-loader
Choose a base branch
from

Conversation

Adithyan-Dinesh-Trenser

No description provided.

sedghi and others added 30 commits October 16, 2023 11:15
…line (cornerstonejs#802)

* add arcs

* move lines separately

* update api

* dont change demo

* fix

* update to cached stats

* update api

* update api

* revert
…ejs#834)

* Implementing colormap in stack viewport properties

* setColormap private + example

* api update

* vtk colomaps

* fix reset button + adding properties for volume

* added slabthickness to properties + update example

* small fix setColormapGPU

* fix voiRange for volume

* Mapping properties for volumeID

* small fix

* fix undefined properties

* properties by image index

* api updates

* refactoring VOI + about comments

* update imageIndex to imageId + doc changes

* update api's

* remove from basic example

* refacto + voiUpdateWithSetproperties back

* refactoring volume viewport properties

* re-add PTPrescaled

* fix

* fix documentation

* api checks

* try

* remove dummy file

* fix api check

* fix demo

* update examples

* api

* api

* enable reset color map via resetproperties

* bug

* api

* api

---------

Co-authored-by: Celian-abd <101793092+Celian-abd@users.noreply.github.com>
Co-authored-by: Salim Kanoun <salim.kanoun@gmail.com>
…cornerstonejs#835)

* fix(getDataInTime): to consider different image spacing for reference

* apply review comments
…entation (cornerstonejs#808)

* feat: add surface segmentation representation

* fix examples

* revert

* rename

* webpack

* webpack

* Add surface clipping via filter

* Reset camera clipping range

* refactor how viewport updates clipping planes

* Add polydata cache

* Add event for clipping planes update

* Stack surface example created

* Refactor imageSlice creation

* fix polydata not showing in stack

* Adding a RT stack example

* Create SegmentationIntersectionTool

* fix

* Remove duplicate points

* Fix color bug and remove duplicate points

* Fix bug multiple polylines

* Refactor unwanted canAdded planes variable

* Restore file

* Add comments in changed files

* minor refactoring to build and update api

* Fix minor regression bug

* cleanup

* wip

* wip

* cleanup

* fix the performance issue with zoom and pan revisiting same slice

* fix reconstructed views

* api

* demo

* doc

* fix vtk actors

---------

Co-authored-by: Alireza <ar.sedghi@gmail.com>
Co-authored-by: Ouwen Huang <ouwenhuang@ouwen.local>
…r decoding (cornerstonejs#667)

* fix multiframe index problem

* fix non scaled pt window level lazyniess

* build api

* apply review comments

* fix(multiframe): use portion of array buffer to send to webworker

* fix the place to put the options

* add more docs

* update api

* update api

* review comments

* fix crossharis example

* bugs
…js#815)

* Fix issue with Enums.RequestType

* api extractor

* Add an interface for ImageLoadRequests

* remove unnecessary export

* PR feedback

---------

Co-authored-by: Mathieu <mathieu.ochsenbein@mediantechnologies.com>
* feat(colorBar): added color bar component

* restore point

* changed color bar example page

* code review

* Fixeds interaction (mouse events + windowlevel tool)

* code review

* renamed [Cc]olorBar to [Cc]olorbar

* added some comments

* code review

* moved 'widgets' to a different folder

* example :: renamed 'Color Bar' to 'colorbar'

* updated colorbar example for volume and stack viewports

* fixed build

* update-api
…js#851)

* fix(colorbar): fixed the position of the ticks that was broken after scrolling down

* feat(colorbar): improved colorbar example

- Colormap dropdowns added per viewport
- Stack viewport have 1 dropdown and both volume viewports have 2 each

* feat(colorbar): basic colorbar example + fixed colobar size

* updated examples info (json)
ohif-bot and others added 25 commits December 13, 2023 21:25
)

* feat(RenderingEngine): Enhance camera
initialization logic

Improved camera setup process within the RenderingEngine's volume
viewport components, making initial camera view up configuration
adjustable by subclasses and aligning view up initialization with camera
reset logic. Standardized calculation of camera view up angles for
consistency and potentially clearer subclass overrides.

* update api
… and probe tool to better support US (cornerstonejs#927)

* update

* Fix length measurement calculation and handle
calibrated units in LengthTool

* Refactor getCalibratedUnits.ts to improve code
readability and maintainability

* Fix ultrasound enhanced region bug

* Fix length and probe tool calibration

* Add UltrasoundDirectionalTool and drawHandle
function

* Fix unit comparison bug in
UltrasoundDirectionalTool

* Remove unused code and improve calculation of
projected point canvas in
UltrasoundDirectionalTool

* Refactor ultrasoundEnhancedRegion/index.ts and
ProbeTool.ts

* Refactor ultrasoundEnhancedRegion/index.ts and
ProbeTool.ts

* Add Ultrasound Directional Tool and update tool
API

* example

* Fix conditional check for image calibration

* update based on review

* fix representation issue

* feat(ultrasound): Add toggle button to display
both axes distances

Add a toggle button to the ultrasound directional tool's toolbar that
allows users to display both horizontal and vertical distances.
Previously, only one distance was displayed based on the orientation of
the tool. This enhancement provides users with more comprehensive
measurement information for ultrasound annotations.

Summarized changes:
- Added a new function to add a toggle button to the toolbar in the
ultrasoundEnhancedRegion example
- Updated the UltrasoundDirectionalTool class to handle the toggle
button's onClick event and modify the tool configuration accordingly
- Modified the defaultGetTextLines function to display both horizontal
and vertical distances when the toggle button is enabled
- Updated the UltrasoundDirectionalAnnotation interface to include new
properties for storing distances along both axes

This change improves the usability of the ultrasound directional tool by
enhancing the measurement capabilities and providing more informative
annotation details.

* update

* api

* feat(calibration-logic): Enhance ultrasound region
calibration

Enhanced the logic for determining calibrated units and scales in
ultrasound imaging regions. Now, the system filters for supported
regions more effectively and accounts for regions with different
physical deltas in the X and Y directions. If deltas differ, pixel units
are utilized, ensuring relevant calibration is always displayed.
Additionally, consolidated filter and support checks, extracting units
and scales based on updated conditions. This update improves the
accuracy and reliability of unit calibration across different imaging
scenarios.

* remove bun lock

* feat(calibration): Ensure unit consistency in
measurements

Improved calibration logic to consistently use absolute values when
comparing deltas, ensuring the correct units are displayed depending on
whether deltas are equal. This change enhances measurement accuracy for
the US region calibration in the utility function.
* Overrided the Normalizer to supports single slice segmentation.

* Exported the loadZiprequest function

* Support for segmentation level visibility in stack segmentation.

* Refactoring the changes.

* Code optimization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet