boxfilter.h

来自「这是一个用于立体匹配的程序。 可以用来进行立体匹配!」· C头文件 代码 · 共 31 行

H
31
字号
///////////////////////////////////////////////////////////////////////////
//
// NAME
//  BoxFilter.h -- separable box filter (moving average convolution)
//
// SPECIFICATION
//  void BoxFilter(CImageOf<T>& src, CImageOf<T>& dst,
//                 int xWidth, int yWidth, bool average)
//
// PARAMETERS
//  src                 source image
//  dst                 destination image
//  xWidth, yWidth      horizontal and vertical box widths
//  average             scale result down by 1/(xWidth * yWidth)
//
// DESCRIPTION
//  Performs a separable box filtering using efficient running sum code.
//
//  Because a temporary row buffer is used, the src and dst images can be the same
//  (in place convolution).
//
//  If dst is not of the right shape, it is reallocated to the right shape.
//
//  The padding type of src (src.borderMode) determines how pixels are
//  filled.
//
// SEE ALSO
//  BoxFilter.cpp       implementation
//  Image.h             image class definition
//
// Copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?