Skip to content

danielrand/Computer-Vision-Chain-Coding

Repository files navigation

Computer-Vision-Chain-Coding

Image object boundary detection using Chain Code computer vision technique.

How to run:

Input

Provide as input a command line argument that is a text file representing a greyscale image with a labeled connected component. The first line of the file must be a header containing four integers corresponding to number of rows, number of columns, min val, and max value of input.

Output

The program will generate two output files.

  1. A file with be the compressed input file expressed as a string of integers denoting the connected component's chain code.
  2. A file is generated by decompressing the generated compressed file and highlighting the boundary of the connected component using only the chain code.

Here's example output files generated by the program on the sample: https://github.com/danielrand/Computer-Vision-Chain-Coding/blob/master/sampleOutput

About

Image object edge detection using Chain Code computer vision technique.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages