Next: Noise Filtering Up: Image Processing Previous: Pixel Processing   Contents

Complex Images

The following routines are specifically for the generation and maipulation of complex images.

```Imrect *im_arg(Imrect * im)
Imrect *im_phase(Imrect * im)
```
Duplicates functions which generate an output image of the phase angle of the input complex image.

```Imrect *im_cis(Imrect * im1)
```
Generates a unit complex output image from an image of phase angles.

```Imrect *im_conj(Imrect * im1)
```
Generates the image of complex conjugates from the input complex pixels.

```Imrect *im_mod(Imrect * im)
```
Generates an image of unsigned modulus from the input image pixels.

```Imrect *im_re(Imrect * im)
```
Returns an image of real components of the input complex image.

```Imrect *im_im(Imrect * im)
```
Returns an image of complex components of the input complex image.

```Imrect *im_fft(Imrect *im1,Imregion *region)
```
Returns an image of 2D Fourier components of the input image.

```Imrect *im_fft_inverse(Imrect *im1,Imregion *region)
```
Returns an image of inverse 2D Forier transform of the input complex image.

```Imrect *im_power_spectrum(Imrect *im1)
```
Returns an image containing the squared modulus of the complex input image pixels.

```Imrect *im_gabor(Imrect * im1, double phasex, double sigmax, double omegax,
double nsigmax, double phasey, double sigmay, double omegay,
double nsigmay)
```
Returns an image generated by applying a 2D gabor filter as defined by the specified variables to the input image.

```Imrect *im_gabor_fft(Imrect * im, double k, double b, double theta)
```
Fft version of 2D gabor filter: k = centre frequency b = 1-sigma bandwidth in octaves theta = orientation.

```Imrect *im_fgabor(Imregion *roi, double k, double b, double theta)
```
Returns an image generated by applying gabor filtering defined by the specified variables to an image represented in the Fourier domain.

Next: Noise Filtering Up: Image Processing Previous: Pixel Processing   Contents
root 2019-03-24