次の方法で共有


ImageObjectExtractor クラス

定義

イメージから成果物を抽出できるオブジェクトを表します。

public ref class ImageObjectExtractor sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AI.Imaging.ImageObjectExtractorContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ImageObjectExtractor final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AI.Imaging.ImageObjectExtractorContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ImageObjectExtractor : System.IDisposable
Public NotInheritable Class ImageObjectExtractor
Implements IDisposable
継承
Object Platform::Object IInspectable ImageObjectExtractor
属性
実装

メソッド

名前 説明
Close()

オブジェクトと関連付けられているリソースを破棄します。

CreateWithImageBufferAsync(ImageBuffer)

Windows上の AI Foundry 用に最適化された非圧縮ビットマップを使用して、ImageObjectExtractorを非同期に作成します。

CreateWithSoftwareBitmapAsync(SoftwareBitmap)

圧縮されていないビットマップを使用して を非同期に作成します。

Dispose()

アンマネージド リソースの解放、解放、またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

EnsureReadyAsync()

必要なコンポーネントをダウンロードしてインストールすることで、 ImageObjectExtractor を使用する準備が整っていることを確認します。

GetImageBufferObjectMask(ImageObjectExtractorHint)

イメージからアーティファクトを抽出するために使用される Gray8 マスクとして、Windows上の AI Foundry 用に最適化された非圧縮ビットマップを取得します。

GetReadyState()

基になる言語モデルの状態を取得します。

GetSoftwareBitmapObjectMask(ImageObjectExtractorHint)

イメージからアーティファクトを抽出するために使用する マスクとして、非圧縮ビットマップを取得します。

適用対象

こちらもご覧ください

  • AI イメージングの概要