Main Page   Data Structures   File List   Data Fields   Globals  

histogram.c File Reference

#include "trees.h"
#include "histogram.h"

Go to the source code of this file.

Functions

void HIST_INIT (HISTOGRAM *hist)
void HIST_MAG (IMAGE_BYTE *iMag, MOSAIC_INDEX *index, HISTOGRAM *globalhist, HISTOGRAM **localhist, int nrows, int ncols)
void HIST_RTH_PERCENTILE (HISTOGRAM *globalhist, HISTOGRAM **localhist, double r, int nrows, int ncols)
void HIST_DIR (IMAGE_BYTE *iMag, IMAGE_BYTE *iDir, MOSAIC_INDEX *index, HISTOGRAM *globalhist, HISTOGRAM **localhist, int nrows, int ncols)
void HIST_ORIENTATION (HISTOGRAM *globalhist, HISTOGRAM **localhist, int nrows, int ncols)
int HIST_DIR_OF_EDGE_NEIGHBOUR (HISTOGRAM *globalhist, HISTOGRAM **localhist, int nrows, int ncols, int i, int j)
void HIST_RESOLVE (HISTOGRAM *globalhist, HISTOGRAM **localhist, int nrows, int ncols)
int HIST_NUM_RING_NEIGH (IMAGE_BYTE *iDir, MOSAIC_INDEX *index, int m, int n, int bin)
void HIST_SUPPRESS (IMAGE_BYTE *iMag, IMAGE_BYTE *iDir, MOSAIC_INDEX *index, HISTOGRAM **localhist)
int HIST_FIND_MAX_NEIGH (IMAGE_BYTE *iMag, IMAGE_BYTE *byteimg, MOSAIC_INDEX *index, int startx, int starty, int *newx, int *newy)
int HIST_NUM_NEIGH (IMAGE_BYTE *iMag, MOSAIC_INDEX *index, int m, int n)


Function Documentation

void HIST_DIR IMAGE_BYTE   iMag,
IMAGE_BYTE   iDir,
MOSAIC_INDEX   index,
HISTOGRAM   globalhist,
HISTOGRAM **    localhist,
int    nrows,
int    ncols
 

Definition at line 212 of file histogram.c.

References IMAGE_BYTE::data, HISTOGRAM::dir, MOSAIC_INDEX::hend, HIST_BLOCK_DIM, MOSAIC_INDEX::hstart, HISTOGRAM::per, ProgMeter_Create, ProgMeter_Destroy, ProgMeter_Update, MOSAIC_INDEX::roi, REGION_OF_INTEREST::top, MOSAIC_INDEX::vend, MOSAIC_INDEX::voffset, and MOSAIC_INDEX::vstart.

int HIST_DIR_OF_EDGE_NEIGHBOUR HISTOGRAM   globalhist,
HISTOGRAM **    localhist,
int    nrows,
int    ncols,
int    i,
int    j
 

Definition at line 364 of file histogram.c.

References HISTOGRAM::bin, and LOCAL_DEVN.

int HIST_FIND_MAX_NEIGH IMAGE_BYTE   iMag,
IMAGE_BYTE   byteimg,
MOSAIC_INDEX   index,
int    startx,
int    starty,
int *    newx,
int *    newy
 

Definition at line 574 of file histogram.c.

References IMAGE_BYTE::data, MOSAIC_INDEX::hend, MOSAIC_INDEX::hstart, max, MOSAIC_INDEX::vend, MOSAIC_INDEX::voffset, and MOSAIC_INDEX::vstart.

void HIST_INIT HISTOGRAM   hist
 

Definition at line 12 of file histogram.c.

References HISTOGRAM::bin, HISTOGRAM::cbin, HISTOGRAM::dir, HISTOGRAM::edge, HIST_RESOL, HISTOGRAM::mag, HISTOGRAM::numpixels, HISTOGRAM::per, and HISTOGRAM::r.

void HIST_MAG IMAGE_BYTE   iMag,
MOSAIC_INDEX   index,
HISTOGRAM   globalhist,
HISTOGRAM **    localhist,
int    nrows,
int    ncols
 

Definition at line 36 of file histogram.c.

References IMAGE_BYTE::data, MOSAIC_INDEX::hend, HIST_BLOCK_DIM, HIST_RESOL, MOSAIC_INDEX::hstart, HISTOGRAM::mag, HISTOGRAM::numpixels, ProgMeter_Create, ProgMeter_Destroy, ProgMeter_Update, MOSAIC_INDEX::roi, REGION_OF_INTEREST::top, MOSAIC_INDEX::vend, MOSAIC_INDEX::voffset, and MOSAIC_INDEX::vstart.

int HIST_NUM_NEIGH IMAGE_BYTE   iMag,
MOSAIC_INDEX   index,
int    m,
int    n
 

Definition at line 625 of file histogram.c.

References IMAGE_BYTE::data, MOSAIC_INDEX::hend, MOSAIC_INDEX::hstart, MOSAIC_INDEX::vend, MOSAIC_INDEX::voffset, and MOSAIC_INDEX::vstart.

int HIST_NUM_RING_NEIGH IMAGE_BYTE   iDir,
MOSAIC_INDEX   index,
int    m,
int    n,
int    bin
 

Definition at line 474 of file histogram.c.

References IMAGE_BYTE::data, DIR_TOL, MOSAIC_INDEX::hend, MOSAIC_INDEX::hstart, MOSAIC_INDEX::vend, MOSAIC_INDEX::voffset, and MOSAIC_INDEX::vstart.

void HIST_ORIENTATION HISTOGRAM   globalhist,
HISTOGRAM **    localhist,
int    nrows,
int    ncols
 

Definition at line 285 of file histogram.c.

References HISTOGRAM::bin, HISTOGRAM::cbin, HISTOGRAM::dir, HIST_RESOL, max, ProgMeter_Create, ProgMeter_Destroy, and ProgMeter_Update.

void HIST_RESOLVE HISTOGRAM   globalhist,
HISTOGRAM **    localhist,
int    nrows,
int    ncols
 

Definition at line 398 of file histogram.c.

References HISTOGRAM::bin, HIST_DIR_OF_EDGE_NEIGHBOUR, LOCAL_DEVN, ProgMeter_Create, ProgMeter_Destroy, and ProgMeter_Update.

void HIST_RTH_PERCENTILE HISTOGRAM   globalhist,
HISTOGRAM **    localhist,
double    r,
int    nrows,
int    ncols
 

Definition at line 131 of file histogram.c.

References HIST_RESOL, HISTOGRAM::mag, HISTOGRAM::numpixels, HISTOGRAM::per, ProgMeter_Create, ProgMeter_Destroy, ProgMeter_Update, and HISTOGRAM::r.

void HIST_SUPPRESS IMAGE_BYTE   iMag,
IMAGE_BYTE   iDir,
MOSAIC_INDEX   index,
HISTOGRAM **    localhist
 

Definition at line 508 of file histogram.c.

References HISTOGRAM::bin, IMAGE_BYTE::data, DIR_TOL, MOSAIC_INDEX::hend, HIST_BLOCK_DIM, HIST_NUM_RING_NEIGH, MOSAIC_INDEX::hstart, ProgMeter_Create, ProgMeter_Destroy, ProgMeter_Update, MOSAIC_INDEX::roi, REGION_OF_INTEREST::top, MOSAIC_INDEX::vend, MOSAIC_INDEX::voffset, and MOSAIC_INDEX::vstart.


Generated on Wed Apr 9 08:56:18 2003 for TREES by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002