Coloring only parts of areas present in a Mask clip is some times needed, as the mask might not have seperated the objects or coloring requirements are such. For this a separate clip on which demarcating lines (straight lines or curves) are drawn (using DrawLines Function) is used as a limiting condition. The lines must not have multiple values in the specified direction. The coloring process can additionally be limited to a rectangular window.
The clip will be colored using the mask clip only in areas within window and depending upon the inlay style selected further limited to:
"left": window left edge to the first line recognized immediately to right
"right": window right edge to the first line to its left
"hint": the interval between first line to right of window left edge and the next line.
"above": window top edge to the first line immediately below it.
"below": window bottom edge to the first line immediately above it
"vint": first line immediately below window top edge to the next line below it.
"mask": Full window only controlled by mask. The lined clip is not refered though an input lined clip must exist
"nomask": Full window without referring to mask. The mask and lined clips are not refered but must be specified. Window can be ellipse only for mask and nomask options
Description | Name | Type | Limits | Default |
Input clip to be colored | clip | none | ||
Mask clip | clip | none | ||
Clip with lines | clip | none | ||
Starting frame number to process | sf | integer | within clip | 0 |
End frame number to process | ef | integer | within clip and not less than sf | last frame |
Inlay style | style | string | "lef" "right" "vint" "above" "below" "hint" "mask" "nomask" | "hint" |
fill color | color | integer | RRGGBB format or XXYYUUVV format | $7f7f00 |
grey value of lines on line clip | lval | integer | 0 to 255 | 128 |
mask white marks to be used? | mwhite | boolean | true for white, false for black | true |
Process window left (or center for ellipse) x at start frame | x | integer | within frame | 0 |
Process window top (or center for ellipse) y at start frame | y | integer | within clip | 0 |
Process window width (or semi axis along x for ellipse)at start frame | w | integer | within clip | frame width |
Process window height (or semi axis along y for ellipse)at start frame | h | integer | within frame | frame height |
shift or stretch grey value? | shift | boolean | true for shift or false for stretch | false |
value of shift or stretch | st | integer | -255 to 255 for shift, -100 to reasonable for stretch | 0 |
Process window left (or center for ellipse) x at end frame | ex | integer | within frame | x |
Process window top (or center for ellipse) y at end frame | ey | integer | within clip | y |
Process window width (or semi axis along x for ellipse)at end frame | ew | integer | within clip | w |
Process window height (or semi axis along y for ellipse)at end frame | eh | integer | within frame | h |
To Colorit Synopsis | |||
To my index page | |||
down load plugin | |||
To Avisynth |