plugins
滤镜 Filter
滤镜:rotoscoping

滤镜:rotoscoping

插件信息

title: 逐帧描摹(Rotoscoping)
media types: Video
description: 可设关键帧的矢量逐帧描摹
version: 1
creator: Till Theato <root@ttill.de>
copyright: Copyright (C) 2011 Till Theato
license: GPL

缺陷

  • 在某些情况下,多边形最上面一行被指派给了外部区域

参数

mode

title: 模式
description: 如何可视化由样条(spline)所描述的区域
type: string
readonly: no
required: no
default: alpha
widget: dropdown
values:

  • alpha
  • luma
  • rgb

alpha_operation

title: Alpha 运算
description:

如何处置当前的 alpha 蒙版(仅当 mode = alpha 时)。
clear = 覆盖已有的 alpha 蒙版
max = 取最大值:已有 alpha 蒙版与本滤镜生成的蒙版
min = 取最小值:已有 alpha 蒙版与本滤镜生成的蒙版
add = 已有 alpha 蒙版 + 生成的蒙版
sub = 已有 alpha 蒙版 - 生成的蒙版

type: string
readonly: no
required: no
default: clear
widget: dropdown
values:

  • clear
  • max
  • min
  • add
  • sub

invert

title: 反转
description: 使用样条内部的区域 (0) 还是外部的区域 (1)
type: integer
readonly: no
required: no
minimum: 0
maximum: 1
default: 0
widget: checkbox

feather

title: 羽化
description: 羽化量(对蒙版施加的 "average" 模糊半径)
type: integer
readonly: no
required: no
minimum: 0
maximum: 1000
default: 0
widget: spinner

feather_passes

title: 羽化次数
description: 模糊(羽化)处理的次数
type: integer
readonly: no
required: no
minimum: 1
maximum: 1000
default: 1
widget: spinner

spline

title: 样条
description: 样条由一系列三次贝塞尔(Bézier)曲线组成,使用 JSON 描述。最基本的部分是坐标元组:[x, y];x、y 会从 0-1 范围映射到图像尺寸。下一层是贝塞尔控制点:[handle 1, point, handle 2],其中 handle 1、point、handle 2 均为坐标元组。样条就是贝塞尔控制点的列表。可选地,可以把关键帧定义为一个由帧值构成的对象(相对于滤镜的入点),并赋给相应的样条。
type: string
readonly: no
required: yes