【问题标题】:Do I need to normalize an image before smoothing it with a Gaussian Filter在使用高斯滤波器对其进行平滑之前,我是否需要对图像进行归一化
【发布时间】:2016-03-09 22:19:46
【问题描述】:

我有一个范围为 [0 255] 的真实图像。我想应用高斯滤波器来平滑它。据我所知,引导过滤器需要在应用之前对图像进行归一化。但是,我不确定高斯滤波器是什么情况。 MATLAB 2015b 中的代码示例在应用高斯滤波器之前未对图像进行归一化。我的问题是:我需要在使用高斯滤波器平滑之前对图像进行归一化吗?谢谢。

%% This code did not normalize image
I = imread('cameraman.tif');
Iblur = imgaussfilt(I, 2);

【问题讨论】:

    标签: matlab image-processing computer-vision


    【解决方案1】:

    高斯滤波器只是一个加权平均滤波器。不需要标准化。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-09-12
      • 1970-01-01
      • 2020-01-28
      • 2021-07-04
      • 1970-01-01
      • 2019-11-06
      • 2013-02-01
      • 1970-01-01
      相关资源
      最近更新 更多