diff options
Diffstat (limited to 'macros/blur.sci')
-rw-r--r-- | macros/blur.sci | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/blur.sci b/macros/blur.sci new file mode 100644 index 0000000..4b3bcd0 --- /dev/null +++ b/macros/blur.sci @@ -0,0 +1,9 @@ +function [out]=blur(input_image ,ksize_width,ksize_height,anchorX,anchorY) + input_image1=mattolist(input_image); + a=opencv_blur(input_image1, ksize_width,ksize_height,anchorX,anchorY); + dimension=size(a) + for i = 1:dimension + out(:,:,i)=a(i); + end + +endfunction; |