Mathis Guilhin

Results comments of Mathis Guilhin

I'm working on this right now, and I would like to know if that would be possible to save the DICOM image as well? Where is it actually manipulated?

Hi Erik, Thanks for your response, It appears that it is undefined whether the image is multi-frame or not. I don't know if this has something to do with imageId,...

I don't understand [this part](https://github.com/OHIF/ohif-core/blob/master/src/utils/StackManager.js#L34-L58) of the code. 1. Number of frames is always undefined so it always goes to 'else' 2. Why there would be a for-loop if we...

I found the problem if you are interested, it turns out that the actual name of the frameIndex is instanceNumber `const frameIndex = sopInstance.instanceNumber || 0;` That way i get...

Thanks for you answer, I am aware of this addToolState method, and of how to create new measurement from x,y coords. But how can I get the tool instance (here...

That would be very usefull for me to be able to write out measurement into a DICOM-SR, and I will certainly dive into in later, but for the moment I...

I tried to use cornerstoneTools.globalImageIdSpecificToolStateManager. I saved the toolState in the measurementTable with ```cornerstoneTools.globalImageIdSpecificToolStateManager.saveToolState``` where I loaded my measurementfile. But when I try to restore it in the FreehandMouseTool with...

I must be missing something... In the measurement Table, I store the measurement with ```cornerstoneTools.globalImageIdSpecificToolStateManager.saveToolState``` (by the way, i find weird that I don't have to import cornerstoneTools and it's...

I solved my problem. globalImageIdSpecificToolStateManager can be used to communicate between these components. Thank you for the support

Solved my problem by looking into [metadataProvider.js](https://github.com/OHIF/ohif-core/blob/master/src/classes/MetadataProvider.js) and [retrieveMetadata.js](https://github.com/OHIF/ohif-core/blob/master/src/studies/services/wado/retrieveMetadata.js)