monailabel.interfaces.utils.transform module¶
- monailabel.interfaces.utils.transform.run_transforms(data, callables, inverse=False, log_prefix='POST', log_name='Transform', use_compose=False)[source]¶
Run Transforms
- Parameters
data – Input data dictionary
callables – List of transforms or callable objects
inverse – Run inverse instead of call/forward function
log_prefix – Logging prefix (POST or PRE)
log_name – Type of callables for logging
use_compose – Use Compose to run individual callables
- Returns
Processed data after running transforms