caiyuanhao1998 / SAX-NeRF

"Structure-Aware Sparse-View X-ray 3D Reconstruction" (CVPR 2024)
https://arxiv.org/abs/2311.10959
MIT License
470 stars 20 forks source link

how to config laminography(oblique ct)case data generation at yml file ? #25

Closed hws203 closed 1 month ago

hws203 commented 1 month ago

@caiyuanhao1998 Could you guide me how to config below yml file contents for my oblique ct case(40 degree) data generation? I can not see any oblique angle degree at your yml config file.

caiyuanhao1998 commented 1 month ago

It seems that you just need to input these parameters into the data generation config file (.yaml) in SAX-NeRF/dataGenerator/raw_data/aneurism/config.yml and then execute my data generation script.

hws203 commented 1 month ago

@caiyuanhao1998 If i use your script then the prj image looks different from a real one. Coz it is oblique projection(40 degree).

caiyuanhao1998 commented 1 month ago

Could you please show it?

hws203 commented 1 month ago
  1. simulation projection image

    js-sim01
  2. real projection image

    real-prj
hws203 commented 1 month ago

3.Below is volume image with z-axis and x-axis

vol3
caiyuanhao1998 commented 1 month ago

It seems that you did not align the CT volume. Try to adapt some parameters and visualize the projections for debugging

hws203 commented 1 month ago

@caiyuanhao1998 I adapted some config param for data generation, and I can see a little better projection which looks more similar to a real one. But there are still some gap as like it is projected on the standard cone beam geometry not laminography. Below are the second project images.

project_js
hws203 commented 1 month ago

@caiyuanhao1998 Should I tilt the volume image for laminography(tilt=40, degree) ?

hws203 commented 1 month ago

@caiyuanhao1998 Below is my test run result, it looks too low SSIM score(0.358). Could you give why this result happens ?

I used customer data with your own data generation script and your train/test too.

result