@ahojnnes : I created this mask to test the performance of filtering using convolve. Filtering using integral image is faster and hence this will be removed. Where should we place it in morphology?