The entire "haze filter" project that is discussed in the tutorial is in (on
my machine anyway):
/Developer/Examples/Quartz/Core Image/CIHazeFilterSample
On 10/31/07, Troy Koelling <[EMAIL PROTECTED]> wrote:
>
> I imagine this example compiles an Image Unit, which is a compiled bit of
> code that can go into /Library/Graphics/Image Units. You could probably just
> pull out the contents of the .cikernel and put it in a Core Image patch.
> Then you can tweak it and watch the effect of parameters on the fly.
> On Oct 31, 2007, at 8:12 AM, Daniel D'Errico wrote:
>
> Folks --
>
> I am still in composer 2.1 An upgrade to OS and QC will not be done
> until after thankgiving ( Nov 25 or so ). That is after the end of my
> academic quarter and I will have submitted my project for grading.
>
>
> Background:
> I have read thru the haze filter example that apple gives for writing your
> own filters. Its pretty thorough. I can see how to type code into a core
> kernel file - I have been doing that for a lot of bits and pieces on this
> project. However the example seems to be saying that I type code into a
> number of other files.
>
> One example - the output method:
>
> - (CIImage *)outputImage
>
> {
>
> CISampler *src = [CISampler samplerWithImage: inputImage];
>
> return [self apply: hazeRemovalKernel, src, inputColor, inputDistance,
>
> inputSlope, kCIApplyOptionDefinition, [src definition], nil];
>
> }
>
> Would someone tell me what file i need to type this into? and how to
> compile? That part is missing from the tutorial and I am new to this
> environment. My normal home Is UNIX.
>
> Help is appreciated.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com
>
> This email sent to [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/quartzcomposer-dev/catxtwo%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]