Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

图像滤波

卷积和相关性、预定义和自定义滤波器、非线性滤波、边缘保持滤波器

滤波是一种用于修正或增强图像的技术。例如,您可以对图像进行滤波以强调某些特征或删除其他特征。用滤波实现的图像处理运算包括平滑、锐化和边缘增强。

App

图像区域分析器Browse and filter connected components in an image

函数

全部展开

fspecial创建预定义的二维滤波器
fspecial3Create predefined 3-D filter
convmtx22-D convolution matrix
imfilter多维图像的 N 维滤波
roifilt2Filter region of interest (ROI) in image
nlfilterGeneral sliding-neighborhood operations
imgaussfilt图像的二维高斯滤波
imgaussfilt33-D Gaussian filtering of 3-D images
wiener2二维自适应去噪滤波
medfilt2二维中位数滤波
medfilt33-D median filtering
modefilt2-D and 3-D mode filtering
ordfilt22-D order-statistic filtering
stdfiltLocal standard deviation of image
rangefiltLocal range of image
entropyfiltLocal entropy of grayscale image
imboxfilt2-D box filtering of images
imboxfilt33-D box filtering of 3-D images
fibermetricEnhance elongated or tubular structures in image using Frangi vesselness filter
maxhessiannormMaximum of Frobenius norm of Hessian of matrix
padarray填充数组
imbilatfiltBilateral filtering of images with Gaussian kernels
imdiffuseestEstimate parameters for anisotropic diffusion filtering
imdiffusefiltAnisotropic diffusion filtering of images
imguidedfilterGuided filtering of images
imnlmfiltNon-local means filtering of image
burstinterpolantCreate high-resolution image from set of low-resolution burst mode images
gaborCreate Gabor filter or Gabor filter bank
imgaborfilt将 Gabor 滤波器或滤波器组应用于二维图像
bwareafilt按大小从二值图像中提取对象
bwpropfiltExtract objects from binary image using properties
integralImageCalculate 2-D integral image
integralImage3Calculate 3-D integral image
integralBoxFilter2-D box filtering of integral images
integralBoxFilter33-D box filtering of 3-D integral images
freqspace频率响应的频率间距
freqz22-D frequency response
fsamp22-D FIR filter using frequency sampling
ftrans22-D FIR filter using frequency transformation
fwind12-D FIR filter using 1-D window method
fwind22-D FIR filter using 2-D window method

主题

空间域中的图像滤波快速入门

去噪滤波

  • 去除噪声
    噪声是指在图像采集或传输过程中出现的像素值的随机误差。去除噪声可以提高图像质量。
  • 将高斯平滑滤波器应用于图像
    此示例说明如何使用不同强度的高斯平滑滤波器来对图像进行模糊处理。该示例包括各向同性和各向异性高斯滤波。
  • Reduce Noise in Image Gradients
    This example shows how to reduce noise associated with computing image gradients.

边缘保持滤波

积分图像域滤波

  • Integral Image
    Integral images are a quick way to represent images for filtering. In an integral image, the value of each pixel is the summation of the pixels above and to the left of it.
  • Apply Multiple Filters to Integral Image
    This example shows how to smooth an image by different amounts by applying box filters of varying sizes to the integral image.

频域滤波