how to perform Image blurring using fspecial function?
1 次查看(过去 30 天)
显示 更早的评论
I have been doing the following to blur an image using fspecial function:-
img = imread('cell.jpg'); h = fspecial('gaussian',size(img), 1.0); g = imfilter(img, h);
but the following error is being encountered:-
??? Error using ==> fspecial>ParseInputs at 356 FSPECIAL: size(N) should be less than or equal 2.
Error in ==> fspecial at 97 [type, p2, p3] = ParseInputs(varargin{:});
Plz guide me how to define the hsize for the filter in order to work upon an image of 600 X 505..... Thank you.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!