VectorExtendEdge v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Michael Garrett
Push rgb pixels outwards from a matte edge.
Requirements:
5.1, 5.2, 6.0, 6.1 or later
Linux, Mac, Windows
02 Nov 2010
4201

 

vectorextendedge

Pushes rgb pixels outwards using vectors generated perpedicular to a control matte edge.  It's similar to Frank Reuter's EdgeExtend gizmo but instead of recursively blurring and unpremulting, it recursively generates vectors based on the input control matte and uses VectorBlur to push the rgb pixels outwards.


To get the best results, you need to input a matte that conforms to the pixels you want to extend.

Please login in order to download these files.

Comments   

 
# Abhishek Chaturvedi 2010-11-06 00:04
didn't load up in nuke 6.1
otherwise worked fab in 6.v3
 
 
# Michael Garrett 2010-11-06 18:56
I just tried it out in Nuke 6.1v1 on OS X and it loaded fine for me. It was exported from 6.1v2 (I haven't tried 6.1v3 yet...)
 
 
# Abhishek Chaturvedi 2010-11-06 21:35
i tried it importing in nuke 6.1v1 Windows and that didn't worked
 
 
# Michael Garrett 2010-11-06 22:35
Did you try putting the gizmo in your .nuke directory then calling it by pressing "x" and typing the gizmo name? Make sure TCL is selected.
 
 
# Abhishek Chaturvedi 2010-11-06 22:39
in 6.1v3 i am calling it through my menu.py and did the same in nuke6.1v1
 
 
# Michael Garrett 2010-11-06 23:46
Hmm, I don't have a Windows system to try this out on. Can you try opening in a text editor, paste the contents into the DAG as a group and then re-export?
 
 
# Abhishek Chaturvedi 2010-11-06 23:51
k i will do that, no prbs :-)
 
 
# Abhishek Chaturvedi 2010-11-07 00:09
its not giving error after exporting from nuke 6.1v1 and importing back through menu.py even in v3

tough it throws itself in a random place and gets a bit difficult to find in a bigger script

btw this is what i am getting on PC when imorting the original gizmo
http://img593.imageshack.us/img593/740/31544535.jpg
 
 
# Michael Garrett 2010-11-07 00:32
Ah, ok, you can ignore that ;-) I thought you meant it wouldn't come in at all.

I think you can just change the Nuke version at the top of the gizmo code by opening in a text editor. Or, convert to a group and re-export from 6.1v1.
 
 
# Alexey Kuchinski 2011-03-12 05:23
Thanks Michael
 
 
# Rich Bobo 2012-07-10 07:14
Works great!
 
 
# Frank Rueter 2016-05-29 23:17
This one is a much nicer version than my old EdgeExtend which uses repeated premultiplicati ons and thus can create some hard edges in folds. The LevelSet solution is too slow, so this one is the best one so far I reckon, nice!
 
 
# Michael Garrett 2016-06-07 02:49
Glad the gizmo is helpful! There are some way I could update this, especially by trying the gpu accelerated VectorBlur, also seeing if the vectors can be used with iDistort.

I know that some people swear by a ColorDilate approach - it can be faster.
 
 
# srihari babu 2021-03-24 05:04
Hi this version working. when i close the nuke file and open the file again at the time gizmo setting not appearing
 
 
# srihari babu 2021-03-24 05:05
Hi this version working. when i close the nuke file and open the file again at the time gizmo setting not appearing. i need help Frank.
 
 
# Frank Rueter 2021-03-25 01:15
Sorry, it's not my gizmo, you will have to check with Michael.
 
 
# Frank Rueter 2016-05-29 23:22
Any way you could output the alpha which describes the blurred pixels for subsequent regraining? Maybe as an optional channel output?
 
 
# Michael Garrett 2016-06-07 02:48
Quoting Frank Rueter:
Any way you could output the alpha which describes the blurred pixels for subsequent regraining? Maybe as an optional channel output?


I think I understand your alpha idea, but feel free to email me an example nuke script roughly describing it more clearly.
 
 
# Frank Rueter 2016-06-10 09:19
I just had a quick look. Basically you just need to ensure the alpha is getting the same "extend" treatment as the colour, so every time you unpremult, the alpha needs to be threshold-ed and copied back in so the VectorBlur treats it just like the colour channels. Then, at the end, you can output it into an optional channel after stencilling away the original alpha
 

You have no rights to post comments

We have 2109 guests and 39 members online