You might wanna ask Core Image questions on the quartz developer list
instead.
I can't reveal the implementation details of the unsharp mask filter
as that is Apple's IP but to answer your questions 2 and 3: A kernel
is self contained and can contain multiple functions, but you cannot
call another kernel. To use multiple kernels, you correctly describe
that in your question 3. Have a look at the filters in the
CIAnnotation sample code for building a filter that calls multiple
kernels.
This should also answer question 4 :)
Frank
On Apr 22, 2006, at 6:05 PM, Rodney Kennedy wrote:
Hello
Currently, I am developing for custom CIFilters ciKernel's using
the shading language. I have successfully deployed some custom
CIFilter using these kernels which are pretty straightforward. I'm
quite experienced with vImage but understand the CIImage/CIFilter
"inverse" model is different. I would like to see some more
complex examples than the readily available examples in the
CoreImage documentation and the sample code. For example, for my
needs, it should be sufficient to see the kernel code for say the
standard "Unsharp Mask" or have it described.
1) is the "Unsharp Mask" implemented as a self contained ciKernel?
2) is it possible for a ciKernel to call another ciKernel? [I
doubt it]
3) Should I incorporate the calls to other component filters
(CIFilter wrapped ciKernels) in the Cocoa CIFilter wrapper code
such as in the
- (CIImage *)outputImage;
method? (So for example, a "Unsharp Mask" might call "Gaussian
Blur".)
4) If their are multiple ways to the same end then it terms of
performance what is the best/recommended strategy?
Rodney Kennedy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (PerfOptimization-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/perfoptimization-dev/fdoepke%
40apple.com