See blob.h for a complete documentation.
"A linear-time component-labeling algorithm using contour tracing technique" by Fu Chang, Chun-Jen Chen, and Chi-Jen Lu.
The test directory contains the source code of a small program that generates an image of the label buffer as long as a JSON file and a GNUplot data file containing the set of extracted contours.
Image reading and writing libraries stb_image.h, stb_image_write.h by Sean Barrett (public domain).
A CMake configuration file is provided in order to build a static library and the associated documentation. A typical usage of CMake may be:
mkdir build
cd build
cmake ..
cmake --build .
On a Linux system, the Makefile will generate a static library libblob.a
.
cmake --build . --target doc
will generate the documentation with DoxyGen.
blob
is licensed under the MIT License, see the LICENSE file for more information.