Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Introduction To vImage Programming Guide

Contents:

Organization of This Document
See Also


Note: This document was previously titled Optimizing Image Processing with vImage.

The Apple vImage framework, introduced in Mac OS X v10.3, is a high performance image processing framework. It includes high-level functions for image manipulation—convolutions, geometric transformations, histogram operations, morphological transformations, and alpha compositing—as well as utility functions for format conversions and other operations. You can call vImage functions from Carbon, Cocoa, and command line interpreter (CLI) applications, but not directly from the kernel.

vImage contains vectorized code to make use of a Single Instruction Multiple Data (SIMD) vector unit, when available, for high performance. All functions also contain scalar code that performs identical operations when a vector unit is not available. The framework uses the best code for the hardware it is running on, in a manner completely transparent to the calling application.

You should read this document if you want to use the vImage library for high-speed image processing in your application. You should be familiar with Macintosh application development and the basics of image representation and manipulation.

The vImage framework isn’t the only image processing framework that Mac OS X provides; but it’s the fastest and oldest, having been introduced in Mac OS X v10.3. If you need to process large quantities of high-resolution images for scientific and medical projects, vImage is the ideal framework. If you want to add image processing capability to an application to support color adjustment, halftone effects, stylizing filters, compositing, and transition effects you might want to consider Core Image. The Core Image framework is a high-level Objective-C programming interface that has more than 100 built-in filters and supports writing your own custom filters.

Organization of This Document

This document contains the following sections:

See Also



Next Page > Hide TOC


Last updated: 2007-05-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice