文件名称:中值滤波
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2017-07-19
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 楚***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
给定一幅单波段影像imgData.txt(ASCII格式),实现对图像的处理和显示。
已知条件:
(1)clrTbl.txt文件是一个颜色查找表,大小是256X3,即可表示256中RGB的颜色。
(2)ImgData.txt文件中是图像的数据,每个值代表一个像素的颜色索引号,通过索引号到颜色查找表(clrTbl.txt文件)中找到相应的RGB颜色值。
(3)中值滤波:一种非线性平滑技术,它将每一像素点的灰度值设置为该点某邻域窗口内(这里选择3X3)的所有像素点灰度值的中值。
(4)屏幕上显示像素点的函数:SetPixel(HDC drawDevice, long X, long Y, COLORREF rgbVal);(Given a single band image imgData.txt (ASCII format), to achieve the image processing and display.
Given condition:
(1) clrTbl.txt file is a color look-up table, size is 256X3, you can represent the color of RGB in 256.
(2) the data in the ImgData.txt file is the image, each of which represents the color index number of a pixel, and the corresponding RGB color value is found in the color lookup table (clrTbl.txt file) through the index number.
(3) median filtering: a nonlinear smoothing technique that sets the gray value of each pixel to the median of all pixel gray values within a neighborhood window (here, 3X3).
(4) functions that display pixels on the screen: SetPixel (HDC, drawDevice, long, X, long, Y, COLORREF, rgbVal);)
已知条件:
(1)clrTbl.txt文件是一个颜色查找表,大小是256X3,即可表示256中RGB的颜色。
(2)ImgData.txt文件中是图像的数据,每个值代表一个像素的颜色索引号,通过索引号到颜色查找表(clrTbl.txt文件)中找到相应的RGB颜色值。
(3)中值滤波:一种非线性平滑技术,它将每一像素点的灰度值设置为该点某邻域窗口内(这里选择3X3)的所有像素点灰度值的中值。
(4)屏幕上显示像素点的函数:SetPixel(HDC drawDevice, long X, long Y, COLORREF rgbVal);(Given a single band image imgData.txt (ASCII format), to achieve the image processing and display.
Given condition:
(1) clrTbl.txt file is a color look-up table, size is 256X3, you can represent the color of RGB in 256.
(2) the data in the ImgData.txt file is the image, each of which represents the color index number of a pixel, and the corresponding RGB color value is found in the color lookup table (clrTbl.txt file) through the index number.
(3) median filtering: a nonlinear smoothing technique that sets the gray value of each pixel to the median of all pixel gray values within a neighborhood window (here, 3X3).
(4) functions that display pixels on the screen: SetPixel (HDC, drawDevice, long, X, long, Y, COLORREF, rgbVal);)
相关搜索: 中值滤波
(系统自动生成,下载前可以参看下载内容)
下载文件列表
中值滤波\中值滤波.cpp
中值滤波
中值滤波