Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
Public Member Functions | Properties | List of all members
FaceSDK.Base.Image Class Reference
Inheritance diagram for FaceSDK.Base.Image:
FaceSDK.FaceSDKBase FaceSDK.Base.IImage FaceSDK.IFaceSDKBase FaceSDK.IFaceSDKBase

Public Member Functions

 Image (string path)
 Load an image from a file at a given path More...
 
 Image (byte[] data)
 Create an image from a bitmap More...
 
 Image (byte[] data, uint width, uint height)
 Create an image from a bitmap More...
 
 Image (byte[] data, uint width, uint height, uint stride)
 Create an image from a bitmap More...
 
- Public Member Functions inherited from FaceSDK.FaceSDKBase
override bool Equals (object obj)
 
override int GetHashCode ()
 
void CheckValidity (string objectName=null)
 Throw an ObjectDisposedException adding a given name to exception's Message in case that object is not valid More...
 
void Dispose ()
 

Properties

uint Width [get]
 
uint Height [get]
 
ulong Stride [get]
 
byte [] Data [get]
 
- Properties inherited from FaceSDK.FaceSDKBase
IntPtr Handle [get, protected set]
 
bool Valid [get]
 
- Properties inherited from FaceSDK.IFaceSDKBase
bool Valid [get]
 True if object is valid, false if disposed or not created properly More...
 
- Properties inherited from FaceSDK.Base.IImage
uint Width [get]
 Image width in pixels More...
 
uint Height [get]
 Image hidth in pixels More...
 
ulong Stride [get]
 bitmap row size in bytes More...
 
byte [] Data [get]
 Bitmap data More...
 

Constructor & Destructor Documentation

◆ Image() [1/4]

FaceSDK.Base.Image.Image ( string  path)
inline

Load an image from a file at a given path

Parameters
pathPath to a file

◆ Image() [2/4]

FaceSDK.Base.Image.Image ( byte []  data)
inline

Create an image from a bitmap

Parameters
dataA bitmap to crerate image from

◆ Image() [3/4]

FaceSDK.Base.Image.Image ( byte []  data,
uint  width,
uint  height 
)
inline

Create an image from a bitmap

Parameters
dataA bitmap to crerate image from
widthImage width
heightImage height

◆ Image() [4/4]

FaceSDK.Base.Image.Image ( byte []  data,
uint  width,
uint  height,
uint  stride 
)
inline

Create an image from a bitmap

Parameters
dataA bitmap to crerate image from
widthImage width
heightImage height
strideBitmap row size in bytes

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