US 12,229,968 B2
Trajectory data processing method and device, and storage medium
Hao Dong, Shenzhen (CN); and Shufeng Gao, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Aug. 4, 2021, as Appl. No. 17/394,389.
Application 17/394,389 is a continuation of application No. PCT/CN2020/096747, filed on Jun. 18, 2020.
Claims priority of application No. 201910690467.6 (CN), filed on Jul. 29, 2019.
Prior Publication US 2021/0366130 A1, Nov. 25, 2021
Int. Cl. G06T 7/20 (2017.01)
CPC G06T 7/20 (2013.01) [G06T 2207/20221 (2013.01); G06T 2207/30241 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A trajectory data processing method, applied to a trajectory data processing device, and the method comprising:
obtaining trajectory data in a target geographical range, the trajectory data including moving trajectories of a plurality of moving objects;
respectively scaling a plurality of grid regions into a trajectory image with a uniform size, wherein the grid regions are obtained by spatially splitting the target geographical range, and the moving trajectories are respectively divided according to the grid regions to which the moving trajectories belong;
for a grid region of the plurality of grid regions, obtaining pixel positions of sampling points on each moving trajectory in the trajectory image corresponding to the grid region;
generating a feature map layer of the trajectory data, the feature map layer at least including a trajectory flow map layer, a moving speed map layer, and a travel direction map layer;
fusing map layers in the feature map layer to obtain a fused feature map layer;
displaying the fused feature map layer; and
in response to obtaining a selection instruction of any pixel position on the fused feature map layer, displaying a trajectory flow at the pixel position and a moving speed and a travel direction of a moving object at the pixel position,
wherein generating the feature map layer comprises:
for a target pixel position in a trajectory image, based on the pixel positions of the sampling points on each moving trajectory included in a corresponding grid region in the trajectory image, detecting whether each of the moving trajectories is intersected with the target pixel position; and
in response to determining one of the moving trajectories being intersected with the target pixel position, determining at least one of a trajectory flow at the target pixel position, a moving speed of a target moving object at the target pixel position, or a vector direction of the target pixel position;
wherein the trajectory flow map layer comprises the trajectory flow of the target pixel position in the trajectory image, the moving speed map layer comprises the moving speed of the target moving object at the target pixel position in the trajectory image, and the travel direction map layer comprises the vector direction of the target pixel position in the trajectory image, the vector direction representing the travel direction of the target moving object.