Constructor ReduceParams
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
ReduceParams(ReduceTypes, int[]?, bool, int)
Creates options for reducing an n-dimensional array.
public ReduceParams(ReduceTypes rtype = ReduceTypes.Sum, int[]? axes = null, bool keepDims = true, int dtype = -1)
Parameters
rtypeReduceTypesThe reduction operation.
axesint[]Axes to reduce. A null or empty array reduces all axes.
keepDimsboolKeep the reduced axes with a size of one.
dtypeintOutput depth. A negative value preserves the input depth.