Code covered by the BSD License  

Highlights from
Drawing an ellipse into a matrix image

5.0

5.0 | 4 ratings Rate this file 54 Downloads (last 30 days) File Size: 1.61 KB File ID: #17499
image thumbnail

Drawing an ellipse into a matrix image

by

 

13 Nov 2007 (Updated )

Drawing an ellipse into a matrix image.

| Watch this File

File Information
Description

ellipseMatrix
=============
Function: ellipseMatrix
Version: 1.1
Author: Nicolae Cindea

Syntaxe
_______
ellipseMatrix(y0, x0, a, b, teta, Image, color)

Description
___________
Set the elements of the matrix Image which are in the interior of the
ellipse E with the value color. The ellipse E has center (y0, x0), the
major axe = a, the minor axe = b, and teta is the angle macked by the
major axe with the orizontal axe.

MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
27 Jun 2011 Athi  
20 Nov 2010 piao lin

very useful for me ´╝îThank you very much

14 Apr 2010 Gaurav Jain

Works well, Thank you for posting this.

18 Jul 2009 Tony

Very good ellipse function.

11 Dec 2007 Eric Dick

This is a great function for creating ellipses in an image matrix. Since circles are simplified ellipses it can be used to make those too. V1.1 puts a single pixel nerd on the NSEW ends for the circle (semimajor = semiminor) and for some ellipses.

Contact us