Closed gpqls closed 1 year ago
Hi,
But Isn't this https://github.com/abrilcf/mednerf/blob/a980b43d0f882e06c40c82f20be76bd57e57e66c/graf-main/render_xray_G.py#L187 just rendering with zdist? That's just the part where you put z in the generator and what I want to do is where you do the rest of the rendering. Where can I see the results of the remaining 4/5 rendering? And I want to get this CT projection result.
And https://github.com/abrilcf/mednerf/blob/a980b43d0f882e06c40c82f20be76bd57e57e66c/graf-main/render_xray_G.py#L143 There is no part to take real xray img and render it, but only loss is calculated, is that what I understood?
Hi, yes, the rendering part is done with z and the generator only. The idea is to deform a random volumetric field by further optimizing the generator, and the deformation should better resemble the given x-ray image given PSNR. For knee there's only one test example, but 4 for chest.
Hi, yes, the rendering part is done with z and the generator only. The idea is to deform a random volumetric field by further optimizing the generator, and the deformation should better resemble the given x-ray image given PSNR. For knee there's only one test example, but 4 for chest.
Hi, where can i get the test example
Hi, is the first instance from the knee dataset
Hi, is the first instance from the knee dataset
Tanks for your reply, Do you mean the 72 DRR image 01_xray00**.png
in knee_xrays
,but are they used in the training process? I don't know whether we need train/test split when using GAN.
yes, as mentioned in a different issue , we left out the first instance from the knee dataset and the first four for the chest dataset for testing. But we don't use all views, only the first view (01_xray0000.png)
yes, as mentioned in a different issue , we left out the first instance from the knee dataset and the first four for the chest dataset for testing. But we don't use all views, only the first view (01_xray0000.png)
I see, Thanks a lot
Is the validation you are talking about showing the result by score, not image? As I said above, I want to get this image result.
And where's the rest of the rendering? The z you said is just a distribution and I mean the rest of the rendering in the paper. Clearly, the paper mentions that 1/5 was extracted and that the rest is rendered. "During training we use the whole set of 72 DRRs (a fifth of all views within a full 360-degree vertical rotation) per patient and let the model render the rest."
In paper, you said "During training we use the whole set of 72 DRRs (a fifth of all views within a full 360-degree vertical rotation) per patient and let the model render the rest."
Is this the right code? I think it's not rendering the rest, it's just generating videos with zdist created by the generator. If there is a code that renders the rest, please let me know which code it is.
The reason why I don't understand the code well is probably zdist, zvid. I think these two are just variables that are constantly updated by simple generators that are not related to the actual image.