Submission Process
- We have provided an example docker image here, which can predict DDFs on the validation/test dataset. The source code is also available in
submission
folder. - The participants are expected to replace the content of
predict_ddfs
function with their own algorithm, which is used in test.py. The function is expected to take one entire scan as input, and output four kinds of DDFs. There is no requirement on how the algorithm is designed internally, for example, whether it is learning-based method; frame-, sequence- or scan-based processing; or, rigid-, affine- or nonrigid transformation assumptions. - The requirement of the
predict_ddfs
function is described below:- Input:
frames
: All frames in the scan; numpy array with a shape of [N,480,640], where N is the number of frames in this scan.landmark
: Location of 20 landmarks in the scan; numpy array with a shape of [20,3]. Each row denotes one landmark and the three columns denote the index of frame and the 2d-coordinates of landmarks in the image coordinate system. For example, if a row is [10,200,100], it means there is a landmark on the 10th frame, with coordinate of [200,100].data_path_calib
: Path to calibration matrix.
- Output:
GP
: Global displacement vectors for all pixels. DDF from the current frame to the first frame, in mm. The first frame is regarded as the reference frame. The DDF should be in numpy array format with a shape of [N-1,3,307200] where N-1 is the number of frames in that scan (excluding the first frame), “3” denotes “x”, “y”, and “z” axes, respectively, and 307200 is the number of all pixels in a frame. The order of the flattened 307200 pixels can be found in functionreference_image_points
.GL
: Global displacement vectors for landmarks, in mm. The DDF should be in numpy array format with a shape of [3,20], where 20 is the number of landmarks in a scan.LP
: Local displacement vectors for all pixels. DDF from current frame to the previous frame, in mm. The previous frame is regarded as the reference frame. The DDF should be in numpy array format with a shape of [N-1,3,307200], where N-1 is the number of frames in that scan (excluding the first frame), “3” denotes “x”, “y”, and “z” axes, respectively, and 307200 is the number of all pixels in a frame. The order of the flattened 307200 pixels can be found in functionreference_image_points
.LL
: Local displacement vectors for landmarks, in mm. The DDF should be in numpy array format with a shape of [3,20], where 20 is the number of landmarks in a scan.
- Input:
NOTE:
- If you are not sure about data dimensions, coordinate system or transformation direction, etc., please refer to the example code in
baseline_model
folder.- We have provided four functions, which can generate four kinds of DDFs from global and local transformations, in
Transf2DDFs.py
.- Only modify the implementation of the
predict_ddfs
function. It’s okay to add files but please do not change existing files other thanbaseline_model
folder.- The order of the four kinds of DDFs and the order of 307200 pixels cannot be changed and they must all be numpy arrays. Please ensure your prediction does not have null values. Otherwise, the final score could not be generated.
- Make sure the GPU memory is below 32G when running docker.
- Participants are required to dockerize their trained network/algorithm/method and submit them via a file-sharing link (e.g., OneDrive, Dropbox) to the organizers via this form.
Please contact qi.li.21@ucl.ac.uk
if you encounter any problem during submission.
Receipt of all submissions will be acknowledged via email within two working days of receipt, and evaluations will be posted on the leaderboard once completed.
The evaluation code, together with the baseline models, is publicly available here. Participating teams are encouraged, though not obligated, to share their code publicly. Links to any available source code will be provided.