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

ImageSampleSet Class Reference

#include <ImageSampleSet.hpp>

Collaboration diagram for ImageSampleSet:

Collaboration graph
[legend]
List of all members.

Detailed Description

Image Sample Set to describe samples.

Author:
Bernard De Cuyper
Version:
0.056
Date:
19/09/2002
 
Purpose:        Image Sample Set group data information, images, area, object labels
            used later to generate samples for supervised learning.
                

@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.


Public Methods

 ImageSampleSet (int aNmax=255, int channels=3)
 ImageSampleSet (FILE *file)
virtual ~ImageSampleSet ()
void load (FILE *file)
void clear ()
int getChannels ()
void setChannels (int val)
int numberOfPixels (int iObject)
void evaluateDataSizes ()
DataSamplegenerateData (int iObject, int nFeature)
void setTitle (char *name)
char * getTitle ()
void setFilename (char *name)
char * getFilename ()
bool isActive ()
void setActive (bool value)
void setPoint0 (int x, int y)
void setPoint1 (int x, int y)
int getX0 ()
int getY0 ()
int getX1 ()
int getY1 ()
int numberOfSamples ()
int maxItems ()
void extendSet (int nitems)
int getCurrentObject ()
void setCurrentObject (int index)
int getNumberOfObjects ()
void setNumberOfObjects (int n)
int getNumberOfClasses (int oi)
void setNumberOfClasses (int oi, int n)
ImageSampleget (int i)
void set (int i, ImageSample *sample)
void add (ImageSample *sample)
void addAt (int index, ImageSample *sample)
void remove (int i)
ImageSampledequeue ()
void enqueue (ImageSample *sample)
void write (FILE *file)
void output ()

Private Attributes

char * filename
char * title
int n
int nmax
ImageSample ** imSample
int nChannels
int nObjects
unsigned char nClasses [255]
int nData [255]
bool active
int currentObject
int x0
int y0
int x1
int y1


The documentation for this class was generated from the following files:
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com