No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Affine Transformation

3.4 | 13 ratings Rate this file 25 Downloads (last 30 days) File Size: 7.52 KB File ID: #3025 Version: 1.0

Affine Transformation



16 Feb 2003 (Updated )

This program facilitates the application of the affine transformation to a 2-D Image.

| Watch this File

File Information

AffineTransformation computes and applies the geometric affine transformation to a 2-D image.
The program main functions are:
 - Load Image: Load the image to be transformed.
 - Transform Image: Computes the transformation matrix from the transformation parameters specified by the user, then it applies the transformation to the loaded image.
 - Save Image: Save the transformed image.
 - Quit: Exit the program.
 The transformation parameters are specified by the user by editing the
 values of the rotation, scale (x and y), and shear (x and y). The
 translation is not icluded because it can be easily (normalized or) removed from the image by
 subtracting the shape cetroid.
 The affine matrix and the affinr transformation are computed using Matlab Image Processing Toolbox
 functions: maketform and imtransform. So this program is only demonstrates and facilitates the computation and the applying of these functions to a 2-D image.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (21)
08 Feb 2017 Saylee M.

Thanks a ton..!!

20 Jun 2016 Manu BN

Manu BN (view profile)

29 Apr 2016 klong Gan

Thank you!

Comment only
01 Apr 2013 ade rfc

25 Sep 2012 Tiago Emmanuel

The first argument (STRING) must be a one-dimensional array of char or cell arrays of

Error in ==> AffineTrnasformation>Save_image_Callback at 408
g=regexpi(valid_ex,p); % Match Exact extension, ignoring case.

Comment only
31 Dec 2011 Hajar Habib

Thank you

Comment only
21 Nov 2009 Raymond Cheng

Thanks for your sharing.

02 Dec 2008 Fatma Chaker

Merci bcp

Comment only
02 Mar 2007 Rajesh Govindan

Thanks !

20 Feb 2007 Karlheinz Hauser

30 Jan 2007 ahmed eloirrak


Comment only
26 Nov 2006 zhang zw

Thank you very much.

Comment only
11 Oct 2005 Rodri de Luis

Really useful if you need a fast transformation

23 Sep 2004 Naif Alajlan

It works very well.

04 Aug 2004 Eng. Mahmoud Al-Hader

09 Jul 2004 Lee Zing

Very Good

07 Jul 2004 ibrahim El Rube'

To everyone who want to use and rate this function:
Could you pleasse check the matlab version before downloading the files?, becuase it will not work on older versions. I find it unfair to rate a function while the error is from your side.

Comment only
07 Jul 2004 ted il

it is not working,
??? Undefined function or variable 'gui_mainfcn'.

Error in ==> G:\thesis\matlab\AffineTransformation.m
On line 38 ==> gui_mainfcn(gui_State, varargin{:});

21 Jun 2004 Ashim Dhakal

Well enough!

02 Apr 2004 Salem Alkaabi

It is not working, the error is Reference to non-existent field 'Showaxes'.

Comment only
27 Nov 2003 Yu Jie Chang

Contact us