Insight into Images: Principles and Practice for Segmentation, Registration, and Image Analysis