当前位置:网站首页>Opencv learning notes - matrix normalization normalize() function

Opencv learning notes - matrix normalization normalize() function

2022-06-24 12:05:00 cc_ rong

 void normalize(InputArray src, OutputArray dst, double alpha = 1, 
                double beta = 0, int norm_type = NORM_L2, int dtype = -1, 
                InputArray mask = noArray())

Parameters 1, The input image , Source image , fill Mat Class .

Parameters 2, The operation result after the function call is stored , The same size and type as the source image .

Parameters 3, Normalized maximum , Have default values 1.

Parameters 4, Normalized maximum , Have default values 0.

Parameters 5, Normalization type , Yes NORM_INF、NORM_L1、NORM_L2 and NORM_MINMAX Equal parameters can                   choose , Have default values NORM_L2.

Parameters 6, The default value is -1. When this parameter takes a negative value , Output matrix and src Have the same type , otherwise , It and src Have the same                   Sample number of channels , And the image depth is CV_MAT_DEPTH (dtype).

Parameters 7, Optional operation mask , Have default values noArray().

原网站

版权声明
本文为[cc_ rong]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241000269100.html