Blur

This function block is used to apply various types of blurring effects to an input image. You can choose the desired blur type and adjust the kernel size for the chosen effect.

📥 Inputs

Image Any The image that will be processed and blurred.

📤 Outputs

Image Any The output will be the blurred version of the input image.

🕹️ Controls

Blur Type A dropdown menu to select the type of blur to apply:

  • Average Blur: A simple blur that calculates the average of neighboring pixel values.

  • Gaussian Blur: A weighted blur that gives more importance to the center pixels.

  • Median Blur: A blur that replaces each pixel's value with the median value of its neighboring pixels, effective in reducing noise.

Kernel Size A slider that adjusts the size of the kernel used for the blurring effect. Larger kernel sizes result in more pronounced blurring.

🎨 Features

Multiple Blur Options Users can choose between different types of blurs, allowing for flexibility in image processing.

Adjustable Blur Intensity The kernel size slider provides a simple way to customize the intensity of the blur effect.

📝 Usage Instructions

  1. Input Image: Connect any image you wish to blur to the input of this block.

  2. Select Blur Type: Choose the desired blur effect from the Blur Type dropdown.

  3. Adjust Kernel Size: Use the Kernel Size slider to select the desired size for the blurring kernel.

  4. Evaluate: Run the block to apply the chosen blur to the input image.

📊 Evaluation

When executed, this function block will output the blurred version of the input image based on the selected blur type and kernel size.

💡 Tips and Tricks

Smooth Backgrounds

For images with intricate details but you want to smoothen the background, use Gaussian Blur with a larger kernel size.

Noise Reduction

Using Median Blur is effective in reducing noise in images, especially in binary or grayscale images. Adjust the kernel size according to the level of noise present.

Previewing Effects

Try multiple kernel sizes and blur types to see how each affects the image; larger kernel sizes will produce more drastic blurring.

🛠️ Troubleshooting

No Effect on Image

If the blur effect seems minimal, verify that you have selected a suitable kernel size. Larger kernels tend to produce more visible blur.

Unexpected Blurriness

If the image appears excessively blurry, try reducing the kernel size or switching to a different blur type to achieve a subtler effect.

Last updated

Was this helpful?