Open CGC1031 opened 3 years ago
Some papers evaluate the regularity of the deformation field by calculating the non-positive volume number or proportion of the Jacobian determinant. So it should be as low as possible. However, I found that in our project, the higher the number of VTN cascades, the higher the DICE, but also the higher the value of the Jacobian determinant. I wonder how we compute the Jacobian in our project? Why are the values getting higher and higher? Your answers will be very helpful to me and I am looking forward to your reply.
Jacc score is a similar metric as the Dice score. "Jacobian determinant" is actually the standard deviation of Jacobian determinant, which is used in this paper as a measurement of non-smoothness. You are right that a large number of cascades can make the deformation field less smooth.
Thank you for your reply.
Q1: So we still want the standard deviation of the Jacobian to be as low as possible, right?
Q2: Based on your valuable suggestions, I have been able to realize the visualization of many images, such as moving images and fixed images and flow fields. Could you tell me how to extract the following Grid and Warped graph? I think your drawing is very clear. Could you give me some more suggestions?
Q1: Yes. Q2: I uploaded the visualization code written in jupyter notebook here, which can be a reference though a bit messy.
Hello, I observed that in the article of ICCV2019, you used DICE as the evaluation metric, and in the article VTN, you used IoU as the evaluation metric. Since I do not understand the significance of IoU as a metric, I have read your VTN article again. You have this sentence in the article. "The Segmentation IoU is computed for the volume and not the sections. It might well be the case that the overlap is not so satisfactory when viewed from those planes yet is better when viewed as a volume."
The problem I face is that I don't know which metric to use in my paper, and I still don't know the meaning of IoU.
Looking forward to your reply. Thank you.
Both Jacc score and Dice score are a measurement of segmentation IoU, and they are largely correlated. They are both computed for the volumes. We used Dice score in the ICCV article only because we found some other papers using Dice score so we thought that it may be more easily acceptable.
Thank you for sharing your Jupyter code. It is very helpful for me. I can successfully draw the flow_filed. Since I can draw flows, I assume that it is the same true for grids. But the grid graph has some problems. I hope you can take a look at it. Thank you!
Fig.1 is my flow_filed, it is right.
Fig.2
results[key][0] shape is :(128-128-128-3)
results[key][0][:, :, 64] shape is :(128-128-3)
Fig.3 Call your jupter code and we do the "Debug" operation. As is shown in the Fig.4, we find the value of the inv_flow between(-0.89,0.89). It's too small and the grid is blank. So we multiply x times 64. Then we find the value of the inv_flow1 between(-57.0,57.5).
Fig.3
After the multiply operation, we can get a grid graph as Fig.4. But we find that the gird graph is not total. So we alter the code in line 47:plt.axis((-256, 256, 256, -256)). At last, we obtain the gird graph in Fig.6. However, it's so strange.
I think this figure is wrong, the figure is seriously distorted, but the flow field is correct. Could you please give me some suggestions? I watched it for a long time, and I didn't want to give up when I got to this point.Looking forward to your reply!
Fig.4
Fig.5
Fig.6
How did you compute the inverse field?
You are reminding me that I saw the inverse code you wrote, but I notice that you didn't call it. Could you tell me where should I call it?
Hello, may I ask that ‘Jacobian determinant’ should stand for Jacobian determinant, which is used to evaluate the folding situation of the deformation field. So what does ’Jacc score‘ stand for? What does it mean physically in registration? Looking forward to your reply!
![image](https://user-images.githubusercontent.com/53649087/117530083-c91b3900-b00d-11eb-9a91-f9750eac6b05.png)