Morphological Filter Mean-Absolute-Error Representation Theorems And Their Application To Optimal Morphological Filter Design