DenoiseParameters#

class patch_denoise.bindings.utils.DenoiseParameters(method: str = None, patch_shape: int | tuple[int, ...] = 11, patch_overlap: int | tuple[int, ...] = 0, recombination: str = 'weighted', mask_threshold: int = 10)[source]#

Bases: object

Denoise Parameters data structure.

Methods

__init__

from_str

Create a DenoiseParameters from a string.

get_str

Get full string representation from set of kwargs.

Attributes

mask_threshold

method

patch_overlap

patch_shape

pretty_name

Return a pretty name for the representation of parameters.

pretty_par

Get pretty representation of parameters.

recombination

classmethod from_str(config_str)[source]#

Create a DenoiseParameters from a string.

classmethod get_str(**kwargs)[source]#

Get full string representation from set of kwargs.

property pretty_name#

Return a pretty name for the representation of parameters.

property pretty_par#

Get pretty representation of parameters.