What does this Digital filter actually do? and what is it called?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Pappu Murthy
el 19 de Mayo de 2022
Comentada: Star Strider
el 21 de Mayo de 2022
I am using a filter defined by Matrix [1 1 1 1 1;1 2 2 2 1; 1 2 4 2 1; 1 2 2 2 1; 1 1 1 1 1]; on a 2 D image with filter2. I would like to know what is the name of the filter if it has one and what exactly it does to the image?
0 comentarios
Respuesta aceptada
Star Strider
el 19 de Mayo de 2022
It is a 2D FIR filter: I am not certain it has any other name.
To see what it does, plot its results —
H = [1 1 1 1 1;1 2 2 2 1; 1 2 4 2 1; 1 2 2 2 1; 1 1 1 1 1];
A = ones(25);
Y = filter2(H,A,'full');
figure
surf(Y)
.
4 comentarios
Star Strider
el 21 de Mayo de 2022
My pleasure!
I cannot determine what it does to your image with respect to light or dark pixels. It appears to emphasize the centre pixels and attenuate those outisde its specified area.
Más respuestas (0)
Ver también
Categorías
Más información sobre Frequency Transformations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!