Search Tips

Search is based on keyword.

`Ex: "Procedures"`

Do not search with natural language

`Ex: "How do I write a new procedure?"`

Give Feedback Support Portal

# O_VerticalAligner Example

In this example, we correct the vertical alignment of a stereo image using the Global Alignment mode. The image used here can be downloaded from our website. For more information, please see Example Images.

## Step by Step

| 1. | Launch Nuke. Open the project settings (press S on the Node Graph), select the Views tab, and click the Set up views for stereo button.

| 2. | Import the steep_hill.exr image and connect it to a Viewer. The image includes both the left and the right view.

| 3. | Select Ocula > Ocula 4.0 > O_Solver to insert an O_Solver node after the stereo clip. See Solver for more information.

| 4. | Click Key Frame to set at least one keyframe.

| 5. | Insert an O_VerticalAligner (Ocula > Ocula 4.0 > O_VerticalAligner), followed by an Anaglyph node (Views > Stereo > Anaglyph) after O_Solver.

Note: The Anaglyph node is for illustrative purposes in this example. You could just as easily use the DisparityReviewGizmo to view the alignment.

| 6. | By default, O_VerticalAligner is in Global alignment mode with the Local alignment checkbox disabled. In this mode, O_VerticalAligner applies a global image transform to align the feature matches generated by the upstream O_Solver node. In Global alignment mode, O_VerticalAligner does not need disparity vectors upstream.

| 7. | To see the effect more accurately, select the O_VerticalAligner node and press D repeatedly to disable and enable the node. With the node disabled, the views remain vertically misaligned. However, when you enable the O_VerticalAligner node, the views align nicely.

The zoomed in image with the O_VerticalAligner node disabled. | The zoomed in image with O_VerticalAligner enabled.