adams.flow.transformer.MergeObjectLocations
Merges the object locations in the report of the container passing through with the one obtained from storage.
The 'overlap action' determines what to do if objects overlap.
With the 'check type' you can still trigger a 'skip' if the type values of the two overlapping objects differ.
For simply merging all objects, choose a minOverlapRatio of 0.0 and the OverlapAction of KEEP.
Flow input/output:
- input: adams.data.image.AbstractImageContainer, adams.data.report.Report, adams.data.report.ReportHandler
- output: adams.data.image.AbstractImageContainer, adams.data.report.Report, adams.data.report.ReportHandler
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 | MergeObjectLocations |
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 name of the storage item to merge with (Report or ReportHandler).
command-line | -storage-name <adams.flow.control.StorageName> |
default | storage |
The report field prefix used in the report.
command-line | -prefix <java.lang.String> |
default | Object. |
The action to take when an object from this and the other report overlap.
command-line | -overlap-action <SKIP|KEEP> |
default | SKIP |
The action to take when an object has no overlaps at all.
command-line | -no-overlap-action <SKIP|KEEP> |
default | KEEP |
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 empty).
command-line | -type-suffix <java.lang.String> |
default |
|
The regular expression to apply to the type, ignored if empty.
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 |
The replacement string to use with the replacement regular expression.
command-line | -type-replace <java.lang.String> |
default |
|
The minimum ratio that an overlap must have before being considered an actual overlap.
command-line | -min-overlap-ratio <double> |
default | 0.0 |
minimum | 0.0 |
maximum | 1.0 |