Effacer les filtres
Effacer les filtres

What is ideal line (white or black or greyscale) in fspecial, motion filter?

2 vues (au cours des 30 derniers jours)
KJVKU999
KJVKU999 le 1 Avr 2018
I played with the tool for a while but I cannot understand the formula used to prepare the motion filter.
I found this in the documentation: Motion filter information
Few simple questions. What is the ideal line (white or black or greyscale)?
When line was specified as 1: the filter was 1.
When line was specified as 2: the filter was [.25 .25 .25].
When line was specified as 3: the filter was [.33 .33 .33].
I kept motion angle as constant 90 degrees for the above values.
I think the filter is a Gaussian distribution line where in the middle pixel is white or whiter and going towards either ends, pixels become darker or black.
The documentation says the nearest distance between location and ideal line segment. How does it find the nearest distance?
I did not find the formula helpful. Can anyone explain me? Thank you.

Réponses (0)

Catégories

En savoir plus sur Image Processing and Computer Vision 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