#include <kernel.h>
Public Member Functions | |
| int | dimension () |
| int | divisor () |
| int | bias () |
| int * | pixel (int i, int j) |
| int * | data () |
Static Public Member Functions | |
| Kernel * | createKernel (void *data, int dimension, int divisor, int bias) |
| Kernel * | createKernel (char *fileName) |
|
|
Returns the bias of this kernel the bias as integer |
|
|
Load Kernel from file filename of the kernel file a pointer to the loaded kernel |
|
||||||||||||||||||||
|
Creates a new kernel instance from the given data buffer. data is the buffer with the kernel data dimension is the width and height of the kernel (kernels are always square) divisor is the divisor for this kernel bias will be added to the kernel a pointer to the newly created kernel |
|
|
Returns a pointer to the data buffer of this kernel an int pointer |
|
|
Returns the dimension of this kernel (width and height) the dimension as integer |
|
|
Returns the divisor of this kernel the divisor as integer |
|
||||||||||||
|
Returns the pixel value at position (i,j) of the kernel i is the horizontal position j is the vertical position an int pointer into the buffer of this kernel |
1.3.7