Safe Haskell | Safe-Infered |
---|
This module is a collection of various image filters
- gaussian, blurNS, blur :: (Int, Int) -> Image GrayScale D32 -> Image GrayScale D32
- gaussianOp, blurOp :: (Int, Int) -> ImageOperation GrayScale D32
- bilateral :: (Int, Int) -> (Int, Int) -> Image a D8 -> Image a D8
- class HasMedianFiltering a where
- susan :: (Int, Int) -> Double -> Double -> Image GrayScale D32 -> Image GrayScale D32
- getCentralMoment :: CInt -> (CInt, CInt) -> Image c d -> Image channels depth
- getAbsCentralMoment :: CInt -> (CInt, CInt) -> Image c d -> Image channels depth
- getMoment :: CInt -> (CInt, CInt) -> Image c d -> Image channels depth
- secondMomentBinarize :: CDouble -> Image c d -> Image c d
- secondMomentBinarizeOp :: CDouble -> ImageOperation c d
- secondMomentAdaptiveBinarize :: CInt -> CInt -> CDouble -> Image c d -> Image c d
- secondMomentAdaptiveBinarizeOp :: CInt -> CInt -> CDouble -> ImageOperation c d
- selectiveAvg :: (Int, Int) -> Double -> Image GrayScale D32 -> Image GrayScale D32
- convolve2D :: (Point2D anchor, ELP anchor ~ Int) => Matrix D32 -> anchor -> Image GrayScale D32 -> Image GrayScale D32
- convolve2DI :: (CInt, CInt) -> Image c1 d1 -> Image c d -> Image channels depth
- haar :: IntegralImage -> (Int, Int, Int, Int) -> Image GrayScale D32
- haarAt :: IntegralImage -> (Int, Int, Int, Int) -> Double
- data IntegralImage
- integralImage :: Image GrayScale D32 -> IntegralImage
- verticalAverage :: Image GrayScale D32 -> Image GrayScale D32
Documentation
gaussian, blurNS, blur :: (Int, Int) -> Image GrayScale D32 -> Image GrayScale D32Source
Create a new image by applying gaussian, or uniform smoothing.
gaussianOp, blurOp :: (Int, Int) -> ImageOperation GrayScale D32Source
Image operation which applies gaussian or unifarm smoothing with a given window size to the image.
class HasMedianFiltering a whereSource
susan :: (Int, Int) -> Double -> Double -> Image GrayScale D32 -> Image GrayScale D32Source
SUSAN adaptive smoothing filter, see http://users.fmrib.ox.ac.uk/~steve/susan/susan/susan.html
secondMomentBinarize :: CDouble -> Image c d -> Image c dSource
secondMomentAdaptiveBinarizeOp :: CInt -> CInt -> CDouble -> ImageOperation c dSource
selectiveAvg :: (Int, Int) -> Double -> Image GrayScale D32 -> Image GrayScale D32Source
A selective average filter is an edge preserving noise reduction filter. It is a standard gaussian filter which ignores pixel values that are more than a given threshold away from the filtered pixel value.
convolve2D :: (Point2D anchor, ELP anchor ~ Int) => Matrix D32 -> anchor -> Image GrayScale D32 -> Image GrayScale D32Source
haar :: IntegralImage -> (Int, Int, Int, Int) -> Image GrayScale D32Source
Filter the image with box shaped averaging mask.
data IntegralImage Source
A type for storing integral images. Integral image stores for every pixel the sum of pixels above and left of it. Such images are used for significantly accelerating the calculation of area averages.
integralImage :: Image GrayScale D32 -> IntegralImageSource
Calculate the integral image from the given image.