This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gizmo { | |
name X_Denoise | |
help "Clean digital noise on video" | |
knobChanged "import math\nn = nuke.thisNode()\nk = nuke.thisKnob()\ni = n\['iterations'].value()\nm = n\['x2'].value()\n\n\nif k.name() == \"iterations\":\n n\['active_frames'].setValue(1+math.ceil(i)*2*(1+m))\nelif k.name() == \"x2\":\n n\['active_frames'].setValue(1+math.ceil(i)*2*(1+m))\nif n\['fix_artifacts'].value() == 0:\n n\['motion_threshold'].setEnabled(False)\n n\['smooth_threshold'].setEnabled(False)\n n\['preview_mask'].setEnabled(False)\n n\['median'].setEnabled(False)\nelse:\n n\['motion_threshold'].setEnabled(True)\n n\['smooth_threshold'].setEnabled(True)\n n\['preview_mask'].setEnabled(True)\n n\['median'].setEnabled(True)\n\nif n\['static'].value() == 1:\n n\['vectorDetail'].setEnabled(False)\n n\['smoothness'].setEnabled(False)\n n\['flickerCompensation'].setEnabled(False)\nelse:\n n\['vectorDetail'].setEnabled(True)\n n\['smoothness'].setEnabled(True)\n n\['flickerCompensation'].setEnabled(True)" | |
selected true | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xml.etree.ElementTree as ET | |
import threading, re, struct, time | |
#Create the svg to roto class | |
class SvgRoto(threading.Thread): | |
def __init__(self, file, maxShapes=300, renderHidden=False): | |
threading.Thread.__init__(self) | |
#the file name | |
self.file = file | |
#list of all of the shapes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#----------------------------------------------------------------------------------------- | |
# | |
# Spectral Matting | |
# | |
import time | |
import logging | |
import numpy as np | |
from scipy import ndimage, sparse | |
import scipy.sparse.linalg as sparse_linalg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**Happy Valentine's Day | |
*/ | |
*, *:before, *:after { | |
box-sizing: border-box | |
} | |
body{ | |
background-color:#E03840; | |
} |
NewerOlder