This release is part of the paper: "Spherical Cap Harmonic Analysis (SCHA) for Characterising the Morphology of Rough Surface Patches" By: Mahmoud Shaqfa, Gary P. T. Choi, Katrin Beyer
See the article (open access): https://www.sciencedirect.com/science/article/pii/S0032591021006720
The Matlab codes include implementations for:
- Spherical Cap Harmonics (SCH)
- Spherical Harmonics (SH)
- Hemispherical Harmonics (HSH)
The code should be readily avilable for running on Matlab (never tested for Octave). The .m files that start with Main_.. are the main interfaces proposed by the authors for running the suggested topics in the paper. They already contain exhaustive comments on the how-to-use. For instructions on the usage of these files please refer to the paper or Mahmoud Shaqfa.
These codes deal with morphological reconstruction of convex and nonconvex open and closed surfaces. This paper is focusing mainly on dealing with rough surfaces but it also can be used for different applications such as medical imaging.
A video render of the reconstruction process for the geometry in Fig. 9 of the abovementioned paper can be found here:
Please refer to the code and video by citing the paper as follows:
Mahmoud Shaqfa, Gary P.T. Choi, Katrin Beyer (2021), Spherical cap harmonic analysis (SCHA) for characterising the morphology of rough surface patches, Powder Technology, Volume 393, Pages 837-856, ISSN 0032-5910, https://doi.org/10.1016/j.powtec.2021.07.081.