Uses of Interface
adams.flow.transformer.locateobjects.ObjectPrefixHandler
-
-
Uses of ObjectPrefixHandler in adams.data.conversion
Classes in adams.data.conversion that implement ObjectPrefixHandler Modifier and Type Class Description class
LocatedObjectsToReport
Converts the array of LocatedObject instances to a report. -
Uses of ObjectPrefixHandler in adams.data.image.multiimageoperation
Classes in adams.data.image.multiimageoperation that implement ObjectPrefixHandler Modifier and Type Class Description class
MergeGrid
Merges a grid of sub-images into a single image, including the annotations.
Opposite operation to adams.data.image.transformer.subimages.Grid.
Expects the image array to represent the cells in the grid in a row-wise fashion.
Only combines object annotations from reports, other field values will be discarded.
Does not remove overlapping objects, see adams.flow.transformer.DeleteOverlappingImageObjects.
See also:
adams.data.image.transformer.subimages.Grid
adams.flow.transformer.DeleteOverlappingImageObjects
-
Uses of ObjectPrefixHandler in adams.data.image.transformer.subimages
Classes in adams.data.image.transformer.subimages that implement ObjectPrefixHandler Modifier and Type Class Description class
AbstractSubImagesGenerator
Ancestor for classes that generate subimages from a single image.class
Grid
Splits the image using a grid of specified number of columns and rows.
Additional report values:
- Row for the row
- Column for the column
- Coordinates for the 1-based coordinates (x,y,w,h)
It is possible to generate overlapping images (all but last row and last column) by defining overlaps.class
LabeledRegions
Extracts the sub-images according to the region definitions.
Additional report values:
- Region: for the region
- Coordinates: for the 1-based coordinates (x,y,w,h)
class
Objects
Extracts sub-images defined by the objects that the object finder locates.class
PassThrough
Dummy generator, simply passes the original image through.class
Regions
Extracts the sub-images according to the region definitions.
Additional report values:
- Region for the region
-
Uses of ObjectPrefixHandler in adams.data.io.input
Classes in adams.data.io.input that implement ObjectPrefixHandler Modifier and Type Class Description class
CocoAnnotationsReportReader
Loads COCO annotations from the JSON file, with one report per image.
Handles only segmentations with polygons (not RLE) and only one polygon per annotation.class
DetectronAnnotationsReportReader
Interprets rectangle annotations present in Detectron annotations JSON file.class
ObjectLocationsSpreadSheetReader
Reads object locations from a spreadsheet into a report.
Top/left column is required.
Either right/bottom or width/height need to be supplied.
In addition, polygon coordinates (X and Y coordinates as comma-separated lists in two separate columns) can be read as well.
If the coordinates/dimensions represent normalized ones (ie 0-1), then specify the width/height of the image to relate them back to actual pixel-based sizes.class
OpexObjectLocationsReader
Reads object locations from JSON generated by the opex library.
See more:
https://github.com/WaikatoLink2020/objdet-predictions-exchange-format
class
PascalVOCObjectLocationsReader
Reads object locations in Pascal VOC format.
See more:
https://github.com/WaikatoLink2020/objdet-predictions-exchange-format
class
VggXmlAnnotationReportReader
Reads XML image annotation files, like used in the pets dataset:
http://www.robots.ox.ac.uk/~vgg/data/pets/
class
ViaAnnotationsReportReader
Interprets polygon annotations generated by VGG Image Annotator.
For more information, see:
http://www.robots.ox.ac.uk/~vgg/software/via/
class
YoloAnnotationsReportReader
Reads text files with YOLO object annotations, one object definition per line:
BBox format:
- format: <object-class> <x> <y> <width> <height>
- object-class: 0-based index
- x/y: normalized center of annotation
- width/height: normalized width/height
- Normalization uses image width/height
Polygon format:
- format: <object-class> <x0> <y0> <x1> <y1>...
- object-class: 0-based index
- x/y: normalized polygon point
-
Uses of ObjectPrefixHandler in adams.data.io.output
Classes in adams.data.io.output that implement ObjectPrefixHandler Modifier and Type Class Description class
DeepLabCutCSVWriter
Writes point annotations from multiple reports in DeepLabCut's CSV format.
Expects the filename to be stored in the 'File' report field. -
Uses of ObjectPrefixHandler in adams.data.objectfinder
Subinterfaces of ObjectPrefixHandler in adams.data.objectfinder Modifier and Type Interface Description interface
ObjectFinder
Interface for finders that locate objects in the report of an image.Classes in adams.data.objectfinder that implement ObjectPrefixHandler Modifier and Type Class Description class
AbstractMetaObjectFinder
Ancestor for object finders that use a base finder.class
AbstractObjectFinder
Ancestor for finders that locate objects in the report of an image.class
AllFinder
Returns all indices.class
ByMetaDataNumericValue
Returns indices of objects which numeric meta-data value match the min/max.class
ByMetaDataStringValue
Outputs the indices of objects where the specified regular expression matches the value associated with the given meta-data key.class
HasMetaDataValue
Outputs the indices of objects where the specified meta-data key is present.class
Invert
Inverts the indices of the base object finder.class
MultiObjectFinder
Applies multiple object finding algorithms to the data.
The indices can be either joined or intersected.class
NullFinder
Finds no indices.class
ObjectsInPolygon
Locates the objects that fall into the defined polygon.
Partial hits can be considered as well.class
ObjectsInRegion
Locates the objects that fall into the defined region.
Partial hits can be considered as well.class
PolygonPoints
Returns the indices of objects which polygons satisfy specified min/max for number of points.class
Size
Applies the minimum/maximum constraints to width/height (according to the chosen type). -
Uses of ObjectPrefixHandler in adams.flow.transformer
Classes in adams.flow.transformer that implement ObjectPrefixHandler Modifier and Type Class Description class
CompareObjectTypes
Compares the object types between objects from the two reports.
The first report is considered 'ground truth'.class
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.class
CountObjectsInRegion
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.class
ImageObjectIndexOffset
Offsets the object index.class
ImageObjectInfo
Outputs the requested type of information for either the incoming adams.flow.transformer.locateobjects.LocatedObject or the specified image object in the report.class
LocateObjects
Locates objects in an image and forwards an image per located object, cropped around the object.class
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.class
RemoveImageObject
Removes the specified image object.class
ScaleReportObjects
Scales the objects in the report using the provided scale factors.
Processes the following suffixes of all the report fields that match the provided prefix:
- .x
- .y
- .width
- .height
Input/output:
- accepts:
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.report.Report
adams.data.report.ReportHandler
-
Uses of ObjectPrefixHandler in adams.flow.transformer.draw
Classes in adams.flow.transformer.draw that implement ObjectPrefixHandler Modifier and Type Class Description class
ObjectAnnotationsFromReport
Overlays object annotations from the report. -
Uses of ObjectPrefixHandler in adams.gui.tools.previewbrowser
Classes in adams.gui.tools.previewbrowser that implement ObjectPrefixHandler Modifier and Type Class Description class
AnnotateImage
Allows annotating images and/or modifying their meta-data.class
ObjectAnnotationsHandler
Overlays the annotations onto the image.class
ObjectAnnotationsReportHandler
Overlays the annotations onto the image. -
Uses of ObjectPrefixHandler in adams.gui.visualization.image
Classes in adams.gui.visualization.image that implement ObjectPrefixHandler Modifier and Type Class Description class
ObjectAnnotations
Overlays object annotations from the report. -
Uses of ObjectPrefixHandler in adams.gui.visualization.image.leftclick
Classes in adams.gui.visualization.image.leftclick that implement ObjectPrefixHandler Modifier and Type Class Description class
AbstractSelectionRectangleBasedLeftClickProcessor
Ancestor for left-click processors that make use ofSelectionRectangle
.class
DeleteObjects
Displays the objects at the click position and deletes the selected ones.class
FixedBoundingBox
Allows the user to create fixed-sized bounding boxes around the left-click position (<ctrl> left-click in box removes it).class
RandomBoundingBox
Allows the user to create randomly sized bounding boxes around the left-click position. -
Uses of ObjectPrefixHandler in adams.gui.visualization.image.selection
Classes in adams.gui.visualization.image.selection that implement ObjectPrefixHandler Modifier and Type Class Description class
AbstractSelectionRectangleBasedSelectionProcessor
Ancestor for selection processors that make use of theSelectionRectangle
class.class
SelectObjects
Allows the user to select objects in the image.
The locations get stored in the attached report.
If the <ctrl> key is pressed while drawing a selection rectangle, all enclosed locations get removed. -
Uses of ObjectPrefixHandler in adams.gui.visualization.object.annotator
Classes in adams.gui.visualization.object.annotator that implement ObjectPrefixHandler Modifier and Type Class Description class
AbstractPointAnnotator
Ancestor for point annotators.class
AbstractRectangleBasedAnnotator
Annotators that use a rectangle based approach.class
AbstractReportBasedAnnotator
Ancestor for annotators that use reports to store the annotations in.class
BoundingBoxAnnotator
For annotating objects with bounding boxes.class
PolygonAnnotator
For annotating object shapes with polygons boxes.class
PolygonPointAnnotator
For annotating polygons by left-clicking on each vertex.class
SimplePointAnnotator
For annotating single points. -
Uses of ObjectPrefixHandler in adams.gui.visualization.object.overlay
Classes in adams.gui.visualization.object.overlay that implement ObjectPrefixHandler Modifier and Type Class Description class
ObjectAnnotations
Flexible overlay for object annotations.
-