fourctv / dicomViewerLib

Angular 9+ DICOM Viewer Component and demo app
MIT License
41 stars 42 forks source link

Image rendering slowness in Angular #26

Closed arunjoshtech closed 3 years ago

arunjoshtech commented 3 years ago

Dear sir, We used your project inside a angular app for preview image, but images loading inside viewer is slow since same back end server images are loading fine and faster in OHIF viewer and Weasis viewer but loading slower in this viewer and we found the the reason is when executing this code line cornerstone.enable(element); makes cpu usage 100%. So due to this images loading to view slower. how to resolve the 100% cpu usage while enable the above line.

Notes : We use the viewer inside the angular as Dynamic Tab model.

"cornerstone": "^0.1.1",
"cornerstone-core": "^2.3.0",
"cornerstone-math": "^0.1.9",
"cornerstone-tools": "^5.1.2",

Angular version : 10

arunjoshtech commented 3 years ago

Resolved memory issues in UI.