Effacer les filtres
Effacer les filtres

can any one explain me the concept of conv2(), nfilter in sliding withdow?

1 vue (au cours des 30 derniers jours)
Samir khan
Samir khan le 22 Juil 2018
Commenté : Samir khan le 25 Juil 2018
i am unable to understand how these functions play any role in sliding window. if anyone can help??

Réponse acceptée

Image Analyst
Image Analyst le 22 Juil 2018
nlfilter() slides the window across the image and applies some custom function, that you supply, to the pixels in the window. nlfilter can apply some custom function to the pixels in the window, something that conv2() cannot do.
conv2() slides the window across the image and multiplies the pixels in the window by the pixels in the filter kernel window and sums them. The output pixel is the sum. conv2() does not apply some custom function like nlfilter can.

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by