Retina Constructor (Size, Boolean, RetinaColorSamplingMethod, Boolean, Double, Double) |
http://www.emgu.com
Create a retina model
Namespace:
Emgu.CV.Bioinspired
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic Retina(
Size inputSize,
bool colorMode,
RetinaColorSamplingMethod colorSamplingMethod,
bool useRetinaLogSampling,
double reductionFactor,
double samplingStrength
)
Public Sub New (
inputSize As Size,
colorMode As Boolean,
colorSamplingMethod As RetinaColorSamplingMethod,
useRetinaLogSampling As Boolean,
reductionFactor As Double,
samplingStrength As Double
)
public:
Retina(
Size inputSize,
bool colorMode,
RetinaColorSamplingMethod colorSamplingMethod,
bool useRetinaLogSampling,
double reductionFactor,
double samplingStrength
)
new :
inputSize : Size *
colorMode : bool *
colorSamplingMethod : RetinaColorSamplingMethod *
useRetinaLogSampling : bool *
reductionFactor : float *
samplingStrength : float -> Retina
Parameters
- inputSize
- Type: System.DrawingSize
The input frame size - colorMode
- Type: SystemBoolean
Specifies if (true) color is processed of not (false) to then processing gray level image - colorSamplingMethod
- Type: Emgu.CV.BioinspiredRetinaColorSamplingMethod
Specifies which kind of color sampling will be used - useRetinaLogSampling
- Type: SystemBoolean
Activate retina log sampling, if true, the 2 following parameters can be used - reductionFactor
- Type: SystemDouble
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 - samplingStrength
- Type: SystemDouble
Only useful if param useRetinaLogSampling=true, specifies the strength of the log scale that is applied
See Also