pub fn max_with_scalar(
src1: &impl ToInputArray,
src2: Scalar,
dst: &mut impl ToOutputArray,
stream: &mut impl StreamTrait,
) -> Result<()>
Expand description
Computes the per-element maximum of a matrix and a scalar.
§Parameters
- src1: First source matrix.
- src2: Second source scalar.
- dst: Destination matrix that has the same size and type as the input array.
- stream: Stream for the asynchronous version.
§See also
max
§C++ default parameters
- stream: Stream::Null()