[−][src]Function opencv::imgproc::create_hanning_window
pub fn create_hanning_window(
dst: &mut dyn ToOutputArray,
win_size: Size,
_type: i32
) -> Result<()>
This function computes a Hanning window coefficients in two dimensions.
See (http://en.wikipedia.org/wiki/Hann_function) and (http://en.wikipedia.org/wiki/Window_function) for more information.
An example is shown below:
ⓘThis example is not tested
// create hanning window of size 100x100 and type CV_32F Mat hann; createHanningWindow(hann, Size(100, 100), CV_32F);
Parameters
- dst: Destination array to place Hann coefficients in
- winSize: The window size specifications (both width and height must be > 1)
- type: Created array type