Hello Duncan,

On Jul 16, 2008, at 10:20 PM, Duncan Campbell wrote:
I'm writing an application that is designed to scan images of people's eyes. Among other things, app needs to look at things like the color , shape, amount of redness, size of pupil etc.

I'm looking for some pointers towards any sample code/libs that might help me to perform this kind of image processing - for example getting the average RBG of an image or being able to pick out a black circle within a larger image etc.

You would use the Core Image framework to do this. We have an example online:
        http://developer.apple.com/samplecode/CIColorTracking

"The CIColorTracking sample application is an Objective-C applicaton that implements a GPU-based technique to find the location of a uniquely colored object in a scene and then uses the position information to apply video effects."

The algorithm is described in the latest GPU Gems (#3), chapter 26:

Object Detection by Color: Using the GPU for Real-Time Video Image Processing
Ralph Brunner, Frank Doepke, Bunny Laden - Apple

Enjoy,
Allan
___________

Allan Schaffer
Graphics Evangelist
Worldwide Developer Relations



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to