visageSDK
Public Member Functions | Public Attributes | List of all members
VisageCSWrapper.VSImage Struct Reference

Image storage class. More...

Public Member Functions

 VSImage (int width, int height, int depth, int nChannels, int dataOrder=0, int origin=0)
 Constructor. More...
 

Public Attributes

int width
 Image width in pixels. More...
 
int height
 Image height in pixels. More...
 
int depth
 Pixel depth in bits: VS_DEPTH_8U, VS_DEPTH_8S, VS_DEPTH_16S, VS_DEPTH_32S, VS_DEPTH_32F and VS_DEPTH_64F are supported. More...
 
int widthStep
 Size of aligned image row in bytes. More...
 
int dataOrder
 0 - interleaved color channels, 1 - separate color channels. More...
 
int nChannels
 Most functions support 1,2,3 or 4 channels More...
 
int origin
 0 - top-left origin, 1 - bottom-left origin. More...
 
byte[] imageData
 Pointer to aligned image data. More...
 

Detailed Description

Image storage class.

Definition at line 11 of file VSImage.cs.

Constructor & Destructor Documentation

VisageCSWrapper.VSImage.VSImage ( int  width,
int  height,
int  depth,
int  nChannels,
int  dataOrder = 0,
int  origin = 0 
)

Constructor.

Parameters
widthImage width in pixels.
heightImage height in pixels.
depthPixel depth in bits.
nChannelsNumber of channels.
dataOrder0 - interleaved color channels, 1 - separate color channels.
origin0 - top-left origin, 1 - bottom-left origin.

Member Data Documentation

int VisageCSWrapper.VSImage.dataOrder

0 - interleaved color channels, 1 - separate color channels.

Definition at line 52 of file VSImage.cs.

int VisageCSWrapper.VSImage.depth

Pixel depth in bits: VS_DEPTH_8U, VS_DEPTH_8S, VS_DEPTH_16S, VS_DEPTH_32S, VS_DEPTH_32F and VS_DEPTH_64F are supported.

Definition at line 40 of file VSImage.cs.

int VisageCSWrapper.VSImage.height

Image height in pixels.

Definition at line 34 of file VSImage.cs.

byte [] VisageCSWrapper.VSImage.imageData

Pointer to aligned image data.

Definition at line 70 of file VSImage.cs.

int VisageCSWrapper.VSImage.nChannels

Most functions support 1,2,3 or 4 channels

Definition at line 58 of file VSImage.cs.

int VisageCSWrapper.VSImage.origin

0 - top-left origin, 1 - bottom-left origin.

Definition at line 64 of file VSImage.cs.

int VisageCSWrapper.VSImage.width

Image width in pixels.

Definition at line 28 of file VSImage.cs.

int VisageCSWrapper.VSImage.widthStep

Size of aligned image row in bytes.

Definition at line 46 of file VSImage.cs.


The documentation for this struct was generated from the following file: