tiled_patching_model
Tiled patching Pydantic model.
TiledPatchingModel
#
Bases: _OverlappingPatchedModel
Tiled patching Pydantic model.
Attributes:
Name | Type | Description |
---|---|---|
name | tiled | The name of the patching strategy. |
patch_size | sequence of int | The size of the patch in each spatial dimension, each patch size must be a power of 2 and larger than 8. |
overlaps | sequence of int | The overlaps between patches in each spatial dimension. The overlaps must be smaller than the patch size in each spatial dimension, and the number of dimensions be either 2 or 3. |
Source code in src/careamics/config/data/patching_strategies/tiled_patching_model.py
name = 'tiled'
class-attribute
instance-attribute
#
The name of the patching strategy.
overlaps = Field(..., min_length=2, max_length=3)
class-attribute
instance-attribute
#
The overlaps between patches in each spatial dimension. The overlaps must be smaller than the patch size in each spatial dimension, and the number of dimensions be either 2 or 3.