Interlace
Function
This function interlaces two images. You can control both field dominance,
and if the input images are themselves separate field images (ie, half
Y resolution), or if you are extracting their fields every other line.
Parameters
|
Type
|
Defaults
|
Function
|
clipMode |
int
|
1 |
Toggles between foreground (0) and background
resolution (1) |
field |
int
|
0 |
Tells which field the first image uses
0 = Even (Pal) field
1 = Odd (NTSC) field
|
mode |
int
|
0 |
Tells Shake if the input images the same height as the result image
0 = Replace. Takes every other field from input images, input images
have the same height as the result.
1 = Merge. Takes the entire input image, input images are half the
result image height.
|
Synopsis
image Interlace(
image Foreground,
image Background,
int clipMode,
int field,
int mode
);
Script
image = Interlace(
Foreground,
Background,
clipMode,
field,
mode
);
Command Line
shake -interlace image clipMode field mode
See Also
Field,
DeInterlace, Swapfields
|