Abstract
This paper presents a method to obtain an image processing procedure by showing an original image and a target image. There are some preceding works concerns with automatic acquisition of image processing procedures by combining subroutine packages. In our approach, we only use the hierarchical mathematical morphology procedures, i.e., erosion and dilation operations. Since the subroutine packages are macro procedures, we use micro operations for constructing more flexible visual procedures. We use genetic algorithms (GA) to search procedures. Utilizing a parallel searching function of GA and introducing a concept of era, we construct hierarchical procedures of mathematical morphology.