Functions to apply spatial and temporal filters to k-space data.
More...
|
void | apodization (SCAN_INFO hdr, int Nx, float *fx, int Ny, float *fy, int Nz, float *fz, KCOORD *kline_o, KCOORD *kline_e, COMPLEX *data) |
|
void | apply_ramp (COMPLEX *data, short Nx, short Ny, short nph, short ncoils, float rampx, float rampy) |
|
void | fermi (short N, float trw, float *f) |
|
Functions to apply spatial and temporal filters to k-space data.
void apodization |
( |
SCAN_INFO |
hdr, |
|
|
int |
Nx, |
|
|
float * |
fx, |
|
|
int |
Ny, |
|
|
float * |
fy, |
|
|
int |
Nz, |
|
|
float * |
fz, |
|
|
KCOORD * |
kline_o, |
|
|
KCOORD * |
kline_e, |
|
|
COMPLEX * |
data |
|
) |
| |
Apply an apodization filter, to reduce ringing.
- Parameters
-
hdr | scan information |
Nx | Number of points along kx. |
fx | Filter function along kx. |
Ny | Number of points along ky. |
fy | Filter function along ky. |
Nz | Number of points along kz. |
fz | Filter function along kz. |
kline_o | Sampling function, odd time frames. |
kline_e | Sampling function, even time frames. |
data | k-space matrix to filter |
void apply_ramp |
( |
COMPLEX * |
data, |
|
|
short |
Nx, |
|
|
short |
Ny, |
|
|
short |
nph, |
|
|
short |
ncoils, |
|
|
float |
rampx, |
|
|
float |
rampy |
|
) |
| |
Apply a phase ramp to kspace data, to shift the image in the spatial domain.
- Parameters
-
data | Data to apply a phase ramp to. |
Nx | Size in kx direction. |
Ny | Size in ky direction. |
nph | Size time direction. |
ncoils | Number of receiver coils. |
rampx | Phase increment from x pixel to next. |
rampy | Phase increment from y pixel to next. |
void fermi |
( |
short |
N, |
|
|
float |
trw, |
|
|
float * |
f |
|
) |
| |
Generate a fermi filter.
- Parameters
-
N | Number of points. |
trw | Width of transition region where the filter passes from 1% to 99%, expressed as a fraction of the full bandwidth. |