datumaro.plugins.tiling.merge_tile#

Classes

MergeTile(extractor)

Transformation to merge the previously tiled dataset.

class datumaro.plugins.tiling.merge_tile.MergeTile(extractor)[source]#

Bases: Transform, CliPlugin

Transformation to merge the previously tiled dataset. It can generally be understood as the inverse transform of TileTransform. However, A sequence of Tile -> MergeTile is a lossy transformation. It means that annotation information may be lost if some annotations are exists on the edge of tiled images. Therefore, it is generally better to revert TileTransform when you need to merge them. But, this will be helpful when you have another transformation between Tile and MergeTile. For example, Tile -> (an arbitrary Transform) -> MergeTile.

classmethod build_cmdline_parser(**kwargs)[source]#