第十二章
空间感知元素理论
Spatial Perception Element Theory
12.1 空间感知基本概念
Basic Concept of Spatial Perception
人类对现实环境的理解,不仅依赖于感知对象本身,还依赖对象所在的位置和环境关系。
例如:
看到:
桌子
电脑
人员
只是对象识别。
进一步理解:
电脑在桌子上
人员坐在桌子旁
桌子属于办公室区域
才形成空间认知。
WSaiOS 定义:
空间感知元素是描述认知对象在空间中的位置、范围、方向以及对象之间关系的结构化元素,是三维环境理解的重要基础。
空间感知关注:
- 哪里;
- 多远;
- 哪个方向;
- 属于什么区域;
- 与什么对象存在关系。
空间感知流程:
三维对象元素
↓
位置元素
↓
距离元素
↓
方向元素
↓
空间关系元素
↓
空间结构
↓
环境认知
12.2 空间作为认知结构
Space as Cognitive Structure
空间不是简单坐标集合。
坐标只能表示:
对象在哪里。
但是认知需要:
对象如何存在于环境中。
例如:
坐标:
Table
(10,5,0)
只是空间数据。
空间认知:
Table
属于办公室
靠近窗口
支持电脑
人员围绕桌子活动
因此:
空间 = 对象 + 位置 + 关系。
数学抽象:
Space=Objects+Positions+RelationsSpace = Objects + Positions + RelationsSpace=Objects+Positions+Relations
12.3 空间元素组成
Spatial Element Structure
WSaiOS 将空间抽象为元素对象。
空间元素模型:
Spatial Element
{
ID
Region
Object
Position
Distance
Direction
Relation
Topology
State
Function
}
组成:
12.3.1 空间标识元素 ID
用于唯一表示空间对象。
例如:
room_001
factory_area_001
office_space_001
12.3.2 区域元素 Region Element
描述空间范围。
例如:
- 房间;
- 工厂区域;
- 道路区域;
- 城市区域。
模型:
Region Element
{
Boundary
Area
Objects
Function
}
例如:
{
"type":"Office",
"function":"Working Area",
"objects":[
"Desk",
"Computer",
"Person"
]
}
12.4 位置元素理论
Position Element Theory
位置是空间认知基础。
位置包含:
- 坐标;
- 所属区域;
- 参考对象。
模型:
Position Element
{
Coordinate
Region
Reference
}
三维位置:
P=(x,y,z)P=(x,y,z)P=(x,y,z)
例如:
{
"object":"Robot",
"position":{
"x":10,
"y":5,
"z":2
},
"region":"Factory"
}
12.5 距离元素理论
Distance Element Theory
距离描述对象之间空间接近程度。
距离不仅是数值。
也是关系。
例如:
Robot
距离
Machine
2米
距离元素:
Distance Element
{
ObjectA
ObjectB
Value
Unit
Relation
}
距离关系:
Near
Far
Contact
Separated
Connected
例如:
{
"A":"Robot",
"B":"Machine",
"distance":"1m",
"relation":"Near"
}
12.6 方向元素理论
Direction Element Theory
方向描述空间中的相对方位。
二维方向:
Left
Right
Front
Back
三维方向:
Up
Down
North
South
East
West
方向元素:
Direction Element
{
Source
Target
Direction
Angle
}
例如:
{
"source":"Robot",
"target":"Object",
"direction":"Front"
}
12.7 空间关系模型
Spatial Relation Model
空间认知的核心不是对象数量。
而是对象之间关系。
主要关系:
包含关系
Containment
例如:
Room
Contains
Desk
支撑关系
Support
例如:
Table
Supports
Computer
接触关系
Contact
例如:
Hand
Touches
Object
邻近关系
Near
例如:
Chair
Near
Desk
分离关系
Separate
例如:
Building A
Separate
Building B
空间关系结构:
Object A
↓
Relation
↓
Object B
12.8 空间拓扑元素
Spatial Topology Element
空间不仅有距离。
还存在结构关系。
例如:
房间:
Room A
连接
Room B
道路:
Road A
交叉
Road B
拓扑关系:
Connected
Adjacent
Inside
Overlap
Separate
模型:
Topology Element
{
RegionA
RegionB
Relation
}
12.9 三维环境认知模型
3D Environment Cognition Model
空间元素组合:
形成环境理解。
例如:
输入:
Room
Desk
Chair
Computer
Person
空间关系:
Computer On Desk
Chair Near Desk
Person Near Computer
形成:
Office Environment Cognition
环境模型:
Environment=Objects+Relations+StructureEnvironment = Objects + Relations + StructureEnvironment=Objects+Relations+Structure
12.10 空间元素与认知元素映射
空间元素:
回答:
对象如何存在于环境。
认知元素:
回答:
这个环境代表什么。
映射:
Spatial Element
↓
Object Mapping
↓
Relation Mapping
↓
Scene Mapping
↓
Cognitive Element
案例:
空间:
Desk
Computer
Person
关系:
Person Near Computer
Computer On Desk
认知:
Working Scene
12.11 空间元素对象模型
空间元素采用面向对象思想。
PHP模型:
class SpatialElement
{
public $objects;
public $position;
public $distance;
public $direction;
public $relation;
public $region;
public function analyzeSpace()
{
}
public function mapCognition()
{
}
}
JSON模型:
{
"type":"OfficeSpace",
"region":"Office",
"objects":[
"Desk",
"Computer",
"Person"
],
"relations":[
{
"A":"Computer",
"B":"Desk",
"type":"On"
}
]
}
12.12 空间感知工程应用
智能机器人
空间地图
↓
对象位置
↓
环境理解
↓
任务执行
智能办公室
区域
+
设备
+
人员
↓
办公空间认知
智慧城市
建筑
+
道路
+
区域
↓
城市空间模型
12.13 本章总结
本章建立 WSaiOS 空间感知元素理论。
核心观点:
- 空间是认知结构,而不是简单坐标;
- 空间由对象、位置、距离、方向、关系组成;
- 空间关系是环境理解基础;
- 三维环境认知依赖空间元素组织;
- 空间元素为运动感知提供基础;
- 空间元素最终映射为认知元素。
最终模型:
三维对象元素
↓
位置元素
↓
距离元素
↓
方向元素
↓
拓扑元素
↓
空间关系元素
↓
空间感知元素
↓
环境认知
↓
认知元素
下一章再进入:
第十三章
运动感知元素理论
Motion Perception Element Theory
重点:
- 运动作为动态空间变化;
- 时间元素;
- 速度元素;
- 加速度元素;
- 方向变化元素;
- 运动轨迹元素;
- 行为变化模型。