Blur Image (Image Processing)
Synopsis
Blurs an Image.Description
Blurring describes the action of smoothening an image. This is usually done by aggregating the pixel values for each pixel in a given area.
This operator provides two methods of blurring. Median blur and normalized box blur.
Median Blur blurs an image using the median filter. The function smoothes an image using the median filter with the kernel_size x kernel_size aperture. Each channel of a multi-channel image is processed independently.
Normalized box blurs an image using the normalized box filter. The function smooths an image using the kernel of size kernel_width x kernel_height, where each value in the kernel is 1/(kernel_width*kernel_height).
Input
- image
The image object to blur
Output
- image
The blurred image
- ori
The original image.
Parameters
- blurring method Defines what method to use.
- kernel size Kernel size for median blur. The bigger the more you blur the image. Needs to be an odd number.
- kernel width Kernel width for the normalized_box blur. The bigger the more you blur the image.
- kernel height Kernel heigth for the normalized_box blur. The bigger the more you blur the image.