CV-0.3.7: OpenCV based machine vision library

Safe HaskellNone

CV.Morphology

Synopsis

Documentation

type StructuringElement = ConvKernelSource

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

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

basicSE :: ConvKernelSource

bigSE :: ConvKernelSource

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

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

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

Perform a black tophat filtering of size

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

Perform a white tophat filtering of size

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

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