Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Core Image

From Wikipedia, the free encyclopedia
Image processing technology introduced in Mac OS X 10.4

macOS
graphics model
Core Image
Rendering
Compositing

Core Image is a pixel-accurate, near-realtime, non-destructive image processing technology in Mac OS X. Implemented as part of the QuartzCore framework ofMac OS X 10.4 and later, Core Image provides a plugin-based architecture for applying filters and effects within theQuartz graphics rendering layer.[1] The framework was later added to iOS iniOS 5.[2]

Overview

[edit]

Core Image abstracts the pixel-level manipulation process required when applying a filter to an image, making it simple for applications to implement image transformation capabilities without extensive coding. In a simple implementation, Core Image applies a singleImage Filter to the pixel data of a given source to produce the transformed image. Each Image Filter specifies a single transform or effect, either built into Core Image or loaded from a plugin called anImage Unit. Combined with preset or user-defined input parameters, the filter can be applied to the original pixel data without modifying it, thereby providing non-destructive image editing.[3][4]

LikePhotoshop, Core Image can apply multiple filters to the same image source. Instead of applying a series of filters individually, Core Image assembles a dynamicinstruction pipeline so that only one calculation needs to be applied to the pixel data to achieve a cumulative effect. Applying the pixel operations associated with multiple filters can be achieved simultaneously and without a significant increase in processing time. Regardless of the number of filters, Core Image assembles the code for this instruction pipeline with ajust-in-time compiler, which is executed by either the CPU or graphics card's GPU, whichever can perform the calculation faster.[5]

Filters are written in theCore Image Kernel Language, which shares a subset of commands with OpenGL Shading Language (GLSL).[6] When a compatible GPU is available, the Core Image compiler writes the instruction pipeline using GLSL, handling buffers and states transparently. Although GPU rendering is preferred[citation needed], the compiler can operate in aCPU fallback mode, generating commands suitable for the current CPU architecture instead.[7] CPU fallback uses thevector processing capabilities of the current CPU or CPUs, and it is multi-processor aware. Thus, Core Image performance depends on the GLSL capabilities of the GPU or the processing power of the CPU. With a supported GPU, most effects can be rendered in realtime or near-realtime.[8]

History and implementation

[edit]

Core Image was introduced withMac OS X 10.4.[9]Early examples of its use can be found in theripple effect inDashboard, and Apple's professional digital photography application,Aperture.[10] Starting withMac OS X 10.5, any application that implements Image Kit can utilize Core Image.[11]Preview andiPhoto are common examples.

In 2011, Apple added Core Image to iOS in iOS 5.0.[2]

TheXcode Tools includeCore Image Fun House andQuartz Composer; both utilize Core Image.

The Core Image plugin architecture was inspired by that of Core Audio.[12]

Pixel accuracy

[edit]

All pixel processing provided by an Image Unit is performed in a pre-multiplied alpha (RGBA) color space, storing four color channels: red, green, blue, and transparency (alpha). Each color channel is represented by a 32-bit,floating point number. This provides exceptional color depth, far greater than can be perceived by thehuman eye, as each pixel is represented by a 128-bit vector (four 32-bit color channels). For color spaces of lower bit-depth, the floating-point calculation model employed by Core Image provides exceptional performance, which is useful when processing multiple images or video frames.[3][13]

Supported graphics processors

[edit]

Any programmable GPU that supports the required OpenGL Shader (GLSL) commands is Core Image capable. Apple has used the following graphics cards to support Core Image GPU processing in Mac OS X 10.4 and Aperture, so the following list could be considered an example of minimum requirements:[10][14]

  • ATI Mobility Radeon 9700 (Mobility Radeon 9600 is also capable)
  • ATI Radeon 9550, 9600, 9650, 9600 XT, 9600 Pro, 9700 Pro, 9800 XT, and 9800 Pro
  • ATI Radeon X600 XT, X600 Pro, X800 XT, X850 XT, X1600, X1900 XT
  • ATI Radeon HD 2400 XT, HD 2600 Pro, and HD 2600 XT
  • NVIDIA GeForce FX 5200 Ultra, FX Go 5200
  • NVIDIA GeForce 6600, 6600 LE, 6800 Ultra DDL, and 6800 GT DDL
  • NVIDIA GeForce 7300 GT, 7600 GT, and 7800 GT
  • NVIDIA GeForce 8600M GT & 8800 GT
  • NVIDIA GeForce 9400M & 9600M GT
  • NVIDIA GeForce GT 120 & GT 130
  • NVIDIA GeForce GTX 285
  • NVIDIA Quadro FX 4500 & FX 5600
  • NVIDIA Quadro FX 4800
  • NVIDIA Quadro 4000
  • NVIDIA GeForce 320M
  • NVIDIA GeForce GT 330M
  • NVIDIA GeForce GT 640M
  • NVIDIA GeForce GT 650M
  • NVIDIA GeForce GTX 660M
  • NVIDIA GeForce GTX 675M
  • NVIDIA GeForce GTX 680MX
  • NVIDIA GeForce GT 750M
  • NVIDIA GeForce GT 755M
  • NVIDIA GeForce GTX 775M
  • NVIDIA GeForce GTX 780M
  • IntelGMA 900,GMA 950, orGMA X3100
  • Intel HD Graphics 3000(Sandy Bridge)
  • Intel HD Graphics 4000(Ivy Bridge)
  • Intel HD Graphics 5000(Haswell)
  • Intel Iris 5100(Haswell)
  • Intel Iris Pro 5200(Haswell)
  • Intel HD Graphics 5300(Broadwell)
  • Intel HD Graphics 6000(Broadwell)
  • Intel Iris 6100(Broadwell)

Note that any GPU capable of handling Core Image instructions is alsoQuartz Extreme capable. The requirements for Core Image are greater than those of Quartz Extreme.[14]

Built-in filters

[edit]
Wikipedia Logo with "Color Monochrome", "Parallelogram Tile", and "Pinch Distortion" Image Units applied

macOS includes many built-in filters, including the following ones. Mac OS X 10.4 introduced over 100 of them, and Mac OS X 10.5 added to the list.[3][15]

  • Blurs, like Median, Gaussian, Motion, and Noise
  • Color Adjustments & Effects, like Exposure, Gamma Adjust, and Sepia Tone
  • Composition Operations, like Addition andMultiply Blends, or Hard Light
  • Distortions, like Pinch, Circle Splash, and Vortex
  • Generators, like Star Shine and Lenticular Halo
  • Geometry Adjustments, such as Crop, Scale, Rotate, andAffine transformation
  • Halftone, Tile, and Posterize filters
  • Transitions, such as Dissolve and Ripple

See also

[edit]

References

[edit]
  1. ^"Mac Dev Center - Introduction to Core Image Programming Guide". RetrievedSeptember 20, 2009.
  2. ^ab"iOS 5.0 API Diffs". RetrievedSeptember 14, 2012.
  3. ^abc"Apple - Developer - Developing with Core Image". Archived fromthe original on October 6, 2009. RetrievedSeptember 20, 2009.
  4. ^"Mac Dev Center - Introduction to Core Image Programming Guide - Filter Clients and Filter Creators". RetrievedSeptember 20, 2009.
  5. ^"ArsTechnica - Mac OS X 10.4 Tiger - Page 15". April 28, 2005. RetrievedSeptember 20, 2009.
  6. ^"Mac Dev Center - Core Image Kernel Language Reference - Introduction". RetrievedSeptember 20, 2009.
  7. ^"Mac Dev Center - Core Image Programming Guide - Core Image Concepts - Core Image and the GPU". RetrievedSeptember 20, 2009.
  8. ^"ArsTechnica - Mac OS X 10.4 Tiger - Page 15". April 28, 2005. RetrievedApril 17, 2007.
  9. ^"Mac Dev Center - Core Image Programming Guide - Core Image Concepts". RetrievedSeptember 20, 2009.
  10. ^ab"Apple - Aperture - Tech Specs". RetrievedSeptember 20, 2009.
  11. ^"Mac Dev Center - Image Kit Programming Guide - Introduction to Image Kit Programming Guide". RetrievedSeptember 20, 2009.
  12. ^Singh 2006, p. 97.
  13. ^"Mac Dev Center - Core Image Programming Guide - Core Image Concepts - Color Components and Premultiplied Alpha". RetrievedSeptember 20, 2009.
  14. ^ab"Mac OS X 10.4 - Requirements for Quartz Extreme and Core Image Graphics". Archived fromthe original on November 9, 2014. RetrievedSeptember 20, 2009.
  15. ^"Core Image Filter Reference".Archived from the original on May 19, 2024. RetrievedJuly 24, 2024.

Bibliography

[edit]

External links

[edit]
Products
Hardware
Mac
iPod
iPhone
iPad
AirPods
Other
Software
Operating
systems
Services
Financial
Media
Communication
Retail and
digital sales
Support
Other
Companies
Subsidiaries
Acquisitions
Partnerships
Related
People
Executives
Current
Former
Board of
directors
Current
Former
Founders
  • Italics indicate discontinued products, services, or defunct companies.
  • Category
Versions
Mac OS X
OS X
macOS
Applications
Core Applications
Developer Tools
Xcode
Former tools
Former Applications
Utilities
Discontinued
Technologies &
User Interface
Deprecated
Discontinued
  • Italics denote upcoming products.
  •  Category
Retrieved from "https://en.wikipedia.org/w/index.php?title=Core_Image&oldid=1268046149"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp