Image processing and analysis in medicine