eVision Python API
Loading...
Searching...
No Matches
eVision.EImageBW32f Class Reference

The eVision.EImageBW32f class is used to represent rectangular regions of interest inside eVision.EBW32f gray-level images. More...

Inheritance diagram for eVision.EImageBW32f:
Collaboration diagram for eVision.EImageBW32f:

Public Member Functions

None __init__ (self)
 Constructs a eVision.EImageBW32f image.
None __init__ (self, int width, int height)
 Constructs a eVision.EImageBW32f image.
None __init__ (self, int width, int height, eVision.EBW32f constant)
 Constructs a eVision.EImageBW32f image.
None __init__ (self, eVision.EImageBW32f other)
 Constructs a eVision.EImageBW32f image.
None InitializeFromUnalignedBuffer (self, int width, int height, ctypes.c_void_p buffer, int pitch)
 Initializes image from an unaligned buffer.
None InitializeFromUnalignedBuffer (self, int width, int height, ctypes.c_void_p buffer)
 Initializes image from an unaligned buffer.
Public Member Functions inherited from eVision.EROIBW32f
None __init__ (self)
 Constructs the eVision.EROIBW32f object.
None __init__ (self, eVision.EROIBW32f other)
None SetPixel (self, eVision.EBW32f value, int x, int y)
 Allows writing a single pixel value in the ROI or image.
None SetUncheckedPixel (self, eVision.EBW32f value, int x, int y)
None Serialize (self, eVision.ESerializer|None serializer)
eVision.EROIBW32f|None GetNextROI (self, eVision.EBaseROI|None startROI)
 Returns the next ROI in the list starting at startROI or null if there is no next ROI.
eVision.EBW32f GetUncheckedPixel (self, int x, int y)
eVision.EBW32f GetPixel (self, int x, int y)
 Allows reading a single pixel value in the ROI or image.
None DrawFrame (self, ctypes.c_void_p graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, bool handles)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, ctypes.c_void_p graphicContext, eVision.ERGBColor color, bool handles)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, eVision.EFramePosition framePosition, bool handles)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
None DrawFrame (self, eVision.EDrawAdapter|None graphicContext, bool handles)
 Draws a rectangular frame around an image or ROI.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, float zoomX)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EC24Vector|None c24Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EC24Vector|None c24Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EC24Vector|None c24Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EC24Vector|None c24Vector, float zoomX)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EC24Vector|None c24Vector)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX)
 Draws an ROI/image in a device context.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EBW8Vector|None bw8Vector)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, float zoomX)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EC24Vector|None c24Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EC24Vector|None c24Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EC24Vector|None c24Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EC24Vector|None c24Vector, float zoomX)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EC24Vector|None c24Vector)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX, float zoomY, float panX, float panY)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX, float zoomY, float panX)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX, float zoomY)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EBW8Vector|None bw8Vector, float zoomX)
 Draws an ROI/image in a device context.
None Draw (self, ctypes.c_void_p graphicContext, eVision.EBW8Vector|None bw8Vector)
 Draws an ROI/image in a device context.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, bool handles)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX, float panY)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY, float panX)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX, float zoomY)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles, float zoomX)
 Draws a rectangular frame around an image or ROI.
None DrawFrameWithCurrentPen (self, ctypes.c_void_p graphicContext, eVision.EFramePosition framePosition, bool handles)
 Draws a rectangular frame around an image or ROI.
None Save (self, str path, eVision.EImageFileType type)
 Saves the eVision.EROIBW32f object to the given file.
None Save (self, str path)
 Saves the eVision.EROIBW32f object to the given file.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.EROIBW32f object to the given file.
None Load (self, str path)
 Loads the eVision.EROIBW32f object from the given file.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.EROIBW32f object from the given file.
None SavePng (self, str path, int compression)
 As the PNG format does not work with floating point data, calling this function throws an exception.
None SavePng (self, str path)
 As the PNG format does not work with floating point data, calling this function throws an exception.
None SaveJpeg (self, str path, int quality)
 As the JPEG format does not work with floating point data, calling this function throws an exception.
None SaveJpeg (self, str path)
 As the JPEG format does not work with floating point data, calling this function throws an exception.
None SaveJpeg2K (self, str path, int quality)
 As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.
None SaveJpeg2K (self, str path)
 As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.
eVision.EROIBW32f|None FirstSubROI (self)
 See GetFirstSubROI in the derived classes.
eVision.EROIBW32f|None NextSiblingROI (self)
 This method returns the ROI that is the next sibling of this ROI.
eVision.EROIBW32f|None Parent (self)
 Returns the hierarchical parent of this object.
eVision.EImageBW32f|None TopParent (self)
 Returns the top parent of this object.
eVision.EImageBW32f|None Image (self)
 Returns the image associated with this ROI, or NULL if there is no image associated.
Public Member Functions inherited from eVision.EBaseROI
bool IsAttached (self)
 Returns true if the ROI is attached to an image.
bool IsAnROI (self)
 Tests whether this object is an ROI or an image.
bool HasSubROI (self, eVision.EBaseROI|None subROI)
 Tests whether this object has a given attached ROI.
eVision.EBaseROI|None GetNextSiblingSubROI (self, eVision.EBaseROI|None subROI)
 This method returns the ROI that is the next sibling of the supplied ROI in the list of sub-ROIs.
None SetImagePtr (self, int width, int height, ctypes.c_void_p imagePointer, int bitsPerRow)
 Sets the pointer to an externally allocated image buffer.
None SetImagePtr (self, int width, int height, ctypes.c_void_p imagePointer)
 Sets the pointer to an externally allocated image buffer.
None UseExternalBuffer (self, int width, int height, ctypes.c_void_p buffer, int rowPitch)
 Sets the pointer to an externally allocated image buffer.
ctypes.c_void_p GetImagePtr (self, int x, int y)
 Returns a pointer to the pixel at given coordinates within the image/ROI.
ctypes.c_void_p GetImagePtr (self)
 Returns a pointer to the pixel at given coordinates within the image/ROI.
None CropToImage (self)
 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).
bool IsVoid (self)
 Tests if the topmost parent image of this hierarchy has a zero size.
None SetPlacement (self, int originX, int originY, int width, int height)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft, int paddingRight)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region, int paddingTop, int paddingBottom)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region, int paddingTop)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, 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.
None SetPlacement (self, eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom, int paddingLeft)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region, eVision.EFrame frame, int paddingTop)
 Sets the placement of an ROI, relative to its parent ROI/image.
None SetPlacement (self, eVision.ERegion region, eVision.EFrame frame)
 Sets the placement of an ROI, relative to its parent ROI/image.
list[eVision._eVision.EBaseROI|None] GetSubBaseROIs (self, bool recursive)
 Returns all the children, and possibly recursively all their children, too.
list[eVision._eVision.EBaseROI|None] GetSubBaseROIs (self)
 Returns all the children, and possibly recursively all their children, too.
eVision.EDragHandle HitTest (self, 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 (self, 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 (self, int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EDragHandle HitTest (self, int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EDragHandle HitTest (self, int x, int y)
 Detects if the cursor is placed over one of the dragging handles.
bool IsPointInside (self, eVision.EPoint position)
 Detects if the position is inside current ROI.
bool IsPixelInside (self, int x, int y)
 Detects if a pixel (given its x and y coordinates) is inside current ROI.
None Drag (self, 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.
None Drag (self, 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.
None Drag (self, 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.
None Drag (self, 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.
None Drag (self, eVision.EDragHandle dragHandle, int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the ROI.
None Detach (self)
None Attach (self, eVision.EBaseROI|None parent)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, int orgX, int orgY, int width, int height)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, int orgX, int orgY, int width)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, int orgX, int orgY)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft, int paddingRight)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, int paddingTop, int paddingBottom, int paddingLeft)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, int paddingTop, int paddingBottom)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, int paddingTop)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None 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.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom, int paddingLeft)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, eVision.EFrame frame, int paddingTop, int paddingBottom)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, eVision.EFrame frame, int paddingTop)
 This method attaches the ROI to another ROI or image.
None Attach (self, eVision.EBaseROI|None parent, eVision.ERegion region, eVision.EFrame frame)
 This method attaches the ROI to another ROI or image.
None CopyTo (self, eVision.EBaseROI dest)
 Copies all the data of the current eVision.EBaseROI object into another eVision.EBaseROI object and returns it.
None SetSize (self, int width, int height)
 Sets the width and height of an ROI/image.
None SetSize (self, eVision.EBaseROI|None other)
 Sets the width and height of an ROI/image.
eVision.EBaseROI|None BaseTopParent (self)
 Returns the image at the top of the hierarchy, or NULL if there is no image on top.
eVision.EBaseROI|None BaseImage (self)
 Returns the image associated with this ROI, or NULL if there is no image associated.
int RowPitch (self)
 Gets the pitch of a row (the number of bytes between two vertically adjacent pixels).
int ColPitch (self)
 Gets the pitch of a column (number of bytes between two horizontally adjacent pixels).
int BitsPerPixel (self)
 Gets the number of storage bits per pixel.
int OrgX (self)
 Gets or sets the x-coordinate of the upper left corner of the ROI, relative to its parent ROI/image.
 OrgX (self, int value)
 Gets or sets the x-coordinate of the upper left corner of the ROI, relative to its parent ROI/image.
int OrgY (self)
 Gets or sets the y-coordinate of the upper left corner of the ROI, relative to its parent ROI/image.
 OrgY (self, int value)
 Gets or sets the y-coordinate of the upper left corner of the ROI, relative to its parent ROI/image.
int Width (self)
 If eVision.EBaseROI is a ROI, gets or sets the width of the ROI.
 Width (self, int value)
 If eVision.EBaseROI is a ROI, gets or sets the width of the ROI.
int Height (self)
 If eVision.EBaseROI is a ROI, gets or sets the height of the ROI.
 Height (self, int value)
 If eVision.EBaseROI is a ROI, gets or sets the height of the ROI.
int TotalOrgX (self)
 Gets the x-coordinate of the upper left pixel of the ROI, relative to its topmost parent upper left pixel.
int TotalOrgY (self)
 Gets the y-coordinate of the upper left pixel of the ROI, relative to its topmost parent upper left pixel.
int TotalWidth (self)
 Gets the width, in pixels, of the ROI topmost parent.
int TotalHeight (self)
 Gets the height, in pixels, of the ROI topmost parent.
int PlanesPerPixel (self)
 Gets the number of color components in each pixel of the ROI/image.
eVision.EColorSystem ColorSystem (self)
 Gets or sets the color system used by this image, as defined by the eVision.EColorSystem enumeration.
 ColorSystem (self, eVision.EColorSystem value)
 Gets or sets the color system used by this image, as defined by the eVision.EColorSystem enumeration.
eVision.EImageType Type (self)
 Gets the ROI/image pixel type, as defined by the eVision.EImageType enumeration.
str Author (self)
 Gets or sets the Author attribute of the ROI/image.
 Author (self, str value)
 Gets or sets the Author attribute of the ROI/image.
str Comment (self)
 Gets or sets the Comment attribute of the ROI/image.
 Comment (self, str value)
 Gets or sets the Comment attribute of the ROI/image.
str Date (self)
 Gets or sets the Date attribute of the ROI/image.
 Date (self, str value)
 Gets or sets the Date attribute of the ROI/image.
str Title (self)
 Gets or sets the Title attribute of the ROI/image.
 Title (self, str value)
 Gets or sets the Title attribute of the ROI/image.

Detailed Description

The eVision.EImageBW32f class is used to represent rectangular regions of interest inside eVision.EBW32f gray-level images.

See ROIs.

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/4]

None eVision.EImageBW32f.__init__ ( self)

Constructs a eVision.EImageBW32f image.

Remarks:

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

The sizing constructor constructs an image of the given size. See eVision.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 eVision.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.

◆ __init__() [2/4]

None eVision.EImageBW32f.__init__ ( self,
int width,
int height )

Constructs a eVision.EImageBW32f image.

Remarks:

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

The sizing constructor constructs an image of the given size. See eVision.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 eVision.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.

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

◆ __init__() [3/4]

None eVision.EImageBW32f.__init__ ( self,
int width,
int height,
eVision.EBW32f constant )

Constructs a eVision.EImageBW32f image.

Remarks:

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

The sizing constructor constructs an image of the given size. See eVision.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 eVision.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.

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

◆ __init__() [4/4]

None eVision.EImageBW32f.__init__ ( self,
eVision.EImageBW32f other )

Constructs a eVision.EImageBW32f image.

Remarks:

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

The sizing constructor constructs an image of the given size. See eVision.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 eVision.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.

Parameters
otherAnother eVision.EImageBW32f object.

Member Function Documentation

◆ InitializeFromUnalignedBuffer() [1/2]

None eVision.EImageBW32f.InitializeFromUnalignedBuffer ( self,
int width,
int height,
ctypes.c_void_p buffer )

Initializes image from an unaligned buffer.

Remarks:

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.

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

◆ InitializeFromUnalignedBuffer() [2/2]

None eVision.EImageBW32f.InitializeFromUnalignedBuffer ( self,
int width,
int height,
ctypes.c_void_p buffer,
int pitch )

Initializes image from an unaligned buffer.

Remarks:

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.

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