Share via


RegionsOfInterestControl クラス

定義

デバイス上の関心領域を管理する機能を提供します。

public ref class RegionsOfInterestControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class RegionsOfInterestControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class RegionsOfInterestControl
Public NotInheritable Class RegionsOfInterestControl
継承
Object Platform::Object IInspectable RegionsOfInterestControl
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

対象領域は、フォーカスや露出などの機能が計算されるプレビューの四角形の領域を指定します。 これにより、タップしてフォーカスを設定するなどのシナリオが可能になります。

MediaCapture.VideoDeviceController を使用して、キャプチャ デバイスの RegionsOfInterestControl にアクセスできます。

RegionOfInterest オブジェクトを使用する方法のガイダンスについては、「カメラ フレームを分析するための効果」を参照してください。

プロパティ

AutoExposureSupported

キャプチャ デバイスで自動露出がサポートされているかどうかを示す値を取得します。

AutoFocusSupported

キャプチャ デバイスで自動フォーカスがサポートされているかどうかを示す値を取得します。

AutoWhiteBalanceSupported

キャプチャ デバイスで自動ホワイト バランスがサポートされているかどうかを示す値を取得します。

MaxRegions

指定できる対象領域の最大数を取得します。

メソッド

ClearRegionsAsync()

関心領域を非同期的にクリアします。

SetRegionsAsync(IIterable<RegionOfInterest>)

対象領域を非同期的に設定します。

SetRegionsAsync(IIterable<RegionOfInterest>, Boolean)

対象領域を非同期に設定し、値をロックするかどうかを指定します。

適用対象

こちらもご覧ください