demo includes morphological operation