vis4d.data.transforms.flip¶
Horizontal flip augmentation.
Functions
|
Get axis number of certain direction given axis mode. |
Classes
|
Flip a list of 2D bounding boxes. |
|
Flip 3D bounding box array. |
|
Flip depth map. |
|
Flip a list of numpy image array of shape [N, H, W, C]. |
|
Flip instance masks. |
|
Modify intrinsics for image flip. |
|
Flip optical flow map. |
|
Flip pointcloud array. |
|
Flip segmentation masks. |
- class FlipBoxes2D(*, in_keys=('boxes2d', 'images'), out_keys=('boxes2d',), sensors=None, same_on_batch=True, **kwargs)[source]¶
Flip a list of 2D bounding boxes.
- class FlipBoxes3D(*, in_keys=('boxes3d', 'axis_mode'), out_keys=('boxes3d',), sensors=None, same_on_batch=True, **kwargs)[source]¶
Flip 3D bounding box array.
- class FlipDepthMaps(*, in_keys=['depth_maps'], out_keys=['depth_maps'], sensors=None, same_on_batch=True, **kwargs)[source]¶
Flip depth map.
- class FlipImages(*, in_keys=['images'], out_keys=['images'], sensors=None, same_on_batch=True, **kwargs)[source]¶
Flip a list of numpy image array of shape [N, H, W, C].
- class FlipInstanceMasks(*, in_keys=['instance_masks'], out_keys=['instance_masks'], sensors=None, same_on_batch=True, **kwargs)[source]¶
Flip instance masks.
- class FlipIntrinsics(*, in_keys=('intrinsics', 'images'), out_keys=('intrinsics',), sensors=None, same_on_batch=True, **kwargs)[source]¶
Modify intrinsics for image flip.
- class FlipOpticalFlows(*, in_keys=['optical_flows'], out_keys=['optical_flows'], sensors=None, same_on_batch=True, **kwargs)[source]¶
Flip optical flow map.
- class FlipPoints3D(*, in_keys=('points3d', 'axis_mode'), out_keys=('points3d',), sensors=None, same_on_batch=True, **kwargs)[source]¶
Flip pointcloud array.