Third Party Fuses/CornerPin Description

From VFXPedia

Jump to: navigation, search
CornerPin Description

[ Main Manual Page ]


BetterCornerPin_v1_6 Download

A corner pin with up to four source and destination corners. It is a replacement for Fusion's perspective positioner/corner positioner workflow or Krokodove's Positioner. Since version 1.0 this Fuse requires Fusion 6.31 or later for proper DoD and RoI handling. You can download version 0.95, which doesn't fully support DoD (pixels outside the frame format will be clipped) but works with earlier versions (at least 6.2 build 897).

Image:Tilepic_CornerPin.png



Main Inputs

The following inputs appear on the tool's tile in the Flow Editor:

Background Image:Node_Input_Gold.gif
Source image. Required.
Foreground Image:Node_Input_Green.gif
This image (which may have a different frame size) is distorted instead of the background. The output size is given by the background input. Optional.
Effect Mask Image:Node_Input_Lavender.gif‎
Defines the areas where the effect is applied. Optional.





Controls Tab



Source-Destination

Switches GUI between source and destination coordinates (doesn't affect rendered output).

Destination Points

The position of the corner pin's corners (top left, top right, bottom left, bottom right). Note: the screenshot shows an old version where the corners were arranged in a clockwise order.

Source Points

The position of the corner pin's source corners (top left, top right, bottom left, bottom right). They default to the image corners and work like in Fusion's Perspective Positioner.

Enabled

Each pair of coordinates can be enabled separately. If all four are enabled, the tool behaves like a regular corner pin. If any three are enabled, the tool will perform translation/rotation/shearing only. Two selected points will only allow for translation, rotation and scaling (pinch & zoom movements like on a tablet). A single point will just result in translation.

Reset Source (or Destination)

This will reset the source or destination corners at the current frame to their default location, which is the image corners.

Copy Src to Dest

Clicking this button will copy the current frame's source position values to their destination counterparts.

Copy Dest to Src

Clicking this button will copy the current frame's destination values to their source counterparts. This allows you to define a reference-frame for a corner pin, where no transformation takes place.

Fine-Tuning Offsets

These values are added to the destination corners and allow you to fine-tune the corner pin. In a stereoscopic project, you might want to re-use the same track for the left and the right eye. Using these offsets (which can also be animated) you can shift the matchmoved corner pin from one eye until it fits the other eye.

Reset Offsets

Resets all offsets to zero (on the current frame only, should they be animated).

Invert Transform

Checkbox control. Inverts the effect of the corner pin.

Use OpenCL

Checkbox control. Uses your GPU to transform the image, which results in real-time performance compared to the CPU algorithm.

Use Sub-Sampling

Checkbox control. Samples five pixels for each location instead of just one. This results in an anti-aliased result but slows down the calculation. Note: the OpenCL version will always use sub-sampling and its output is identical to the CPU algorithm (except for sub-pixel values on the edge of the image). Here's a comparison between 1x and 5x sampling:



File:cornerpin_filtering.png

Since version 1.6, this Fuse uses a rotated cross sampling pattern which improves quality a lot. Here's a comparison:

File:cornerpin_sampling.gif

Download BetterCornerPin_v1_6

Development History and Discussion on PigsFly



--Tilt