Need help or have feedback?

Join DiscordCreate Issue
...
Lambda

A flexible transformation class for using user-defined transformation functions per targets. Function signature must include **kwargs to accept optional arguments like interpolation method, image size, etc: Args: image: Image transformation function. mask: Mask transformation function. keypoints: Keypoints transformation function. bboxes: BBoxes transformation function. p: probability of applying the transform. Default: 1.0. Targets: image, mask, bboxes, keypoints, volume, mask3d Image types: uint8, float32 Number of channels: Any

Supported Targets
image
mask
bboxes
keypoints
Parameters
image
type:
(x: Any) => Any | None
Default:
null
mask
type:
(x: Any) => Any | None
Default:
null
keypoints
type:
(x: Any) => Any | None
Default:
null
bboxes
type:
(x: Any) => Any | None
Default:
null
name
type:
str | None
Default:
null