Clear Filters
Clear Filters

how to use LEE filter in image ?, give example matlab code.....

4 views (last 30 days)
lee filter, laplacian filter, butterworth filter, range filter............

Answers (1)

Walter Roberson
Walter Roberson on 4 Apr 2016
  1 Comment
Nivetha m
Nivetha m on 5 Apr 2016
I GET THIS KIND OF ERROR IN BELOW CODE.PLEASE HELP TO SOLVE THIS CODE.(??? Undefined function or method 'computelee' for input arguments of type 'double'.
Error in ==> Lee_filter_C at 29 Y(i,j) = computelee(Rvar,K(Indx),K(:)');
Error in ==> lee at 12 K = Lee_filter_C(I,J,[5 5]);)
clc clear all close all %Read an Image I = imread('C:\Users\shankar\Documents\MATLAB\filtering\box.jpg'); I=rgb2gray(I); figure(1),imshow(I); %Add multiplicative noise to the image J = imnoise(I,'speckle',0.01); figure(2),imshow(J); %Apply Lee filter K = Lee_filter_C(I,J,[5 5]); figure(3),imshow(uint8(K));

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!