Description of a fast and stable Motion blur algorithm
Hello everyone, this article is a summary of another article: Guertin, Jean-Philippe & McGuire, M. & Nowrouzezahrai, D.. (2014). A fast and stable feature-aware motion blur filter. High-Performance Graphics 2014, HPG 2014 – Proceedings. 51-60.
It describes the algorithm for the Motion blur effect, which was proposed by the authors of the original article.
So, the algorithm itself:
The image is split into tiles for maximum blur radius of image space which ensures that each pixel is affected by no more than its surroundings of the tile.
Each pixel has its own speed calculated:
Where A — exposure time in seconds.
Each tile is assigned one dominant neighborhood speed
Pixel () and dominant () pixel speeds p are processed as follows: a number of samples are placed along the central direction, interpolating between the normalized directions and perpendicular to the dominant as the pixel speed decreases to the minimum user threshold:
On each tile, the angular difference between the maximum speeds of the tile and its neighbors is calculated: