I think the best way with what you have is to make a CGBitmap, create
a CIContext from the bitmap's context, and render to that. Then you
can examine the memory of the bitmap to check each pixel and channel
value.
Another option is to use vImage and vecLib for your operations. These
are more suited for bitmap image processing where CoreImage is more
suited for onscreen realtime imagery.
On Mar 1, 2008, at 1:10 AM, Marcel Borsten wrote:
Thanks for the response, I'll elaborate a bit on what I'm trying to
do:
I have to images that I run through a CIFilter
(CIDifferenceBlendMode), the result of this filter goes through
another filter (CIAreaAverage), which returns a single pixel image
that represents the average color value of the difference blend. If
the result is a black pixel, the images were the same. Anything
other then black means there was a difference. I want to measure the
RGB values of the result of th average filter so I can assess how
much difference there was, so I'm looking for a way to represent the
RGB values in numbers.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden