Safe Haskell | None |
---|---|
Language | Haskell98 |
- c_cvCanny :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CDouble -> CDouble -> CInt -> IO ()
- canny :: IplImage -> IplImage -> Double -> Double -> Int -> IO ()
- data InterpolationMethod
- c_cvResize :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CInt -> IO ()
- resize :: IplImage -> IplImage -> InterpolationMethod -> IO ()
- c_dilate :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CInt -> IO ()
- dilate :: IplImage -> IplImage -> Int -> IO ()
- c_cvPyrDown :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CInt -> IO ()
- constCvGaussian5x5 :: CInt
- pyrDown :: IplImage -> IplImage -> IO ()
- data Priv_CvHaarClassifierCascade
- type HaarClassifierCascade = ForeignPtr Priv_CvHaarClassifierCascade
- newtype HaarDetectFlag = HaarDetectFlag {}
- haarFlagNone :: HaarDetectFlag
- haarDoCannyPruning :: HaarDetectFlag
- haarScaleImage :: HaarDetectFlag
- haarFindBiggestObject :: HaarDetectFlag
- haarDoRoughSearch :: HaarDetectFlag
- combineHaarFlags :: [HaarDetectFlag] -> HaarDetectFlag
- c_cvHaarDetectObjects :: Ptr Priv_IplImage -> Ptr Priv_CvHaarClassifierCascade -> Ptr Priv_CvMemStorage -> CDouble -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (Priv_CvSeq CvRect))
- haarDetectObjects :: IplImage -> HaarClassifierCascade -> MemStorage -> Double -> Int -> HaarDetectFlag -> CvSize -> IO (CvSeq CvRect)
Documentation
c_cvCanny :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CDouble -> CDouble -> CInt -> IO () Source
canny :: IplImage -> IplImage -> Double -> Double -> Int -> IO () Source
Find edges using the Canny algorithm
c_cvResize :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CInt -> IO () Source
resize :: IplImage -> IplImage -> InterpolationMethod -> IO () Source
Resizes an image using the specified interpolation method
c_dilate :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CInt -> IO () Source
dilate :: IplImage -> IplImage -> Int -> IO () Source
Dilates an image using a specific structuring element
c_cvPyrDown :: Ptr Priv_IplImage -> Ptr Priv_IplImage -> CInt -> IO () Source
pyrDown :: IplImage -> IplImage -> IO () Source
Smooths an image and downsamples it, currently only gaussian5x5 is supported
newtype HaarDetectFlag Source
:: Ptr Priv_IplImage | image |
-> Ptr Priv_CvHaarClassifierCascade | cascade |
-> Ptr Priv_CvMemStorage | storage |
-> CDouble | scale_factor |
-> CInt | min_neighbors |
-> CInt | flags |
-> CInt | |
-> CInt | min_size |
-> IO (Ptr (Priv_CvSeq CvRect)) |
:: IplImage | image |
-> HaarClassifierCascade | cascade |
-> MemStorage | storage |
-> Double | scale_factor |
-> Int | min_neighbors |
-> HaarDetectFlag | flags |
-> CvSize | min_size |
-> IO (CvSeq CvRect) |
Detects objects in the image. Matches are returned as a list of rectangles