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: Haze filter example Question



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@hidden> 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 = "" 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@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to  email@hidden


 _______________________________________________
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

 _______________________________________________
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: 
 >Haze filter example Question (From: Daniel D'Errico <email@hidden>)
 >Re: Haze filter example Question (From: Troy Koelling <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.