nabu.misc.unsharp_opencl module¶
- class nabu.misc.unsharp_opencl.OpenclUnsharpMask(shape, sigma, coeff, mode='reflect', method='gaussian', ctx=None, devicetype='all', platformid=None, deviceid=None, block_size=None, memory=None, profile=False)[source]¶
Bases:
UnsharpMask
,OpenclProcessing
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.