A Simple iPhone Image Processing Library
Chris Greening has put together simple-iphone-image-processing, a “simple C++ class with an Objective-C wrapper that provides a set of common image processing tasks” as well as UIImage conversion.
So what do you get..?
- Canny edge detection – https://en.wikipedia.org/wiki/Canny_edge_detection
- Histogram equalisation – https://en.wikipedia.org/wiki/Histogram_equalisation
- Skeletonisation – https://en.wikipedia.org/wiki/Topological_skeleton
- Thresholding, adaptive and global – https://en.wikipedia.org/wiki/Thresholding_(image_processing)
- Gaussian blur (used as a preprocessing step for canny edge detection) – https://en.wikipedia.org/wiki/Gaussian_blur
- Brightness normalisation – https://en.wikipedia.org/wiki/Normalization_(image_processing)
- Connected region extraction – https://en.wikipedia.org/wiki/Blob_extraction
- Resizing – using interpolation
Thanks for the code. I was actually in the process of doing this myself in pure C. I got as far as edge detection, R/G/B adjust, gamma adjust, greyscale and a few others.
Is there a way to use the lib with a UIImage as input in color?
Thanks!
do you have any functions that can “warp” an image? like put dents in the image or stretch out the image (like a face shot).
thanks,
jeff