This isn't something that Cocoa can do, nor would you expect it to.

You'll come to realise that this is a very complex task. My supervisor at University developed an algorithm that did exactly what you're describing using wavelets - in fact it was generally able to locate any feature in an image given some typical samples of what it was looking for, regardless of size, orientation, differences in colour, etc. The initial algorithm took him about seven years to develop, then another couple to make it work reasonably quickly. You should be able to find papers on the topic, either by him or co-authored - search for M. Banham + wavelet image processing. This work was done in the late 80s/early 90s so has probably progressed somewhat since then. The development was even done on a Mac, using System 7 and a Mac IIfx.

cheers, Graham


On 17 Jul 2008, at 3:20 pm, Duncan Campbell wrote:

ok, this is going to be one of the weirder questions:

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.

Any ideas anyone?

Cheers for any pointers.

Duncan.
_______________________________________________

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/graham.cox%40bigpond.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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