Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

Laplacian filter and implementation in MATLAB

Simple derivation of second order differentiation: f'(x) = f(x+1) - f(x) f'(x+1) = f(x+2) - f(x+1) f"(x) = f'(x+1) - f'(x) = f(x+2) - f(x+1) - f(x+1) + f(x) = f(x+2) - 2*f(x+1) + f(x)


Here is the MATLAB code for  Laplacian filter and implementation 

%Code:

 

clc

clear all

close all

x=imread('peppers.png');

figure;

imshow(x);

title('Original Image');

g=[0 1 0;1 -4 1;0 1 0];

output=imfilter(x,g);

figure;imshow(output)

 

Now let's understand through the video lectures. 



Join us on Telegram: https://t.me/matlabcastor

No comments

Popular Posts

Followers