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

Image Class Template Reference

tool object for dealing with many images of variable format
FOR ANY EXTENSION, REQUIRES TO BE RE-IMPLEMENTED COMPLETLY. More...

#include <Image_basics.hh>

List of all members.

Public Methods

 Image::Image ()
 constructor.

void Allocate (int nx_temp, int ny_temp, int nb_bands_temp, int nb_images_temp)
 Allocating method for several multispectral images.

PIX Get_pixel_value (char *path, int ligne, int colonne, int ny)
 method returning a pixel value located in space on a given band.

void Read_pathfiles_in (char *pathfile_in, char ***path_images_in, int nb_bands_temp)
 Reading the input paths.

int NumberImages_pathfiles_in (char *pathfile_in, int nb_bands_temp)
 function returning the number of line in the text file.

void Read_pathfiles_out (char *pathfile_out, char ***path_images_out)
 Reading the output paths.

void Read_Cut_SubSample (char ***path_images_in, int ofx, int ofy, int Dy, int subx, int suby)
 Reading the image spatial window with the given subsampling factors.

void Write (char ***path_images_out)
 Method to write a steack of multi-spectral images.

void Write_singleImage (char *path_images_out)
 Method to write a panchromatic image.

float MAX (int image_nb_m)
 Method returning the maximum value of an image.

float MIN (int image_nb_m)
 Method returning the minimum value of an image.

float Mean (int image_nb_m)
 Method returning the mean value of an image.

float Stdev (int image_nb_m)
 Method returning the standard deviation value of an image.

float Cov (int image_nb_m1, int image_nb_m2)
 Method returning the covriance value between 2 images.

void Normalize ()
 Method nomalizing each image in a steack of images.


Public Attributes

int nx
 number of lines in an image.

int ny
 number of column in an image.

int nb_bands
 number of bands of each multispectral image.

int nb_images
 number of images in the steack.

PIX * position
 pointer to the first element of the array containing the data.


Private Methods

PIX Min (PIX a, PIX b)
 method returning the minimum of two pixel values.


Private Attributes

unsigned long int i
unsigned long int j
unsigned long int k
unsigned long int l
unsigned long int n
unsigned long int m
int nb_dim
 dimensionnality.

unsigned long int dim
 number of samples (pixels) in an image.


Detailed Description

template<class PIX>
class Image< PIX >

tool object for dealing with many images of variable format
FOR ANY EXTENSION, REQUIRES TO BE RE-IMPLEMENTED COMPLETLY.

Definition at line 22 of file Image_basics.hh.


The documentation for this class was generated from the following file:
Generated on Thu Feb 17 11:01:55 2005 for Inference of a Graph of Dynamic Cluster Trajectories by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002