Curved planar reformatting

I have been trying to implement curved planar reformatting using the code from this github link Computing a panoramic X-ray from a cone-beam dental CT. Demonstration of how an image can be resampled along a curve - the code is not optimized for performance or quality and distance along curve is not scaled (we simply used all point indices instead of retrieving point indices based on desired distance along curve). · GitHub
I am not getting the intended result with the newer version(Mine is same as the one in the comment posted by @ndavoudi). Also I need to try it on my own dataset. Please guide me.
My intention is to generate a panoramic view of my 3d CT dataset.
Thanks in advance.

That code was completely reworked and made much more robust and a module with a convenient GUI was created from it. The “Cuved Planar Reformat” module is available in the Sandbox extension and you can use it either via GUI or Python script.

1 Like

I tried using the module. This is what I am getting. Not sure if I am doing it right way.

Yes, this looks perfect.

1 Like