Main Page   Data Structures   File List   Data Fields   Globals  

stretch.c File Reference

#include "sadie.h"

Go to the source code of this file.

Functions

void STRETCH (IMAGE *in, short(*tf)(IMAGE *, IMAGE **), IMAGE **out)
short TFINVERT (IMAGE *in, IMAGE **out)
short TFLINEAR (IMAGE *in, IMAGE **out)
short TFLOG (IMAGE *in, IMAGE **out)
short TFPLT (IMAGE *in, IMAGE **out)
short TFQUANT (IMAGE *in, IMAGE **out)
short TFROOT (IMAGE *in, IMAGE **out)
short TFSAT (IMAGE *in, IMAGE **out)
short TFSCALE (IMAGE *in, IMAGE **out)
short TFSQUARE (IMAGE *in, IMAGE **out)
short TFTABLE (IMAGE *in, IMAGE **out)
short TFTHRESH (IMAGE *in, IMAGE **out)

Variables

PIXEL gmax
PIXEL bias
PIXEL gain
PIXEL gbrk [2][4]
short nlev
PIXEL gmin
PIXELtable
PIXEL thresh


Function Documentation

void STRETCH IMAGE in,
short(*  tf)(IMAGE *, IMAGE **),
IMAGE **  out
 

Definition at line 23 of file stretch.c.

References bias, CHECKIMG(), gain, gbrk, GETMEM(), IMAGE::gmax, gmax, IMAGE::gmin, gmin, in, MESSAGE(), IMAGE::nbnd, nlev, IMAGE::nlin, IMAGE::npix, out, SLEN, T_EXIT, T_STRETCH, table, IMAGE::text, TFINVERT(), TFLINEAR(), TFLOG(), TFPLT(), TFQUANT(), TFROOT(), TFSAT(), TFSCALE(), TFSQUARE(), TFTABLE(), TFTHRESH(), thresh, and TIMING().

Referenced by Sadie_Contrast_LinearStretchCmd(), Sadie_Contrast_LogStretchCmd(), Sadie_Contrast_PWLStretchCmd(), Sadie_Contrast_QntStretchCmd(), Sadie_Contrast_RootStretchCmd(), Sadie_Contrast_SatStretchCmd(), Sadie_Contrast_SqrStretchCmd(), Sadie_Contrast_TblStretchCmd(), and Sadie_Contrast_ThreshStretchCmd().

short TFINVERT IMAGE in,
IMAGE **  out
 

Definition at line 170 of file stretch.c.

References IMAGE::data, IMAGE::gmax, gmax, IMAGE::gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFINVERT, and TIMING().

Referenced by STRETCH().

short TFLINEAR IMAGE in,
IMAGE **  out
 

Definition at line 211 of file stretch.c.

References bias, IMAGE::data, gain, IMAGE::gmax, IMAGE::gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFLINEAR, and TIMING().

Referenced by Sadie_Contrast_LinearStretchCmd(), and STRETCH().

short TFLOG IMAGE in,
IMAGE **  out
 

Definition at line 264 of file stretch.c.

References IMAGE::data, gbrk, IMAGE::gmax, IMAGE::gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, PIXEL, T_EXIT, T_TFLOG, TIMES, and TIMING().

Referenced by Sadie_Contrast_LogStretchCmd(), and STRETCH().

short TFPLT IMAGE in,
IMAGE **  out
 

Definition at line 311 of file stretch.c.

References in, and max.

Referenced by Sadie_Contrast_PWLStretchCmd(), and STRETCH().

short TFQUANT IMAGE in,
IMAGE **  out
 

Definition at line 400 of file stretch.c.

References IMAGE::data, gmax, gmin, in, max, min, IMAGE::nbnd, nlev, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFQUANT, and TIMING().

Referenced by Sadie_Contrast_QntStretchCmd(), and STRETCH().

short TFROOT IMAGE in,
IMAGE **  out
 

Definition at line 445 of file stretch.c.

References IMAGE::data, IMAGE::gmax, IMAGE::gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFROOT, and TIMING().

Referenced by Sadie_Contrast_RootStretchCmd(), and STRETCH().

short TFSAT IMAGE in,
IMAGE **  out
 

Definition at line 490 of file stretch.c.

References IMAGE::data, gmax, gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFSAT, and TIMING().

Referenced by Sadie_Contrast_SatStretchCmd(), and STRETCH().

short TFSCALE IMAGE in,
IMAGE **  out
 

Definition at line 539 of file stretch.c.

References IMAGE::data, gmax, IMAGE::gmax, gmin, IMAGE::gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, RANGE(), T_EXIT, T_TFSCALE, and TIMING().

Referenced by Sadie_Contrast_LinearStretchCmd(), and STRETCH().

short TFSQUARE IMAGE in,
IMAGE **  out
 

Definition at line 592 of file stretch.c.

References IMAGE::data, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFSQUARE, and TIMING().

Referenced by Sadie_Contrast_SqrStretchCmd(), and STRETCH().

short TFTABLE IMAGE in,
IMAGE **  out
 

Definition at line 632 of file stretch.c.

References IMAGE::data, IMAGE::gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFTABLE, table, and TIMING().

Referenced by Sadie_Contrast_TblStretchCmd(), and STRETCH().

short TFTHRESH IMAGE in,
IMAGE **  out
 

Definition at line 672 of file stretch.c.

References IMAGE::data, IMAGE::gmax, IMAGE::gmin, in, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, T_EXIT, T_TFTHRESH, thresh, and TIMING().

Referenced by Sadie_Contrast_ThreshStretchCmd(), and STRETCH().


Variable Documentation

PIXEL bias
 

Definition at line 4 of file stretch.c.

PIXEL gain
 

Definition at line 5 of file stretch.c.

PIXEL gbrk[2][4]
 

Definition at line 6 of file stretch.c.

PIXEL gmax
 

Definition at line 3 of file stretch.c.

PIXEL gmin
 

Definition at line 8 of file stretch.c.

short nlev
 

Definition at line 7 of file stretch.c.

PIXEL* table
 

Definition at line 9 of file stretch.c.

PIXEL thresh
 

Definition at line 10 of file stretch.c.


Generated on Sun May 18 15:36:25 2003 for tclSadie by doxygen1.3