airlab-unibas / airlab

Image registration laboratory for 2D and 3D image data
Apache License 2.0
417 stars 92 forks source link

3D CT image registration #24

Open ilophy opened 4 years ago

ilophy commented 4 years ago

Dear Developer,

Thank you very much for developing this code. I would like to try a registration of two CTs (3D dicom format). I need a guide how to handle the data format.

It would be very helpful if you can provide me a sample code to import 3D CT dicom files as a fixed image and a moving image to apply airlab code.

Thank you in advance.

RobinSandkuehler commented 4 years ago

Hi,

have a look at the 3d kernel registration example. You can load a 3d Dicom image with this command:

fixed_image = al.read_image_as_tensor("fixed_image_filename.dcm")

ilophy commented 4 years ago

Thanks a lot. I will try to apply it. It will take time since I'm a beginner in Python . I will let you know the result. ^^

DimaKuli commented 1 year ago

Please tell me, did you manage to register for CT images using the original and deformed image to shift the deformed image to the original one?