Skip to content

algorithm_descriptions

Descriptions of the algorithms used in CAREmics.

AlgorithmDescription #

Bases: BaseModel

Description of an algorithm.

Attributes:

Name Type Description
description str

Description of the algorithm.

Source code in src/careamics/config/references/algorithm_descriptions.py
class AlgorithmDescription(BaseModel):
    """Description of an algorithm.

    Attributes
    ----------
    description : str
        Description of the algorithm.
    """

    description: str

CAREDescription #

Bases: AlgorithmDescription

Description of CARE.

Attributes:

Name Type Description
description str

Description of CARE.

Source code in src/careamics/config/references/algorithm_descriptions.py
class CAREDescription(AlgorithmDescription):
    """Description of CARE.

    Attributes
    ----------
    description : str
        Description of CARE.
    """

    description: str = "CARE"  # TODO

N2NDescription #

Bases: AlgorithmDescription

Description of Noise2Noise.

Attributes:

Name Type Description
description str

Description of Noise2Noise.

Source code in src/careamics/config/references/algorithm_descriptions.py
class N2NDescription(AlgorithmDescription):
    """Description of Noise2Noise.

    Attributes
    ----------
    description : str
        Description of Noise2Noise.
    """

    description: str = "Noise2Noise"  # TODO

N2V2Description #

Bases: AlgorithmDescription

Description of N2V2.

Attributes:

Name Type Description
description str

Description of N2V2.

Source code in src/careamics/config/references/algorithm_descriptions.py
class N2V2Description(AlgorithmDescription):
    """Description of N2V2.

    Attributes
    ----------
    description : str
        Description of N2V2.
    """

    description: str = (
        "N2V2 is a variant of Noise2Void. "
        + N2V_DESCRIPTION
        + "\nN2V2 introduces blur-pool layers and removed skip "
        "connections in the UNet architecture to remove checkboard "
        "artefacts, a common artefacts ocurring in Noise2Void."
    )

N2VDescription #

Bases: AlgorithmDescription

Description of Noise2Void.

Attributes:

Name Type Description
description str

Description of Noise2Void.

Source code in src/careamics/config/references/algorithm_descriptions.py
class N2VDescription(AlgorithmDescription):
    """Description of Noise2Void.

    Attributes
    ----------
    description : str
        Description of Noise2Void.
    """

    description: str = N2V_DESCRIPTION

StructN2V2Description #

Bases: AlgorithmDescription

Description of StructN2V2.

Attributes:

Name Type Description
description str

Description of StructN2V2.

Source code in src/careamics/config/references/algorithm_descriptions.py
class StructN2V2Description(AlgorithmDescription):
    """Description of StructN2V2.

    Attributes
    ----------
    description : str
        Description of StructN2V2.
    """

    description: str = (
        "StructN2V2 is a a variant of Noise2Void that uses both "
        "structN2V and N2V2. "
        + N2V_DESCRIPTION
        + "\nStructN2V2 uses a linear mask (horizontal or vertical) to replace "
        "the pixel values of neighbors of the masked pixels by a random "
        "value. Such masking allows removing 1D structured noise from the "
        "the images, the main failure case of the original N2V."
        "\nN2V2 introduces blur-pool layers and removed skip connections in "
        "the UNet architecture to remove checkboard artefacts, a common "
        "artefacts ocurring in Noise2Void."
    )

StructN2VDescription #

Bases: AlgorithmDescription

Description of StructN2V.

Attributes:

Name Type Description
description str

Description of StructN2V.

Source code in src/careamics/config/references/algorithm_descriptions.py
class StructN2VDescription(AlgorithmDescription):
    """Description of StructN2V.

    Attributes
    ----------
    description : str
        Description of StructN2V.
    """

    description: str = (
        "StructN2V is a variant of Noise2Void. "
        + N2V_DESCRIPTION
        + "\nStructN2V uses a linear mask (horizontal or vertical) to replace "
        "the pixel values of neighbors of the masked pixels by a random "
        "value. Such masking allows removing 1D structured noise from the "
        "the images, the main failure case of the original N2V."
    )