IImage InterfaceCognex VisionPro 9.21

Interface that describes a rectangular array of pixels.

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

public interface IImage : IChangedEvent, IObject

The IImage 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 methodCopyBase

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

Public methodGetTransform

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

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.

(Inherited from IChangedEvent.)
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.

(Inherited from IChangedEvent.)
Top
Properties

  NameDescription
Public propertyAllocated

Whether there is pixel data associated with this image.

Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Inherited from IChangedEvent.)
Public propertyCoordinateSpaceTree
Get

Returns the tree of all named coordinate spaces for this image. The tree provides advanced functions for managing coordinate spaces.

Public propertyHeight

Height of the image.

Public propertyPixelFromRootTransform
Get

Transformation that maps points into pixel space ("#") from the root space ("@").

Public propertySelectedSpaceName
Get

The name of the default coordinate space to be used by tools which process this image.

Public propertyWidth

Width of the image.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Inherited from IChangedEvent.)
Top
See Also