Convert class shapes: polygons to rectangles, bitmaps to polygons and others transformations
It is often needed to convert labeled objects from one geometry to another while doing computer vision reseach. There are huge number of scenarios , here are some examples:
This app covers following transformations:
Bitmap
to Polygon
, Rectangle
and AnyShape
Polygon
to Rectangle
, Bitmap
and AnyShape
Polyline
to Rectangle
, Bitmap
, Polygon
, AnyShape
Rectangle
to Polygon
, Bitmap
and AnyShape
Graph
(i.e. Keypoints
) to Rectangle
and AnyShape
Point
to AnyShape
Cuboid
, Cuboid3d
, Pointcloud
(segmentation of point clouds), Point3d
are not supported yet (send us a feature request if you need it)Notes:
AnyShape
classes, you have to unpack it with another app - Unpack Anyshape Go to “Context Menu” (images project) -> “Run App” -> “Transform” -> “Convert Class Shape”
Once app is started, new task appear in workspace tasks. Wait message Application is started ...
(1) and then press Open
button (2).
App contains 3 sections: information about input project, information about output and the list of all classes from input project. In column CONVERT TO
there are dropdown lists in front of each class (row of the table). You have to define transformations for classes of interest.
Default remain unchanged
option is selected and means that class and all its objects will be copied without modification to a new project. Dropdown lists only contain allowed shapes (see Overview), for example Rectangle
can not be transformed to Polyline
or Point
.
Press Run
button. The progress bas will appear in Output
section. Also you can monitor progress from tasks list of the current workspace.
App creates new project and it will appear in Output
section. Result project name = original name + “(new shapes)” suffix.
Even if app is finished, you can always use it as a history: open it from tasks list in Read Only
mode to check Input project, list of applied transformations and Output project.