Comments (4)
Hi @JustinTArthur, neither my fork has other than windows build, maybe it's simpler to build but i've never released Linux/Mac build.
Anyway, i've compiled the new build, hope you'll find it useful :)
from vs-continuityfixer.
Hi tvasenin, i don't understand why you want this version updated when sekrit-twc/EdgeFixer exists.
If you need a version that can fix all planes in a single call you can use this code
def ContinuityFixer(src, left=[0,0,0], top=[0,0,0], right=[0,0,0], bottom=[0,0,0], radius=[0,0,0]):
core = vs.core
Y = core.std.ShufflePlanes(src, [0], vs.GRAY)
U = core.std.ShufflePlanes(src, [1], vs.GRAY)
V = core.std.ShufflePlanes(src, [2], vs.GRAY)
if (left[0] + top[0] + right[0] + bottom[0] > 0):
Yfix = core.edgefixer.Continuity(Y, left[0], top[0], right[0], bottom[0], radius[0])
if (left[1] + top[1] + right[1] + bottom[1] > 0):
Ufix = core.edgefixer.Continuity(U, left[1], top[1], right[1], bottom[1], radius[1])
if (left[2] + top[2] + right[2] + bottom[2] > 0):
Vfix = core.edgefixer.Continuity(V, left[2], top[2], right[2], bottom[2], radius[2])
YUV = core.std.ShufflePlanes([Yfix, Ufix, Vfix], [0,0,0], vs.YUV)
return YUV
def ReferenceFixer(src, ref=None, left=[0,0,0], top=[0,0,0], right=[0,0,0], bottom=[0,0,0], radius=[0,0,0]):
core = vs.core
if ref is None:
refc = core.std.BoxBlur(src, hradius=2, hpasses=2, vradius=2, vpasses=2)
else:
refc = ref
Y = core.std.ShufflePlanes(src, [0], vs.GRAY)
U = core.std.ShufflePlanes(src, [1], vs.GRAY)
V = core.std.ShufflePlanes(src, [2], vs.GRAY)
Yref = core.std.ShufflePlanes(refc, [0], vs.GRAY)
Uref = core.std.ShufflePlanes(refc, [1], vs.GRAY)
Vref = core.std.ShufflePlanes(refc, [2], vs.GRAY)
if (left[0] + top[0] + right[0] + bottom[0] > 0):
Yfix = core.edgefixer.Reference(Y, Yref, left[0], top[0], right[0], bottom[0], radius[0])
if (left[1] + top[1] + right[1] + bottom[1] > 0):
Ufix = core.edgefixer.Reference(U, Uref, left[1], top[1], right[1], bottom[1], radius[1])
if (left[2] + top[2] + right[2] + bottom[2] > 0):
Vfix = core.edgefixer.Reference(V, Vref, left[2], top[2], right[2], bottom[2], radius[2])
YUV = core.std.ShufflePlanes([Yfix, Ufix, Vfix], [0,0,0], vs.YUV)
return YUV
from vs-continuityfixer.
I'll give vsfieldkit an edgefixer.* option, though @MonoS your fork is still more widely used as @sekrit-twc's only has a Microsoft Windows build.
from vs-continuityfixer.
neither my fork has other than windows build
Maybe not, but your README instructions are cross-platform as long as you replace ".dll" with ".so" or ".dylib" accordingly. Building the @sekrit-twc branch isn't bad on the other platforms either, but is completely manual and without instruction at the moment.
Anyway, i've compiled the new build, hope you'll find it useful :)
That's great. Thank you! The new syntax had already been featured in the popular mdbook. I suspect many were building from HEAD.
from vs-continuityfixer.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vs-continuityfixer.