https://github.com/karpeleslab/mblur
golang port of imagemagick's motionBlur function
https://github.com/karpeleslab/mblur
Last synced: 12 months ago
JSON representation
golang port of imagemagick's motionBlur function
- Host: GitHub
- URL: https://github.com/karpeleslab/mblur
- Owner: KarpelesLab
- License: gpl-3.0
- Created: 2024-02-25T03:29:50.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-25T15:56:45.000Z (over 2 years ago)
- Last Synced: 2024-06-21T14:29:11.242Z (almost 2 years ago)
- Language: Go
- Size: 269 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://godoc.org/github.com/KarpelesLab/mblur)
# mblur
Multi-threaded motion blur adapted from ImageMagick.
```
% MotionBlurImage() simulates motion blur. We convolve the image with a
% Gaussian operator of the given radius and standard deviation (sigma).
% For reasonable results, radius should be larger than sigma. Use a
% radius of 0 and MotionBlurImage() selects a suitable radius for you.
% Angle gives the angle of the blurring motion.
%
% Andrew Protano contributed this effect.
%
% The format of the MotionBlurImage method is:
%
% Image *MotionBlurImage(const Image *image,const double radius,
% const double sigma,const double angle,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
% o image: the image.
%
% o radius: the radius of the Gaussian, in pixels, not counting
% the center pixel.
%
% o sigma: the standard deviation of the Gaussian, in pixels.
%
% o angle: Apply the effect along this angle.
```