Kitware / VolView

Kitware VolView: an all-in-one radiological viewer!
https://volview.kitware.com
Apache License 2.0
169 stars 55 forks source link

Segmentation DICOMs not alligned with base image when layered #512

Open fedorov opened 8 months ago

fedorov commented 8 months ago

https://volview.kitware.app/?urls=[s3://idc-open-data/e4b7f6c4-168c-400d-af2b-04b82d124452,s3://idc-open-data/f7f7ce83-0905-41b3-ab15-34a5215ff048,s3://idc-open-data/ba8aac93-fd8d-4f65-a89d-7d8e94bdd162,s3://idc-open-data/f5b58f1b-f111-4b05-b2d8-b8a307a1f429,s3://idc-open-data/c958a09e-8cbc-4527-8370-e2a493c88b4d,s3://idc-open-data/1703186f-78bc-4c94-a879-2c1815ca0eee]

image image
fedorov commented 8 months ago

I see this option is available via the "kabob" menu. Some color overlay shows up, but not in the right place.

image

For comparison, same study in OHIF v2

https://viewer.imaging.datacommons.cancer.gov/viewer/1.2.840.113654.2.55.100481428377517059587592697630638604217

image

and OHIF v3

https://viewer.imaging.datacommons.cancer.gov/v3/viewer/?StudyInstanceUIDs=1.2.840.113654.2.55.100481428377517059587592697630638604217

image
floryst commented 8 months ago

Yes, I had moved the layering button into the menu for future functionality.

The segmentation alignment issue is being investigated and will hopefully be addressed soon.

sedghi commented 2 months ago

We encountered an alignment issue, and this code snippet resolved it, i hope it helps

https://github.com/cornerstonejs/cornerstone3D/blob/main/packages/adapters/src/adapters/Cornerstone/Segmentation_4X.js#L1583