Uses of Class
adams.flow.transformer.locateobjects.LocatedObject
-
-
Uses of LocatedObject in adams.data.areaoverlap
Methods in adams.data.areaoverlap with parameters of type LocatedObject Modifier and Type Method Description protected org.locationtech.jts.geom.Geometry
PolygonBased. toGeometry(LocatedObject obj)
Turns the object into a shape.Method parameters in adams.data.areaoverlap with type arguments of type LocatedObject Modifier and Type Method Description LocatedObjects
AbstractAreaOverlap. calculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.LocatedObjects
AbstractAreaOverlap. calculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.LocatedObjects
AreaOverlap. calculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.LocatedObjects
AreaOverlap. calculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.protected String
AbstractAreaOverlap. check(Map<LocatedObject,Map<LocatedObject,Double>> matches)
Hook method for checks before calculating the areas.protected String
AbstractAreaOverlap. check(Map<LocatedObject,Map<LocatedObject,Double>> matches)
Hook method for checks before calculating the areas.protected abstract LocatedObjects
AbstractAreaOverlap. doCalculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.protected abstract LocatedObjects
AbstractAreaOverlap. doCalculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.protected LocatedObjects
BoundingBoxBased. doCalculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.protected LocatedObjects
BoundingBoxBased. doCalculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.protected LocatedObjects
PolygonBased. doCalculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches.protected LocatedObjects
PolygonBased. doCalculate(Map<LocatedObject,Map<LocatedObject,Double>> matches, MessageCollection errors)
Computes the overlapping areas between the matches. -
Uses of LocatedObject in adams.data.objectfilter
Methods in adams.data.objectfilter that return LocatedObject Modifier and Type Method Description protected LocatedObject
MakeSquare. transform(LocatedObject object, double scaleX, double scaleY, int transX, int transY)
Scales/translates the given object.Methods in adams.data.objectfilter that return types with arguments of type LocatedObject Modifier and Type Method Description static List<LocatedObject>
MergeOverlapsHelper. findObjectsToMerge(LocatedObject obj, Map<LocatedObject,Double> matches, Set<LocatedObject> merged, String labelKey)
Determines the objects to merge.static List<LocatedObject>
MergeOverlapsHelper. mergeObjects(LoggingObject loggingObject, List<LocatedObject> objs, ObjectOverlap algorithm, String scoreKey, String labelKey, MergedScoreCalculation mergedScoreCalculation)
Merges the objects into a single on.Methods in adams.data.objectfilter with parameters of type LocatedObject Modifier and Type Method Description static List<LocatedObject>
MergeOverlapsHelper. findObjectsToMerge(LocatedObject obj, Map<LocatedObject,Double> matches, Set<LocatedObject> merged, String labelKey)
Determines the objects to merge.static org.locationtech.jts.geom.Geometry
MergeOverlapsHelper. toGeometry(LocatedObject obj, ObjectOverlap algorithm)
Turns the located object's polygon or bbox into a Geometry instance.protected LocatedObject
MakeSquare. transform(LocatedObject object, double scaleX, double scaleY, int transX, int transY)
Scales/translates the given object.Method parameters in adams.data.objectfilter with type arguments of type LocatedObject Modifier and Type Method Description static List<LocatedObject>
MergeOverlapsHelper. findObjectsToMerge(LocatedObject obj, Map<LocatedObject,Double> matches, Set<LocatedObject> merged, String labelKey)
Determines the objects to merge.static List<LocatedObject>
MergeOverlapsHelper. findObjectsToMerge(LocatedObject obj, Map<LocatedObject,Double> matches, Set<LocatedObject> merged, String labelKey)
Determines the objects to merge.static List<LocatedObject>
MergeOverlapsHelper. mergeObjects(LoggingObject loggingObject, List<LocatedObject> objs, ObjectOverlap algorithm, String scoreKey, String labelKey, MergedScoreCalculation mergedScoreCalculation)
Merges the objects into a single on. -
Uses of LocatedObject in adams.data.objectoverlap
Methods in adams.data.objectoverlap that return types with arguments of type LocatedObject Modifier and Type Method Description Map<LocatedObject,Map<LocatedObject,Double>>
AbstractObjectOverlap. matches(LocatedObjects annotations, LocatedObjects predictions)
Computes the overlapping objects between the annotations and the predictions and returns the matches.Map<LocatedObject,Map<LocatedObject,Double>>
AbstractObjectOverlap. matches(LocatedObjects annotations, LocatedObjects predictions)
Computes the overlapping objects between the annotations and the predictions and returns the matches.Map<LocatedObject,Map<LocatedObject,Double>>
ObjectOverlap. matches(LocatedObjects annotations, LocatedObjects predictions)
Computes the overlapping objects between the annotations and the predictions and returns the matches.Map<LocatedObject,Map<LocatedObject,Double>>
ObjectOverlap. matches(LocatedObjects annotations, LocatedObjects predictions)
Computes the overlapping objects between the annotations and the predictions and returns the matches.Methods in adams.data.objectoverlap with parameters of type LocatedObject Modifier and Type Method Description protected void
AbstractObjectOverlap. addMatch(Map<LocatedObject,Map<LocatedObject,Double>> matches, LocatedObject thisObj, LocatedObject otherObj, double score)
Records the match for the object.protected double
IntersectOverUnionRatio. calculateIoU(LocatedObject thisObj, LocatedObject otherObj)
Calculates the IoU for the two objects.protected void
AbstractObjectOverlap. copyMetaData(LocatedObject source, LocatedObject target)
Copies the specified meta-data values (if available) from source to target.protected void
AbstractObjectOverlap. initMatch(Map<LocatedObject,Map<LocatedObject,Double>> matches, LocatedObject thisObj)
Initializes the matches for the object.Method parameters in adams.data.objectoverlap with type arguments of type LocatedObject Modifier and Type Method Description protected void
AbstractObjectOverlap. addMatch(Map<LocatedObject,Map<LocatedObject,Double>> matches, LocatedObject thisObj, LocatedObject otherObj, double score)
Records the match for the object.protected void
AbstractObjectOverlap. addMatch(Map<LocatedObject,Map<LocatedObject,Double>> matches, LocatedObject thisObj, LocatedObject otherObj, double score)
Records the match for the object.protected abstract LocatedObjects
AbstractObjectOverlap. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected abstract LocatedObjects
AbstractObjectOverlap. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected LocatedObjects
AreaRatio. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected LocatedObjects
AreaRatio. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected LocatedObjects
IntersectOverUnionRatio. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected LocatedObjects
IntersectOverUnionRatio. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected LocatedObjects
Null. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected LocatedObjects
Null. doCalculate(LocatedObjects annotations, LocatedObjects predictions, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Computes the overlapping objects between the annotations and the predictions.protected void
AbstractObjectOverlap. initMatch(Map<LocatedObject,Map<LocatedObject,Double>> matches, LocatedObject thisObj)
Initializes the matches for the object.protected void
AbstractObjectOverlap. initMatch(Map<LocatedObject,Map<LocatedObject,Double>> matches, LocatedObject thisObj)
Initializes the matches for the object. -
Uses of LocatedObject in adams.data.overlappingobjectremoval
Method parameters in adams.data.overlappingobjectremoval with type arguments of type LocatedObject Modifier and Type Method Description abstract LocatedObjects
AbstractOverlappingObjectRemoval. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.abstract LocatedObjects
AbstractOverlappingObjectRemoval. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
KeepHighestMetaDataValue. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
KeepHighestMetaDataValue. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
MergeOverlaps. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
MergeOverlaps. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
OverlappingObjectRemoval. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
OverlappingObjectRemoval. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
PassThrough. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
PassThrough. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
RemoveAll. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
RemoveAll. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
RemoveLargerRectangle. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
RemoveLargerRectangle. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
RemoveSmallerRectangle. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects.LocatedObjects
RemoveSmallerRectangle. removeOverlaps(LocatedObjects objects, Map<LocatedObject,Map<LocatedObject,Double>> matches)
Removes overlapping image objects. -
Uses of LocatedObject in adams.flow.transformer
Methods in adams.flow.transformer with parameters of type LocatedObject Modifier and Type Method Description protected void
ImageAnnotator.AnnotatorPanel. logLabelClick(boolean add, LocatedObject object, String label)
Logs the addition/removal of a label.protected void
ImageAnnotator.AnnotatorPanel. logObjectRemoval(LocatedObject object)
Logs the removal of an object.protected void
CompareObjectTypes. updateType(LocatedObject obj, String typeKey)
Updates the type if necessary. -
Uses of LocatedObject in adams.flow.transformer.locateobjects
Methods in adams.flow.transformer.locateobjects that return LocatedObject Modifier and Type Method Description LocatedObject
LocatedObjects. find(int index)
Returns the object with the specified index.LocatedObject
LocatedObjects. find(String index)
Returns the object with the specified index.LocatedObject
LocatedObject. getClone()
Returns a clone of the object.Methods in adams.flow.transformer.locateobjects with parameters of type LocatedObject Modifier and Type Method Description boolean
AcceptAllLocatedObjectsFilter. accept(LocatedObject obj)
Whether to accept the located object.boolean
LocatedObjectFilter. accept(LocatedObject obj)
Whether to accept the located object.int
LocatedObject. compareTo(LocatedObject o)
Compares this object with the provided one.boolean
LocatedObject. overlap(LocatedObject other)
Returns whether the this and the other object overlap.double
LocatedObject. overlapRatio(LocatedObject other)
Returns the overlap ratio (1 = full overlap, 0 = no overlap).Rectangle
LocatedObject. overlapRectangle(LocatedObject other)
Returns the overlapping rectangle.Constructors in adams.flow.transformer.locateobjects with parameters of type LocatedObject Constructor Description LocatedObjects(LocatedObject object)
Initializes the list.LocatedObjects(LocatedObject[] objects)
Initializes the list.Constructor parameters in adams.flow.transformer.locateobjects with type arguments of type LocatedObject Constructor Description LocatedObjects(List<LocatedObject> objects)
Initializes the list. -
Uses of LocatedObject in adams.flow.transformer.negativeregions
Methods in adams.flow.transformer.negativeregions with parameters of type LocatedObject Modifier and Type Method Description protected void
SimpleBlockFill. fillInArea(IntArrayMatrixView matrix, LocatedObject obj, int color)
Fills in the area of the object with the specified color. -
Uses of LocatedObject in adams.gui.visualization.image
Fields in adams.gui.visualization.image with type parameters of type LocatedObject Modifier and Type Field Description protected DefaultListModel<LocatedObject>
AbstractPointOverlayFromReport.LocatedPointsPanel. m_ModelPoints
the list model with the objects.protected Map<LocatedObject,Polygon>
AbstractReportBasedOverlayHelper. m_ObjectLocationMappings
the cached object/location relation.protected Set<LocatedObject>
AbstractObjectOverlayFromReport.SelectedObjectFilter. m_Selected
the selected objects.protected Set<LocatedObject>
AbstractPointOverlayFromReport.SelectedObjectFilter. m_Selected
the selected objects.Methods in adams.gui.visualization.image that return types with arguments of type LocatedObject Modifier and Type Method Description Map<LocatedObject,Polygon>
AbstractReportBasedOverlayHelper. getObjectLocationMappings()
Returns the current object/location mappings.Methods in adams.gui.visualization.image with parameters of type LocatedObject Modifier and Type Method Description boolean
AbstractObjectOverlayFromReport.SelectedObjectFilter. accept(LocatedObject obj)
Whether to accept the located object.boolean
AbstractPointOverlayFromReport.SelectedObjectFilter. accept(LocatedObject obj)
Whether to accept the located object.protected String
AbstractReportBasedOverlayHelper. applyLabelFormat(LocatedObject object, String type)
Applies the label format to the object to generate a display string.int
LocatedObjectsTableModel. indexOf(LocatedObject obj)
Returns the index of the object in the underlying list.Constructor parameters in adams.gui.visualization.image with type arguments of type LocatedObject Constructor Description SelectedObjectFilter(Set<LocatedObject> selected)
Initializes the filter.SelectedObjectFilter(Set<LocatedObject> selected)
Initializes the filter. -
Uses of LocatedObject in adams.gui.visualization.object.objectannotations
Methods in adams.gui.visualization.object.objectannotations with parameters of type LocatedObject Modifier and Type Method Description static String
AnnotationUtils. applyLabelFormat(LocatedObject object, String typeSuffix, String labelFormat)
Applies the label format to the object to generate a display string. -
Uses of LocatedObject in adams.gui.visualization.object.objectannotations.colors
Fields in adams.gui.visualization.object.objectannotations.colors with type parameters of type LocatedObject Modifier and Type Field Description protected HashMap<LocatedObject,Color>
VaryByObject. m_ObjectColors
the object/color mapping.Methods in adams.gui.visualization.object.objectannotations.colors with parameters of type LocatedObject Modifier and Type Method Description protected abstract Color
AbstractAnnotationColors. doGetColor(LocatedObject object)
Returns the color for the object.protected Color
FixedColor. doGetColor(LocatedObject object)
Returns the color for the object.protected Color
PerType. doGetColor(LocatedObject object)
Returns the color for the object.protected Color
TypeColorMapping. doGetColor(LocatedObject object)
Returns the color for the object.protected Color
VaryByObject. doGetColor(LocatedObject object)
Returns the color for the object.Color
AbstractAnnotationColors. getColor(LocatedObject object)
Returns the color for the object.Color
AnnotationColors. getColor(LocatedObject object)
Returns the color for the object. -
Uses of LocatedObject in adams.gui.visualization.object.objectannotations.label
Methods in adams.gui.visualization.object.objectannotations.label with parameters of type LocatedObject Modifier and Type Method Description protected abstract void
AbstractLabelPlotter. doPlotLabel(LocatedObject object, Color color, Graphics2D g)
Plots the label.protected void
Anchored. doPlotLabel(LocatedObject object, Color color, Graphics2D g)
Plots the label.protected void
MultiLabelPlotter. doPlotLabel(LocatedObject object, Color color, Graphics2D g)
Plots the label.protected void
NoLabel. doPlotLabel(LocatedObject object, Color color, Graphics2D g)
Plots the label.void
AbstractLabelPlotter. plotLabel(LocatedObject object, Color color, Graphics2D g)
Plots the label.void
LabelPlotter. plotLabel(LocatedObject object, Color color, Graphics2D g)
Plots the label. -
Uses of LocatedObject in adams.gui.visualization.object.objectannotations.outline
Fields in adams.gui.visualization.object.objectannotations.outline with type parameters of type LocatedObject Modifier and Type Field Description protected Set<LocatedObject>
PolygonVertices. m_PlotSubset
the objects to limit the plotting to.protected Set<LocatedObject>
RectangleVertices. m_PlotSubset
the objects to limit the plotting to.Methods in adams.gui.visualization.object.objectannotations.outline that return LocatedObject Modifier and Type Method Description LocatedObject[]
PolygonVertices. getPlotSubset()
Returns the current subset to plot.LocatedObject[]
RectangleVertices. getPlotSubset()
Returns the current subset to plot.LocatedObject[]
SubsetPlotSupporter. getPlotSubset()
Returns the current subset to plot.Methods in adams.gui.visualization.object.objectannotations.outline with parameters of type LocatedObject Modifier and Type Method Description protected abstract void
AbstractStrokeOutlinePlotter. doPlot(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
PolygonOutline. doPlot(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
PolygonVertices. doPlot(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
RectangleOutline. doPlot(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
RectangleVertices. doPlot(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected abstract void
AbstractOutlinePlotter. doPlotOutline(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
AbstractStrokeOutlinePlotter. doPlotOutline(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
MultiOutlinePlotter. doPlotOutline(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
NoOutline. doPlotOutline(LocatedObject object, Color color, Graphics2D g)
Plots the outline.void
AbstractOutlinePlotter. plotOutline(LocatedObject object, Color color, Graphics2D g)
Plots the outline.void
OutlinePlotter. plotOutline(LocatedObject object, Color color, Graphics2D g)
Plots the outline of the object.void
PolygonVertices. setPlotSubset(LocatedObject obj)
Sets the object to limit the plotting to.void
PolygonVertices. setPlotSubset(LocatedObject[] objs)
Sets the objects to limit the plotting to.void
RectangleVertices. setPlotSubset(LocatedObject obj)
Sets the object to limit the plotting to.void
RectangleVertices. setPlotSubset(LocatedObject[] objs)
Sets the objects to limit the plotting to.void
SubsetPlotSupporter. setPlotSubset(LocatedObject obj)
Sets the object to limit the plotting to.void
SubsetPlotSupporter. setPlotSubset(LocatedObject[] objs)
Sets the objects to limit the plotting to.Method parameters in adams.gui.visualization.object.objectannotations.outline with type arguments of type LocatedObject Modifier and Type Method Description void
PolygonVertices. setPlotSubset(List<LocatedObject> objs)
Sets the objects to limit the plotting to.void
RectangleVertices. setPlotSubset(List<LocatedObject> objs)
Sets the objects to limit the plotting to.void
SubsetPlotSupporter. setPlotSubset(List<LocatedObject> objs)
Sets the objects to limit the plotting to. -
Uses of LocatedObject in adams.gui.visualization.object.objectannotations.shape
Methods in adams.gui.visualization.object.objectannotations.shape with parameters of type LocatedObject Modifier and Type Method Description protected abstract void
AbstractShapePlotter. doPlotShape(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
Center. doPlotShape(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
FilledPolygon. doPlotShape(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
FilledRectangle. doPlotShape(LocatedObject object, Color color, Graphics2D g)
Plots the outline.protected void
MultiShapePlotter. doPlotShape(LocatedObject object, Color color, Graphics2D g)
Plots the shape.protected void
NoShape. doPlotShape(LocatedObject object, Color color, Graphics2D g)
Plots the outline.void
AbstractShapePlotter. plotShape(LocatedObject object, Color color, Graphics2D g)
Plots the outline.void
ShapePlotter. plotShape(LocatedObject object, Color color, Graphics2D g)
Plots the outline of the object. -
Uses of LocatedObject in adams.gui.visualization.object.tools
Fields in adams.gui.visualization.object.tools declared as LocatedObject Modifier and Type Field Description protected LocatedObject
Edit. m_Object
the affected object.Fields in adams.gui.visualization.object.tools with type parameters of type LocatedObject Modifier and Type Field Description protected List<LocatedObject>
Edit. m_SelectedObjects
the currently selected object.protected List<LocatedObject>
Move. m_SelectedObjects
the currently selected object.Methods in adams.gui.visualization.object.tools that return types with arguments of type LocatedObject Modifier and Type Method Description protected com.github.fracpete.javautils.struct.Struct2<LocatedObject,Point>
Edit. selectVertex(Point p)
Returns the vertex that is associated with the location in the image.Methods in adams.gui.visualization.object.tools with parameters of type LocatedObject Modifier and Type Method Description protected boolean
Edit. addVertex(LocatedObject objectOld, Point vertex)
Adds the vertex to the specified object.protected boolean
Edit. updateVertex(LocatedObject objectOld, Point vertexOld, Point vertexNew)
Updates the selected object using the old/new vertices.
-