当前位置:网站首页>MLX90640 红外热成像仪测温传感器模块开发笔记(六)
MLX90640 红外热成像仪测温传感器模块开发笔记(六)
2022-07-26 10:18:00 【河北稳控科技】
MLX90640 红外热成像仪测温传感器模块开发笔记(六)红外图像伪彩色编码
什么是红外成像伪彩编码
红外成像的最终目的是用图像来表现温度变化,并且可以通过颜色来区分出不同热量的物体轮廓和形状。那么,到底用什么颜色来表示什么温度呢?是否有什么标准规范呢?
这个问题一开始也是心里没底的,因为我不是专业做红外成像的,只能到处查资料了解温度和颜色之间的关系,基本得到以下几点结论:
(1)温度和颜色之间没有绝对的对应关系,没有人要求红外成像必须要用什么颜色来表示某个温度,这种对应关系完全是由设计人员自已决定的。
(2)不同的应用领域和行业出于不同的目的,会进行一些温度和颜色的研究,进而用一种适用的渐变色来突出显示某些特别关心的热元素。
(3)颜色编码绝大多数是渐变色。以下是几种不同的颜色编码
另外,还有人提出了“符合人的生理”让人看着更加“舒服”的 HIS 彩色
温度转颜色的方法
(1)首先假设温度范围的上下限并将实际的温度数据转换为 0~255 之间的数值
(2)使用转换后的数值代入下面的伪彩编码计算函数,生成伪彩色
//伪彩 1
procedure GrayToPseColor(grayValue:Integer; var colorR,colorG,colorB:Ingeger);
Begin
colorR:=Abs(0-grayValue);
colorG:=Abs(127-grayValue);
colorB:=Abs(255-grayValue);
End;
边栏推荐
猜你喜欢

数据库的复习--1.概述

Necessary for beginners: debug breakpoint debugging skills in idea and common breakpoint skills

Data communication foundation - layer 2 switching principle

Interview shock 68: why does TCP need three handshakes?

Uniapp error 7 < Map >: marker ID should be a number

Li Kou daily question 917

【Halcon视觉】图像灰度变化

Cause: could't make a guess for solution

AirTest

【Halcon视觉】软件编程思路
随机推荐
On the compilation of student management system of C language course (simple version)
Uniapp "no mobile phone or simulator detected, please try again later" and uniapp custom components and communication
Nacos custom service change subscription
详细解析js中的混合方式构造对象(构造加属性,原型加方法)
How to write a million reading article
Learning about tensor (III)
数通基础-二层交换原理
Netease cloud UI imitation -- & gt; sidebar
Use of selectors
Learning about tensorflow (II)
【有奖提问】向图灵奖得主、贝叶斯网络之父 Judea Pearl 提问啦
Solution of inputting whole line string after inputting integer
PHP executes shell script
Use of Android grendao database
SQL优化的魅力!从 30248s 到 0.001s
在.NET 6.0中配置WebHostBuilder
SQL Server 2008 server engine failed to start?
Vectortilelayer replacement style
点赞,《新程序员》电子书限时免费领啦!
简单化构造函数的继承方法(二)- ES6中的class继承