Skip to content
Image process using Apple's vImage framework
Objective-C Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
vImageProcessor
.gitignore
.travis.yml
LICENSE
README.md
_Pods.xcodeproj
vImageProcessor.podspec

README.md

vImageProcessor

CI Status Version License Platform

Description

This is a wrapper to use vImage framework for image processing. Currently it support Alpha Compositing and Geometry including thesse:

  • Alpha Compositing for image and color
  • Alpha Compositing for image and image
  • Image Scale
  • Image Cropping
  • Image Flipping
  • Image Rotation
  • Image Shearing
  • Image Affine Transform

All these methods use vImage API but not Core Graphics to do image processing, which is more performant.

This project is more like a demo to show how vImage can be used to benefit some hign-efficient image processing on Apple platform. You can also use these methods in your own image framework.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

There are 8 demo cases to show the feature about vImage. Currently it do not have some powerful feature like Convolution or vDSP, because it need more knowledge about DSP. Through Accelerate and vImage support these feature, GPUImage may be a better place to get start.

Requirements

  • iOS 7+
  • macOS 10.8+
  • tvOS 9+
  • watchOS 2+

Installation

vImageProcessor is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'vImageProcessor'

Screenshot

Alpha Compositing Cropping Affine Transform

Author

DreamPiggy

License

vImageProcessor is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.