Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

CMatrix Class Reference

A class implementing a convolution kernel matrix. More...

#include <CMatrix.h>

List of all members.

Public Methods

 CMatrix (unsigned int rows, unsigned int columns)
 New object constructor.

 CMatrix (char *filename)
 Load from formated file constructor.

 CMatrix (char *filename, unsigned int rows, unsigned int columns)
 Load from raw (text) file constructor.

void set_element (unsigned int row, unsigned int col, double val)
float get_element (unsigned int row, unsigned int col)
unsigned int get_no_rows ()
unsigned int get_no_columns ()
bool save (char *filename)
bool save_raw (char *filename)
float calc_max_kernel_val ()
float calc_min_kernel_val ()
bool initialised_ok ()

Public Attributes

float* data
 Kernel data.


Detailed Description

A class implementing a convolution kernel matrix.

Definition at line 25 of file CMatrix.h.


The documentation for this class was generated from the following files:
Generated at Fri Aug 13 17:29:21 2004 for libRTImage by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001