GrotjahnLab / surface_morphometrics

Morphometrics for Membrane Surfaces Segmented from Cryo-ET or other volumetric imaging.
GNU General Public License v3.0
18 stars 9 forks source link

Define canonical inward direction for surfaces #19

Open bbarad opened 1 year ago

bbarad commented 1 year ago

Pseudocode plan:

  1. Measure the center of mass of each section of surface when it is first generated (or of the overall? gotta test)
  2. For each isolated section, test which flip minimizes the area-weighted average of the angle between the normal and the line to the center of mass.
  3. Choose the flip which minimizes.