Class CudaLookUpTable
Gpu look up table
public class CudaLookUpTable : SharedPtrObject, IDisposable
- Inheritance
-
CudaLookUpTable
- Implements
- Inherited Members
Constructors
CudaLookUpTable(IInputArray)
Create the look up table
public CudaLookUpTable(IInputArray lookUpTable)
Parameters
lookUpTable
IInputArrayIt should be either 1 or 3 channel matrix of 1x256
Methods
DisposeObject()
Release all the unmanaged memory associated with this look up table
protected override void DisposeObject()
Transform(IInputArray, IOutputArray, Stream)
Transform the image using the lookup table
public void Transform(IInputArray image, IOutputArray dst, Stream stream = null)
Parameters
image
IInputArrayThe image to be transformed
dst
IOutputArrayThe transformation result
stream
StreamUse a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).