diff options
Diffstat (limited to 'macros/circle.sci')
-rw-r--r-- | macros/circle.sci | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/circle.sci b/macros/circle.sci new file mode 100644 index 0000000..37b8dfe --- /dev/null +++ b/macros/circle.sci @@ -0,0 +1,9 @@ +function [out]=circle(input_image , x_coordinate_of_centre , y_coordinate_centre , radius, r_value,g_value,b_value,thickness,linetype,shift) + input_image1=mattolist(input_image); + a=opencv_circle(input_image1 , x_coordinate_of_centre , y_coordinate_centre , radius, r_value,g_value,b_value,thickness,linetype,shift); + dimension=size(a) + for i = 1:dimension + out(:,:,i)=a(i); + end + +endfunction; |