CV-0.3.5.3: OpenCV based machine vision library

Safe HaskellSafe-Infered

CV.Morphology

Synopsis

Documentation

type StructuringElement = ConvKernel

structuringElement :: Enum a => (CInt, CInt) -> (CInt, CInt) -> a -> ConvKernel

customSE :: (CInt, CInt) -> (CInt, CInt) -> [CInt] -> ConvKernel

basicSE :: ConvKernel

bigSE :: ConvKernel

erode :: ConvKernel -> Int -> Image c d -> Image c d

dilate :: ConvKernel -> Int -> Image c d -> Image c d

blackTopHat :: CInt -> Image GrayScale D32 -> Image GrayScale D32

Perform a black tophat filtering of size

whiteTopHat :: CInt -> Image GrayScale D32 -> Image GrayScale D32

Perform a white tophat filtering of size

dilateOp :: ConvKernel -> Int -> ImageOperation c d

erodeOp :: ConvKernel -> Int -> ImageOperation c d