how to encode a low pass filter to an image
Mostra commenti meno recenti
Hi, I'm quite new to Matlab. im trying to write an encoded code to filter an image. i'm using the following filter code. filter = 1/9 * [1 1 1; 1 1 1; 1 1 1];
i get the message "matrix dimensions must agree", how would you go about filtering a whole image? do i have to loop it somehow? thanks
3 Commenti
KSSV
il 17 Ott 2017
Show us the full code...
hasan alhussaini
il 17 Ott 2017
Modificato: KSSV
il 17 Ott 2017
Christoph F.
il 17 Ott 2017
Modificato: Christoph F.
il 17 Ott 2017
Use the filter2() or the conv2() command to apply the filter.
The mathematical operation that applies a filter is convolution, not matrix/vector multiplication.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Filtering in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!