Share via


RegionOfInterest クラス

定義

フォーカスや露出などの機能に使用される画像上の四角形の領域である関心領域を表します。

public ref class RegionOfInterest sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RegionOfInterest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class RegionOfInterest final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RegionOfInterest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class RegionOfInterest
function RegionOfInterest()
Public NotInheritable Class RegionOfInterest
継承
Object Platform::Object IInspectable RegionOfInterest
属性

Windows の要件

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

注釈

RegionOfInterest プロパティにアクセスして、このクラスのインスタンスを取得します。

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

コンストラクター

RegionOfInterest()

RegionOfInterest コントロールの新しいインスタンスを作成します。

プロパティ

AutoExposureEnabled

自動露出が有効かどうかを示す値を取得または設定します。

AutoFocusEnabled

自動フォーカスが有効かどうかを示す値を取得または設定します。

AutoWhiteBalanceEnabled

自動ホワイト バランスが有効かどうかを示す値を取得または設定します。

Bounds

フォーカス領域を定義する四角形を取得または設定します。

BoundsNormalized

Bounds Rect がピクセル単位であるか、0 から 1.0 の範囲にマップされているかを示す値を取得または設定します。

Type

RegionOfInterest オブジェクトによって表される領域の種類を取得または設定します。

Weight

対象領域の重みを取得または設定します。

適用対象

こちらもご覧ください