Tissue segmentation with deep 3D networks and spatial priors