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 classLocatedObjectsToReportConverts 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 classMergeGridMerges 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 classAbstractSubImagesGeneratorAncestor for classes that generate subimages from a single image.classGridSplits 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.classLabeledRegionsExtracts the sub-images according to the region definitions.
Additional report values:
- Region: for the region index (0-based, deprecated)
- Region-Index: for the region index (0-based)
- Region-Label: for the region label
- Coordinates: for the 1-based coordinates (x,y,w,h)
classObjectsExtracts sub-images defined by the objects that the object finder locates.classPassThroughDummy generator, simply passes the original image through.classRegionsExtracts 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 classCocoAnnotationsReportReaderLoads COCO annotations from the JSON file, with one report per image.
Handles only segmentations with polygons (not RLE) and only one polygon per annotation.classDetectronAnnotationsReportReaderInterprets rectangle annotations present in Detectron annotations JSON file.classObjectLocationsSpreadSheetReaderReads 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.classOpexObjectLocationsReaderReads object locations from JSON generated by the opex library.
See more:
https://github.com/WaikatoLink2020/objdet-predictions-exchange-format
classPascalVOCObjectLocationsReaderReads object locations in Pascal VOC format.
See more:
https://github.com/WaikatoLink2020/objdet-predictions-exchange-format
classVggXmlAnnotationReportReaderReads XML image annotation files, like used in the pets dataset:
http://www.robots.ox.ac.uk/~vgg/data/pets/
classViaAnnotationsReportReaderInterprets polygon annotations generated by VGG Image Annotator.
For more information, see:
http://www.robots.ox.ac.uk/~vgg/software/via/
classYoloAnnotationsReportReaderReads 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 classDeepLabCutCSVWriterWrites 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 interfaceObjectFinderInterface for finders that locate objects in the report of an image.Classes in adams.data.objectfinder that implement ObjectPrefixHandler Modifier and Type Class Description classAbstractMetaObjectFinderAncestor for object finders that use a base finder.classAbstractObjectFinderAncestor for finders that locate objects in the report of an image.classAllFinderReturns all indices.classByMetaDataNumericValueReturns indices of objects which numeric meta-data value match the min/max.classByMetaDataStringValueOutputs the indices of objects where the specified regular expression matches the value associated with the given meta-data key.classHasMetaDataValueOutputs the indices of objects where the specified meta-data key is present.classInvertInverts the indices of the base object finder.classMultiObjectFinderApplies multiple object finding algorithms to the data.
The indices can be either joined or intersected.classNullFinderFinds no indices.classObjectsInPolygonLocates the objects that fall into the defined polygon.
Partial hits can be considered as well.classObjectsInRegionLocates the objects that fall into the defined region.
Partial hits can be considered as well.classPolygonPointsReturns the indices of objects which polygons satisfy specified min/max for number of points.classSizeApplies 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 classCompareObjectTypesCompares the object types between objects from the two reports.
The first report is considered 'ground truth'.classCountObjectsInPolygonCounts 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.classCountObjectsInRegionCounts 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.classImageObjectIndexOffsetOffsets the object index.classImageObjectInfoOutputs the requested type of information for either the incoming adams.flow.transformer.locateobjects.LocatedObject or the specified image object in the report.classLocateObjectsLocates objects in an image and forwards an image per located object, cropped around the object.classMergeObjectLocationsMerges 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.classRemoveImageObjectRemoves the specified image object.classScaleReportObjectsScales 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 classObjectAnnotationsFromReportOverlays 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 classAnnotateImageAllows annotating images and/or modifying their meta-data.classObjectAnnotationsHandlerOverlays the annotations onto the image.classObjectAnnotationsReportHandlerOverlays 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 classObjectAnnotationsOverlays 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 classAbstractSelectionRectangleBasedLeftClickProcessorAncestor for left-click processors that make use ofSelectionRectangle.classDeleteObjectsDisplays the objects at the click position and deletes the selected ones.classFixedBoundingBoxAllows the user to create fixed-sized bounding boxes around the left-click position (<ctrl> left-click in box removes it).classRandomBoundingBoxAllows 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 classAbstractSelectionRectangleBasedSelectionProcessorAncestor for selection processors that make use of theSelectionRectangleclass.classSelectObjectsAllows 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 classAbstractPointAnnotatorAncestor for point annotators.classAbstractRectangleBasedAnnotatorAnnotators that use a rectangle based approach.classAbstractReportBasedAnnotatorAncestor for annotators that use reports to store the annotations in.classBoundingBoxAnnotatorFor annotating objects with bounding boxes.classPolygonAnnotatorFor annotating object shapes with polygons boxes.classPolygonPointAnnotatorFor annotating polygons by left-clicking on each vertex.classSimplePointAnnotatorFor 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 classObjectAnnotationsFlexible overlay for object annotations.
-