当前位置:网站首页>《opencv学习笔记》-- 矩阵归一化 normalize()函数
《opencv学习笔记》-- 矩阵归一化 normalize()函数
2022-06-24 10:00: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())参数1,输入图像,即源图像,填Mat类的对象即可。
参数2,函数调用后的运算结果存储,和源图片有一样的尺寸和类型。
参数3,归一化后的最大值,有默认值1。
参数4,归一化后的最大值,有默认值0。
参数5,归一化类型,有NORM_INF、NORM_L1、NORM_L2和 NORM_MINMAX等参数可 选,有默认值NORM_L2。
参数6,默认值-1。当此参数取负值时,输出矩阵和src有同样的类型,否则,它和 src有同 样的通道数,且此时图像深度为CV_MAT_DEPTH (dtype)。
参数7, 可选的操作掩膜,有默认值noArray()。
边栏推荐
- It's so difficult for me. Have you met these interview questions?
- Group policy export import
- How to make a good video? What are the operation methods?
- Virtual CD-ROM function how to use and install virtual CD-ROM
- 喜歡就去行動
- Internship experience sharing in ByteDance 𞓜 ten thousand word job guide
- What are the means of network promotion?
- Apple's legendary design team disbanded after jobs refused to obey cook
- "Adobe international certification" Adobe Photoshop adjusts cropping, rotation and canvas size
- 突然想到老家的木屋
猜你喜欢

Apple's legendary design team disbanded after jobs refused to obey cook

Group counting_ Structure and workflow of CPU

Today's sleep quality record 76 points

Use the process monitor tool to monitor process operations on registries and files

初识string+简单用法(一)

Rising bubble canvas breaking animation JS special effect

First acquaintance with string+ simple usage (I)

使用Process Monitor工具监测进程对注册表和文件的操作

A group of skeletons flying canvas animation JS special effect

Qt: 判断字符串是否为数字格式
随机推荐
What is the bin file for? How to open the file correctly
H5 video conference, camera monitoring, web streaming and live broadcast integration scheme
把騰訊搬到雲上,治愈了他們的技術焦慮
Visual presentation of pictures effectively enhances the attraction of large screen
如何开发短信通知和语音功能医院信息系统(HIS系统)
I want 18K. Can I pass it?
Reliable remote code execution (1)
使用Process Monitor工具监测进程对注册表和文件的操作
程序员大部分时间不是写代码,而是。。。
09. Tencent cloud IOT device side learning -- RRPC and behavior
Qt: judge whether the string is in numeric format
[Flink source code practice (I)] add a rest API to Flink
Any 与 TypeVar,让 IDE 的自动补全更好用
The record of 1300+ times of listing and the pursuit of ultimate happiness
Fais ce que tu veux.
脚本之美│VBS 入门交互实战
Tencent's open source project "Yinglong" has become a top-level project of Apache: the former long-term service wechat payment can hold a million billion level of data stream processing
Mongodb index operation
Opencv optical flow prediction and remap remapping function usage
What is a compressed file? What are the advantages of different methods of compressing files?