[Introduction] [Installation] [Tutorial] [Download]

RectifyIt

Tutorial


 

Use the "Open..." button to load an image. Alternatively you can start the application with the image file as an argument:
java RectifyIt image.gif
The program can load most standard image file formats (those supported by Java). 

After you have loaded the image, start marking the points:

  1. mark the lower left corner of the rectangular structure
  2. mark the lower right corner
  3. mark the upper right corner
  4. mark the upper left corner.
To mark a point move the cursor over the point and click the left mouse button once. You have now selected the source point. The target point is automatically set to the image corner. If you click, keep the button pressed and drag the cursor, you can also place the target point at an arbitrary location within the image. Clicking the right mouse button will undo the last measurement. Once you have selected four points the program starts computing the perspective transform. when the calculation is finished, the image is automatically warped.

Use the "Show src position" and "Show dst position" option to hide / display the selected points. Use the "Show warped image" option to flip between the warped and non warped image.

You can choose between several interpolation methods. "Nearest Neighbor" is the quickest. "Bilinear" gives better results, but takes more time.
 

created by Jan Böhm