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 | NoneDefault:null
- mask
- type:(x: Any) => Any | NoneDefault:null
- keypoints
- type:(x: Any) => Any | NoneDefault:null
- bboxes
- type:(x: Any) => Any | NoneDefault:null
- name
- type:str | NoneDefault:null