Mailing Lists: Apple Mailing Lists

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

Re: basic color tracking



I haven't found a way to turn images into anything other than different images with the Core Image Kernel patch. I've also been playing with a lot of image processing algorithms, but anything that takes an image input has to give an image output, and there's currently no way I've found to pass in persistent data that can be modified by the filter.

So basically, you have to do any of those steps outside of QC in an ObjectiveC++ shell. I already filed a feature request at bugreport.apple.com... you might want to do the same.

    --Sam

On Jun 5, 2005, at 12:29 PM, Takashi Okamoto wrote:

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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >basic color tracking (From: Takashi Okamoto <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.