GlobalTransforms
Region - FillHoles
Computes a new region, starting from the original and filling the holes with area in the requested range.
IN
| Name | Type | Description |
|---|---|---|
| InRegion | Region | The input Region |
| InMinHoleArea | Int | Holes with an area lower than this value will be neglected. Range: 〔0, +inf). |
| InConnectivity | Enum < RegionConnectivity > | Type of connectivity used by the algorithm. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRegion | Region | The computed region. |
| Error | ErrorState | Gets the execution error message |
Region - RemoveBlobs
Computes a new region starting from the calling object and removing the blobs with the requested features.
IN
| Name | Type | Description |
|---|---|---|
| InRegion | Region | The input Region |
| InFeature | Enum < RegionFeature > | Feature type used to filter blobs. |
| InMinimum | Float | Blobs with a feature value lower than this will be neglected. Range 〔0, +inf). |
| InConnectivity | Enum < RegionConnectivity > | Type of connectivity used by the algorithm. |
| InRemoveBoundaryBlobs | Bool | If true, blobs that are touching the region frame will be removed, independently of their feature value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRegion | Region | The computed region. |
| Error | ErrorState | Gets the execution error message |
Region - RemoveBlobsOnRegionFrame
Removes the blobs of the calling object that are touching the frame of the provided region.
IN
| Name | Type | Description |
|---|---|---|
| InRegion | Region | The input Region |
| InBorderRegion | Region | Region whose frame is used to determine if the blobs must be deleted. |
| InConnectivity | Enum < RegionConnectivity > | Type of connectivity used by the algorithm. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRegion | Region | The computed region. |
| Error | ErrorState | Gets the execution error message |
Region - RemoveBorders
Computes a new region starting from the calling object and removing the requested margin from the outer borders.
IN
| Name | Type | Description |
|---|---|---|
| InRegion | Region | The input Region |
| InMarginX | Int | Margin from the horizontal borders. Range 〔0, +inf). |
| InMarginY | Int | Margin from the vertical borders. Range 〔0, +inf). |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRegion | Region | The computed region. |
| Error | ErrorState | Gets the execution error message |
Region - SplitIntoBlobs
Returns all the blobs that match the input parameters.
IN
| Name | Type | Description |
|---|---|---|
| InRegion | Region | The input Region |
| InMinBlobArea | Int | Blobs with an area lower than this value will be neglected. Range: 〔0, +inf). |
| InConnectivity | Enum < RegionConnectivity > | Type of connectivity used by the algorithm. |
| InRemoveBoundaryBlobs | Bool | If true, blobs that are touching the region's frame are neglected, regardless of their area value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRegion | RegionArray | An array containing all the found blobs. |
| Error | ErrorState | Gets the execution error message |
Region - SplitIntoClusters_DBSCAN
Splits the region into clusters.
IN
| Name | Type | Description |
|---|---|---|
| InRegion | Region | The input Region |
| InMinPoints | Int | Minimum number of neighbors to create a cluster from a point. Range: 〔1, +inf). |
| InEpsilon | Float | Maximum distance between two points to be considered neighbors. Range: (0, +inf). |
| InIgnoreOutliers | Bool | If true, no errors are thrown if outliers are found. |
| InMinBlobArea | Int | Blobs with an area lower than this value will be neglected. Range: 〔0, +inf). |
| InRemoveBoundaryBlobs | Bool | If true, blobs that are touching the region's frame are neglected, regardless of their area value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRegion | RegionArray | An array containing all the found blobs. |
| Error | ErrorState | Gets the execution error message |
Region - SplitIntoClusters_KMeans
Splits the region into clusters.
IN
| Name | Type | Description |
|---|---|---|
| InRegion | Region | The input Region |
| InClusters | Int | Number of clusters in which to split the region. Range: 〔2, +inf). |
| InMaxIterations | Int | Maximum number of iterations. Range: 〔1, +inf). |
| InAttempts | Int | Number of times the algorithm is executed using different initial labels. The algorithm returns at the end the labels that yield the best compactness. Range: 〔1, +inf). |
| InClustersInitialization | Enum < KMeansInitialization > | Method used to initialize clusters' centroids. |
| InMinBlobArea | Int | Blobs with an area lower than this value will be neglected. Range: 〔0, +inf). |
| InRemoveBoundaryBlobs | Bool | If true, blobs that are touching the region's frame are neglected, regardless of their area value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRegion | RegionArray | An array containing all the found blobs. |
| Error | ErrorState | Gets the execution error message |