Blurs an image and downsamples it.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic Mat PyrDown(
Nullable<Size> dstSize = null,
BorderTypes borderType = BorderTypes.Reflect101
)
Public Function PyrDown (
Optional dstSize As Nullable(Of Size) = Nothing,
Optional borderType As BorderTypes = BorderTypes.Reflect101
) As Mat
public:
Mat^ PyrDown(
Nullable<Size> dstSize = nullptr,
BorderTypes borderType = BorderTypes::Reflect101
)
member PyrDown :
?dstSize : Nullable<Size> *
?borderType : BorderTypes
(* Defaults:
let _dstSize = defaultArg dstSize null
let _borderType = defaultArg borderType BorderTypes.Reflect101
*)
-> Mat
function PyrDown(dstSize, borderType);
Parameters
- dstSize (Optional)
- Type: SystemNullableSize
size of the output image; by default, it is computed as Size((src.cols+1)/2 - borderType (Optional)
- Type: OpenCvSharpBorderTypes
Return Value
Type:
Mat
See Also