下载此文档

GIS数字图像处理.ppt


文档分类:IT计算机 | 页数:约108页 举报非法文档有奖
1/108
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/108 下载此文档
文档列表 文档介绍
GIS GIS 数字图像处理数字图像处理遥感图像的存储结构遥感图像的存储结构数字图像的基本概念数字图像的基本概念??像素( 像素( Pixel Pixel 或或 Picture Element Picture Element ) ) 是图像内的最小单元。是图像内的最小单元。??图像采样( 图像采样( Sampling Sampling ) ) 是像素大小的一种表示是像素大小的一种表示??像素深度代表了量化( 像素深度代表了量化( Quantization Quantization ) )级级数字图像的存储结构数字图像的存储结构??8 8 bit / pixel 512 bit / pixel 512 * * 512 512 图像图像 unsigned char Image[ 512 ] [ 512 ]; unsigned char Image[ 512 ] [ 512 ]; 每个像素一个字节, 每个像素一个字节, 256 256 级灰度图像级灰度图像??1 1 bit / pixel 512 bit / pixel 512 * * 512 512 图像图像 unsigned char Image[ 512 ] [ 64 ]; unsigned char Image[ 512 ] [ 64 ]; 每个像素占一位,一个字节表示每个像素占一位,一个字节表示 8 8个像素个像素二值图像二值图像数字图像的存储结构数字图像的存储结构??24 24 bit / pixel 512 bit / pixel 512 * * 512 512 图像图像 COLORREF Image[ 512 ] [ 512 ]; COLORREF Image[ 512 ] [ 512 ]; 每个像素每个像素 3 3个字节,真彩***像个字节,真彩***像?? COLORREF COLORREF 包含了: 包含了: 红( 红( R R)、)、绿( 绿( G G)、)、蓝( 蓝( B B) )三个字节三个字节遥感数字图像的存储结构遥感数字图像的存储结构??添加一个新的头文件: 添加一个新的头文件: ?? 的内容: 的内容: # # ifndef ifndef GIS_IMAGE GIS_IMAGE #define GIS_IMAGE #define GIS_IMAGE #include " #include " WGraphics WGraphics .h" .h" #include < #include < stdio stdio .h> .h> // // …………遥感图像结构定义遥感图像结构定义# # endif endif 遥感数字图像的存储结构遥感数字图像的存储结构 typedef struct typedef struct { { // // 数字图像数据数字图像数据 int int ImageRows ImageRows ; ; int int ImageCols ImageCols ; ; unsigned char unsigned char * * Pixel; Pixel; // // 数字图像处理函数数字图像处理函数// // …………} } Image ; Image ; // 8 bit / pixel 256 // 8 bit / pixel 256 级灰度图像结构级灰度图像结构遥感数字图像的存储结构遥感数字图像的存储结构 typedef struct typedef struct { { // // 数字图像数据数字图像数据// // …………// // 数字图像处理函数数字图像处理函数 void void InitImage InitImage ( ); ( ); void void DeleteImage DeleteImage ( ); ( ); } } Image ; Image ; void Image :: void Image :: InitImage InitImage ( ) ( ) { { ImageRows ImageRows = = ImageCols ImageCols = 0; = 0; Pixel = NULL; Pixel = NULL; } } void Image :: void Image :: DeleteImage DeleteImage ( ) ( ) { { if ( Pixel != NULL ) if ( Pixel != NULL ) delete [ ] Pixel; delet

GIS数字图像处理 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数108
  • 收藏数0 收藏
  • 顶次数0
  • 上传人yzhlyb
  • 文件大小711 KB
  • 时间2017-02-20