Selective invocation of shape priors for deformable segmentation and morphologic classification of prostate cancer tissue microarrays.