当前位置: 首页 > news >正文

Introduction to GIS —— Chapter 4(Raster Data Model)

Key Concepts and Terms

1. Raster Data Model

A data model that uses rows, columns, and cells to construct spatial features.
栅格数据模型是用规则的格子(像素)来表示地理事物的方式。比如,一张数字高程图,每个格子存储的是某个位置的高度值。一张30米分辨率的DEM,每个格子代表30米 × 30米的地面面积。

2. Cell Value

The value in a raster cell, which can be categorical (like land use types) or numeric (like elevation or rainfall).
每个格子里存的数值。它可以是分类(比如 1 表示城市、2 表示森林、3 表示水体),也可以是连续数值(比如降雨量 25.3 毫米)。

3. Cell Size (Spatial Resolution)

The area represented by a raster cell; it determines the spatial resolution of the raster.
格子的大小,决定地图的清晰程度。格子越小,地图越精细。


4. Cell Depth (Bit Depth)

The number of bits used to store cell values; it affects the range of values a raster can hold.
一个格子能存多少种数值取决于它的位数。比如8位能存256个值,16位能存65536个值。灰度卫星影像常用8位,每个像素灰度值在0–255之间。

5. Raster Bands

Layers of data in a raster. A raster may have one band (single-band) or multiple bands (multiband).
栅格图像可以有一层或多层数据。单波段像是黑白照片,多波段像是彩色遥感影像。举例:Landsat影像有多个波段,可以分别反映红光、近红外等信息,用于识别植被、水体等。


6. Digital Elevation Model (DEM)

A digital model with an array of uniformly spaced elevation data in raster format.
DEM 是用规则格子记录地面高度的数字地形图。举例:三维地形图上的山脉、河谷都是根据DEM生成的,比如美国USGS提供的30米分辨率DEM。


7. Digital Orthophoto Quad (DOQ)

A digitized image in which distortions from camera tilt and terrain relief are removed.
数字正射影像是经过几何校正的航拍照片,看起来就像地图一样,比例精确。一张经过处理的航拍图可以直接用来量测道路长度,而不会因为倾斜变形。

8. Run-Length Encoding (RLE)

A raster data structure that records cell values by row and by groups of the same value, instead of cell by cell.
一种压缩存储方法,把连续相同的值合并存储,减少数据量。举例:如果一行有100个格子都是“水”,用RLE只需记录“水×100”,而不是写100次。

具体解释:
Run-Length Encoding (RLE) 是一种 无损数据压缩算法,主要用于压缩包含大量 连续重复元素 的数据。
核心思想是:把 连续相同的值(一个“游程” Run)用 该值和出现次数 来表示。

假设有一段数据:

AAAAABBBBCCDAA
  • A 连续出现 5 次 → 5A
  • B 连续出现 4 次 → 4B
  • C 连续出现 2 次 → 2C
  • D 连续出现 1 次 → 1D
  • A 连续出现 2 次 → 2A

编码后变成:

5A4B2C1D2A

9. Quadtree

A raster data structure that divides a raster into a hierarchy of quadrants until each contains only one cell value.
四叉树是一种把栅格不断分割的存储方法。它先把地图分成4块,再看每块里是否一致,不一致再继续分

假设有一个 8×8 的栅格图像:

  • 左上角 4×4 区域都是值 1 → 不再拆分,这部分存为一个节点。
  • 右上角 4×4 区域里有 0 和 1 混合 → 继续拆成 4 个 2×2 区块。
  • 拆分继续,直到某个子块里的值完全一致为止。

10. Rasterization & Vectorization

  • Rasterization: Conversion of vector data (points, lines, polygons) into raster data.
  • Vectorization: Conversion of raster data into vector data.
  • 栅格化:把线、面转换成格子形式。比如,把公路地图转成栅格,每个格子标注“是否有道路”。
  • 矢量化:把格子转成线、面。比如,把扫描的地籍图转成可编辑的地块边界。

Questions

  1. Explain the advantages and disadvantages of the raster data model versus the vector data model.
    Raster data model:
  • Advantages: It facilitates computation.
  • Disadvantages: It lacks the precision and requires large computer memory.
    因为每个格子表示一个区域,所以无法精确表示复杂边界,而且高分辨率的栅格会占用很多存储空间。比如用栅格表示一条蜿蜒的河流时,河流边界会显得不光滑,并且格子越小文件越大。

  1. Explain the relationship between cell size, raster data resolution, and raster representation of spatial features.
  • Cell size refers to the size of the area represented by a single cell. It determines spatial resolution of a raster.
    栅格的单元格大小指每个格子表示的实际地面面积,它决定栅格的空间分辨率。
  • Raster uses grid to represent spatial features.
    栅格使用格网来表示空间特征。
    栅格的分辨率越高(格子越小),地图表示的细节越多;格子越大,细节越模糊

  1. Explain the difference between passive and active satellite systems.
  • Passive systems: acquire spectral bands from the electromagnetic spectrum. 被动系统通过接收电磁波的光谱带来获取信息。
  • Active systems: provide their energy to illuminate an area of interest and measure the radar waves. 主动系统自己发射能量照射目标区域,然后测量返回的雷达波。
    被动卫星类似“照相机”,利用太阳光反射来拍照;主动卫星类似“雷达”,自己发射信号来探测目标。
    eg.光学卫星拍摄城市影像是被动系统;雷达卫星在云雾天气仍能获取地形数据是主动系统。

  1. Explain the difference between lossless and lossy compression methods.
  • Lossless compression: allow the original image to be precisely reconstructed. 无损压缩可以完全还原原始图像。
  • Lossy compression: high compression which means the original image cannot be precisely reconstructed. 有损压缩压缩率高,但无法完全还原原始图像。
    无损压缩不会丢失信息,适合需要精确数据的情况;有损压缩会丢失部分细节,但文件更小。
    (用 PNG 压缩地图数据是无损的;用 JPEG 压缩卫星影像是有损的,细节会略有损失。)
http://www.dtcms.com/a/360675.html

相关文章:

  • 批量修改用户密码的命令chpasswd
  • FTP - 学习/实践
  • JPEG XS概述
  • 草图大师SketchUp 2025下载安装教程与胚子库插件包安装for SketchUp 2025安装教程
  • 【AI智能体】LLM记账智能体+MCP服务-实现步骤与效果展示
  • 网络流量分析——使用Wireshark进行分析
  • SW - 用装配图的方式组合多个子零件然后转换成为零件,可维护性好
  • DRF快速构建RESTful API指南
  • 告别强化学习?GEPA:用“反思性提示词进化”实现超越的新范式
  • 【机器学习】-torch相关知识01
  • shell 命令拓展二——流程控制
  • springboot项目启动时打印maven打包时间
  • 华秋DFM检查PCB设计缺陷、一键导出Gerber、BOM、坐标文件
  • 平面椭圆转化为三阶Bezier曲线的方法
  • 目标检测算法YOLOv4详解
  • cloudflare 负载均衡器介绍
  • 用 MATLAB 实现遗传算法求解一元函数极值:从代码到实践
  • JS实现默认显示部分文字点击按钮显示全部内容
  • 使用组合子构建抽象语法树
  • 24数学建模国赛C
  • Linux性能调试工具之ftrace
  • 【开题答辩全过程】以 基于Java的城市公交查询系统设计与实现为例,包含答辩的问题和答案
  • 元宇宙与旅游产业:虚实融合的文旅新体验
  • 【代码随想录day 21】 力扣 216.组合总和III
  • 【代码随想录day 22】 力扣 39. 组合总和
  • 2025年跨领域职业发展证书选择指南
  • 设计模式:外观模式(Facade Pattern)
  • [线上问题排查]深度剖析:一条MySQL慢查询的全面优化实战
  • 操作文件 File类
  • Linux网络编程04:网络基础(万字图文解析)