This class represent an Image. This image is represented by a width, a height, the Pixel format, and an array of raw data. More...
Public Member Functions | |
| VisionImage () | |
| Constructor More... | |
| int | bytesPerPixel () |
| Calculate the number of bytes per pixel based on the pixel format More... | |
| System.Drawing.Imaging.PixelFormat | systemPixelFormat () |
| Converts the VisionPixelFormat to the respective System.Drawing.Imaging.PixelFormat More... | |
| Bitmap | AsBitmap () |
| Convert the VisionImage to a Bitmap Object that can be displayed in a Windows Form PictureBox This method does not supprt Image transferred as PNG More... | |
| static bool | DeleteObject (IntPtr hObject) |
| ImageSource | AsImageSource () |
| Converts the VisionImage to an ImageSource Object that can be displayed in a WPF PictureBox More... | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Public Member Functions inherited from VisionSDK.VisionObject | |
| override string | ToString () |
| string | ToJson () |
| override int | GetHashCode () |
| override bool | Equals (object obj) |
Properties | |
| int | Width [get, set] |
| The Image Width in Pixels More... | |
| int | Height [get, set] |
| The Image height in Pixels More... | |
| VisionPixelFormats | PixelFormat [get, set] |
| The Pixel Format More... | |
| byte[] | Data [get, set] |
| The Array conaining the raw data More... | |
| VisionCalibration | Calibration [get, set] |
| The Calibration Associated to the Image More... | |
This class represent an Image. This image is represented by a width, a height, the Pixel format, and an array of raw data.
| VisionSDK.VisionImage.VisionImage | ( | ) |
Constructor
| Bitmap VisionSDK.VisionImage.AsBitmap | ( | ) |
Convert the VisionImage to a Bitmap Object that can be displayed in a Windows Form PictureBox This method does not supprt Image transferred as PNG
| ImageSource VisionSDK.VisionImage.AsImageSource | ( | ) |
Converts the VisionImage to an ImageSource Object that can be displayed in a WPF PictureBox
| int VisionSDK.VisionImage.bytesPerPixel | ( | ) |
Calculate the number of bytes per pixel based on the pixel format
| static bool VisionSDK.VisionImage.DeleteObject | ( | IntPtr | hObject | ) |
| override bool VisionSDK.VisionImage.Equals | ( | object | obj | ) |
| override int VisionSDK.VisionImage.GetHashCode | ( | ) |
| System.Drawing.Imaging.PixelFormat VisionSDK.VisionImage.systemPixelFormat | ( | ) |
Converts the VisionPixelFormat to the respective System.Drawing.Imaging.PixelFormat
|
getset |
The Calibration Associated to the Image
|
getset |
The Array conaining the raw data
|
getset |
The Image height in Pixels
|
getset |
The Pixel Format
|
getset |
The Image Width in Pixels