I m the beginner in iphone software development.
I developing the application on skin cancer in which i want to calculate or count red color pixel from UIImage which is captured by iphone camera.It is possible to count red pixel from UIImage?
I m the beginner in iphone software development. I developing the application on skin
Share
Since this is a question that is asked almost weekly, I decided to make a little example project that shows how to do this. You can look at the code at:
http://github.com/st3fan/iphone-experiments/tree/master/Miscellaneous/PixelAccess/
The important bit is the following code, which takes a
UIImageand then counts the number of pure red pixels. It is an example and you can use it and modify it for your own algorithms:A simple example on how to call this:
The example project on Github contains a complete working example.