CV-0.3.7: OpenCV based machine vision library

Safe HaskellNone

CV.Marking

Documentation

type Marker c d = (Int, Int) -> (Int, Int) -> ImageOperation c dSource

condMarker :: (t1 -> Bool) -> (t -> t1 -> t2 -> ImageOperation c d) -> t -> t1 -> t2 -> ImageOperation c dSource

getCoordsForMarkedTiles :: (Integral t2, Integral t3, RealFrac t, RealFrac t1, Sized a, ~ * (Size a) (t2, t3)) => (t2, t3) -> (t, t1) -> [Bool] -> a -> [(t2, t3)]Source

cuteDot :: (Num (Color c d), Drawable c d) => (Int, Int) -> ImageOperation c dSource

cuteRect :: (Fractional (Color c d), Integral a, Drawable c d) => (a, a) -> (a, a) -> ImageOperation c dSource

markTiles :: (RealFrac t, RealFrac t1) => Image c d -> (Int, Int) -> (t, t1) -> ((Int, Int) -> t2 -> (Int, Int) -> ImageOperation c d) -> [t2] -> Image c dSource