Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::ColorViffCodec< T, comps > Class Template Reference

#include <ColorViffCodec.h>

List of all members.


Detailed Description

template<class T, int comps>
class prapi::ColorViffCodec< T, comps >

A codec for all kinds Color Viff images.


Public Methods

 ColorViffCodec (ColorSpaceType colorSpaceType=genericRGB)
 Constructor of the ColorViffCodec.

void decodeMatrix (std::istream &in, util::Matrix< Color< T, comps > > &mat) throw (util::MatrixException&, util::io::IOException&)
void encodeMatrix (std::ostream &out, const util::Matrix< Color< T, comps > > &mat) throw (util::MatrixException&, util::io::IOException&)
util::Matrix< T > getChannel (int c, util::Matrix< Color< T, comps > > &mat) const
 Get the whole channel out of image mat.


Constructor & Destructor Documentation

template<class T, int comps>
prapi::ColorViffCodec< T, comps >::ColorViffCodec ColorSpaceType    colorSpaceType = genericRGB [inline]
 

Constructor of the ColorViffCodec.

Parameters:
spaceType  The type of Color space used in image.


Member Function Documentation

template<class T, int comps>
util::Matrix< T > prapi::ColorViffCodec< T, comps >::getChannel int    c,
util::Matrix< Color< T, comps > > &    mat
const
 

Get the whole channel out of image mat.

Parameters:
c  The channel wanted.
mat  The matrix where the channel is wanted to take.


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.