The module provides biological visual systems models (human visual system and others). It also provides derivated objects that take advantage of those bio-inspired models.
Bioinspired Module Retina Introduction
§ anonymous enum
Enumerator |
---|
RETINA_COLOR_RANDOM | each pixel position is either R, G or B in a random choice
|
RETINA_COLOR_DIAGONAL | color sampling is RGBRGBRGB..., line 2 BRGBRGBRG..., line 3, GBRGBRGBR...
|
RETINA_COLOR_BAYER | standard bayer sampling
|
§ createRetina() [1/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
§ createRetina() [2/2]
Ptr< Retina > createRetina |
( |
Size |
inputSize, |
|
|
const bool |
colorMode, |
|
|
int |
colorSamplingMethod = RETINA_COLOR_BAYER , |
|
|
const bool |
useRetinaLogSampling = false , |
|
|
const float |
reductionFactor = 1.0f , |
|
|
const float |
samplingStrenght = 10.0f |
|
) |
| |
|
related |
Constructors from standardized interfaces : retreive a smart pointer to a Retina instance.
- Parameters
-
inputSize | the input frame size |
colorMode | the chosen processing mode : with or without color processing |
colorSamplingMethod | specifies which kind of color sampling will be used :
|
useRetinaLogSampling | activate retina log sampling, if true, the 2 following parameters can be used |
reductionFactor | only usefull 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 |
samplingStrenght | only usefull if param useRetinaLogSampling=true, specifies the strenght of the log scale that is applied |
§ createRetinaFastToneMapping()
§ createTransientAreasSegmentationModule()
allocator
- Parameters
-
inputSize | : size of the images input to segment (output will be the same size) |