home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
vis-ftp.cs.umass.edu
/
vis-ftp.cs.umass.edu.tar
/
vis-ftp.cs.umass.edu
/
pub
/
Software
/
ASCENDER
/
ascendMar8.tar
/
UMass
/
BoldtNew
/
LLVS
/
signal2D.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-31
|
1KB
|
45 lines
#include "xgdefs.h"
/*1D signal*/
typedef struct
{
int width;
int base;
double * value;
} Signal_1D;
/*2D signal*/
typedef struct
{
int xwidth;
int xbase;
int ywidth;
int ybase;
double * value;
} Signal_2D;
void free_signal_2D(Signal_2D * ptemplate);
Bool read_signal_2D(char * filename, Signal_2D * psignal);
Bool write_signal_2D(char * filename, Signal_2D * psignal);
void get_signal_2D_gaussian(double sd, Signal_2D * pgaussian);
Bool signal_2D_convolve_edgecut(short * psignal, int xsize, int ysize,
Signal_2D * ptemplate, short ** ppresult);
Bool shortIn_floatOut_signal_2D_convolve_edgecut(short * psignal,
int xsize, int ysize, Signal_2D * ptemplate, float * ppresult);
Bool byteIn_floatOut_signal_2D_convolve_edgecut(Byte * psignal,
int xsize, int ysize, Signal_2D * ptemplate, float * ppresult);
Bool signal_2D_convolve_rotation(short * psignal, int xsize, int ysize,
Signal_2D * ptemplate, short ** ppresult);
void signal_2D_difference(Signal_2D * psignal, Signal_2D * presult);