## [Macro] [KAK] - KAK 3 is here! *Current version: 3.2*

chino
Posts: 7
Joined: Tue Mar 31, 2015 7:51 am

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

I posted this question in some old topic, but i think it would be better if i'd posted here
------------------------->

Thank you SecondMan for KAK keyer... It's best keyer for fine details.
I have one question about keying workflow. I watched your tutorial (part 1-3) but greenscreen on that example is "too perfect" ... I usualy get badly lit screens.
In my example i have 2 people on blue screen. KAK does great job on hair, but core has holes (body is semi-transparent). I don't fully understand math behind KAK, but i assume that because of subtraction, pixels also change color. That is fine, but when i plug core matte in, those pixels stay original color. So i usualy blur core matte a lot in some parts (even more masking ). I hope i am making sense. If i'm not, i'll have to post images .
Is there any better workflow for this?

Thank you

Tags:

SecondMan
Posts: 3367
Joined: Thu Jul 31, 2014 5:31 pm
Been thanked: 65 times
Contact:

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

Hi chino,

Thanks for the compliment - glad you like it!

Bonus points for watching the tutorials - yes, the example in there was specifically chosen to illustrate general workflow. Every good key is unique, so a solution for fixing a tricky one might not apply to another.

There are a number of ways to get around what you describe. Some require some reshuffling of channels, so you could recombine despilled colour channels with the adjusted matte. Another way could be to skip screen subtraction altogether and rely on the despill algorithms for getting rid of the blue casts in your subject, and if needed do another, separate key for your edges.

If all your experiments fail, feel free to send me images - my email address is in KAK's info tab. It could be a while before I can look at them, but I always do and I welcome more examples. Examples can sometimes help develop KAK further.

chino
Posts: 7
Joined: Tue Mar 31, 2015 7:51 am

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

thank you...

i wanted to write you email with images, but i found out that screen subtraction unchecked with combination of "bring back transparent detail" works best . spill is usualy not problematic.
but i'm still waiting for some "built-in core matte maker", so i don't have to use second tool for core

SecondMan
Posts: 3367
Joined: Thu Jul 31, 2014 5:31 pm
Been thanked: 65 times
Contact:

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

That has been on my to-do list for a very long time, and I do have a couple of ideas for it which would set it apart from currently available options.

The question remains whether it should be incorporated in the tool or not. There's only so many features you can cram in there before it gets unwieldy and confusing. But a core matte generator wouldn't be so strange, especially since that's something that you would typically need anyway.

jirka
Fusioneer
Posts: 60
Joined: Mon Sep 15, 2014 3:24 am
Location: Prague, Czech Republic

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

SecondMan wrote:That has been on my to-do list for a very long time, and I do have a couple of ideas for it which would set it apart from currently available options.
I would love to hear your tips. I found that using corner detection to protect little wanted holes in matte from dilate/erode roundness destruction quite often reduces the amount of roto needed.

gswartz
Posts: 2
Joined: Tue Apr 28, 2015 1:52 pm

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

Thank you for this. But when I try to use this and click the pick button to pick the background color, I get the windows color window dialog instead of a color eye dropper picker. Any idea why? Thanks.

SecondMan
Posts: 3367
Joined: Thu Jul 31, 2014 5:31 pm
Been thanked: 65 times
Contact:

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

Click, hold and drag

gswartz
Posts: 2
Joined: Tue Apr 28, 2015 1:52 pm

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

Awesome, thanks!

kuban
Posts: 4
Joined: Mon Aug 17, 2015 3:22 am

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

I am new to Fusion, but I installed Fusion 7.7.1 (free version) on windows10. I have some problems with running KAK.

I only seem to have:
Screen Select, Key, Transparent Detail, Despill and Colour modes.
I can not get into matte edge, shrink menus. Amd I missing something?

I installed the switch fuse and KAKr.fuse under C:\Program Files\Blackmagic Design\Fusion\Fuses\KAK
and KAK_v3.1.1.setting to C:\Program Files\Blackmagic Design\Fusion\Macros

Am I missing something? When I edit KAK macro, I can see many options. But can not use them when adding KAK from Add Tool>Matte>KAKr

PS: When I currently key using a clean plate, my alpha even seems to be inverted, even if I say it should use Green channel.

How can I use KAK?

kuban
Posts: 4
Joined: Mon Aug 17, 2015 3:22 am

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

I have seen some errors in console. Might be related:

Any macro with an image output may be used as a view LUT, by placing its .setting file in the LUTs: path. You can even
use the saved .setting file of one or more tools.

[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)
[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)
[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)
[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)
[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)
[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)
[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)
[string "--- Begin FFI Script ---..."]:18495: bad argument #1 to 'setfenv' (number expected, got cdata)

kuban
Posts: 4
Joined: Mon Aug 17, 2015 3:22 am

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

I would like to show you my screen shot from the Fusion GUI
You do not have the required permissions to view the files attached to this post.

SecondMan
Posts: 3367
Joined: Thu Jul 31, 2014 5:31 pm
Been thanked: 65 times
Contact:

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

That's the KAKr fuse, not KAK itself.

You use KAK by going into Macro -> KAK_v3.1.1

You'll see all the fancy options in there.

The KAKr Fuse is not to be used on its own. You can get something out of it if you know how exactly it works, but just see it as the "engine" for KAK. It's used internally, and controlled by the Macro.

Don't put KAK in the LUTs: path. That won't work.

kuban
Posts: 4
Joined: Mon Aug 17, 2015 3:22 am

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

Thanks Secondman, yes I have to use it from the Macros Thanks for helping.

superegophobia
Posts: 1
Joined: Fri Sep 11, 2015 7:10 pm

### Re: [Macro] [KAK] - KAK 3 is here! *Current version: 3.1.1*

Has KAK been tested on OS X? It's been crashing randomly for me on the Fusion 8 beta 2 with v3.1.1 on OS 10.10.4.

SecondMan