adams.flow.transformer.CountObjectsInPolygon
Counts the objects in the report passing through that fall into the defined region.
Partial hits can be counted as well, using their percentage in overlap as count.
Flow input/output:
- input: adams.data.report.Report, adams.data.report.ReportHandler
- output: java.lang.Integer
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | CountObjectsInPolygon |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The X coordinates of the polygon (1-based).
command-line | -x <java.lang.String> |
default |
|
The Y coordinates of the polygon (1-based).
command-line | -y <java.lang.String> |
default |
|
If enabled, partial hits are counted as well.
command-line | -partial-counts <boolean> |
default | false |
If enabled, coordinates in the report are assumed to be 1-based instead of 0-based.
command-line | -one-based <boolean> |
default | false |
The report field prefix used in the report.
command-line | -prefix <java.lang.String> |
default | Object. |
If enabled, the type of the objects gets checked as well.
command-line | -check-type <boolean> |
default | false |
The report field suffix for the type used in the report (ignored if no check).
command-line | -type-suffix <java.lang.String> |
default |
|
The regular expression to apply to the type, ignored if no check.
command-line | -type-find <adams.core.base.BaseRegExp> |
default |
|
more | https://docs.oracle.com/javase/tutorial/essential/regex/ |
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html |