-
灰度算法
Gray Scale Image 或是Grey Scale Image,又称灰阶图。把白色与黑色之间按对数关系分为若干等级,称为灰度。灰度分为256阶。用灰度表示的图像称作灰度图。除了常见的卫星图像、航空照片外,许多地球物理观测数据也以灰度表示。以位场图像为例,把位场表示为灰度图,需要将位场观测值灰度量化,即将场的变化范围转换成256阶的灰度范围。由于位场的动态变化范围非常大,磁场可达数万个纳特,重力场也可能在数百个重力单位内变化,所以在显示为图像前通常需要对位场观测值进行拉伸或压缩。[1]什么叫灰度图?任何颜色都有红、绿、蓝三原色组成,假如原来某点的颜色为RGB(R,G,B),那么,我们可以通过下面几种方法,将其转换为灰度:1.浮点算法:Gray=R*0.3+G*0.59+B*0.112.整数方法:Gray=(R*30+G*59+B*11)/1003.移位方法:Gray =(R*76+G*151+B*28)>>8;4.平均值法:Gray=(R+G+B)/3;5.仅取绿色:Gray=G;通过上述任一种方法求得Gray后,将原来的RGB(R,G,B)中的R,G,B统一用Gray替换,形成新的颜色RGB(Gray,Gray,Gray),用它替换原来的RGB(R,G,B)就是灰度图了。
- 2022-01-27 13:44:07下载
- 积分:1
-
北大ACM试题poj 第3068题源码,很好的代码,希望对搞ACM的同学有帮助...
北大ACM试题poj 第3068题源码,很好的代码,希望对搞ACM的同学有帮助
-Peking University ACM Chapter 3068 question Question poj source code, good code, and want to help students engage in ACM
- 2022-01-28 18:40:13下载
- 积分:1
-
模糊controlorer基于Excel
- 2022-01-30 10:16:25下载
- 积分:1
-
数学变换和滤波fft程序
kfour 傅里叶级数逼近
kkfft 快速傅里叶变换
kkfwt 快速沃什变换
kkspt 快速三次平滑
klm...
数学变换和滤波fft程序
kfour 傅里叶级数逼近
kkfft 快速傅里叶变换
kkfwt 快速沃什变换
kkspt 快速三次平滑
klman 离散随机系统的卡尔曼滤波
kkabg α-β-γ滤波-Fft math transformation and filtering procedures kfour Fourier series approximation kkfft Fast Fourier Transform Fast Walsh Transform kkfwt rapid kkspt three smoothing klman discrete stochastic system Kalman filter kkabg α-β-γ filter
- 2022-03-18 17:19:36下载
- 积分:1
-
航空订票管理系统
用于复习数据结构链表用的,里面涉及啦链表的所有知识。 里面的代码并不是多好 ,只适合新手。用于新手的学习。是控制台应用程序。对于新手的学习有一定帮助。
- 2022-05-24 05:07:17下载
- 积分:1
-
EOCSO
- 2022-03-31 15:48:24下载
- 积分:1
-
计算飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量...
计算飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量-Calculation of the spacecraft relative position vector of the station unit vector in the equatorial coordinate system of the three subscales
- 2022-01-31 02:49:56下载
- 积分:1
-
来自于http:acm.zju.edu.cn上的一个名叫Fece的用C写的程序
来自于http:acm.zju.edu.cn上的一个名叫Fece的用C写的程序-from http:acm.zju.edu.cn named one of the C Fece written procedures
- 2023-09-05 10:15:03下载
- 积分:1
-
This is the document on the operation of a title, and that Italy, we can see tha...
这是关于文件操作的一个题,由题意可知,该题解决起来应该分为三个部分。第一部分即从in.dat中读入数据,第二部分即实现排序的算法,最后应该实现将排序的结果输出到out.dat中。-This is the document on the operation of a title, and that Italy, we can see that the solutions to the problem should be divided into three parts. The first part from in.dat read into the data, the second part of that is to achieve the ranking algorithm, the final order will be to achieve the results were exported to out.dat.
- 2022-05-24 19:47:39下载
- 积分:1
-
c语言编写的卡尔曼滤波器算法,可用于对信号进行滤波处理
c语言编写的卡尔曼滤波器算法,可用于对信号进行滤波处理-prepared by the Kalman filter algorithm can be used to signal filtering
- 2022-10-02 19:45:08下载
- 积分:1