Convolve a colour image with a luminance channel. More...
#include <convolve_mono.h>
Protected Member Functions | |
virtual uint32_t | GetInterface (std::list< std::pair< uint32_t, uint32_t > > &mandatory, std::list< std::pair< uint32_t, uint32_t > > &optional) const |
virtual bool | SetImage (uint32_t type, const spectral::Image *img) |
Attempt to set an image in a slot. | |
virtual void | SetParameters (const spectral::Parameters *) |
Apply parameters to a processor. | |
virtual spectral::Image * | Process (void) |
Process images. | |
virtual void | ClearImage (uint32_t type) |
Clear the image in a slot. | |
virtual void | GetParameters (spectral::Parameters *) const |
Populate a Parameters object. | |
void | GetFullSize (uint32_t &width, uint32_t &height, uint32_t &offset_x, uint32_t &offset_y) |
void * | CreateImageBuffer (spectral::Image *, uint32_t n) |
void | UnpackImageBuffer (void *, spectral::Image *, uint32_t n) |
void * | CreateFilterBuffer (uint32_t n) |
Convolve a colour image with a luminance channel.
uint32_t convolution::ConvolveMono::GetInterface | ( | std::list< std::pair< uint32_t, uint32_t > > & | mandatory, | |
std::list< std::pair< uint32_t, uint32_t > > & | optional | |||
) | const [protected, virtual] |
Describe the inputs and outputs of this processor. Get slots & output type. Returns output colour space. pairs are <slot id, colour space>
Implements spectral::Processor.