#include "BIVISION.H"
HDIB CALLBACK Create8BitImageFromRegions( WORD ** RegionMatrix,
int Width,
int Height)
Description
Creates a 8-bit grayscale DIB form the input region matrix, transforming the labels of the regions into the range 0..255.
Parameters
|
WORD ** |
RegionMatrix |
The input region matrix. |
|
int |
Width |
Width of the input region matrix. |
|
int |
Height |
Height of the input region matrix. |
Return values
Handler of the generated DIB or NULL on error.
Requirements
Header : Declared in BiVision.h; include BiVision.h.
Library : Use BiVision.lib.
DLLs : BiVision.dll.