class ipColorCube

This class is designed to filter an image using a YUV colorcube

Inheritance:


Public Fields

[more]int DimY
dimension of Y component
[more]int DimUV
dimension of U and V components
[more]unsigned char* binaryimage
the binary image of filtered pixels (in bytes)
[more]real* realbinaryimage
the binary image of filtered pixels (in real)
[more]int n_pixels_filtered
number of filtered pixels
[more]real background
pixel value of the background

Public Methods

[more] ipColorCube(int width_, int height_, const char* coding_, real background_ = 120.0)
constructor
[more]virtual ~ipColorCube()
[more]virtual void process(Sequence* seq_in)
[more]virtual void loadXFile(XFile* file)
load a colorcube
[more]virtual void saveXFile(XFile* file)
save a colorcube
[more]unsigned char* getcube(unsigned char y, unsigned char u, unsigned char v)
get a element of the colorcube
[more]void add(int n_inputs_, real* data_)
add a color in the colocube
[more]void remove(int n_inputs_, real* data_)
remove a color from the colorcube


Inherited from ipCore:

Public Fields

output field

input/output image coding field

Public Methods

constructor and destructor

initialization and processing

accessing and modifying output


Documentation

This class is designed to filter an image using a YUV colorcube

oint DimY
dimension of Y component

oint DimUV
dimension of U and V components

ounsigned char* binaryimage
the binary image of filtered pixels (in bytes)

oreal* realbinaryimage
the binary image of filtered pixels (in real)

oint n_pixels_filtered
number of filtered pixels

oreal background
pixel value of the background

o ipColorCube(int width_, int height_, const char* coding_, real background_ = 120.0)
constructor

Parameters:
width_ - is the width of the input image
height_ - is the height of the input image
coding_ - is the coding format of the input image
background_ - pixel value of the background

ovirtual ~ipColorCube()

ovirtual void process(Sequence* seq_in)

ovirtual void loadXFile(XFile* file)
load a colorcube

ovirtual void saveXFile(XFile* file)
save a colorcube

ounsigned char* getcube(unsigned char y, unsigned char u, unsigned char v)
get a element of the colorcube

ovoid add(int n_inputs_, real* data_)
add a color in the colocube

ovoid remove(int n_inputs_, real* data_)
remove a color from the colorcube


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Fri 15 Jul 2005 11:35:13 AM CEST
Since:
2.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.