#include "BIVISION.H"
WORD ** CALLBACK DrawVectors( RegionVectors * lpVectors,
int width,
int height)
Description
This function draws the Arc Vectors generated by VectorizeRegionBorders function to a matrix. The matrix can be converted to a DIB with the Create8BitImageFromRegions function. See the structure defines of the input value at Programming Notes.
Parameters
|
RegionVectors * |
lpVectors |
The input vector list structure. |
|
int |
Width |
Width of Region Matrix. |
|
int |
Height |
Height of Region Matrix. |
Return values
The generated matrix with the segmented arcs.
Programming notes
typedef struct {
int x;
int y;
void * Next;
} RegionPoint;
typedef struct {
RegionPoint * lpRegPoint;
void * Next;
} RegionVectors;
At the last points and last vectors of the lists, the Next pointers are NULL.
Requirements
Header : Declared in BiVision.h; include BiVision.h.
Library : Use BiVision.lib.
DLLs : BiVision.dll.