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 - http://en.wikipedia.org/wiki/Canny_edge_detection
- Histogram equalisation - http://en.wikipedia.org/wiki/Histogram_equalisation
- Skeletonisation - http://en.wikipedia.org/wiki/Topological_skeleton
- Thresholding, adaptive and global - http://en.wikipedia.org/wiki/Thresholding_(image_processing)
- Gaussian blur (used as a preprocessing step for canny edge detection) - http://en.wikipedia.org/wiki/Gaussian_blur
- Brightness normalisation - http://en.wikipedia.org/wiki/Normalization_(image_processing)
- Connected region extraction - http://en.wikipedia.org/wiki/Blob_extraction
- Resizing - using interpolation









{ 2 trackbacks }
{ 2 comments… read them below or add one }
Mike 03.20.09 at 5:12 pm
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!
Jeff 01.10.10 at 6:07 am
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