title: DilateCImg
media types:
Video experimental
description: Dilate (or erode) input stream by a rectangular structuring element of specified size and Neumann boundary conditions (pixels out of the image get the value of the nearest pixel).
A negative size will perform an erosion instead of a dilation.
Different sizes can be given for the x and y axis.
Uses the 'dilate' and 'erode' functions from the CImg library.
CImg is a free, open-source library distributed under the CeCILL-C (close to the GNU LGPL) or CeCILL (compatible with the GNU GPL) licenses. It can be used in commercial applications (see http://cimg.eu).
version: 2
creator: mr.fantastic mrfantastic@firemail.cc
license: GPLv2
URL: https://openeffects.org/
title: R
description:
Process red component.
type: boolean
readonly: no
required: no
animation: yes
default: 1
title: G
description:
Process green component.
type: boolean
readonly: no
required: no
animation: yes
default: 1
title: B
description:
Process blue component.
type: boolean
readonly: no
required: no
animation: yes
default: 1
title: A
description:
Process alpha component.
type: boolean
readonly: no
required: no
animation: yes
default: 1
title: Size
description:
Width/height of the rectangular structuring element is 2*size+1, in pixel units (>=0).
type: rect
readonly: no
required: no
animation: yes
minimum: -100
maximum: 100
default: 1 1
title: Expand RoD
description:
Expand the source region of definition by 2*size pixels if size is positive
type: boolean
readonly: no
required: no
animation: yes
default: 1
title: (Un)premult
description:
Divide the image by the alpha channel before processing, and re-multiply it afterwards. Use if the input images are premultiplied.
type: boolean
readonly: no
required: no
animation: yes
title: Invert Mask
description:
When checked, the effect is fully applied where the mask is 0.
type: boolean
readonly: no
required: no
animation: yes
title: Mix
description:
Mix factor between the original and the transformed image.
type: float
readonly: no
required: no
animation: yes
minimum: 0
maximum: 1
default: 1
title: Top-Left Origin
description:
Set to 1 to use MLT top-left image origin instead of the OFX bottom-left origin. Use for plugins that crash or produce incorrect output with negative row bytes.
type: boolean
readonly: no
required: no
minimum: 0
maximum: 1
default: 0
widget: checkbox
Subscribe to News via RSS.