⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boxfilter.h

📁 这是一个用于立体匹配的程序。 可以用来进行立体匹配!
💻 H
字号:
///////////////////////////////////////////////////////////////////////////
//
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -