eVision .NET API
Loading...
Searching...
No Matches
eVision.EImageBW8 Class Reference

The EImageBW8 class is used to represent rectangular regions of interest inside EBW8 gray-level images. See ROIs. More...

Inheritance diagram for eVision.EImageBW8:
Collaboration diagram for eVision.EImageBW8:

Public Member Functions

 EImageBW8 ()
 Constructs a EImageBW8 image.
 EImageBW8 (int width, int height)
 Constructs a EImageBW8 image.
 EImageBW8 (int width, int height, eVision.EBW8 constant)
 Constructs a EImageBW8 image.
 EImageBW8 (eVision.EImageBW8 other)
 Constructs a EImageBW8 image.
override void Serialize (eVision.ESerializer serializer)
void InitializeFromUnalignedBuffer (int width, int height, IntPtr buffer, int pitch)
 Initialize image from an unaligned buffer.
void InitializeFromUnalignedBuffer (int width, int height, IntPtr buffer)
 Initialize image from an unaligned buffer.
Public Member Functions inherited from eVision.EROIBW8
 EROIBW8 ()
 Constructs the EROIBW8 object.
 EROIBW8 (eVision.EROIBW8 other)
void SetPixel (eVision.EBW8 value, int x, int y)
 Allows writing a single pixel value in the ROI or image.
void SetUncheckedPixel (eVision.EBW8 value, int x, int y)
override void Serialize (eVision.ESerializer serializer)
new eVision.EROIBW8 GetNextROI (eVision.EBaseROI startROI)
 Returns the next ROI in the list starting at startROI or null if there is no next ROI.
eVision.EBW8 GetUncheckedPixel (int x, int y)
eVision.EBW8 GetPixel (int x, int y)
 Allows reading a single pixel value in the ROI or image.
Public Member Functions inherited from eVision.EBaseROI
bool IsAttached ()
 Returns true if the ROI is attached to an image.
bool IsAnROI ()
 Tests whether this object is an ROI or an image.
bool HasSubROI (eVision.EBaseROI subROI)
 Tests whether this object has a given attached ROI.
eVision.EBaseROI GetNextSiblingSubROI (eVision.EBaseROI subROI)
 This method returns the ROI that is the next sibling of the supplied ROI in the list of sub-ROIs.
eVision.EBaseROI GetNextROI (eVision.EBaseROI startROI)
 Returns the next ROI in the list starting at startROI or null if there is no next ROI.
void SetImagePtr (int width, int height, IntPtr imagePointer, int bitsPerRow)
 Sets the pointer to an externally allocated image buffer.
void SetImagePtr (int width, int height, IntPtr imagePointer)
 Sets the pointer to an externally allocated image buffer.
void UseExternalBuffer (int width, int height, IntPtr buffer, int rowPitch)
 Sets the pointer to an externally allocated image buffer.
IntPtr GetImagePtr (int x, int y)
 Returns a pointer to the pixel at given coordinates within the image/ROI.
IntPtr GetImagePtr ()
 Returns a pointer to the pixel at given coordinates within the image/ROI.
void CropToImage ()
 This method reduces the ROI size so that it is completely contained within its topmost parent image bounds (if such an image exists at the top of the hierarchy). This means that, after calling this method, either the ROI has a zero size, or all of its pixels map to valid pixels of the underlying image buffer. If the ROI is already contained within its parent image bounds, then this method does nothing.
void SetPlacement (int originX, int originY, int width, int height)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft, int paddingRight)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, int paddingTop, int paddingBottom)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, int paddingTop)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom, int paddingLeft, int paddingRight)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom, int paddingLeft)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, eVision.EFrame frame, int paddingTop)
 Sets the placement of an ROI, relative to its parent ROI/image.
void SetPlacement (eVision.ERegion region, eVision.EFrame frame)
 Sets the placement of an ROI, relative to its parent ROI/image.
eVision.EBaseROI[] GetSubBaseROIs (bool recursive)
 Returns all the children, and possibly recursively all their children, too.
eVision.EBaseROI[] GetSubBaseROIs ()
 Returns all the children, and possibly recursively all their children, too.
eVision.EDragHandle HitTest (int x, int y, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EDragHandle HitTest (int x, int y, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EDragHandle HitTest (int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EDragHandle HitTest (int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EDragHandle HitTest (int x, int y)
 Detects if the cursor is placed over one of the dragging handles.
bool IsPointInside (eVision.EPoint position)
 Detects if the position is inside current ROI.
bool IsPixelInside (int x, int y)
 Detects if a pixel (given its x and y coordinates) is inside current ROI.
void Drag (eVision.EDragHandle dragHandle, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the ROI.
void Drag (eVision.EDragHandle dragHandle, int x, int y, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the ROI.
void Drag (eVision.EDragHandle dragHandle, int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the ROI.
void Drag (eVision.EDragHandle dragHandle, int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the ROI.
void Drag (eVision.EDragHandle dragHandle, int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the ROI.
void Serialize (eVision.ESerializer serializer)
 Serializes the EBaseROI.
void Detach ()
void Attach (eVision.EBaseROI parent)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, int orgX, int orgY, int width, int height)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, int orgX, int orgY, int width)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, int orgX, int orgY)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft, int paddingRight)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, int paddingTop, int paddingBottom)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, int paddingTop)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom, int paddingLeft, int paddingRight)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom, int paddingLeft)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, eVision.EFrame frame, int paddingTop)
 This method attaches the ROI to another ROI or image.
void Attach (eVision.EBaseROI parent, eVision.ERegion region, eVision.EFrame frame)
 This method attaches the ROI to another ROI or image.
void CopyTo (eVision.EBaseROI dest)
 Copies all the data of the current EBaseROI object into another EBaseROI object and returns it.
void SetSize (int width, int height)
 Sets the width and height of an ROI/image.
void SetSize (eVision.EBaseROI other)
 Sets the width and height of an ROI/image.
void DrawFrame (eVision.EDrawAdapter graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, eVision.EFramePosition framePosition, bool handles)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (eVision.EDrawAdapter graphicContext, bool handles)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, bool handles)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.ERGBColor color, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (IntPtr graphicContext, eVision.ERGBColor color, bool handles)
 Draws a rectangular frame around an image or ROI.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EC24Vector c24Vector, float zoomX)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EC24Vector c24Vector)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EBW8Vector bw8Vector, float zoomX)
 Draws an ROI/image in a device context.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EBW8Vector bw8Vector)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, float zoomX)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EC24Vector c24Vector, float zoomX)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EC24Vector c24Vector)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EBW8Vector bw8Vector, float zoomX)
 Draws an ROI/image in a device context.
void Draw (IntPtr graphicContext, eVision.EBW8Vector bw8Vector)
 Draws an ROI/image in a device context.
void DrawFrameWithCurrentPen (IntPtr graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, bool handles)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrameWithCurrentPen (IntPtr graphicContext, eVision.EFramePosition framePosition, bool handles)
 Draws a rectangular frame around an image or ROI.
void Load (string path)
 Restores an image stored in the given file.
void Load (eVision.ESerializer serializer)
 Restores an image stored in the given file.
void Save (string path, eVision.EImageFileType type)
 Saves the EBaseROI object to the given file.
void Save (string path)
 Saves the EBaseROI object to the given file.
void Save (eVision.ESerializer serializer)
 Saves the EBaseROI object to the given file.
void SavePng (string path, int compression)
 Saves the EBaseROI object to the given file, in PNG format.
void SavePng (string path)
 Saves the EBaseROI object to the given file, in PNG format.
void SaveJpeg (string path, int quality)
 Saves the EBaseROI object to the given file, in JPEG format.
void SaveJpeg (string path)
 Saves the EBaseROI object to the given file, in JPEG format.
void SaveJpeg2K (string path, int quality)
 Saves the EBaseROI object to the given file, in JPEG 2000 format.
void SaveJpeg2K (string path)
 Saves the EBaseROI object to the given file, in JPEG 2000 format.
void DrawFrame (System.Drawing.Graphics graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, bool handles)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.EFramePosition framePosition, bool handles)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
void DrawFrame (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, bool handles)
 Draws a rectangular frame around an image or ROI.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, float zoomX)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EC24Vector c24Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EC24Vector c24Vector, float zoomX)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EC24Vector c24Vector)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EBW8Vector bw8Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EBW8Vector bw8Vector, float zoomX)
 Draws an ROI/image in a device context.
void Draw (System.Drawing.Graphics graphicContext, eVision.EBW8Vector bw8Vector)
 Draws an ROI/image in a device context.

Additional Inherited Members

Properties inherited from eVision.EROIBW8
new eVision.EROIBW8 FirstSubROI [get]
 See GetFirstSubROI in the derived classes.
new eVision.EROIBW8 NextSiblingROI [get]
 This method returns the ROI that is the next sibling of this ROI.
new eVision.EROIBW8 Parent [get]
 Returns the hierarchical parent of this object.
eVision.EImageBW8 TopParent [get]
 Returns the top parent of this object.
eVision.EImageBW8 Image [get]
 Returns the image associated with this ROI, or NULL if there is no image associated.
Properties inherited from eVision.EBaseROI
eVision.EBaseROI BaseTopParent [get]
 Returns the image at the top of the hierarchy, or NULL if there is no image on top.
eVision.EBaseROI BaseImage [get]
 Returns the image associated with this ROI, or NULL if there is no image associated.
eVision.EBaseROI Parent [get]
 Returns the hierarchical parent of this object.
eVision.EBaseROI FirstSubROI [get]
 See GetFirstSubROI in the derived classes.
eVision.EBaseROI NextSiblingROI [get]
 This method returns the ROI that is the next sibling of this ROI.
int RowPitch [get]
 Gets the pitch of a row (the number of bytes between two vertically adjacent pixels). This is also valid for BW1 images (one bit per pixel).
int ColPitch [get]
 Gets the pitch of a column (number of bytes between two horizontally adjacent pixels). For BW1 (one bit per pixel) images, this value is undefined.
uint BitsPerPixel [get]
 Gets the number of storage bits per pixel.
int OrgX [get, set]
 Gets or sets the x-coordinate of the upper left corner of the ROI, relative to its parent ROI/image.
int OrgY [get, set]
 Gets or sets the y-coordinate of the upper left corner of the ROI, relative to its parent ROI/image.
int Width [get, set]
 If EBaseROI is a ROI, gets or sets the width of the ROI. Otherwise, if EBaseROI is an image, gets or sets the width of the image (SetWidth has the same effect as EBaseROI.SetSize).
int Height [get, set]
 If EBaseROI is a ROI, gets or sets the height of the ROI. Otherwise, if EBaseROI is an image, gets or sets the height of the image (SetHeight has the same effect as EBaseROI.SetSize).
bool IsVoid [get]
 Tests if the topmost parent image of this hierarchy has a zero size.
int TotalOrgX [get]
 Gets the x-coordinate of the upper left pixel of the ROI, relative to its topmost parent upper left pixel.
int TotalOrgY [get]
 Gets the y-coordinate of the upper left pixel of the ROI, relative to its topmost parent upper left pixel.
int TotalWidth [get]
 Gets the width, in pixels, of the ROI topmost parent.
int TotalHeight [get]
 Gets the height, in pixels, of the ROI topmost parent.
uint PlanesPerPixel [get]
 Gets the number of color components in each pixel of the ROI/image.
eVision.EColorSystem ColorSystem [get, set]
 Gets or sets the color system used by this image, as defined by the EColorSystem enumeration.
eVision.EImageType Type [get]
 Gets the ROI/image pixel type, as defined by the EImageType enumeration.
string Author [get, set]
 Gets or sets the Author attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information.
string Comment [get, set]
 Gets or sets the Comment attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information.
string Date [get, set]
 Gets or sets the Date attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information.
string Title [get, set]
 Gets or sets the Title attribute of the ROI/image. This is a convenience property that allows storing some information in the ROI/image. Please note that not all file formats preserve this information.

Detailed Description

The EImageBW8 class is used to represent rectangular regions of interest inside EBW8 gray-level images. See ROIs.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EImageBW8() [1/4]

eVision.EImageBW8.EImageBW8 ( )

Constructs a EImageBW8 image.

The constructor with no arguments creates a zero-sized image. You can modify the image size by calling EBaseROI.SetSize method.

The sizing constructor constructs an image of the given size. See EBaseROI.SetSize for informations about the sizing restrictions.

The copy constructor copies all the supplied image properties (content, attributes, sub-ROIs...) into the current object. Note that if you used EBaseROI.UseExternalBuffer to assign an external buffer to the image, that buffer will not be copied, the resulting image will just point to the same buffer as the original.

◆ EImageBW8() [2/4]

eVision.EImageBW8.EImageBW8 ( int width,
int height )

Constructs a EImageBW8 image.

Parameters
widthThe width, in pixels.
heightThe height, in pixels.

The constructor with no arguments creates a zero-sized image. You can modify the image size by calling EBaseROI.SetSize method.

The sizing constructor constructs an image of the given size. See EBaseROI.SetSize for informations about the sizing restrictions.

The copy constructor copies all the supplied image properties (content, attributes, sub-ROIs...) into the current object. Note that if you used EBaseROI.UseExternalBuffer to assign an external buffer to the image, that buffer will not be copied, the resulting image will just point to the same buffer as the original.

◆ EImageBW8() [3/4]

eVision.EImageBW8.EImageBW8 ( int width,
int height,
eVision.EBW8 constant )

Constructs a EImageBW8 image.

Parameters
widthThe width, in pixels.
heightThe height, in pixels.
constantGray-level constant.

The constructor with no arguments creates a zero-sized image. You can modify the image size by calling EBaseROI.SetSize method.

The sizing constructor constructs an image of the given size. See EBaseROI.SetSize for informations about the sizing restrictions.

The copy constructor copies all the supplied image properties (content, attributes, sub-ROIs...) into the current object. Note that if you used EBaseROI.UseExternalBuffer to assign an external buffer to the image, that buffer will not be copied, the resulting image will just point to the same buffer as the original.

◆ EImageBW8() [4/4]

eVision.EImageBW8.EImageBW8 ( eVision.EImageBW8 other)

Constructs a EImageBW8 image.

Parameters
otherAnother EImageBW8 object.

The constructor with no arguments creates a zero-sized image. You can modify the image size by calling EBaseROI.SetSize method.

The sizing constructor constructs an image of the given size. See EBaseROI.SetSize for informations about the sizing restrictions.

The copy constructor copies all the supplied image properties (content, attributes, sub-ROIs...) into the current object. Note that if you used EBaseROI.UseExternalBuffer to assign an external buffer to the image, that buffer will not be copied, the resulting image will just point to the same buffer as the original.

Member Function Documentation

◆ InitializeFromUnalignedBuffer() [1/2]

void eVision.EImageBW8.InitializeFromUnalignedBuffer ( int width,
int height,
IntPtr buffer )

Initialize image from an unaligned buffer.

Parameters
widthWidth of the image in the buffer.
heightHeight of the image in the buffer.
bufferAddress of the buffer.

The image will be initialized to fit the width and height passed as arguments. The contents of the buffer will then be copied into the image. The buffer contents must be compatible with the pixel type of the image.

◆ InitializeFromUnalignedBuffer() [2/2]

void eVision.EImageBW8.InitializeFromUnalignedBuffer ( int width,
int height,
IntPtr buffer,
int pitch )

Initialize image from an unaligned buffer.

Parameters
widthWidth of the image in the buffer.
heightHeight of the image in the buffer.
bufferAddress of the buffer.
pitchPitch of the buffer (in bytes). If omitted, the method assumes there is no padding (the pitch is assumed be equal (width * sizeOfAPixel))

The image will be initialized to fit the width and height passed as arguments. The contents of the buffer will then be copied into the image. The buffer contents must be compatible with the pixel type of the image.

◆ Serialize()

override void eVision.EImageBW8.Serialize ( eVision.ESerializer serializer)
Deprecated

Use EBaseROI.Save or EBaseROI.Load instead.

Deprecated in version 24.10. Scheduled to be removed in version 27.6.