Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: What is CIImageAccumulator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is CIImageAccumulator?



While you are in that vicinity, peruse Developer/Examples/Quartz Composer/Compostions/Conceptual/Image Accumulator - Paint.qtz

The examples in the "feedback" folder are geared towards video manipulation. The Paint example in the "conceptual" folder is fairly self explanatory in subject matter.

Good luck!

-George Toledo

On Wed, Apr 1, 2009 at 8:04 PM, vade <email@hidden> wrote:
I have not used CIAccumulator for painting specifically, but it is very useful for feedback effects, where you can draw over a frame many times. You can do this sans the CIAcumulator, but (at least when I have done it) its resulted in rapid loss of Vram for whatever reasons, due to the inner workings of Core Image and I suspect its garbage collection (this is a guess).

I use a CIAcumulator here to provide feedback (this is in Quartz Composer). The output of the effect is fed back into a mixer where the it is fed back into the input of the effect, creating a feedback loop responsible for much of the distortions.

http://www.vimeo.com/3951567

You can also peruse

/Developer/Examples/Quartz Composer/Compositions/Feedback/ yourself to get a handle on how a CIAccumulator is used, and play with the results in realtime using QC.



On Apr 1, 2009, at 5:34 PM, Carmen Cerino Jr. wrote:

I stumbled upon this guy in a few example projects, but his documentations is sort of vague. I get that he would be useful in situations where you would want to iteratively edit an image, ie a paint canvas. I guess the issue I am struggling with is why not just use a CIImage?  The pattern in most examples goes: get your image out of the accumulator, apply your filters, place it into the accumulator, using a CIContext draw the image stored in the accumulator in a view. Why do you need to stuff the image into an accumulator in between iterations? There is probably something I am missing about the Core Image pipeline that makes him crucial to this process. Clarification would be much appreciated.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >What is CIImageAccumulator? (From: "Carmen Cerino Jr." <email@hidden>)
 >Re: What is CIImageAccumulator? (From: vade <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.