Create Zoom blurring effect
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I am going to model the zoom blur effect having the Point Spread (PSF) function in the XY directions and the speed of displacement of the image. I know there is a fspecial('motion',len,deg) function that returns the kernel when the image moves in the x and y direction, but I am interested in the motion in the z-direction. Can anybody help me with how I can make such kernels? The XYZ coordinates are depicted in the attached picture![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/555077/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/555077/image.png)
0 comentarios
Respuestas (1)
Kiran Felix Robert
el 22 de Mzo. de 2021
Hi Mojtaba,
The Movement in z-direction can be modelled by using interpolations feature. This can be achieved by imresize, or by setting a magnification feature in imshow as explained and demonstrate in this MathWorks blog page.
0 comentarios
Ver también
Categorías
Más información sobre Read, Write, and Modify Image 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!