UnityVolumeRendering icon indicating copy to clipboard operation
UnityVolumeRendering copied to clipboard

Animating Volume Render

Open Metacadx opened this issue 1 year ago • 1 comments

Hello , i have 2 DICOM from same patient at different time (10 second between each scan ) and i would like to know if it is possible to interpolate the movement of each voxel to estimate the position of each organ between the first and the second scan ? Thanks for your help !

Metacadx avatar Oct 19 '24 19:10 Metacadx

Hi, that's an interesting question! I have never worked with such a use case, so I don't know. It sounds tricky to get something that looks nice. I mean, you could have one "start" dataset and one "end" dataset, and then at time t (between 0.0 and 1.0) you set each voxel to be Mathf.Lerp(datasetStart.GetValue(...), datasetEnd.GetValue(...), t). That's not going to look "animated" though - it would likely look more like a "fade".

To evaluate the movement of each organ you'd likely need to do some segmentation first (see TotalSegmentator), but it sounds tricky.

mlavik1 avatar Nov 06 '24 19:11 mlavik1