Table of Contents

Method PyrDown

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

PyrDown(InputArray, OutputArray, Size?, BorderTypes)

Blurs an image and downsamples it.

public static void PyrDown(InputArray src, OutputArray dst, Size? dstSize = null, BorderTypes borderType = BorderTypes.Default)

Parameters

src InputArray

input image.

dst OutputArray

output image; it has the specified size and the same type as src.

dstSize Size?

size of the output image; by default, it is computed as Size((src.cols+1)/2

borderType BorderTypes