GaussianDenoisingOptions¶
giant.image_processing.denoising
:
- class giant.image_processing.denoising.GaussianDenoisingOptions(size: tuple[int, int] = (5, 5), sigma_x: float = 0.0, sigma_y: float = 0.0, border_type: int = 4)[source]¶
- Parameters:
size (tuple[int, int])
sigma_x (float)
sigma_y (float)
border_type (int)
- size: tuple[int, int] = (5, 5)¶
Gaussian kernel size width, height.
Must both be positive and odd or 0 which implies they should be computed from sigma.
- sigma_x: float = 0.0¶
Gaussian kernel standard deviation in x direction.
If both this and sigma_y are 0 then they are computed from the size.
- sigma_y: float = 0.0¶
Guassian kernel standard deviation in y direction.
If 0 and sigma_x is not 0 then set to sigma_x. If both sigma_x and this are 0 then computed from the size.
- border_type: int = 4¶
The pixel extrapolation method.
BORDER_WRAP is not supported.
- property options_dict: Dict¶
Determine the options input to the dataclass.
This property method will ignore all internal properties and functions
Summary of Methods
Update the options as attributes of the object class |
|
this is used to overwrite options in variables only used in __init__ |
|
This method is used for special cases when certain options should be overwritten |