Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

basic color tracking



hi.

i was hoping to get some direction on how i can get some basic color tracking done in qc. i have a video source (for testing i just have a quicktime movie of a red dot moving around in a black background) and i just want to get the (x,y) coordinate of the center of the dot at each frame. i've done this in the past with processing <http:// processing.org> by adding all (x,y) positions that are red and dividing it by the number of red pixels.

will i be able to do this in QC? i see that i can use the core image kernel patch to get color values, but i don't know how i can add the (x,y) coordinates and return the result every time it sees a red pixel.

any suggestions will be greatly appreciated. thanks!

-tak.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.