torchsig.image_datasets.transforms.denoisingΒΆ
Functions
filters image (a tensor of shape [1, width, height] in grayscale) to seperate foreground from background noise, and returns the filtered image tensor; an integer filter_strength can be passed in to tune the filtration effect |
|
returns the infinity norm of an image Inputs: image: image to norm as a 2d ndarray Outputs: the normalized image |