-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
estimates the DVF from a pair of input images #3
Comments
Thank you for your interest Qiang-Zhang-Y. At the test time, you need to increase the patch size and the size of output will automatically increase. In order to avoid any errors in the script, you can set the size of the placeholders to be None: x = tf.placeholder(tf.float32, shape=[None, None, None, None , 2], name="x")
xLow = tf.placeholder(tf.float32, shape=[None, None, None, None, 2], name="x")
y = tf.placeholder(tf.float32, shape=[None, None, None, None, 3], name="labels") The above lines are in the script, you can uncomment them. Please note that in this version of the code, you need to apply an upsampling with a factor of two to the output. In the next version, this problem is solved. |
Thank you for sharing, but I can't understand how to process the test images to get the registration results, maybe voxel by voxel? |
For example, you can set the size of x to be 163, and set the size of xLow to be 150, then the output automatically enlarges. |
hi, @hsokooti , I have the same question. In the paper, you said
Then how to get the registration result of the test image? But when I run your code, I found the input of 155 outputs 27, which confused me. Could you show more about the details of the network? Thanks a lot. |
Hi @cs123951, The network design of the current version (0.2alpha) is a bit different from the paper (0.1). In this version, the network design You can tune the input size is in the script r_input = 255 The size of In your case, the ideal number of r_input is Two minor tricks should be noted:
The script stage_list = [1] I hope that this might help. |
Thanks for sharing the source code which is super helpful for understanding the method. Based on my understanding the network takes patches as input. May I ask how to estimate the DVF during testing given a pair of input images, ideally in a single shot?
The text was updated successfully, but these errors were encountered: