Constructor from standardized interface to create a Retina instance
obj = cv.Retina(inputSize)
obj = cv.Retina(inputSize, 'OptionName',optionValue, ...)
Input
- inputSize the input frame size
[w,h]
.
Options
- ColorMode the chosen processing mode: with or without
color processing. default true
- ColorSamplingMethod specifies which kind of color sampling
will be used, default 'Bayer'. One of:
- Random each pixel position is either R, G or B in a
random choice
- Diagonal color sampling is RGBRGBRGB...,
line 2 BRGBRGBRG..., line 3 GBRGBRGBR...
- Bayer standard bayer sampling
- UseRetinaLogSampling activate retina log sampling. If true,
the 2 following parameters can be used. default false
- ReductionFactor only useful if param
UseRetinaLogSampling=true
, specifies the reduction factor of
the output frame (as the center (fovea) is high resolution and
corners can be underscaled, then a reduction of the output is
allowed without precision leak). default 1.0
- SamplingStrength only useful if param
UseRetinaLogSampling=true
, specifies the strength of the log
scale that is applied. default 10.0