CV-0.3.7: OpenCV based machine vision library
CV.Arbitrary
Description
This module provides QuickCheck generators for images.
Synopsis
smallImage :: Gen (Image GrayScale D32)Source
Generate a random small image, that might be constant, noisy or smoothly varying Range of values is [0,1]
constImage :: Gen (Image GrayScale D32)Source
Generate 10x10 constant image
noisyImage :: Gen (Image GrayScale D32)Source
Generate 10x10 noisy image
smoothImage :: Gen (Image GrayScale D32)Source
Generate 10x10 smoothly varying image
blockNoise :: Int -> Gen (Image GrayScale D32)Source
Generate a (10m x 10m) sized noisy image.