A compact stacked integrated module of optical mathematical morphologi
cal processor is developed, which consists of a weighted interconnecto
r of the building blocks like calcite and quartz plates and a variable
thresholding device. Based on the Boolean decomposition for morpholog
ical function and the thresholding for weighted convolution, a simple
algorithm with only the programming of threshold levels is developed.
Thus, any morphological image professing function can be performed by
using a series of different threshold levels.