SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
103 stars 32 forks source link

Add good/bad angle information to analysis.json #2133

Closed akenmorris closed 1 year ago

akenmorris commented 1 year ago

Resolves #2130

This PR adds the cosine apex angle for each correspondence point in the particle system. This value can then be thresholded at runtime the way Studio currently does to show particles as green or red (good or bad).

The structure is an array of arrays. One array per anatomy/domain.

"good_bad_angles": [
    [
        0.9853368372884771,
        0.9973483833053962,
         ....
    ],
    [
      .....
    ]
   ]