Creates a depth-of-field mask, which describes how out of focus parts of the image are.
This operation creates a depth-of-field mask, which describes how out of focus parts of the image are. Combined with a Blur or Defocus COP, with the mask set to M and “Per-Pixel Blur/Defocus” on, a depth-of-field effect can be done. This mask can also used as an input to color correction operations to accentuate an area of interest.
A point or depth plane (P or Pz) must be present in order for this operation to produce valid results.
Overloading VEX Parameters
The distance where everything is entirely in focus.
Increase or decrease the size of the area that will be out of focus. Corresponds to the “depth of focus” on a real camera lens.
Adds a constant value to the distance (which is not the same as adjusting the focus distance, which adjusts the dropoff as well).
|Default Mask Value|
The mask value to use when a depth-of-field value cannot be computed (if the depth is zero).
Start of sequence
End of sequence
Input sequence length
Sequence frame rate
Number of planes in sequence
Width and height of image
Image index (0 at start frame)
Image time (0 at start frame)
Current plane array index
Current plane index
Num of channels in current plane
Composite Project X resolution
Composite Project Y resolution
Composite Project pixel aspect ratio
Composite Project raster depth
Composite Project black point
Composite Project white point