I need to implement a class which will be used for same image operations. Class should store image data and have methods to do:
I'd need some advices on data types to use. What to use for storing image data? NSImage, CGImage, CIImage? Which of those can help me binarize image? With which could I do pixel manipulation?
I was thinking in saving image data in 2-D array and then implement my binarization method and others. But how do I get 2D array of pixels and how to make of that image later?
Thank you!
If you are allowed to use 3rd party libraries, take a look at OpenCV.