Skip to content

Latest commit

 

History

History
34 lines (32 loc) · 1.69 KB

Code_Maintenance_Doc.md

File metadata and controls

34 lines (32 loc) · 1.69 KB

2D Shape Decomposition Code Maintenance Document

By: Articulation Group(Di, Chenghao, Jialin)
Date: 11/24/2020

✔️ : Working MATLAB code.
✅ : Translated MATLAB code and tested in Python.

MATLAB code files:

  • BlumMedialAxis.m: #modified ✔️
    • Added new function prune_wWEDF(bma, wedfThreshold)
    • Changed prune(bma, etRatio, stThreshold) to prune_wETST(bma, etRatio, stThreshold)
    • Debugged findOrAdd to include cases of multiple boundary points being on the same bma circle
  • medialaxis.m: #modified, #translated
    • Added disp()s and plot()s for debugging
  • branchesforbma.m: #modified ✔️
    • Debugged indexing issues and corrected condition of an if-statement
  • calculateEDF.m: #modified ✔️
    • Marked and commented out unresolved bug which does not seem to affect current output.
  • branchnew.m: #unmodified ✔️
  • medialorder.m: #unmodified, #translated
  • calculateWEDF.m: #unmodified ✔️
  • dijkstra.m: #unmodified
  • sparse_to_csr.m: #unmodified ✔️
  • readbndry.m: #testcode
    • Read images for performing shape analysis.
  • saveCatBMA.m: #testcode
    • Perform shape analysis on a sample cat image and saves WEDF plot to a designated path.

Python code files:

  • medialaxis.py: #tested
  • medialorder.py: #tested
  • BlumMedialAxis.py: #translating
  • calculateWEDF.py: #translating
  • find_contour.py: #testcode
    • Get boundary points of the biggest object in a binary image.