File Exchange

image thumbnail

Get image fragment

version 1.0.0.0 (28.8 KB) by Pawel Slowak
This function allows to extract a precisely defined rectangular region of an image.

1 Download

Updated 25 May 2017

View License

Function getImageFragment allows to extrac an image fragment that is defined by the elements of a transformation matrix - rotation and translation. By specifying the 2D rotation and 2D translation, as well as the size of the desired fragment, we can extract a rectangular piece of a source image. I am using it to simulate a camera moving over a google maps' image.

Cite As

Pawel Slowak (2021). Get image fragment (https://www.mathworks.com/matlabcentral/fileexchange/63127-get-image-fragment), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!