O_InteraxialShifter
The O_InteraxialShifter plug-in lets you reduce the interaxial distance of stereo images; that is, the distance between the two cameras. Using this plug-in, you can generate two new views at specified positions between the original images.
Inputs and Controls
Connection Type |
Connection Name |
Function |
Input |
Fg |
An optional mask that delineates foreground regions from background. The mask ensures that disparities are constrained to remain within each delineated region. Note that masks should exist in both views, and O_InteraxialShifter expects alpha values of either 0 (for background) or 1 (for foreground). |
Source |
A stereo pair of images. Note: If disparity channels aren’t embedded in the images, you should add an O_Solver and an O_DisparityGenerator node after the image sequence. |
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
O_InteraxialShifter Tab |
|||
Views to Use |
viewPair |
Dependent on Source |
Sets the two views you want to use to create the new views. These views will be mapped for the left and right eye. |
Interpolate Left Position |
leftInterpolatePosition |
0.25 |
Sets a position between the views where you want to generate the left view. The position is expressed as a fraction of the distance between the views. |
Interpolate Right Position |
rightInterpolatePosition |
0.75 |
Sets a position between the views where you want to generate the right view. The position is expressed as a fraction of the distance between the views. |
Filtering |
filtering |
Normal |
Sets the quality of filtering: • Extreme - uses a sinc interpolation filter to give a sharper picture but takes a lot longer to render. • Normal - uses bilinear interpolation which gives good results and is a lot quicker than extreme. |
Warp Mode |
warpMode |
Normal |
Sets the method to use to create the new views: • Simple - this is the quickest option, but may produce less than optimal results around image edges and objects that are visible in one view but not the other. • Normal - this is the standard option, with more optimal treatment of image edges and occlusions. • Occlusions - this is an advanced option that may improve the results. • Sharp Occlusions - this option is similar to Occlusions, but produces fewer artifacts where the disparity fields are generated from 3D CG sources. |
Foreground Component |
mask |
None |
Sets the channel to use as to delineate foreground regions from background. The mask ensures that disparities are constrained to remain within each delineated region. • None - use the entire image area. • Source Alpha - use the alpha channel of the Source clip. • Source Inverted Alpha - use the inverted alpha channel of the Source clip. • Mask Luminance - use the luminance of the Fg input. • Mask Inverted Luminance - use the inverted luminance of the Fg input. • Mask Alpha - use the alpha channel of the Fg input. |