[−][src]Function opencv::cudaarithm::normalize
pub fn normalize(
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
alpha: f64,
beta: f64,
norm_type: i32,
dtype: i32,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
Normalizes the norm or value range of an array.
Parameters
- src: Input array.
- dst: Output array of the same size as src .
- alpha: Norm value to normalize to or the lower range boundary in case of the range normalization.
- beta: Upper range boundary in case of the range normalization; it is not used for the norm normalization.
- norm_type: Normalization type ( NORM_MINMAX , NORM_L2 , NORM_L1 or NORM_INF ).
- dtype: When negative, the output array has the same type as src; otherwise, it has the same number of channels as src and the depth =CV_MAT_DEPTH(dtype).
- mask: Optional operation mask.
- stream: Stream for the asynchronous version.
See also
normalize
C++ default parameters
- mask: noArray()
- stream: Stream::Null()