Giter Club home page Giter Club logo

removeregionlogo's Introduction

RemoveRegionLogo

主要用于掩盖不透明的logo。 原理是取logo区域矩形边界的图像向logo区域中心进行延伸填充,以掩盖logo区域

用途同Virtualdub的RegionRemove.vdf, 与它的区别是:① 使用原生avisynth脚本实现。支持YV12色彩空间。 ② 功能可能稍欠缺一点,但能满足一般需求。

参数说明

x, y, width, height 是logo区域的坐标。 可借助aviutl的logoscan插件确定坐标。

start,end是logo出现的帧区间。 默认start=0,end=0,表示取全部帧。

fade, fade_in, fade_out 用于产生渐入渐出的效果。 以添加的渐变帧数计数,请确保logo出现的之前和之后有足够的帧进行渐变。 默认fade_in=fade=0,fade_out=fade=0

ignore_top, ignore_bottom, ignore_left, ignore_right 取样本时忽略顶边/底边/左边/右边。

soft_edges 是否软化边缘。 若要启用该项,logo区域的坐标应向外扩大约8像素以保证logo被安全覆盖。


author:mikey [email protected] 所在团队:有村花纯字幕组

用例展示

sample1

RemoveRegionLogo(466,46,500,134, soft_edges=true)

sample2

RemoveRegionLogo(274,52,526,62)
RemoveRegionLogo(800,52,372,62)
RemoveRegionLogo(464,114,512,60)

sample3

RemoveRegionLogo(202,490,264,98,ignore_bottom=true, soft_edges=true)

removeregionlogo's People

Contributors

qiangbro avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

10362227

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.