|
Binary Image Library
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>Functions | |
| void | thin (unsigned char *binary, int width, int height) |
| float * | medialaxistransformf (unsigned char *binary, int width, int height) |
| unsigned char * | medialaxistransform (unsigned char *binary, int width, int height) |
Medial axis transform and thin function.
Used for skeltonisation of images.
| unsigned char* medialaxistransform | ( | unsigned char * | binary, |
| int | width, | ||
| int | height | ||
| ) |
Binary raster-based medial axis transform.
| [in] | binary | - the binary image |
| width | - image width | |
| height | - image height |
| float* medialaxistransformf | ( | unsigned char * | binary, |
| int | width, | ||
| int | height | ||
| ) |
Medial axis transform, retainign distance to perimater
| [in] | binary | - the binary image. |
| width | - image width | |
| height | - image height |
| void thin | ( | unsigned char * | image, |
| int | xsize, | ||
| int | ysize | ||
| ) |
Thin a binary image using Rosenfeld's parallel thinning algorithm.
| [in,out] | binary | - the bianry image |
| xsize | - image width | |
| ysize | - image height |
1.8.11