A handy tool extracts a rectangle region in the scene (a quadrilateral in the image) and correct perspective projection distortion back to a rectangle. Users can assign the specific size of the output image (i.g., usual paper sizes like A4 or manually assign width and height)
- Four-point perspective transformation
- Change image size (aspect ratio)
- Upsampling or downsampling image
- Manual select white region to correct White Balance of the image (optional)
- Support four image types for output (BMP, PNG, TIF, JPG)
- Automatic maximize image figure to fit the screen size and prevent overlapping with original UI windows.
- Auto selects output image aspect ratio by the outcome eigenvalues after orthogonalization.
- Scan a paper by photography
- Actions demands to four-point perspective transformation on the image
- Quick crop specific region in the image and perform white balance correction
Just Execute ExtractRectangle.m
Linux UI only test on ubuntu 20.04 gnome desktop (default desktop)