Clarification on ground truth .json data

Clarification on ground truth .json data  

  By: seizetimejay on March 24, 2022, 11:32 p.m.

In the data section, it says that "labels, instances and vertices are in the same order in obj and json files. " But when I view the data, the training data in .obj files has v and f before the numbers. The label in .json file is just a 1-D array. How should I relate them together? Would it be possible to clarify the data in json a little bit more?

Thank you in advance.

Re: Clarification on ground truth .json data  

  By: StephanHahn on March 25, 2022, 9:36 a.m.

hi (I am not an organizer) I invite you to look at the specification here. The "v" means vertex and the numbers after should be the coordinates of the point in a 3D space environment. The "f" means face and contains indices (meaning position in the list) of vertex.

example: v 0.1 0.2 0.3 v 0.2 0.4 0.5 v 0.3 0.3 0.4 f 1 2 3

means we have 3 points at location specified by the lines and one face that connect the 3 first vertices.

For label, the list must have the same lenght than the number of vertices (in the previous example it should be 3) with a label by vertex, and in the same ordre than the vertices. In the Example, it can be : [0, 0, 1]

In most of 3D librairies, they are methods to add color/information to a 3D point cloud (e.g. open3D, vtk, pcl). Hope that could help you :)

Re: Clarification on ground truth .json data  

  By: YuchaoLiu on April 23, 2022, 2:26 a.m.

Excuse me, what do the values of labels array and instances array in JSON file mean?

{"id_patient": "0EJBIPTC", "jaw": "lower", "labels": [0, 0, 44, 33, 34, 0, 0, 45, 0, 0, 43, 47, 0, 41, 0, 44, 0...], "instances": [0, 0, 10, 2, 12, 0, 0, 9, 0, 0, 13, 6, 0, 11, 0, 10, 0, 0, 8, 0, 0, 14...]}