Giter Club home page Giter Club logo

trapezoidalcorrection_ui's Introduction

Correct Trapezoidal Distorsion

This is the UI wrapper for the trapezoidal correction algorithm in the project Trapezoidal Distorsion.


Introduction

Trapezoidal distorsion (also known as keystone effect) is the effect that photos of rectangles look like trapezes . The following two figures show an example:

original chessboard distorted chessboard

This program corrects the trapezoidal distorsion given the boundary of the trapeze and the original size (width and height in pixels) of the rectangle.

Sample Output

Photo before correction:

Before correction

Photo after correction (cropped to the region of interest):

After correction

How To Use

  1. Load image

Click the Load image button to load image into the program window.

Load image

  1. Place points

Place 4 points in the image by click in it. The first point is the bottom-left vertex, the second point is the bottom-right vertex, the third point is the top-right vertex, the fourth point is the top-left vertex.

Place points

  1. Adjust bounding box

Drag to move the four points that was placed in the previous step to have the bounding box fit the region of interest

Adjust box

  1. Type in width and height

Type in the width and height in pixels of the desired image.

Type in

  1. Correct distorsion

Click the button Correct distorsion, the image after correction will be displayed.

After correction

  1. Save the image

Click the Save image button to save the corrected image.

trapezoidalcorrection_ui's People

Contributors

joejeye avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.