|
| | Image (IImageView imageView) |
| | Constructs an Image from an IImageView instance.
|
| |
| | Image (PixelFormat pixelFormat, Size imageSize) |
| | Constructs an Image with a given size in pixels and pixel format.
|
| |
| | Image (PixelFormat pixelFormat, Size imageSize, IntPtr buffer, uint bufferSize) |
| | Constructs an Image from a pointer to a buffer.
|
| |
| | Image (string filePath) |
| | Constructs an Image from a file path.
|
| |
| | Image (string filePath, PixelFormat pixelFormat) |
| | Constructs an Image from a file path with a specified pixel format.
|
| |
| void | Dispose () |
| | Releases the resources used by the Image class.
|
| |
| void | ResetRegion () |
| | Resets the region on the image to the complete image.
|
| |
| Image | Copy () |
| | Creates a deep copy of the current Image.
|
| |
| Image | ConvertPixelFormat (PixelFormat pixelFormat) |
| | Converts the image to a different pixel format.
|
| |
| Image | ConvertPixelFormatWithFactor (PixelFormat pixelFormat, double factor) |
| | Converts an image into another pixel format with a factor multiplied to every pixel.
|
| |
| Image | Subtract (Image subtrahend) |
| | Subtracts the specified subtrahend image pixel-wise from the current image and returns the resulting image.
|
| |
| List< Image > | Deinterleave () |
| | Splits an image with an interleaved pixel format into individual images. The function separates e.g. multiple exposures embedded in the combined HDR raw image and provides them as independent images, each with the correctly associated exposure information.
|
| |
|
| PixelFormat | PixelFormat [get] |
| | Gets the pixel format from the image.
|
| |
| Size | Size [get] |
| | Gets the image size in pixels from the image.
|
| |
| uint | Width [get] |
| | Gets the image width in pixels from the image.
|
| |
| uint | Height [get] |
| | Gets the image height in pixels from the image.
|
| |
| IntPtr | Data [get] |
| | Gets the image buffer from the image.
|
| |
| long | SizeInBytes [get] |
| | Gets the size of the image data in bytes.
|
| |
| Metadata | Metadata [get, set] |
| | Gets or sets the metadata of the image.
|
| |
| Region | Region [get, set] |
| | Gets or sets a region of interest (ROI) for the specified image handle, which defines a sub-area of the image where operations or analyses are focused. Any points in the region that fall outside the bounds of the image are automatically discarded (clipped).
|
| |
| static IEqualityComparer< Image > | Comparer = new ImageEqualityComparer() [get] |
| | Gets a default equality comparer for comparing Image data values.
|
| |
Constructs an Image from an IImageView Instance.
This can be a buffer or a possibility to convert other libraries Images into this Image type.
- Since
- IDSImaging.Peak.ICV 1.3
Definition at line 17 of file Image.cs.
Constructs an Image from a file path with a specified pixel format.
This constructor loads an image from the given file path and forces the use of the specified pixel format. The function attempts to interpret the file using the provided format. If interpretation fails, an exception is thrown. Explicit conversion between image formats must be handled manually by the user.
The following image formats are supported:
-
PNG: (.png)
-
BMP: (.bmp)
-
JPEG: (.jpeg, .jpg)
-
RAW: (.raw)
Supported image and pixel formats
See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.
- Since
- IDSImaging.Peak.ICV 1.3
Definition at line 200 of file Image.cs.
Converts an image into another pixel format with a factor multiplied to every pixel.
If the input image has the same pixel format as the specified pixel format parameter, the image will be copied.
Supported conversions:
From PixelFormat.Coord3D_C8 or PixelFormat.Coord3D_C16 to PixelFormat.Coord3D_C32f
- Parameters
-
| pixelFormat | The target pixel format. |
| factor | The multiplication factor. |
- Returns
- A new image with the target pixel format.
- Since
- IDSImaging.Peak.ICV 1.3
Definition at line 420 of file Image.cs.