enum ¶
RemoveGrainModeT module-attribute
¶
RemoveGrainModeT = int | RemoveGrainMode | Sequence[int | RemoveGrainMode]
VerticalCleanerModeT module-attribute
¶
VerticalCleanerModeT = (
int | VerticalCleanerMode | Sequence[int | VerticalCleanerMode]
)
BlurMatrix ¶
Bases: CustomIntEnum
GAUSS ¶
__call__ ¶
__call__(
taps: int | None = None,
*,
sigma: float = 0.5,
mode: ConvMode = HV,
**kwargs: Any
) -> BlurMatrixBase[float]
Source code
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 |
|
from_radius ¶
from_radius(radius: int) -> BlurMatrixBase[float]
Source code
359 360 |
|
__call__ ¶
__call__(taps: int = 1, *, mode: ConvMode = SQUARE) -> BlurMatrixBase[int]
__call__(taps: int = 1, *, mode: ConvMode = SQUARE) -> BlurMatrixBase[int]
Source code
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 |
|
BlurMatrixBase ¶
Bases: list[Nb]
Source code
144 145 146 147 148 |
|
__call__ ¶
__call__(
clip: VideoNode,
planes: PlanesT = None,
bias: float | None = None,
divisor: float | None = None,
saturate: bool = True,
passes: int = 1,
expr_kwargs: KwargsT | None = None,
**conv_kwargs: Any
) -> VideoNode
Performs a spatial or temporal convolution. It will either calls std.Convolution, std.AverageFrames or ExprOp.convolution based on the ConvMode mode picked.
Parameters:
-
clip
¶VideoNode
) –Clip to process.
-
planes
¶PlanesT
, default:None
) –Specifies which planes will be processed.
-
bias
¶float | None
, default:None
) –Value to add to the final result of the convolution (before clamping the result to the format's range of valid values).
-
divisor
¶float | None
, default:None
) –Divide the output of the convolution by this value (before adding bias). The default is the sum of the elements of the matrix
-
saturate
¶bool
, default:True
) –If True, negative values become 0. If False, absolute values are returned.
-
passes
¶int
, default:1
) –Number of iterations.
-
expr_kwargs
¶KwargsT | None
, default:None
) –A KwargsT of keyword arguments for ExprOp.convolution.call when it is picked.
-
**conv_kwargs
¶Any
, default:{}
) –Additional keyword arguments for std.Convolution, std.AverageFrames or ExprOp.convolution.
Returns:
-
VideoNode
–Processed clip.
Source code
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
|
LimitFilterMode ¶
Bases: LimitFilterModeMeta
, CustomIntEnum
Two sources, one filtered
__call__ ¶
__call__(force_expr: bool = True) -> LimitFilterMode
Source code
45 46 47 48 |
|
RemoveGrainMode ¶
Bases: CustomIntEnum
__call__ ¶
__call__(clip: VideoNode, planes: PlanesT = None) -> VideoNode
Source code
81 82 83 84 |
|
RepairMode ¶
Bases: CustomIntEnum
__call__ ¶
__call__(
clip: VideoNode, repairclip: VideoNode, planes: PlanesT = None
) -> VideoNode
Source code
120 121 122 123 |
|
VerticalCleanerMode ¶
Bases: CustomIntEnum
__call__ ¶
__call__(clip: VideoNode, planes: PlanesT = None) -> VideoNode
Source code
134 135 136 137 |
|