Image analysis in the medical field