Function to draw a tilted rectangle
by Sudarshan
14 May 2012
Specify width, height and angle of orientation of the rectangle, that is drawn on an image
|
Watch this File
|
| File Information |
| Description |
% To draw a rectangle at a given pixel location (center) with any width and
% height rotated at an angle
% Input:
% img - image (gray scale or color)
% center - the pixel location of the center of rectangle 2x1 vector
% width - width of rectangle in pixels
% height - height of rectangle in pixels
% angle - rotation angle of rectangle in degrees
% output:
% hdl = handle to figure |
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 7.14 (R2012a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us