Support
Supported configuration options.
Used throughout the code to ensure consistency. These should be kept in sync with the corresponding configuration options in the Pydantic models.
SupportedActivation
SupportedAlgorithm
Algorithms available in CAREamics.
These definitions are the same as the keyword name of the algorithm
configurations.
CARE = 'care'
class-attribute
instance-attribute
Content-aware image restoration, a supervised algorithm used for a variety of tasks.
DENOISPLIT = 'denoisplit'
class-attribute
instance-attribute
An image splitting and denoising approach based on ladder VAE architectures.
HDN = 'hdn'
class-attribute
instance-attribute
Hierarchical Denoising Network, an unsupervised denoising algorithm
MICROSPLIT = 'microsplit'
class-attribute
instance-attribute
A micro-level image splitting approach based on ladder VAE architectures.
MUSPLIT = 'musplit'
class-attribute
instance-attribute
An image splitting approach based on ladder VAE architectures.
N2N = 'n2n'
class-attribute
instance-attribute
Noise2Noise algorithm, a self-supervised denoising scheme based on comparing noisy images of the same sample.
N2V = 'n2v'
class-attribute
instance-attribute
Noise2Void algorithm, a self-supervised approach based on blind denoising.
PN2V = 'pn2v'
class-attribute
instance-attribute
Probabilistic Noise2Void. A extension of Noise2Void is not restricted to Gaussian noise models or Gaussian intensity predictions.
SupportedArchitecture
SupportedData
Supported data types.
Attributes:
| Name | Type | Description |
|---|---|---|
ARRAY |
str
|
Array data. |
TIFF |
str
|
TIFF image data. |
CZI |
str
|
CZI image data. |
ZARR |
str
|
Zarr data. |
CUSTOM |
str
|
Custom data. |
get_extension(data_type)
classmethod
Get file extension of corresponding data type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data_type
|
str or SupportedData
|
Data type. |
required |
Returns:
| Type | Description |
|---|---|
str
|
Corresponding extension. |
get_extension_pattern(data_type)
classmethod
Get Path.rglob and fnmatch compatible extension.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data_type
|
SupportedData
|
Data type. |
required |
Returns:
| Type | Description |
|---|---|
str
|
Corresponding extension pattern. |
SupportedLoss
SupportedNormalization
Normalization strategies supported by Careamics.
MEAN_STD = 'mean_std'
class-attribute
instance-attribute
Mean and std normalization strategy.
MINMAX = 'min_max'
class-attribute
instance-attribute
Min-max normalization strategy.
NONE = 'none'
class-attribute
instance-attribute
No normalization strategy.
QUANTILE = 'quantile'
class-attribute
instance-attribute
Quantile normalization strategy.