#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <time.h>Go to the source code of this file.
Data Structures | |
| struct | entry |
| struct | IMAGE |
| struct | ROI |
Defines | |
| #define | LOCALE "tclSadie" |
| #define | SYSTEM "Solaris/Linux" |
| #define | _NOERRORCHECK_ |
| #define | DIR "" |
| #define | DBND 65535 |
| #define | DLIN 65535 |
| #define | DPIX 65535 |
| #define | DBIT 8 |
| #define | DMIN 128.5 |
| #define | DMAX 255.5 |
| #define | SBPB 8 |
| #define | SBIT sizeof(PIXEL)*SBPB |
| #define | SMIN 0 |
| #define | SMAX 255 |
| #define | SLEN 1024 |
| #define | TLEN 496 |
| #define | FALSE 0 |
| #define | TRUE 1 |
| #define | OFF 0 |
| #define | ON 1 |
| #define | BEGIN "/*-" |
| #define | END "/*-" |
| #define | CODE 3 |
| #define | BIP 0 |
| #define | BIL 1 |
| #define | BSQ 2 |
| #define | REIMAG 0 |
| #define | MAGPHA 1 |
| #define | ADD 0 |
| #define | SUBTRACT 1 |
| #define | MULTIPLY 2 |
| #define | DIVIDE 3 |
| #define | MINIMUM 4 |
| #define | MAXIMUM 5 |
| #define | LT 0 |
| #define | LE 1 |
| #define | GT 2 |
| #define | GE 3 |
| #define | EQ 4 |
| #define | NE 5 |
| #define | AND 6 |
| #define | OR 7 |
| #define | XOR 8 |
| #define | NOT 9 |
| #define | DESMNE 0 |
| #define | DESSTD 1 |
| #define | DESCDF 2 |
| #define | DESSNG 0 |
| #define | DESAVG 1 |
| #define | SOBEL 0 |
| #define | SOBEL2 1 |
| #define | SOBEL3 2 |
| #define | ROBERTS 3 |
| #define | ROBERTS2 4 |
| #define | PREWITT 5 |
| #define | PSF 0 |
| #define | OTF 1 |
| #define | FORWARD (-1) |
| #define | INVERSE 1 |
| #define | NOR_PSPECT 0 |
| #define | ROW_PSPECT 1 |
| #define | COL_PSPECT 2 |
| #define | CONE 0 |
| #define | NEGEXP 1 |
| #define | GAUSS 2 |
| #define | BOX 3 |
| #define | CYLINDER 4 |
| #define | HANNING 5 |
| #define | HAMMING 6 |
| #define | KAISER 7 |
| #define | MINTERMS 3 |
| #define | MAXTERMS 6 |
| #define | LSQ 0 |
| #define | CDF 1 |
| #define | CITYBLOCK 0 |
| #define | EUCLIDEAN 1 |
| #define | MAHALANOBIS 2 |
| #define | UNIT 0 |
| #define | NORM 1 |
| #define | LOG 2 |
| #define | IGNORE 0 |
| #define | INCLUDE 1 |
| #define | EXCLUDE 2 |
| #define | UNIFORM 0 |
| #define | GAUSSIAN 1 |
| #define | FLIP0 0 |
| #define | FLIPM45 1 |
| #define | FLIPP45 2 |
| #define | FLIP90 3 |
| #define | ROTPM0 4 |
| #define | ROTP90 5 |
| #define | ROTM90 6 |
| #define | ROT180 7 |
| #define | PI 3.14159265358979323846 |
| #define | BTIFF ((unsigned long)0) |
| #define | GTIFF ((unsigned long)1) |
| #define | PTIFF ((unsigned long)2) |
| #define | RTIFF ((unsigned long)3) |
| #define | TBYTE ((unsigned long)1) |
| #define | TASCII ((unsigned long)2) |
| #define | TSHORT ((unsigned long)3) |
| #define | TLONG ((unsigned long)4) |
| #define | TRATIONAL ((unsigned long)5) |
| #define | LilEndian ((unsigned long)0x4949) |
| #define | BigEndian ((unsigned long)0x4D4D) |
| #define | MagicNumber ((unsigned long)42) |
| #define | NoComp ((unsigned long)1) |
| #define | RLEComp ((unsigned long)2) |
| #define | PackBitsComp ((unsigned long)32773) |
| #define | NewSubfileType 254 |
| #define | SubfileType 255 |
| #define | ImageWidth 256 |
| #define | ImageLength 257 |
| #define | BitsPerSample 258 |
| #define | Compression 259 |
| #define | PhotometricInterpretation 262 |
| #define | Thresholding 263 |
| #define | CellWidth 264 |
| #define | CellLength 265 |
| #define | FillOrder 266 |
| #define | ImageDescription 270 |
| #define | Make 271 |
| #define | Model 272 |
| #define | StripOffsets 273 |
| #define | Orientation 274 |
| #define | SamplesPerPixel 277 |
| #define | RowsPerStrip 278 |
| #define | StripByteCounts 279 |
| #define | MinSampleValue 280 |
| #define | MaxSampleValue 281 |
| #define | XResolution 282 |
| #define | YResolution 283 |
| #define | PlanarConfiguration 284 |
| #define | FreeOffsets 288 |
| #define | FreeByteCounts 289 |
| #define | GrayResponseUnit 290 |
| #define | GrayResponseCurve 291 |
| #define | ResolutionUnit 296 |
| #define | Software 305 |
| #define | DateTime 306 |
| #define | Artist 315 |
| #define | HostComputer 316 |
| #define | ColorMap 320 |
| #define | ExtraSamples 338 |
| #define | Copyright 33432 |
| #define | min(x, y) ((x) < (y) ? (x) : (y)) |
| #define | max(x, y) ((x) > (y) ? (x) : (y)) |
| #define | rnd(x) (short)((x) > 0.0 ? (x)+0.5 : (x)-0.5) |
| #define | lrnd(x) (long)((x) > 0.0 ? (x)+0.5 : (x)-0.5) |
| #define | malloc(x) malloc((unsigned long)(x)) |
Typedefs | |
| typedef unsigned char | BYTE |
| typedef float | PIXEL |
| typedef ROI | ROI |
| typedef ROI * | ROIPtr |
Enumerations | |
| enum | T_TIME { T_EXIT, T_BILTOBSQ, T_BSQTOBIL, T_CHECKER, T_CHECKIMG, T_CHIRP, T_CLUSTER, T_COM2REAL, T_COMBINE, T_COMPARE, T_CONTNORM, T_CONTOUR, T_COVAR, T_CSPLINE, T_DECORSTR, T_DESTRIPE, T_DISK2IMG, T_DSPL2IMG, T_DUPL, T_EDGE, T_EIGEN, T_EXPAND, T_FCONVL, T_FFT1D, T_FFT2D, T_FHT1D, T_FHT2D, T_FILTER, T_FINI, T_FLTBOX, T_FLTCONE, T_FLTCYL, T_FLTEXP, T_FLTGAUSS, T_FUNCTION, T_GEOMCOEF, T_GEOMWARP, T_GETMEM, T_GRADIENT, T_GRAYSCAL, T_GRID, T_HELP, T_HISTEQ, T_HISTOGRM, T_HMOSAIC, T_HSVTORGB, T_IMG2DISK, T_IMG2DSPL, T_IMG2EPSF, T_IMG2PICT, T_IMG2TAPE, T_IMG2TEXT, T_IMG2TIFF, T_IMG2VECT, T_IMPORT, T_INFO, T_INIT, T_INSERT, T_MATRIX_INVERT, T_LABEL, T_LVLSLICE, T_MAIN, T_MATCH, T_MAXLIKE, T_MEDIAN, T_MESSAGE, T_MINDIST, T_MOSAIC, T_PACK, T_PCT, T_PICT2IMG, T_PIXLDUMP, T_PLOT, T_PROGRESS, T_PSPECT1D, T_PSPECT, T_RANDOM, T_RANGE, T_REAL2COM, T_REFINE, T_RELIEF, T_RELIMG, T_RELMEM, T_RESAMPL, T_RGBTOHSV, T_RMSDIFF, T_ROISTATS, T_ROTATE, T_ROTATECUBE, T_SCATTER, T_SCONVL, T_SEGMENT, T_SIGMAP, T_SINESTAR, T_SINEWAVE, T_STATS, T_STRETCH, T_SUBSAMPL, T_SWAP, T_TAPE2IMG, T_TEST, T_TFINVERT, T_TFLINEAR, T_TFLOG, T_TFPLT, T_TFQUANT, T_TFROOT, T_TFSAT, T_TFSCALE, T_TFSQUARE, T_TFTABLE, T_TFTHRESH, T_TIFF2IMG, T_TIMING, T_TRNSFORM, T_UNPACK, T_VECT2IMG, T_VMOSAIC, T_VSTRETCH, T_WINDOW, T_WTFCAVG, T_WTFDIVER, T_WTFMAJ, T_WTFMAX, T_WTFMIN, T_WTFVAR, T_END } |
Functions | |
| int | ProgMeter_Create (char *) |
| int | ProgMeter_Update (int, double) |
| int | ProgMeter_Destroy (int) |
| void | BILTOBSQ (IMAGE *, IMAGE **) |
| void | BSQTOBIL (IMAGE **, short, IMAGE **) |
| void | CHECKER (short, short, short, short, IMAGE **) |
| short | CHECKIMG (IMAGE *) |
| void | CHIRP (short, short, double, IMAGE **) |
| void | CLUSTER (IMAGE *, short, short, short, PIXEL, short, short, short, PIXEL, IMAGE **) |
| void | COM2REAL (IMAGE *, short, IMAGE **, IMAGE **) |
| void | COMBINE (IMAGE *, IMAGE *, short, double, double, IMAGE **) |
| void | COMPARE (IMAGE *, IMAGE *, short, IMAGE **) |
| void | CONTNORM (IMAGE *, PIXEL, double, short, IMAGE **) |
| void | CONTOUR (IMAGE *, short, double, IMAGE **) |
| void | COVAR (IMAGE *, short, double *, double *) |
| void | DECORSTR (IMAGE *, short, IMAGE **) |
| void | DESTRIPE (IMAGE *, short, short, short, short, short, IMAGE **) |
| void | DISK2IMG (char *, long, IMAGE **) |
| void | DUPL (IMAGE *, short, short, short, short, short, short, short, short, short, IMAGE **) |
| void | EDGE (IMAGE *, short, IMAGE **, IMAGE **) |
| void | EIGEN (double *, short, double *) |
| void | EXPAND (IMAGE *, double, double, double, IMAGE **) |
| void | FCONVL (IMAGE *, IMAGE *, short, IMAGE **) |
| void | FFT2D (IMAGE *, short, IMAGE **) |
| void | FHT2D (IMAGE *, short, IMAGE **) |
| void | FILTER (IMAGE *, double(*)(double, double, double, double), double, double, double, IMAGE **) |
| void | FINI (void) |
| double | FLTBOX (double, double, double, double) |
| double | FLTCONE (double, double, double, double) |
| double | FLTCYL (double, double, double, double) |
| double | FLTEXP (double, double, double, double) |
| double | FLTGAUSS (double, double, double, double) |
| void | FUNCTION (short, short, double, double, double, short, IMAGE **) |
| void | GEOMCOEF (double *, double *, double *, double *, short, short, double *, double *) |
| void | GEOMWARP (IMAGE *, short, short, short, double *, double *, short, double, PIXEL, IMAGE **) |
| void | GETMEM (short, short, short, IMAGE **) |
| void | GRADIENT (IMAGE *, PIXEL *, PIXEL *, short, IMAGE **, IMAGE **) |
| void | GRAYSCAL (short, short, short, PIXEL, PIXEL, IMAGE **) |
| void | HELP (T_TIME, char *) |
| void | HISTEQ (IMAGE *, short, short, IMAGE **) |
| void | HISTOGRM (IMAGE *, short, PIXEL, PIXEL, short, long *) |
| void | STRICTHISTOGRM (IMAGE *, short, short, PIXEL, PIXEL, short, long *) |
| void | HMOSAIC (IMAGE *, IMAGE *, short, PIXEL, IMAGE **) |
| void | HSVTORGB (IMAGE *, IMAGE **) |
| void | IMG2DISK (IMAGE *, short, char *) |
| void | IMG2EPSF (IMAGE *, char *, short) |
| void | IMG2TEXT (IMAGE *, char *) |
| void | IMG2TIFF (IMAGE *, char *, short) |
| void | IMPORT (char *, short, short, short, short, short, short, short, short, short, short, short, short, short, short, short, long, IMAGE **out) |
| void | INIT (void) |
| void | INSERT (IMAGE *, IMAGE *, short, short, IMAGE **) |
| void | MATRIX_INVERT (double *, short, double *) |
| void | LABEL (IMAGE *, double, PIXEL, IMAGE **) |
| void | LVLSLICE (IMAGE *, PIXEL *, short, IMAGE **) |
| void | MATCH (IMAGE *, IMAGE *, short, short, IMAGE **) |
| void | MAXLIKE (IMAGE *, short, double *, double *, IMAGE **) |
| void | MEDIAN (IMAGE *, short, short, IMAGE **) |
| void | MESSAGE (char, char *) |
| void | MINDIST (IMAGE *, short, short, double *, double *, IMAGE **) |
| void | MOSAIC (IMAGE **, short, short, short, short *, short *, PIXEL, IMAGE **) |
| void | PACK (short, long, PIXEL *) |
| void | PCT (IMAGE *, short, IMAGE **) |
| short | PLOT (PIXEL **, short, short, char *, char *, short) |
| short | PROGRESS (double) |
| void | PSPECT (IMAGE *, IMAGE **) |
| void | RANDOM (short, short, short, double, IMAGE **) |
| void | RANGE (IMAGE *) |
| void | REAL2COM (IMAGE *, IMAGE *, short, IMAGE **) |
| void | REFINE (IMAGE *[3], IMAGE **) |
| void | RELIEF (IMAGE *, double, double, double, IMAGE **) |
| void | RELIMG (IMAGE **) |
| void | RELMEM (IMAGE *) |
| void | RESAMPL (IMAGE *, short, short, short, short, IMAGE **) |
| void | RGBTOHSV (IMAGE *, IMAGE **) |
| void | RMSDIFF (IMAGE *, IMAGE *, double *) |
| short | ROISTATS (char *, short, long, PIXEL *, short, short, PIXEL *, PIXEL *, double *, double *, long *, double *, double *) |
| void | ROTATE (IMAGE *, double, PIXEL, double, IMAGE **) |
| void | ROTATECUBE (IMAGE *, short, short, short, short, short, short, IMAGE **) |
| void | SCATTER (IMAGE *, IMAGE *, short, short, short, short, IMAGE **) |
| void | SCONVL (IMAGE *, PIXEL *, short, short, IMAGE **) |
| void | SEGMENT (IMAGE *, short, double, PIXEL, IMAGE **) |
| void | SIGMAP (IMAGE *, IMAGE *, IMAGE **) |
| void | SINESTAR (short, short, double, IMAGE **) |
| void | SINEWAVE (short, short, double, double, IMAGE **) |
| short | STATS (IMAGE *, short, short, short, PIXEL, PIXEL, double *, double *, PIXEL *, PIXEL *, PIXEL *, long *) |
| void | STRETCH (IMAGE *, short(*)(IMAGE *, IMAGE **), IMAGE **) |
| void | SUBSAMPL (IMAGE *, short, short, short, short, short, short, short, short, short, IMAGE **) |
| short | SWAP (unsigned char *) |
| void | TAPE2IMG (unsigned char *, short, short, long, short, short, short, short, short, short, short, short, short, short, short, short, short, IMAGE **) |
| short | TFINVERT (IMAGE *, IMAGE **) |
| short | TFLINEAR (IMAGE *, IMAGE **) |
| short | TFLOG (IMAGE *, IMAGE **) |
| short | TFPLT (IMAGE *, IMAGE **) |
| short | TFQUANT (IMAGE *, IMAGE **) |
| short | TFROOT (IMAGE *, IMAGE **) |
| short | TFSAT (IMAGE *, IMAGE **) |
| short | TFSCALE (IMAGE *, IMAGE **) |
| short | TFSQUARE (IMAGE *, IMAGE **) |
| short | TFTABLE (IMAGE *, IMAGE **) |
| short | TFTHRESH (IMAGE *, IMAGE **) |
| void | TIFF2IMG (char *, IMAGE **) |
| void | TIMING (T_TIME) |
| void | TRNSFORM (IMAGE *, short, IMAGE **) |
| void | UNPACK (short, long, PIXEL *) |
| void | VMOSAIC (IMAGE *, IMAGE *, short, PIXEL, IMAGE **) |
| void | VSTRETCH (IMAGE *, short, IMAGE **) |
| void | WINDOW (IMAGE *, PIXEL(*)(PIXEL *, short, short), short, short, IMAGE **) |
| PIXEL | WTFCAVG (PIXEL *, short, short) |
| PIXEL | WTFDIVER (PIXEL *, short, short) |
| PIXEL | WTFMAJ (PIXEL *, short, short) |
| PIXEL | WTFMAX (PIXEL *, short, short) |
| PIXEL | WTFMIN (PIXEL *, short, short) |
| PIXEL | WTFVAR (PIXEL *, short, short) |
| void | CREATE_ROI (IMAGE *, char *, int, int, int, int, short, short, short) |
| void | CLEAR_ROI (IMAGE *) |
| void | brshnm (int, int, int, int) |
| int | FILESIZE (unsigned char *) |
| double | mBesselF (double) |
Variables | |
| char * | SLOG |
| short | NAMES |
| short | TIMES |
| short | LINES |
| short | ABORT |
| char * | functions [T_END][2] |
|
|
|
|
|
Definition at line 244 of file sadie.h. Referenced by COMBINE(). |
|
|
Definition at line 257 of file sadie.h. Referenced by COMPARE(). |
|
|
|
|
|
|
|
|
Definition at line 342 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 238 of file sadie.h. Referenced by IMPORT(). |
|
|
Definition at line 237 of file sadie.h. Referenced by IMPORT(). |
|
|
Definition at line 353 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 289 of file sadie.h. Referenced by FUNCTION(). |
|
|
Definition at line 239 of file sadie.h. Referenced by IMPORT(). |
|
|
Definition at line 330 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 299 of file sadie.h. Referenced by MATCH(). |
|
|
|
|
|
|
|
|
Definition at line 301 of file sadie.h. Referenced by MINDIST(). |
|
|
|
|
|
Definition at line 284 of file sadie.h. Referenced by PSPECT1D(). |
|
|
Definition at line 390 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 354 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 286 of file sadie.h. Referenced by FUNCTION(). |
|
|
|
|
|
Definition at line 290 of file sadie.h. Referenced by FUNCTION(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 267 of file sadie.h. Referenced by DESTRIPE(). |
|
|
Definition at line 264 of file sadie.h. Referenced by DESTRIPE(). |
|
|
Definition at line 262 of file sadie.h. Referenced by DESTRIPE(). |
|
|
Definition at line 266 of file sadie.h. Referenced by DESTRIPE(). |
|
|
Definition at line 263 of file sadie.h. Referenced by DESTRIPE(). |
|
|
|
|
|
Definition at line 247 of file sadie.h. Referenced by COMBINE(). |
|
|
|
|
|
Definition at line 26 of file sadie.h. Referenced by ReadSADIE(). |
|
|
Definition at line 25 of file sadie.h. Referenced by ReadSADIE(). |
|
|
|
|
|
|
|
|
Definition at line 255 of file sadie.h. Referenced by COMPARE(). |
|
|
Definition at line 302 of file sadie.h. Referenced by MINDIST(). |
|
|
Definition at line 311 of file sadie.h. Referenced by Sadie_Plot_StatisticsCmd(), and STATS(). |
|
|
|
|
|
Definition at line 226 of file sadie.h. Referenced by CLUSTER(), EIGEN(), and Sadie_Plot_ProfileCmd(). |
|
|
Definition at line 360 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 316 of file sadie.h. Referenced by TRNSFORM(). |
|
|
Definition at line 319 of file sadie.h. Referenced by TRNSFORM(). |
|
|
Definition at line 317 of file sadie.h. Referenced by TRNSFORM(). |
|
|
Definition at line 318 of file sadie.h. Referenced by TRNSFORM(). |
|
|
Definition at line 279 of file sadie.h. Referenced by FCONVL(), FFT2D(), FHT1D(), FHT2D(), FILTER(), PSPECT(), and PSPECT1D(). |
|
|
|
|
|
|
|
|
Definition at line 288 of file sadie.h. Referenced by FUNCTION(). |
|
|
Definition at line 314 of file sadie.h. Referenced by RANDOM(). |
|
|
Definition at line 254 of file sadie.h. Referenced by COMPARE(). |
|
|
|
|
|
|
|
|
Definition at line 253 of file sadie.h. Referenced by COMPARE(). |
|
|
Definition at line 331 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 292 of file sadie.h. Referenced by FUNCTION(). |
|
|
Definition at line 291 of file sadie.h. Referenced by FUNCTION(). |
|
|
|
|
|
Definition at line 309 of file sadie.h. Referenced by DECORSTR(), Sadie_Plot_StatisticsCmd(), and STATS(). |
|
|
|
|
|
Definition at line 352 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 351 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 310 of file sadie.h. Referenced by Sadie_Plot_StatisticsCmd(), STATS(), and STRICTHISTOGRM(). |
|
|
Definition at line 280 of file sadie.h. Referenced by FCONVL(), FFT1D(), FFT2D(), FHT2D(), and FILTER(). |
|
|
Definition at line 293 of file sadie.h. Referenced by FUNCTION(). |
|
|
Definition at line 252 of file sadie.h. Referenced by COMPARE(). |
|
|
Definition at line 341 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
|
|
|
Definition at line 307 of file sadie.h. Referenced by PLOT(), and Sadie_Plot_ProfileCmd(). |
|
|
Definition at line 411 of file sadie.h. Referenced by DISK2IMG(), and IMPORT(). |
|
|
Definition at line 298 of file sadie.h. Referenced by MATCH(). |
|
|
Definition at line 251 of file sadie.h. Referenced by COMPARE(). |
|
|
Definition at line 343 of file sadie.h. Referenced by TIFF2IMG(). |
|
|
Definition at line 242 of file sadie.h. Referenced by COM2REAL(), and REAL2COM(). |
|
|
Definition at line 303 of file sadie.h. Referenced by MINDIST(). |
|
|
|
|
|
|
Definition at line 408 of file sadie.h. Referenced by CLUSTER(), COMBINE(), FFT2D(), FLTCONE(), FUNCTION(), HMOSAIC(), IMG2EPSF(), IMPORT(), MEDIAN(), PLOT(), ReadSADIE(), ROISTATS(), ROTATE(), Sadie_NewFunctions_GrayScaleCmd(), Sadie_Plot_CreateROICmd(), Sadie_Plot_PlotArrayCmd(), SCATTER(), STATS(), TFPLT(), TFQUANT(), VMOSAIC(), VSTRETCH(), WTFCAVG(), and WTFMAX(). |
|
|
Definition at line 249 of file sadie.h. Referenced by COMBINE(). |
|
|
|
|
|
Definition at line 296 of file sadie.h. Referenced by GEOMCOEF(), and GEOMWARP(). |
|
|
Definition at line 407 of file sadie.h. Referenced by CLUSTER(), COMBINE(), HMOSAIC(), INSERT(), MEDIAN(), MOSAIC(), PLOT(), ReadSADIE(), ROISTATS(), ROTATE(), Sadie_Classify_ClusterCmd(), Sadie_NewFunctions_GrayScaleCmd(), Sadie_Plot_CreateROICmd(), Sadie_Plot_PlotArrayCmd(), SCATTER(), STATS(), TFQUANT(), VMOSAIC(), VSTRETCH(), WTFCAVG(), and WTFMIN(). |
|
|
Definition at line 248 of file sadie.h. Referenced by COMBINE(). |
|
|
|