Core Image

Core Image (コア・イメージ)は、AppleのOS(macOS・iOS・iPadOS・tvOS・visionOS)を構成するフレームワークの一つで、GPU上で�…

Core Image

Core Imageコア・イメージ)は、AppleのOSmacOSiOSiPadOStvOSvisionOS)を構成するフレームワークの一つで、GPU上で動作するプログラマブルシェーダーを用いて画像・動画のフィルタ処理をリアルタイムで実行するコンポーネントおよびAPIである。なおプログラマブルシェーダーをサポートしない環境では、CPUで処理が行われる。

概要

Core ImageはMac OS X v10.4で導入された。

Core Audioと同様に、Image Unit(イメージユニット)と呼ばれるプラグイン形式の画像処理フィルタや、カスタムフィルタを組み合わせることにより、画像の加工・解析を容易に行うことができる。特徴的な機能としては、バーコード二次元コードの読み取りや、顔認識クロマキー合成・画像の自動補正などがある。各ピクセルの値は、整数ではなく、単精度浮動小数点数で処理されるため、非常に正確な演算結果が得られる。

グラフィックスハードウェア(GPU)の持つ並列演算性能を活用したハードウェアアクセラレーションにより、画像処理が高速化される。カーネル記述言語[注釈 1]には「Core Image Kernel Language」[注釈 2]または「Metal Shading Language」が用いられる[1][2][3]

脚注

注釈

  1. ^ 並列処理対象の各要素(画像処理の場合は通例ピクセル)に作用させるフィルタリング関数のことをカーネルと呼ぶ。GPUが持つ多数のストリームプロセッサによって並列実行される。
  2. ^ OpenGL規格で標準化されているシェーディング言語であるGLSLの方言(dialect)。

出典

関連項目

外部リンク

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.