Giter Site home page Giter Site logo

bore's Introduction

FixBrightness

This is a bbmod-style border deringer, which works by multiplying every pixel by the average of dividing each pixel in a line by its nearest pixel in the next line. Unlike bbmod, this doesn't attempt to localize the result and just assumes the same adjustment to be made for the entire row. It's effectively an automated FixBrightness/rektlvls, hence the name.

Usage

core.bore.FixBrightness(clip clip, int top=0, int bottom=0, int left=0, int right=0, float lower=0.0, float upper=1.0, float thrlo=0.1, float thrhi=8.0, int step=1, int plane=0)
  • clip: 32-bit float clip.
  • top = 0, bottom = 0, left = 0, right = 0: number of lines from each border to adjust.
  • lower = 0: Lower limit of range, this allows excluding pixels.
  • upper = 1: Upper limit of range, this allows excluding pixels.
  • thrlo = 0.1: Lower limit of adjustment. Any quotient below this will be ignored.
  • thrhi = 8.0: Upper limit of adjustment. Any quotient above this will be ignored.
  • step = 1: Speed up processing ever so slightly by lowering the number of pixels used to find the adjustment. Might be an unnecessary parameter.
  • plane = 0: Plane to process.

Compilation

meson build
ninja -C build 

In Windows you can configure MinGW and run the meson build, but the easiest way is to download LLVM (*-win64.exe file) and install with the path option ticked, then run:

clang -O2 -march=native -shared -o bore.dll -I"C:\Program Files\VapourSynth\sdk\include" src\bore.c

bore's People

Contributors

noizuy avatar dnjulek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.