Main Page   Compound List   File List   Compound Members   File Members  

MakeClusterAtt.cpp File Reference

Program creating an attribute file associated to a classfile. More...

#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cassert>
#include <ctime>
#include "Image_basics.hh"

Go to the source code of this file.

Namespaces

namespace  std

Compounds

class  Mapping
 Main procedure for reading the input data, performing basic calculation, and saving a attribute file. More...


Defines

#define PIX   float

Functions

void usage (std::string argv0)
 Usage function. More...

int main (int argc, char *argv[])
 Main procedure. More...


Detailed Description

Program creating an attribute file associated to a classfile.

Definition in file MakeClusterAtt.cpp.


Define Documentation

#define PIX   float
 

This is the main program for generating an attribute file associated to a classfile. It uses as an input a multidimenionnal image and a clasfile to create an attribute file in a specific format

Author:
P.Héas (IRIT / ENSAE / DLR / CNES)
Since:
January 2005

Definition at line 30 of file MakeClusterAtt.cpp.


Function Documentation

int main int    argc,
char *    argv[]
 

Main procedure.

Generating an attribute file associated to a classfile. The calculation of the Gaussian mixture attributes is done via the class Mapping.

Parameters:
argv0  [1] Text file name of an input mutidimensionnal image : the image bands are listed one after the other; The number of lines of this file must be equal to the nuber of image bands
argv0  [2] Name of the input image classfile
argv0  [3] Name of the output attribute file
argv0  [4] Number of lines of the images
argv0  [5] Number of columns of the images
Optional parameters for selecting a spatial window :
Parameters:
argv0  [6] Column offset when reading the image file
argv0  [7] Line offset when reading the image file
argv0  [8] Number of columns of the image file
Optional parameters for spatial subsampling :
Parameters:
argv0  [9] factor to reduce each line (factor 1 = no subsampling)
argv0  [10] factor to reduce each column (factor 1 = no subsampling)

Definition at line 260 of file MakeClusterAtt.cpp.

void usage std::string    argv0
 

Usage function.

Parameters:
argv0  String containing the imput output file/paramters

Definition at line 232 of file MakeClusterAtt.cpp.


Generated on Thu Feb 17 11:02:29 2005 for Generation of a Classification Attribute File by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002