Image16Root ClassCognex VisionPro 9.22

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

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision Image16Root

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

public sealed class Image16Root : ShareableBase, 
	IImage16RootBuffer, IImage16Root, IObject

The Image16Root type exposes the following members.

Constructors

  NameDescription
Public methodImage16Root 

Constructs a new instance of this class with default values.

Public methodImage16Root(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 IImage16RootBuffer. 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 Image16Root objects.
Public operatorStatic memberInequality
Compares the inequality of two Image16Root objects.
Top
Properties

  NameDescription
Public propertyHandle (Overrides ShareableBase Handle.)
Public propertyHeight

Returns the height of the pixel data.

Public propertyWidth

Returns the width of the pixel data.

Top
See Also