Image8Root ClassCognex VisionPro 9.20

An object that holds raw 8-bit pixel data of an image.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision Image8Root

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public sealed class Image8Root : ShareableBase, 
	IImage8RootBuffer, IImage8Root, IObject

The Image8Root type exposes the following members.

Constructors

  NameDescription
Public methodImage8Root 

Constructs a new instance of this class with default values.

Public methodImage8Root(Int32, Int32)

Constructs a new instance of this class with the given storage allocated.

Top
Methods

  NameDescription
Public methodCopy

Make a deep copy of the image root, the pixel memory is copied.

Public methodEquals
Compares the equality of this object with another.
(Overrides ShareableBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ShareableBase GetHashCode .)
Public methodGetRawPixelMemory

Gets an object that can be used to directly access the raw pixel data. The caller MUST call Dispose on this object when finished with it.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodInitialize

Initializes this IImage8RootBuffer. If scan0 and disposable are provided, it is initialized with the provided data. Otherwise, it is initialized with undefined data.

Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two Image8Root objects.
Public operatorStatic memberInequality
Compares the inequality of two Image8Root objects.
Top
Properties

  NameDescription
Public propertyHandle (Overrides ShareableBase Handle.)
Public propertyHeight

Returns the height of the pixel data.

Public propertyWidth

Returns the height of the pixel data.

Top
See Also