Expert systems for image processing: knowledge-based composition of image analysis processes