Meaning of lengh in fspecial('motion',length,angle) ?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am making program relating with motion blur. I read from guidance matlab: "length" is the length of blur in the picture but it doesn't say about the unit of this parameter. is it cm, mm or pixel ?
Please help me. Thank a lot
0 comentarios
Respuestas (1)
KSSV
el 18 de Nov. de 2016
It is mentioned in the document, Read this:
h = fspecial('motion', len, theta) returns a filter to approximate, once convolved with an image, the linear motion of a camera by len pixels, with an angle of theta degrees in a counterclockwise direction. The filter becomes a vector for horizontal and vertical motions. The default len is 9 and the default theta is 0, which corresponds to a horizontal motion of nine pixels.
length should is in pixels.
2 comentarios
KSSV
el 21 de Nov. de 2016
My answer was specific to your question. You may open a new question, so that other experts can answer you. Good luck.
Ver también
Categorías
Más información sobre Startup and Shutdown 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!