Name
get_region_indexget_region_indexGetRegionIndexget_region_indexGetRegionIndexGetRegionIndex — Index of all regions containing a given pixel.
The operator get_region_indexget_region_indexGetRegionIndexget_region_indexGetRegionIndexGetRegionIndex returns the index
of all regions in RegionsRegionsRegionsRegionsRegionsregions (range of values: 1 to n)
containing the test pixel (RowRowRowRowRowrow,ColumnColumnColumnColumnColumncolumn), i.e.:
The returned indices can be used, e.g., in select_objselect_objSelectObjselect_objSelectObjSelectObj to
select the regions containing the test pixel.
If the regions overlap more than one region might contain the pixel.
In this case all these regions are returned.
If no region contains the indicated pixel the
empty tuple (= no region) is returned.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Line index of the test pixel.
Default value: 100
Typical range of values:
Row
Row
Row
Row
Row
row
(lin)
Column index of the test pixel.
Default value: 100
Typical range of values:
Column
Column
Column
Column
Column
column
(lin)
Index of the regions containing the test pixel.
If F is the area of the region and N is the number of regions the
mean runtime complexity is O(ln(sqrt(F)) * N).
The operator get_region_indexget_region_indexGetRegionIndexget_region_indexGetRegionIndexGetRegionIndex returns the value 2 (H_MSG_TRUE)
if the parameters are correct.
The behavior in case of empty input (no input regions available) is
set via the operator set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>).
If necessary an exception is raised.
thresholdthresholdThresholdthresholdThresholdThreshold,
regiongrowingregiongrowingRegiongrowingregiongrowingRegiongrowingRegiongrowing,
connectionconnectionConnectionconnectionConnectionConnection
select_region_pointselect_region_pointSelectRegionPointselect_region_pointSelectRegionPointSelectRegionPoint
get_mbuttonget_mbuttonGetMbuttonget_mbuttonGetMbuttonGetMbutton,
get_mpositionget_mpositionGetMpositionget_mpositionGetMpositionGetMposition,
test_region_pointtest_region_pointTestRegionPointtest_region_pointTestRegionPointTestRegionPoint
Foundation