BlinkScript Median v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Egbert Reichel
This is a BlinkScript version of nuke's 'Median' filter. It does have a size slider that defines the filter region, but besides that it is exactly the same as the BlinkScript example. :)
Requirements:
10.0 or later
Linux, Mac
25 Jan 2018
961
Please login in order to download these files.

Comments   

 
0 # Chris Forrester 2017-01-13 21:05
Thank you!! I have been meaning to look into how to make the included version of Median in the Blink examples into exactly what you have done
1. To learn a little how Blink works &
2. Because the Foundry's node is so damned slow, why they never GPUI accelerated it I do not know.

Again thanks for sharing.
-C
 
 
0 # Yakovlev Vladimir 2017-01-28 22:06
Hi! Not work, WIndows, 10.0v3
Message from ErrorConsole: "ERROR: Group1.BlinkScr ipt1: Error compiling kernel for GPU"
 
 
0 # Evan Ghigliotty 2017-06-07 18:07
Same for me.
 
 
0 # Evan Ghigliotty 2017-06-07 18:09
If I try recompile the Blink node inside the group I get this error:

"error 1: variable length arrays are not supported in OpenCL
float __vals_0[_filte rSize];"
 
 
0 # Egbert Reichel 2018-01-25 22:33
Hi Guys,

Thanks for your comments.
I just visited nukepedia yesterday since quite a while.
I'm happy it worked for you Chris and sorry for the hassle for anyone else.
After reading this I checked the gizmo and had the same issue like you Evan.
Its just strange it worked before.
The filtersize needs to be an Array of a static size not dynamic as the error message suggests.

I fixed that with v1.1. this should work now.

But to be honest, in comparison with nukes median this one is much slower, almost feels like nukes internal median uses a much faster approach then the Blink Example I'm using.
Not sure if this is just slow on Mac OSX Sierra or BlinkScript has some issues in the latest developments or it is my graphic driver ....
On nuke 10.5 and 11.02 and 11.1.1 it was rather sensitive for crashes. When I uncheck "Use GPU if available" nuke crashes if the size slider is not set to 0.

For right now I would not recommend anyone using this median instead of nukes own.
Will further investigate and try to learn more about Blinkscript in the meantime.
 
 
0 # Peter Jansen 2018-02-11 21:58
Or use this:

http://www.nukepedia.com/plugins/filter/fast-median

I've found it to be much faster than Nuke's native one.
 
 
0 # Egbert Reichel 2018-02-11 22:18
Hi Peter,
do you refer to the Blinkscript Median by saying You found it much faster then the native one?
That would be great, then maybe its just mu screwed Display driver or something?

Will have to check it on different machines.
Thanks for your comment
 

You have no rights to post comments

We have 5324 guests and 139 members online