Initialize the image with (undefined) pixel and mask
data of the given width and height. This method may not be
called more than once.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 73.0.0.0
Syntax
Parameters
- DesiredWidth
- Type: System Int32
The desired width of the image in pixels.
- DesiredHeight
- Type: System Int32
The desired height of the image in pixels.
Implements
ICogImage Allocate(Int32, Int32)Exceptions
| Exception | Condition |
|---|---|
| CogImageAllocateSizeException | If the image is already allocated to a different size. |
See Also