nabu.processing.unsharp_opencl module

class nabu.processing.unsharp_opencl.OpenclUnsharpMask(shape, sigma, coeff, mode='reflect', method='gaussian', **opencl_options)[source]

Bases: UnsharpMask

NB: For now, this class is designed to use the lowest amount of GPU memory as possible. Therefore, the input and output image/volumes are assumed to be already on device.

unsharp(image, output)[source]

Reference unsharp mask implementation.

nabu.processing.unsharp_opencl.OpenCLUnsharpMask

alias of OpenclUnsharpMask