OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
filter.c File Reference
#include "l12_proto.h"
#include <ctype.h>
#include <stdint.h>
Include dependency graph for filter.c:

Go to the source code of this file.

Classes

struct  fnode_str
 

Functions

void fctl_init (fctlstr *fctl)
 
void get_kernel (filstr *f)
 
int fctl_set (fctlstr *fctl, int32_t npix, char *fname, int32_t band, int32_t nx, int32_t ny, int32_t minfill, int32_t nbands)
 
int rdfilter (char *file, fctlstr *fctl, int32_t nbands)
 
void fdilate (l1qstr *l1que, int32_t nx, int32_t ny, int flag, char kernel[], l1str *l1rec)
 
void fstlight (l1qstr *l1que, int32_t nx, int32_t ny, int32_t dscan, int flag, char kernel[], l1str *l1rec)
 
void fclean (l1qstr *l1que, int32_t nx, int32_t ny, int flag, char kernel[], l1str *l1rec)
 
void fLTmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec)
 
void fLTRmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec)
 
int compfloat (float *x, float *y)
 
int compfnode (fnode *x, fnode *y)
 
void fLTRreject (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec)
 
void fEPSmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib1, int32_t minfill, char kernel[], l1str *l1rec)
 
void fBTdetavg (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t id, char kernel[], l1str *l1rec)
 
void fLTmed (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec)
 
void fLTRmed (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec)
 
void fLTRiqmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec)
 
void fEPSiqmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib1, int32_t minfill, char kernel[], l1str *l1rec)
 
void filter (fctlstr *fctl, l1qstr *l1que, l1str *l1rec, int32_t dscan)
 

Function Documentation

◆ compfloat()

int compfloat ( float *  x,
float *  y 
)

Definition at line 728 of file filter.c.

◆ compfnode()

int compfnode ( fnode *  x,
fnode *  y 
)

Definition at line 735 of file filter.c.

◆ fBTdetavg()

void fBTdetavg ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib,
int32_t  id,
char  kernel[],
l1str *  l1rec 
)

Definition at line 954 of file filter.c.

◆ fclean()

void fclean ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  flag,
char  kernel[],
l1str *  l1rec 
)

Definition at line 534 of file filter.c.

◆ fctl_init()

void fctl_init ( fctlstr *  fctl)

Definition at line 19 of file filter.c.

◆ fctl_set()

int fctl_set ( fctlstr *  fctl,
int32_t  npix,
char *  fname,
int32_t  band,
int32_t  nx,
int32_t  ny,
int32_t  minfill,
int32_t  nbands 
)

Definition at line 92 of file filter.c.

◆ fdilate()

void fdilate ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  flag,
char  kernel[],
l1str *  l1rec 
)

Definition at line 361 of file filter.c.

◆ fEPSiqmean()

void fEPSiqmean ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib1,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 1247 of file filter.c.

◆ fEPSmean()

void fEPSmean ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib1,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 851 of file filter.c.

◆ filter()

void filter ( fctlstr *  fctl,
l1qstr *  l1que,
l1str *  l1rec,
int32_t  dscan 
)

Definition at line 1396 of file filter.c.

◆ fLTmean()

void fLTmean ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 614 of file filter.c.

◆ fLTmed()

void fLTmed ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 1020 of file filter.c.

◆ fLTRiqmean()

void fLTRiqmean ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 1164 of file filter.c.

◆ fLTRmean()

void fLTRmean ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 671 of file filter.c.

◆ fLTRmed()

void fLTRmed ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 1091 of file filter.c.

◆ fLTRreject()

void fLTRreject ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int  ib,
int32_t  minfill,
char  kernel[],
l1str *  l1rec 
)

Definition at line 742 of file filter.c.

◆ fstlight()

void fstlight ( l1qstr *  l1que,
int32_t  nx,
int32_t  ny,
int32_t  dscan,
int  flag,
char  kernel[],
l1str *  l1rec 
)

Definition at line 444 of file filter.c.

◆ get_kernel()

void get_kernel ( filstr *  f)

Definition at line 25 of file filter.c.

◆ rdfilter()

int rdfilter ( char *  file,
fctlstr *  fctl,
int32_t  nbands 
)

Definition at line 300 of file filter.c.