| CPC G06T 9/40 (2013.01) | 7 Claims |

|
1. An encoding device comprising:
a processor; and
a storage medium having computer program instructions stored thereon, when executed by the processor, cause the processor to perform:
acquires three-dimensional data representing positions of a plurality of points distributed along a surface of an object in a three-dimensional space and divides a parent space including the points in the three-dimensional space into a plurality of child spaces; and
changes, based on a position of a target space, which is the child space, to which a sign representing whether the points are included is allocated, according to whether the points are included in a first child space adjacent to the target space, processing for allocating the sign to the target space and a second child space adjacent to the target space,
wherein a first parent space and a second parent space among a plurality of the parent spaces are adjacent to each other, the target space is included in a first child space group and a second child space group dividing the second parent space, the first child space group, and the first child space group includes the child space adjacent to the first parent space in the second parent space.
|