please help me to write this equations in matlab

how to write these three equations in matlab here L1 is the 3 by 3 matrix. Kindly help me to write these equations.

1 commentaire

Jan
Jan le 18 Août 2012
Modifié(e) : Jan le 18 Août 2012
Are you sure that you have the permissions to post the text in a public forum?
What have you tried so far and which problems occurred?

Connectez-vous pour commenter.

 Réponse acceptée

Image Analyst
Image Analyst le 18 Août 2012
The Laplacian for discrete images is this:
kernel8 = [-1 -1 -1; -1 8 -1; -1 -1 -1];
filteredImage = conv2(imageArray, kernel8, 'same');
Use a different kernel if you want it in just the 4 directions:
kernel4 = [0 -1 0; -1 4 -1; 0 -1 0];

1 commentaire

Peer Mohamed
Peer Mohamed le 23 Août 2012
Thank you very much this code is very much useful for me

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by