Design of image processing and analysis methods