Source code of the paper: (Still in development)
We firstly consider the parallel architecture for better performace
Tested on modern INTEL CPU (with AVX instruction sets)
Tested on Windows 11 and Ubuntu 24.04
Tested with GCC which support C++17 or later
PCL (Point Cloud Library) 1.12.0 or later, with AVX compilation flag enabled OpenBLAS
Go to the PCL installation guide and follow the instructions for your platform.
git clone https://github.com/JefferyXeom/MAC_SHARP.git
cd MAC_SHARP
Our code is written in C++17 standard. If you want to compile it, please make sure your compiler supports C++17 or later. However, we only use some of the C++17 features, so you can also compile it with C++14 or lower standard by removing the following keywords:
- Inline variable: Those only used for cross file reference. There is replacement in lower standards.
- nodiscard: The one used for functions that return a value that should not be ignored.
All section bounded with
//---------------------------- Evaluation part ----------------------------
...
// -------------------------------------------------------------------------is for evaluation only. They are irrelevant to the algorithm itself and use ground truth to compute the error. You can remove them if you want to use the code in real applications.