Welcome to ShapeNet Q&A, where you can ask questions and receive answers from other members of the community.

What's the normalization method of shapenetcore v2?

0 votes

On the wedsite, it notes: the preliminary ShapeNetCore v2 was incomplete and had different normalization than ShapeNetCore v1. Could you tell me more details about the normalization method? And what is the diagonal normalization in shapenetcore v1?

asked Mar 11, 2019 by Chaozheng (140 points)

2 Answers

0 votes
I couldn't find this info either but I found that the diagonal of the bounding box of the mesh vertices has length close to 1.
answered Aug 26, 2020 by noahstier (140 points)
0 votes

For shapenet v2, 

v_norm = (v-centroid) / norm(diag),

where:

  • 'centroid' is the mean point of all vertices of the mesh
  • 'diag' is the diagonal vector of the bounding box

The normalization scripts are here: 

http://shapenet.cs.stanford.edu/shapenet/obj-zip/ShapeNetCore.v2-old/shapenet/scripts/shapenetcorev2/normalize.py

http://shapenet.cs.stanford.edu/shapenet/obj-zip/ShapeNetCore.v2-old/shapenet/scripts/shapenetcorev2/utils.py

answered Apr 16 by ventusguo (190 points)
...