RegionOfInterest RegionOfInterest RegionOfInterest RegionOfInterest RegionOfInterest Class

Definition

Represents a region of interest which is a rectangular region on the image which is used for functions such as focus and exposure.

public : sealed class RegionOfInterest : IRegionOfInterest, IRegionOfInterest2
struct winrt::Windows::Media::Devices::RegionOfInterest : IRegionOfInterest, IRegionOfInterest2
public sealed class RegionOfInterest : IRegionOfInterest, IRegionOfInterest2
Public NotInheritable Class RegionOfInterest Implements IRegionOfInterest, IRegionOfInterest2
var regionOfInterest = new regionOfInterest();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Get an instance of this class by accessing the RegionOfInterest property.

The region of interest specifies the rectangular area of preview that functions such as focus and exposure are computed over. This enables scenarios such as tap to focus.

Constructors

RegionOfInterest() RegionOfInterest() RegionOfInterest() RegionOfInterest() RegionOfInterest()

Creates a new instance of the RegionOfInterest control.

Properties

AutoExposureEnabled AutoExposureEnabled AutoExposureEnabled AutoExposureEnabled AutoExposureEnabled

Gets or sets a value that specifies if auto exposure is enabled.

AutoFocusEnabled AutoFocusEnabled AutoFocusEnabled AutoFocusEnabled AutoFocusEnabled

Gets or sets a value that specifies if auto focus is enabled.

AutoWhiteBalanceEnabled AutoWhiteBalanceEnabled AutoWhiteBalanceEnabled AutoWhiteBalanceEnabled AutoWhiteBalanceEnabled

Gets or sets a value that specifies if auto white balance is enabled.

Bounds Bounds Bounds Bounds Bounds

Gets or sets the rectangle that defines the region of focus.

BoundsNormalized BoundsNormalized BoundsNormalized BoundsNormalized BoundsNormalized

Gets or sets a value indicating whether the Bounds Rect is in pixels or is mapped to a range of 0 to 1.0.

Type Type Type Type Type

Gets or sets the type of region represented by the RegionOfInterest object.

Weight Weight Weight Weight Weight

Gets or sets the weight of the region of interest.

See Also