Stay organized with collections Save and categorize content based on your preferences.

Spatial transform ops.


bbox2mask(...): Converts bounding boxes to bitmasks.

bilinear_resize_to_bbox(...): Bilinear resizes the images to fit into the bounding boxes in the output.

bilinear_resize_with_crop_and_pad(...): Bilinear resizes the images, then crops and finally pads to output size.

crop_mask_in_target_box(...): Crop masks in target boxes.

multilevel_crop_and_resize(...): Crop and resize on multilevel feature pyramid.

nearest_upsampling(...): Nearest neighbor upsampling implementation.