These are utility routines for doing median and linear filtering. More...
Functions | |
| void | vircam_bfilt (float *data, unsigned char *bpm, int nx, int ny, int filt, int stat, int axis) |
| Do linear filtering on an input map. | |
| void | vircam_dostat (float *data, unsigned char *bpm, unsigned char *goodval, int npts, int nfilt, int whichstat) |
These are utility routines for doing median and linear filtering.
| void vircam_bfilt | ( | float * | data, | |
| unsigned char * | bpm, | |||
| int | nx, | |||
| int | ny, | |||
| int | filt, | |||
| int | stat, | |||
| int | axis | |||
| ) |
Do linear filtering on an input map.
| data | The input data map (overwritten by result). | |
| bpm | The input bad pixel mask | |
| nx | The X dimension of the maps | |
| ny | The Y dimension of the maps | |
| filt | The width (in pixels) for the filter | |
| stat | The statistic to be used.
| |
| axis | Value of 1 or 2 tells which axis will be smoothed first |
Definition at line 122 of file vircam_filt.c.
| void vircam_dostat | ( | float * | data, | |
| unsigned char * | bpm, | |||
| unsigned char * | goodval, | |||
| int | npts, | |||
| int | nfilt, | |||
| int | whichstat | |||
| ) |
| data | The input data map (overwritten by result). | |
| bpm | The input bad pixel mask | |
| goodval | An output bad pixel mask | |
| npts | The dimension of the data array | |
| nfilt | The size in pixels of the smoothing filter | |
| whichstat | The statistic to be used.
|
Definition at line 330 of file vircam_filt.c.
Referenced by vircam_destripe().
1.6.1