summaryrefslogtreecommitdiff
path: root/macros/rectangle.sci
blob: b8c68578b782de7cdbeac396fc512e7285f605c4 (plain)
1
2
3
4
5
6
7
8
9
function [out]=rectangle(input_image , x_coordinate_of_point1 , y_coordinate_point1, x_coordinate_of_point2 , y_coordinate_point2 , r_value,g_value,b_value,thickness,linetype,shift)
          input_image1=mattolist(input_image);
         a=opencv_rectangle(input_image , x_coordinate_of_point1 , y_coordinate_point1, x_coordinate_of_point2 , y_coordinate_point2 , r_value,g_value,b_value,thickness,linetype,shift);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
        end
     
endfunction;