We present Animated Territorial Data Extractor (ATDE), a computer vision tool that extracts quantitative territorial data from animated historical map videos. ATDE employs HSV-based color segmentation, RGB channel filtering, and Direct-Neighbor Filtering to identify and count pixels representing territorial control. Combined with preprocessing for temporal alignment and cross-video scaling, the pipeline converts animated videos into structured time-series data. We demonstrate the tool on ten Chinese dynasties (200 BCE - 1912 CE), producing year-by-year pixel counts that align with expected historical patterns. While not a substitute for authoritative historical datasets, ATDE is well-suited for educational demonstrations, preliminary data exploration, and comparative analysis of territorial dynamics. The tool requires no pre-existing shapefiles and can be applied to any animated map video given seed colors and basic configuration. Code and examples are available on GitHub.
翻译:本文介绍动画领土数据提取器(ATDE),这是一种从动画历史地图视频中提取定量领土数据的计算机视觉工具。ATDE采用基于HSV的颜色分割、RGB通道过滤和直接邻域过滤技术,以识别和统计代表领土控制的像素。结合用于时间对齐和跨视频缩放的预处理流程,该工具将动画视频转换为结构化的时间序列数据。我们以中国十个朝代(公元前200年-公元1912年)为例演示该工具,生成的逐年像素计数与预期历史模式相符。虽然不能替代权威历史数据集,但ATDE非常适用于教学演示、初步数据探索以及领土动态的比较分析。该工具无需预先存在的地理形状文件,只要给定种子颜色和基本配置,即可应用于任何动画地图视频。代码和示例已在GitHub上提供。