To provide a program and a device which mutually generate a size measurement value and a point cloud, and encode and decode them with quite a small data capacity.SOLUTION: Corresponding n-dimensional size measurement values are respectively associated to a plurality of size measurement points for each of point clouds as a teacher data group. The device functions as a statistic learning engine which outputs dimension-compressed m-dimensional component variables from the plurality of point clouds in the teacher data group and establishes a statistical learning model, and a correlation learning engine which establishes a correlation learning model between an n-dimensional size measurement value and an m-dimensional component variable from the plurality of point clouds in the teacher data group, and encoding means which encodes one n-dimensional size measurement value as object data to an m-dimensional component variable by using the correlation learning engine, and decoding means which decodes the m-dimensional component variable to the point cloud.SELECTED DRAWING: Figure 1