Main Page   Data Structures   File List   Data Fields   Globals  

Sadie_Geometry.c File Reference

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

Go to the source code of this file.

Functions

int Sadie_Geometry_AvgSubCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_WinSubCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_ScaleCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_RotateCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_MirrorCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_ContPtsCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_GeomWarpCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_HMosaicCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_VMosaicCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_GenMosaicCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_InsertCmd (ClientData client_data, Tcl_Interp *interp, int argc, char *argv[])
int Sadie_Geometry_Init (Tcl_Interp *interp)

Variables

char rcsid []
short nlev
short csize
double weight
double * count
PIXEL gain
PIXEL bias
PIXEL gmin
PIXEL gmax
PIXEL thresh
PIXEL gbrk [2][4]
PIXELtable
double xpolyterms [6] = { 0.0, 1.0, 0.0, 0.0, 0.0, 0.0 }
double ypolyterms [6] = { 0.0, 0.0, 1.0, 0.0, 0.0, 0.0 }
int numpolyterms = 3


Function Documentation

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

Definition at line 64 of file Sadie_Geometry.c.

References CHECKIMG(), RESAMPL(), SLEN, and IMAGE::text.

Referenced by Sadie_Geometry_Init().

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

Definition at line 775 of file Sadie_Geometry.c.

References GEOMCOEF(), numpolyterms, xpolyterms, and ypolyterms.

Referenced by Sadie_Geometry_Init().

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

Definition at line 1311 of file Sadie_Geometry.c.

References CHECKIMG(), MOSAIC(), PIXEL, SLEN, and IMAGE::text.

Referenced by Sadie_Geometry_Init().

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

Definition at line 902 of file Sadie_Geometry.c.

References CHECKIMG(), GEOMWARP(), IMAGE::nbnd, numpolyterms, PIXEL, SLEN, IMAGE::text, xpolyterms, and ypolyterms.

Referenced by Sadie_Geometry_Init().

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

Definition at line 1048 of file Sadie_Geometry.c.

References CHECKIMG(), HMOSAIC(), PIXEL, SLEN, and IMAGE::text.

Referenced by Sadie_Geometry_Init().

int Sadie_Geometry_Init Tcl_Interp *  interp  ) 
 

Definition at line 1641 of file Sadie_Geometry.c.

References Sadie_Geometry_AvgSubCmd(), Sadie_Geometry_ContPtsCmd(), Sadie_Geometry_GenMosaicCmd(), Sadie_Geometry_GeomWarpCmd(), Sadie_Geometry_HMosaicCmd(), Sadie_Geometry_InsertCmd(), Sadie_Geometry_MirrorCmd(), Sadie_Geometry_RotateCmd(), Sadie_Geometry_ScaleCmd(), Sadie_Geometry_VMosaicCmd(), and Sadie_Geometry_WinSubCmd().

Referenced by Tcl_AppInit().

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

Definition at line 1518 of file Sadie_Geometry.c.

References CHECKIMG(), INSERT(), SLEN, and IMAGE::text.

Referenced by Sadie_Geometry_Init().

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

Definition at line 676 of file Sadie_Geometry.c.

References CHECKIMG(), SLEN, IMAGE::text, and TRNSFORM().

Referenced by Sadie_Geometry_Init().

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

Definition at line 549 of file Sadie_Geometry.c.

References CHECKIMG(), PIXEL, ROTATE(), SLEN, and IMAGE::text.

Referenced by Sadie_Geometry_Init().

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

Definition at line 423 of file Sadie_Geometry.c.

References CHECKIMG(), EXPAND(), SLEN, and IMAGE::text.

Referenced by Sadie_Geometry_Init().

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

Definition at line 1180 of file Sadie_Geometry.c.

References CHECKIMG(), PIXEL, SLEN, IMAGE::text, and VMOSAIC().

Referenced by Sadie_Geometry_Init().

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

Definition at line 210 of file Sadie_Geometry.c.

References CHECKIMG(), SLEN, SUBSAMPL(), and IMAGE::text.

Referenced by Sadie_Geometry_Init().


Variable Documentation

PIXEL bias
 

Definition at line 32 of file Sadie_Geometry.c.

double* count
 

Definition at line 30 of file Sadie_Geometry.c.

short csize
 

Definition at line 28 of file Sadie_Geometry.c.

PIXEL gain
 

Definition at line 31 of file Sadie_Geometry.c.

PIXEL gbrk[2][4]
 

Definition at line 36 of file Sadie_Geometry.c.

PIXEL gmax
 

Definition at line 34 of file Sadie_Geometry.c.

PIXEL gmin
 

Definition at line 33 of file Sadie_Geometry.c.

short nlev
 

Definition at line 27 of file Sadie_Geometry.c.

int numpolyterms = 3
 

Definition at line 44 of file Sadie_Geometry.c.

Referenced by Sadie_Geometry_ContPtsCmd(), and Sadie_Geometry_GeomWarpCmd().

char rcsid[] [static]
 

Initial value:

  "$Id: Sadie_Geometry.c,v 2.5 1999/02/01 21:44:15 gopalan Exp $"

Definition at line 21 of file Sadie_Geometry.c.

PIXEL* table
 

Definition at line 37 of file Sadie_Geometry.c.

PIXEL thresh
 

Definition at line 35 of file Sadie_Geometry.c.

double weight
 

Definition at line 29 of file Sadie_Geometry.c.

double xpolyterms[6] = { 0.0, 1.0, 0.0, 0.0, 0.0, 0.0 }
 

Definition at line 42 of file Sadie_Geometry.c.

Referenced by Sadie_Geometry_ContPtsCmd(), and Sadie_Geometry_GeomWarpCmd().

double ypolyterms[6] = { 0.0, 0.0, 1.0, 0.0, 0.0, 0.0 }
 

Definition at line 43 of file Sadie_Geometry.c.

Referenced by Sadie_Geometry_ContPtsCmd(), and Sadie_Geometry_GeomWarpCmd().


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