Skip to content

forember/BCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boustrophedon Cell Decomposition

Splits a binary image representing free space and obstacles into regions that can be covered using simple boustrophedon coverage. Mostly did this to brush up on C++ in preparation of resuming my CS degree at Winthrop University.

Dependencies

Building

To build, just run scripts/build.sh. Make sure you have a C++ compiler, libpng headers, and CMake installed.

Usage

bcd [-l LEEWAY] INPUT_PNG OUTPUT_PNG
  • INPUT_PNG: PNG image file with white as open space and black as obstacles.
  • OUTPUT_PNG: PNG image file to write partitioned map to.
  • LEEWAY: Number of pixels leeway to give overhangs.

About

Basic boustrophedon cell decomposition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published