MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / rotate

Method rotate

mmdet/core/mask/structures.py:466–496  ·  view source on GitHub ↗

Rotate the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). angle (int | float): Rotation angle in degrees. Positive values mean counter-clockwise rotation. center (tuple[float], optional): Center point (w,

(self, out_shape, angle, center=None, scale=1.0, fill_val=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_rotate_masksMethod · 0.45

Calls 1

BitmapMasksClass · 0.85

Tested by

no test coverage detected