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


Public Member Functions | |
| 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. | |
The eVision.EROIBW32f class is used to represent rectangular regions of interest inside BW32f gray-level images.
See ROIs.
Remarks:
License(s): BasicTypes
| None eVision.EROIBW32f.__init__ | ( | self | ) |
Constructs the eVision.EROIBW32f object.
| None eVision.EROIBW32f.__init__ | ( | self, | |
| eVision.EROIBW32f | other ) |
| other | The other eVision.EROIBW32f that we will copy into this one. |
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EBW8Vector | None | bw8Vector ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EBW8Vector | None | bw8Vector, | ||
| float | zoomX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EBW8Vector | None | bw8Vector, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EC24Vector | None | c24Vector ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EC24Vector | None | c24Vector, | ||
| float | zoomX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EC24Vector | None | c24Vector, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | zoomX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EBW8Vector | None | bw8Vector ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EBW8Vector | None | bw8Vector, | ||
| float | zoomX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EBW8Vector | None | bw8Vector, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EBW8Vector | None | bw8Vector, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| bw8Vector | When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EC24Vector | None | c24Vector ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EC24Vector | None | c24Vector, | ||
| float | zoomX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EC24Vector | None | c24Vector, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EC24Vector | None | c24Vector, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| c24Vector | When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors). |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Draw | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws an ROI/image in a device context.
Remarks:
An ROI/image can be drawn (its pixels rendered) using a device context.
The horizontal and vertical zooming factors can be different and must be contained in the 1/16..16 range. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EFramePosition | framePosition, | ||
| bool | handles ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EFramePosition | framePosition, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| bool | handles ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| color | Color in which to draw the frame. |
| handles | true if handles are to be drawn. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.ERGBColor | color, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| color | Color in which to draw the frame. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| color | Color in which to draw the frame. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| color | Color in which to draw the frame. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| color | Color in which to draw the frame. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| bool | handles ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFramePosition | framePosition, | ||
| bool | handles ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFramePosition | framePosition, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrame | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFramePosition | framePosition, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see eVision.EROIBW32f.DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.DrawFrameWithCurrentPen | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| None eVision.EROIBW32f.DrawFrameWithCurrentPen | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| None eVision.EROIBW32f.DrawFrameWithCurrentPen | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| None eVision.EROIBW32f.DrawFrameWithCurrentPen | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| bool | handles, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EROIBW32f.DrawFrameWithCurrentPen | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EFramePosition | framePosition, | ||
| bool | handles ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| None eVision.EROIBW32f.DrawFrameWithCurrentPen | ( | self, | |
| ctypes.c_void_p | graphicContext, | ||
| eVision.EFramePosition | framePosition, | ||
| bool | handles, | ||
| float | zoomX ) |
Draws a rectangular frame around an image or ROI.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EROIBW32f.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.
Remarks:
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles.
The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming.
(MFC users can use the CDC::GetSafeHdc() method to obtain a suitable device context handle from a CDC instance.)
| graphicContext | Handle to the device context of the destination window. |
| framePosition | Positioning of the frame relative to the ROI. |
| handles | true if handles are to be drawn. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in true scale. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. Setting a 0 value (which is the default) will result in isotropic scaling (i.e. equal horizontal and vertical factors). |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| eVision.EROIBW32f | None eVision.EROIBW32f.FirstSubROI | ( | self | ) |
See GetFirstSubROI in the derived classes.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
Reimplemented from eVision.EBaseROI.
| eVision.EROIBW32f | None eVision.EROIBW32f.GetNextROI | ( | self, | |
| eVision.EBaseROI | None | startROI ) |
Returns the next ROI in the list starting at startROI or null if there is no next ROI.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
| startROI | the first ROI in the list. |
Reimplemented from eVision.EBaseROI.
| eVision.EBW32f eVision.EROIBW32f.GetPixel | ( | self, | |
| int | x, | ||
| int | y ) |
Allows reading a single pixel value in the ROI or image.
Remarks:
Although coordinates outside of the ROI can be supplied, this function will raise an error condition if the coordinates are outside of the top parent image.
It should be noted that calling this function several thousand times can be slow. The recommended way to access pixel content in an image or ROI is to use the eVision.EBaseROI.GetImagePtr and eVision.EBaseROI.UseExternalBuffer functions.
| x | Offset of the pixel on the x axis. |
| y | Offset of the pixel on the y axis. |
| eVision.EBW32f eVision.EROIBW32f.GetUncheckedPixel | ( | self, | |
| int | x, | ||
| int | y ) |
| eVision.EImageBW32f | None eVision.EROIBW32f.Image | ( | self | ) |
Returns the image associated with this ROI, or NULL if there is no image associated.
| None eVision.EROIBW32f.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.EROIBW32f object from the given file.
| serializer | The eVision.ESerializer file-like object that is read from. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Load | ( | self, | |
| str | path ) |
Loads the eVision.EROIBW32f object from the given file.
| path | The full path of the source file. |
Reimplemented from eVision.EBaseROI.
| eVision.EROIBW32f | None eVision.EROIBW32f.NextSiblingROI | ( | self | ) |
This method returns the ROI that is the next sibling of this ROI.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
Reimplemented from eVision.EBaseROI.
| eVision.EROIBW32f | None eVision.EROIBW32f.Parent | ( | self | ) |
Returns the hierarchical parent of this object.
Deprecated due to the high runtime cost on all operations of maintaining a ROI hierarchy.
If a ROI hierarchy is necessary it is now recommended to maintain it outside of ROI and Image classes.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.EROIBW32f object to the given file.
Remarks:
By default (if no format is specified), the file format is determined from the file extension. If a serializer is used, then the Euresys proprietary file format is used. This format preserves attributes and sub-ROIs. See Supported Image File Types for details about supported files. See Image File Access - Save, Load - for details about file format and compatibility. For floating point images, only tiff and Euresys proprietary file format are supported.
| serializer | The eVision.ESerializer file-like object that is written to. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Save | ( | self, | |
| str | path ) |
Saves the eVision.EROIBW32f object to the given file.
Remarks:
By default (if no format is specified), the file format is determined from the file extension. If a serializer is used, then the Euresys proprietary file format is used. This format preserves attributes and sub-ROIs. See Supported Image File Types for details about supported files. See Image File Access - Save, Load - for details about file format and compatibility. For floating point images, only tiff and Euresys proprietary file format are supported.
| path | The full path of the destination file. |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Save | ( | self, | |
| str | path, | ||
| eVision.EImageFileType | type ) |
Saves the eVision.EROIBW32f object to the given file.
Remarks:
By default (if no format is specified), the file format is determined from the file extension. If a serializer is used, then the Euresys proprietary file format is used. This format preserves attributes and sub-ROIs. See Supported Image File Types for details about supported files. See Image File Access - Save, Load - for details about file format and compatibility. For floating point images, only tiff and Euresys proprietary file format are supported.
| path | The full path of the destination file. |
| type | File format, as defined by eVision.EImageFileType. If not specified, the file format is determined from the file extension. |
For floating point images, only tiff and Euresys proprietary file format are supported.
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.SaveJpeg | ( | self, | |
| str | path ) |
As the JPEG format does not work with floating point data, calling this function throws an exception.
| path | - |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.SaveJpeg | ( | self, | |
| str | path, | ||
| int | quality ) |
As the JPEG format does not work with floating point data, calling this function throws an exception.
| path | - |
| quality | - |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.SaveJpeg2K | ( | self, | |
| str | path ) |
As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.
| path | - |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.SaveJpeg2K | ( | self, | |
| str | path, | ||
| int | quality ) |
As the JPEG 2000 format does not work with floating point data, calling this function throws an exception.
| path | - |
| quality | - |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.SavePng | ( | self, | |
| str | path ) |
As the PNG format does not work with floating point data, calling this function throws an exception.
| path | - |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.SavePng | ( | self, | |
| str | path, | ||
| int | compression ) |
As the PNG format does not work with floating point data, calling this function throws an exception.
| path | - |
| compression | - |
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.Serialize | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Use eVision.EBaseROI.Save or eVision.EBaseROI.Load instead.
Deprecated in version 24.10. Scheduled to be removed in version 27.6.
Reimplemented from eVision.EBaseROI.
| None eVision.EROIBW32f.SetPixel | ( | self, | |
| eVision.EBW32f | value, | ||
| int | x, | ||
| int | y ) |
Allows writing a single pixel value in the ROI or image.
Remarks:
Although coordinates outside the ROI can be supplied, this function will raise an error condition if the coordinates are outside the top parent image.
It should be noted that calling this function several thousand times can be slow. The recommended way to access pixel content in an image or ROI is to use the eVision.EBaseROI.GetImagePtr and eVision.EBaseROI.UseExternalBuffer functions.
| value | value to set the pixel to. |
| x | Offset of the pixel on the x axis. |
| y | Offset of the pixel on the y axis. |
| None eVision.EROIBW32f.SetUncheckedPixel | ( | self, | |
| eVision.EBW32f | value, | ||
| int | x, | ||
| int | y ) |
| eVision.EImageBW32f | None eVision.EROIBW32f.TopParent | ( | self | ) |
Returns the top parent of this object.
Use eVision.EROIBW32f.Image instead.
Deprecated in version 26.10. Scheduled to be removed in version 27.10.