Here’s a good project on Google Code to bookmark in case you ever need to do any image processing tasks with UIImage:
I’ve written a simple C++ class with an Objective-C wrapper that provides a set of common image processing tasks along with conversion to and from UIImage.
The code supports the following operations:
- 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 – uses interpolation
Beats writing all that of scratch, indeed!
h/t: iPhone Development!
4
APR
APR
0
Share