Composite - Mosaic¶
Category: data_generator.vision.detection.2d
Version: 1.3.0
UUID: 7bebd591acd22dc308f8e009088c9c88f539c5c7f90852d07fb3634f4f6a8bd5
Execution context: leip_af
Choice Priority: -1.0
Subcomponent Parameters¶
| Name | Synonyms | Allowable Categories |
|---|---|---|
| Dataset | data_generator.composite.mosaic.foreground |
data_generator |
| Composite Augmentation (Training only) | data.augmentation.composite.training |
augmentation.vision.2d.training |
Value Parameters¶
| Name | Synonyms | Type | Values |
|---|---|---|---|
| Generate at source resolution | data_generator.composite.mosaic.use_source_resolution |
scalar | bool |
| # of generated samples | data_generator.composite.mosaic.nsamples |
scalar | int, min: 1 |
| Sample probability for mosaicing | data_generator.composite.mosaic.probability |
scalar | float, min: 0.0 |
| How far from the image center can the mosaic center be (%) | data_generator.composite.mosaic.sampling_center_deviation |
scalar | float, min: 0.0, max: 1.0 |
| Maximum scale factor of mosaic pieces | data_generator.composite.mosaic.sampling_max_scale |
scalar | float, min: 0.0 |
| Minimum scale factor of mosaic pieces | data_generator.composite.mosaic.sampling_min_scale |
scalar | float, min: 0.0 |
| How to sample each mosaic piece | data_generator.composite.mosaic.sampling_scheme |
choice | random_uniform (Anywhere (usually recommended))preserve_spatial (Close to the pieces' position) |
Constraints¶
- The minimum scale factor of mosaic pieces should be greater than 0. (actual.roi_sampling.min_scale > 0)
- The maximum scale factor of mosaic pieces should be greater than 0. (actual.roi_sampling.max_scale > 0)
- The maximum scale factor of mosaic pieces should be greater than the minimum. (actual.roi_sampling.max_scale > actual.roi_sampling.min_scale)