org.miv.jism.tools.Histogram Class Reference

Describe an histogram of pixels intensities. More...

List of all members.

Public Member Functions

 Histogram (JismContext ctx)
 Construct a new histogram.
 Histogram (JismContext ctx, int xstart, int xend, int ystart, int yend)
 Construct a new local histogram.
 Histogram (JismContext ctx, boolean log)
 Construct a new histogram.
 Histogram (JismContext ctx, int xstart, int xend, int ystart, int yend, boolean log)
 Construct a new local histogram.
 Histogram (JismContext ctx, int xstart, int xend, int ystart, int yend, int zstart, int zend, boolean log)
 Construct a new local histogram.
 Histogram (JismContext ctx, int xstart, int xend, int ystart, int yend, int zstart, int zend)
 Construct a new local histogram.
int get (int i)
 Get intensity degree.
int maxIntensity ()
 Get max intensity.
double mean ()
 Get the mean intensity of the histogram.
int sumDegree ()
 Get sum of degree intensities.
double variance ()
 Get the variance of the histogram.
void smoothing ()
 Smooth the histogram.
void inverse ()
 Inverse intensities.
Histogram copy ()
 Create a copy of this histogram.
void fill (Histogram h)
 Fill this histogram with values of an other histogram.


Detailed Description

Describe an histogram of pixels intensities.

Author:
Guilhelm Savin

Constructor & Destructor Documentation

org.miv.jism.tools.Histogram.Histogram ( JismContext  ctx  ) 

Construct a new histogram.

Parameters:
ctx context

org.miv.jism.tools.Histogram.Histogram ( JismContext  ctx,
int  xstart,
int  xend,
int  ystart,
int  yend 
)

Construct a new local histogram.

Parameters:
ctx context
xstart start x of the histogram
xend end x of the histogram
ystart start y of the histogram
yend end y of the histogram

org.miv.jism.tools.Histogram.Histogram ( JismContext  ctx,
boolean  log 
)

Construct a new histogram.

Parameters:
ctx context

org.miv.jism.tools.Histogram.Histogram ( JismContext  ctx,
int  xstart,
int  xend,
int  ystart,
int  yend,
boolean  log 
)

Construct a new local histogram.

Parameters:
ctx context
xstart start x of the histogram
xend end x of the histogram
ystart start y of the histogram
yend end y of the histogram

org.miv.jism.tools.Histogram.Histogram ( JismContext  ctx,
int  xstart,
int  xend,
int  ystart,
int  yend,
int  zstart,
int  zend,
boolean  log 
)

Construct a new local histogram.

Parameters:
ctx context
xstart start x of the histogram
xend end x of the histogram
ystart start y of the histogram
yend end y of the histogram

org.miv.jism.tools.Histogram.Histogram ( JismContext  ctx,
int  xstart,
int  xend,
int  ystart,
int  yend,
int  zstart,
int  zend 
)

Construct a new local histogram.

Parameters:
ctx context
xstart start x of the histogram
xend end x of the histogram
ystart start y of the histogram
yend end y of the histogram


Member Function Documentation

int org.miv.jism.tools.Histogram.get ( int  i  ) 

Get intensity degree.

Parameters:
i intensity

int org.miv.jism.tools.Histogram.maxIntensity (  ) 

Get max intensity.

Returns:
max intensity

double org.miv.jism.tools.Histogram.mean (  ) 

Get the mean intensity of the histogram.

Returns:
mean of the intensities

int org.miv.jism.tools.Histogram.sumDegree (  ) 

Get sum of degree intensities.

Returns:
sum of degrees

double org.miv.jism.tools.Histogram.variance (  ) 

Get the variance of the histogram.

Returns:
variance of the intensities

void org.miv.jism.tools.Histogram.inverse (  ) 

Inverse intensities.

Max will become min.

Histogram org.miv.jism.tools.Histogram.copy (  ) 

Create a copy of this histogram.

Returns:
a new Histogram with same degrees of this


The documentation for this class was generated from the following file:
Generated on Fri Apr 18 10:49:00 2008 for JisM by  doxygen 1.5.3