Create Zoom blurring effect

4 ビュー (過去 30 日間)
Mojtaba Zarei
Mojtaba Zarei 2021 年 3 月 18 日
回答済み: Kiran Felix Robert 2021 年 3 月 22 日
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

回答 (1 件)

Kiran Felix Robert
Kiran Felix Robert 2021 年 3 月 22 日
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.
Also refer this documentation for examples using imresize.

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by