{-# LANGUAGE ForeignFunctionInterface #-} module CV.Bindings.Features where import Foreign.C.Types import CV.Bindings.Types #strict_import #include #include #starttype CvSURFParams #field extended, CInt #field hessianThreshold, CDouble #field nOctaves, CInt #field nOctaveLayers, CInt #stoptype #ccall wrapExtractSURF, Ptr -> Ptr -> Ptr (Ptr ) -> Ptr (Ptr ) -> Ptr -> Ptr -> Int -> IO () #starttype CvMSERParams #field delta, Int #field maxArea, Int #field minArea, Int #field maxVariation, Float #field minDiversity, Float #field maxEvolution, Int #field areaThreshold, Double #field minMargin, Double #field edgeBlurSize, Int #stoptype #ifndef OpenCV24 #ccall wrapExtractMSER, Ptr -> Ptr -> Ptr (Ptr ) -> Ptr -> Ptr -> IO () #endif #ccall cvMoments , Ptr -> Ptr -> Int -> IO () #ccall cvGetSpatialMoment, Ptr -> CInt -> CInt -> IO CDouble #ccall cvGetNormalizedCentralMoment, Ptr -> CInt -> CInt -> IO CDouble #ccall cvGetCentralMoment, Ptr -> CInt -> CInt -> IO CDouble