diff options
Diffstat (limited to 'macros/pyrMeanShiftFiltering.sci')
-rw-r--r-- | macros/pyrMeanShiftFiltering.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/pyrMeanShiftFiltering.sci b/macros/pyrMeanShiftFiltering.sci new file mode 100644 index 0000000..63b6d8e --- /dev/null +++ b/macros/pyrMeanShiftFiltering.sci @@ -0,0 +1,8 @@ +function [outputImg]=pyrMeanShiftFiltering(inputImage,sp,sr) + inputList=mattolist(inputImage); + outputList=opencv_pyrMeanShiftFiltering(inputList,sp,sr); + + for i=1:size(outputList) + outputImg(:,:,i)=outputList(i) + end +endfunction |