Our joint framework for metastasis detection and segmentation. (a) A patient image with metastases (inside the red contour) attaching to the liver, (b) the reference image, (c) the distance map of the segmented liver, (d) the distance map of the liver atlas, (e) the metastases in 3D, (f) the image matching flow results, (g) the shape prior constructed by the image regions in red with large flow vector magnitudes to assist the metastasis segmentation, (h) the final metastasis segmentation.