com.inscoper.api.RoiCrop¶
RoiCrop class defines a Region Of Interest for cropping. More...
Public Functions¶
| Name | |
|---|---|
| synchronized void | delete() |
| RoiCrop() Default constructor. |
|
| int | getHeight() Get height. |
| void | setHeight(int height) Set height. |
| int | getWidth() Get width. |
| void | setWidth(int width) Set width. |
| int | getX() Get X coordinate. |
| void | setX(int x) Set X coordinate. |
| int | getY() Get Y coordinate. |
| void | setY(int y) Set Y coordinate. |
Protected Functions¶
| Name | |
|---|---|
| RoiCrop(long cPtr, boolean cMemoryOwn) | |
| void | finalize() |
| long | getCPtr(RoiCrop obj) |
| long | swigRelease(RoiCrop obj) |
Protected Attributes¶
| Name | |
|---|---|
| transient boolean | swigCMemOwn |
Detailed Description¶
RoiCrop class defines a Region Of Interest for cropping.
Specifies a rectangular region defined by its top-left coordinates (x, y) and its dimensions (width, height) to be used for image cropping operations.
Public Functions Documentation¶
function delete¶
function RoiCrop¶
Default constructor.
Initializes a RoiCrop with all values set to 0.
function getHeight¶
Get height.
Return: The height value
Retrieves the height of the crop region.
function setHeight¶
Set height.
Parameters:
- height : The new height value
Sets the height of the crop region.
function getWidth¶
Get width.
Return: The width value
Retrieves the width of the crop region.
function setWidth¶
Set width.
Parameters:
- width : The new width value
Sets the width of the crop region.
function getX¶
Get X coordinate.
Return: The X coordinate
Retrieves the X coordinate (left) of the crop region.
function setX¶
Set X coordinate.
Parameters:
- x : The new X coordinate
Sets the X coordinate (left) of the crop region.
function getY¶
Get Y coordinate.
Return: The Y coordinate
Retrieves the Y coordinate (top) of the crop region.
function setY¶
Set Y coordinate.
Parameters:
- y : The new Y coordinate
Sets the Y coordinate (top) of the crop region.
Protected Functions Documentation¶
function RoiCrop¶
function finalize¶
function getCPtr¶
function swigRelease¶
Protected Attributes Documentation¶
variable swigCMemOwn¶
Updated on 2026-04-02 at 10:55:38 +0200