RedEyeRemovalFilter Constructor (IReadOnlyList<Rect>, RedEyeRemovalMode)
Creates and initializes RedEyeRemovalFilter with specified eye areas and removal mode.
Namespace: Lumia.Imaging.Adjustments
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public RedEyeRemovalFilter(
IReadOnlyList<Rect> eyeAreas,
RedEyeRemovalMode mode
)
'Declaration
Public Sub New (
eyeAreas As IReadOnlyList(Of Rect),
mode As RedEyeRemovalMode
)
public:
RedEyeRemovalFilter(
[InAttribute] IReadOnlyList<Rect>^ eyeAreas,
[InAttribute] RedEyeRemovalMode mode
)
Lumia.Imaging.Adjustments.RedEyeRemovalFilter = function(eyeAreas, mode);
Parameters
- eyeAreas
Type: System.Collections.Generic.IReadOnlyList<Rect>
Collection of rectangles (maximum 16), each specifying an area in the image containing one red eye to be removed. Expressed in the unit coordinate space of the image, i.e., the top left corner of the image is at (0, 0), and the bottom right corner is at (1, 1). Zero-sized areas and areas outside the image will be quietly ignored.
- mode
Type: Lumia.Imaging.Adjustments.RedEyeRemovalMode
Red eye removal algorith applied to the defined eye areas.
Version Information
Lumia Imaging SDK
Supported in: 2.0
See Also
RedEyeRemovalFilter.RedEyeRemovalFilter Members
RedEyeRemovalFilter Overload