Main Page   Data Structures   File List   Data Fields   Globals  

Sadie_Contrast.c File Reference

#include <tcl.h>
#include <tk.h>
#include "sadie.h"

Go to the source code of this file.

Functions

int Sadie_Contrast_NormStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_HisteqStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_LinearStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_LogStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_PWLStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_RootStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_SqrStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_TblStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_QntStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_SatStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_ThreshStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_AdaptStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_RefStretchCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Contrast_Init (Tcl_Interp *interp)

Variables

short nlev
short csize
double weight
double * count
PIXEL gain
PIXEL bias
PIXEL gmin
PIXEL gmax
PIXEL thresh
PIXEL gbrk [2][4]
PIXELtable


Function Documentation

int Sadie_Contrast_AdaptStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 1398 of file Sadie_Contrast.c.

References CHECKIMG, SLEN, IMAGE::text, and VSTRETCH.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_HisteqStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 190 of file Sadie_Contrast.c.

References CHECKIMG, HISTEQ, SLEN, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_Init Tcl_Interp *    interp
 

Definition at line 1631 of file Sadie_Contrast.c.

References Sadie_Contrast_AdaptStretchCmd, Sadie_Contrast_HisteqStretchCmd, Sadie_Contrast_LinearStretchCmd, Sadie_Contrast_LogStretchCmd, Sadie_Contrast_NormStretchCmd, Sadie_Contrast_PWLStretchCmd, Sadie_Contrast_QntStretchCmd, Sadie_Contrast_RefStretchCmd, Sadie_Contrast_RootStretchCmd, Sadie_Contrast_SatStretchCmd, Sadie_Contrast_SqrStretchCmd, Sadie_Contrast_TblStretchCmd, and Sadie_Contrast_ThreshStretchCmd.

int Sadie_Contrast_LinearStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 308 of file Sadie_Contrast.c.

References bias, CHECKIMG, gain, gmax, gmin, SLEN, STRETCH, IMAGE::text, and type.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_LogStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 446 of file Sadie_Contrast.c.

References CHECKIMG, SLEN, STRETCH, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_NormStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 55 of file Sadie_Contrast.c.

References CHECKIMG, CONTNORM, SLEN, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_PWLStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 540 of file Sadie_Contrast.c.

References CHECKIMG, gbrk, SLEN, STRETCH, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_QntStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 1042 of file Sadie_Contrast.c.

References CHECKIMG, gmax, gmin, nlev, SLEN, STRETCH, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_RefStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 1502 of file Sadie_Contrast.c.

References CHECKIMG, MATCH, SLEN, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_RootStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 749 of file Sadie_Contrast.c.

References CHECKIMG, SLEN, STRETCH, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_SatStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 1177 of file Sadie_Contrast.c.

References CHECKIMG, gmax, gmin, SLEN, STRETCH, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_SqrStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 835 of file Sadie_Contrast.c.

References CHECKIMG, SLEN, STRETCH, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_TblStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 922 of file Sadie_Contrast.c.

References CHECKIMG, IMAGE::gmax, IMAGE::gmin, malloc, nlev, SLEN, STRETCH, table, and IMAGE::text.

Referenced by Sadie_Contrast_Init.

int Sadie_Contrast_ThreshStretchCmd ClientData    client_data,
Tcl_Interp *    interp,
int    argc,
char *    argv[]
 

Definition at line 1295 of file Sadie_Contrast.c.

References CHECKIMG, SLEN, STRETCH, IMAGE::text, and thresh.

Referenced by Sadie_Contrast_Init.


Variable Documentation

PIXEL bias
 

Definition at line 30 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_LinearStretchCmd.

double* count
 

Definition at line 28 of file Sadie_Contrast.c.

short csize
 

Definition at line 26 of file Sadie_Contrast.c.

PIXEL gain
 

Definition at line 29 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_LinearStretchCmd.

PIXEL gbrk[2][4]
 

Definition at line 34 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_PWLStretchCmd.

PIXEL gmax
 

Definition at line 32 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_LinearStretchCmd, Sadie_Contrast_QntStretchCmd, and Sadie_Contrast_SatStretchCmd.

PIXEL gmin
 

Definition at line 31 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_LinearStretchCmd, Sadie_Contrast_QntStretchCmd, and Sadie_Contrast_SatStretchCmd.

short nlev
 

Definition at line 25 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_QntStretchCmd, and Sadie_Contrast_TblStretchCmd.

PIXEL* table
 

Definition at line 35 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_TblStretchCmd.

PIXEL thresh
 

Definition at line 33 of file Sadie_Contrast.c.

Referenced by Sadie_Contrast_ThreshStretchCmd.

double weight
 

Definition at line 27 of file Sadie_Contrast.c.


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