darsia.tvd#
- tvd(img, method='chambolle', weight=1.0, max_num_iter=200, eps=0.0002, **kwargs)[source]#
Inline application of TVD.
- Parameters:
- img
np.ndarrayorImage Image.
- method
str TVD method.
- weight
floatornp.ndarray Weight.
- max_num_iter
int Maximum number of iterations.
- eps
float Tolerance.
- **kwargs
Additional arguments.
omega (array or float): data fidelity weight for heterogeneous bregman
regularization (float): regularization parameter for heterogeneous bregman
- img
- Returns:
np.ndarrayorImageUpscaled image (same type as input).