ImageObjectExtractor クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
イメージから成果物を抽出できるオブジェクトを表します。
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
- 継承
- 属性
- 実装
メソッド
| 名前 | 説明 |
|---|---|
| Close() |
オブジェクトと関連付けられているリソースを破棄します。 |
| CreateWithImageBufferAsync(ImageBuffer) |
Windows上の AI Foundry 用に最適化された非圧縮ビットマップを使用して、 |
| CreateWithSoftwareBitmapAsync(SoftwareBitmap) |
圧縮されていないビットマップを使用して を非同期に作成します。 |
| Dispose() |
アンマネージド リソースの解放、解放、またはリセットに関連付けられているアプリケーション定義のタスクを実行します。 |
| EnsureReadyAsync() |
必要なコンポーネントをダウンロードしてインストールすることで、 ImageObjectExtractor を使用する準備が整っていることを確認します。 |
| GetImageBufferObjectMask(ImageObjectExtractorHint) |
イメージからアーティファクトを抽出するために使用される |
| GetReadyState() |
基になる言語モデルの状態を取得します。 |
| GetSoftwareBitmapObjectMask(ImageObjectExtractorHint) |
イメージからアーティファクトを抽出するために使用する マスクとして、非圧縮ビットマップを取得します。 |
適用対象
こちらもご覧ください
- AI イメージングの概要