I\'d like to implement an \"auto levels\" option for a UIImage that I am displaying in my iPhone app. Before I try to implement it myself, I was wondering if there are any i
You could try the CImg library... They have histogram and equalize functions on the docs. The equalize() function has pretty decent results, from the sample image. The license is LGPL, which may not be suitable for your project but is compatible with selling on the app store.