栅格结构(Raster data)

本文探讨了基于二维平面上的矩形网格划分的栅格数据结构如何用于汇总点模式,并通过实例展示了如何将点模式叠加到网格上形成计数矩阵。详细介绍了从实际坐标值、整数单元计数到有序颜色的转换过程,以及这一过程带来的信息损失与获得的便利性,包括数据结构更紧凑、可视化直观和与其他栅格数据的关联性。
Using a raster to summarize a point pattern.

raster data structure is based on a (usually rectangular, square-based) tessellation of the 2D plane into cells. In the example the cells of tessellation A is overlayed on the point pattern B resulting in an array C of quadrat counts representing the number of points in each cell. For purposes of visualization a lookup table has been used to color each of the cells in an image D. Here are the numbers as a simple vector in row/column order:

1 3 0 0 1 12 8 0 1 4 3 3 0 2 0 2 1 7 4 1 5 4 2 2 0 3 1 2 2 2 2 3 0 5 1 9 3 3 3 4 5 0 8 0 2 4 3 2 8 4 3 2 2 7 2 3 2 10 1 5 2 1 3 7

Finally, here is a run-length encoded representation of the raster, which has 55 positions:

values : 1 3 0 1 12 8 0 1 4 3 ...
lengths: 1 1 2 1 1 1 1 1 1 2 ...

This process clearly results in a loss of information, from the real-valued coordinates of the points, through the integer cell counts, to the ordinal colors, but there are also gains:

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值