Code covered by the BSD License  

Highlights from
Image 2D Transformations

3.25

3.2 | 4 ratings Rate this file 5 Downloads (last 30 days) File Size: 2.23 KB File ID: #13633

Image 2D Transformations

by Madhu S. Nair

 

11 Jan 2007

Image 2D Transformations Translation Rotation Scaling

| Watch this File

File Information
Description

Image 2D Transformations Translation Rotation Scaling

Required Products Image Processing Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
18 Feb 2007 rajarao chatla

Very Good

20 Apr 2007 Li Haichao  
19 Oct 2009 Jan Simon

No help, no H1-line, parameters are defined by INPUT, no checks of inputs, not vectorized, no pre-allocation of arrays (remarkably slow), inefficient (e.g. COS(Angle) is calculated for each single pixels in ROTATION), does not consider RGB images ([X x Y x 3] arrays ). ROTATION fails (indices out of range) but the algorithm is not a rotation at all.
This is neiter a good for publishing on FEX nor a good homework.

29 Jan 2012 Zheng

Good for general application.
Simon is right:bad for high-end application.
Recommend you preallocate space for output matrix.

Please login to add a comment or rating.

Contact us at files@mathworks.com