Initializes a new instance of the
ImGearPixelProcessorRedEyeRGB class.
Syntax
'Declaration
Public Function New( _
ByVal As ImGearDIB, _
ByVal As Double, _
ByVal As Double _
)
'Usage
Dim dib As ImGearDIB
Dim threshold As Double
Dim brightness As Double
Dim instance As New ImGearPixelProcessorRedEyeRGB(dib, threshold, brightness)
public ImGearPixelProcessorRedEyeRGB(
ImGearDIB ,
double ,
double
)
public: ImGearPixelProcessorRedEyeRGB(
ImGearDIB* ,
double ,
double
)
public:
ImGearPixelProcessorRedEyeRGB(
ImGearDIB^ ,
double ,
double
)
Parameters
- dib
- DIB the pixel belongs to.
- threshold
- A value in the range 0.5..2 that specifies a part of the red component in the pixel color.
- brightness
- Brightness of the pixel after processing. The range is -1...1.
See Also