Draw a filled circle in the image.
function call:
[out_img1]=vsg('FillCircle',in_img1,p1,rad,col);
Arguments:
in_img1 input image, can be 3
channel
p1 – centre of the circle to
be drawn. Should be specified as a 2 vector e.g. [100;100].
rad – radius of the circle to
be drawn. Can be specified as an integer or a double.
col - the colour of the
circle to be drawn. This should be specified as a 3-vector e.g.
[50;100;200].
Description:
[out_img1]=vsg('FillCircle',in_img1,p1,rad,col)– out_img1 is an
image of the same dimensions and number of colour planes as the input
image, with a filled circle drawn at the specified location, with the
specified radius and colour.
Example:
img1 = openimage('lake.jpg');
[out_img1]=vsg('FillCircle',img1,[50,50],30,[255,0,0]);