Skip to content
/ blob Public

Single header implementation of "A linear-time component-labeling algorithm using contour tracing technique" by Fu Chang, Chun-Jen Chen, and Chi-Jen Lu.

License

Notifications You must be signed in to change notification settings

BlockoS/blob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blob - a 8-neighbour connected components labelling and contours extractor.

See blob.h for a complete documentation.

Reference

"A linear-time component-labeling algorithm using contour tracing technique" by Fu Chang, Chun-Jen Chen, and Chi-Jen Lu.

Example

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.

source

label

contours

Image reading and writing libraries stb_image.h, stb_image_write.h by Sean Barrett (public domain).

Build

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.

License

blob is licensed under the MIT License, see the LICENSE file for more information.

About

Single header implementation of "A linear-time component-labeling algorithm using contour tracing technique" by Fu Chang, Chun-Jen Chen, and Chi-Jen Lu.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published