Image16Grey MethodsCognex VisionPro 9.23

The Image16Grey type exposes the following members.

Methods

  NameDescription
Public methodAllocate

Initialize the image with (undefined) pixel data of the given width and height. This method may not be called more than once.

Public methodCopy 

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..

Public methodCopy(ImageCopyModeConstants)

Create a copy of this image in a new image. Pixels may be shared between images by specifying copyMode as SharePixels.

Public methodCopyBase

Create a copy of this image in a new image. Pixels may be shared between images by specifying copyMode as SharePixels.

Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodGet16GreyPixelMemory

Gets an object that can be used to directly access pixel memory.

Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetPixel

Pixel value at given location.

Public methodGetRoot

Returns the root image object that contains the raw pixel data.

Public methodGetTransform

Returns a transformation that maps points from the 'From' coordinate space to the 'To' space.

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 methodResumeAndRaiseChangedEvent

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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSetPixel

Sets the value of the pixel at the given location.

Public methodSetRoot

Sets the root image object that contains the raw pixel data.

Public methodSuspendChangedEvent

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.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
See Also