An object that describes a rectangular array of 8 bit grey scale pixels.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision Image8Grey
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
The Image8Grey type exposes the following members.
| Name | Description | |
|---|---|---|
| Image8Grey | Constructs a new, unallocated instance of this class. | |
| Image8Grey(Int32, Int32) | Constructs a new Image8Grey, allocating image memory with the given width and height. |
| Name | Description | |
|---|---|---|
| Allocate | Initialize the image with (undefined) pixel data of the given width and height. This method may not be called more than once. | |
| Copy | Create a copy of this image in a new image. While the pixels will be copied, the CoordinateSpaceTree and PixelFromRootTransform will be shared. Equivalent to calling Copy with copyMode as CopyPixels.. | |
| Copy(ImageCopyModeConstants) | Create a copy of this image in a new image. Pixels may be shared between images by specifying copyMode as SharePixels. | |
| CopyBase | Create a copy of this image in a new image. Pixels may be shared between images by specifying copyMode as SharePixels. | |
| Equals | Compares the equality of this object with another. (Overrides ChangedEventShareableBase Equals(Object).) | |
| Get8GreyPixelMemory | Gets an object that can be used to directly access pixel memory. | |
| GetHashCode | Returns the hash code of this object. (Overrides ChangedEventShareableBase GetHashCode .) | |
| GetPixel | Pixel value at given location. | |
| GetRoot | Returns the root image object that contains the raw pixel data. | |
| GetTransform | Returns a transformation that maps points from the 'From' coordinate space to the 'To' space. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent. | |
| SetPixel | Sets the value of the pixel at the given location. | |
| SetRoot | Sets the root image object that contains the raw pixel data. | |
| SuspendChangedEvent | Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two Image8Grey objects. | |
| Inequality | Compares the inequality of two Image8Grey objects. |
| Name | Description | |
|---|---|---|
| SfCoordinateSpaceTree | ||
| SfPixelFromRootTransform | ||
| SfSelectedSpaceName |
| Name | Description | |
|---|---|---|
| Allocated | Whether there is pixel data associated with this image. | |
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| CoordinateSpaceTree | Get Returns the tree of all named coordinate spaces for this image. The tree provides advanced functions for managing coordinate spaces. | |
| Handle | (Overrides ChangedEventShareableBase Handle.) | |
| Height | Height of the image. | |
| PixelFromRootTransform | Get Transformation that maps points into pixel space ("#") from the root space ("@"). | |
| SelectedSpaceName | Get The name of the default coordinate space to be used by tools which process this image. | |
| Width | Width of the image. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. |