CV-0.3.5.3: OpenCV based machine vision library

Safe HaskellSafe-Infered

CV.Sampling

Documentation

allPatches :: (Int, Int) -> Image c d -> [Image c d]

allButLast :: [a] -> [a]

getTiles :: (Int, Int) -> Image c d -> [Image c d]

getTilesC :: (Int, Int) -> Image c d -> [((Int, Int), Image c d)]

getOverlappedTileCoords :: (Integral t1, Integral t, RealFrac a2, RealFrac a1, Sized a, ~ * (Size a) (t, t1)) => (t, t1) -> (a1, a2) -> a -> [(t, t1)]

getOverlappedTiles :: (Int, Int) -> (CDouble, CDouble) -> Image c d -> [Image c d]

getOverlappedTilesC :: (Int, Int) -> (CDouble, CDouble) -> Image c d -> [((Int, Int), Image c d)]

both :: (t -> t1) -> (t, t) -> (t1, t1)

getPatches :: (Int, Int) -> [(Int, Int)] -> Image c d -> [Image c d]

getCenteredPatches :: (Int, Int) -> [(Int, Int)] -> Image c d -> [Image c d]

randomSelect :: [b] -> IO b

select :: Int -> [a] -> IO [a]

discardAroundEdges :: (Num a1, Num a, Ord a1, Ord a) => (a, a1) -> (a, a1) -> [(a, a1)] -> [(a, a1)]

getCoordsFromMarks :: (Fractional (P a), Ord (P a), GetPixel a, Sized a, ~ * (Size a) (Int, Int)) => a -> [(Int, Int)]

getMarkedPatches :: (Fractional (P a), Ord (P a), GetPixel a, Sized a, ~ * (Size a) (Int, Int)) => (Int, Int) -> Image c d -> a -> [Image c d]