fast::ApplyColormap class

Applies a colormap on an image to create a new image.

Current limitations are: Input and output images can only be 2D. Output image is always of TYPE_UINT8



Base classes

class ProcessObject
Abstract base class for all process objects.

Constructors, destructors, conversion operators

ApplyColormap() protected

Public functions

void setColormap(Colormap colormap)
Create instance.
auto getColormap() const -> Colormap

Protected functions

void execute() override

Protected variables

Colormap m_colormap
bool m_bufferUpToDate
cl::Buffer m_colormapBuffer

Function documentation

void fast::ApplyColormap::setColormap(Colormap colormap)

Create instance.

colormap Colormap to apply
Returns instance