algorithm to implement 'fspecial' function for motion blur.

12 views (last 30 days)
Hello. I found a code to implement 'fspecial' function for motion blur as follows. https://kr.mathworks.com/matlabcentral/fileexchange/16201-toolbox-image?focused=5133070&tab=function The result of the code is same as one of the matlab function 'fspecial('motion',).
It seems that distance from each pixel to the rotated line is used. However, I could understand it only a little. Is there any documentation or figure to understand it?
Thank you for your time.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!