Defines | Functions

# random_phase_noise.c File Reference

Main function for random phase noise texture synthesis. Important modules are in the file random_phase_noise_lib.c. More...

`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string.h>`
`#include <time.h>`
`#include <getopt.h>`
`#include <fftw3.h>`
`#include "mt.h"`
`#include "io_png.h"`
`#include "random_phase_noise_lib.h"`
Include dependency graph for random_phase_noise.c:

Go to the source code of this file.

## Defines
#define | FATAL(MSG)
## Functions
static int | display_usage ()
| Display the usage of the main module on stdout.
int | main (int argc, char **argv)
| main function call

## Detailed Description

Main function for random phase noise texture synthesis. Important modules are in the file random_phase_noise_lib.c.

Version:
  1.3

Author:
  Bruno Galerne ; <bruno.galerne@cmla.ens-cachan.fr> ; <http://www.cmla.ens-cachan.fr/~galerne>

Definition in file random_phase_noise.c.

## Define Documentation

#define FATAL | ( |  | MSG | ) |

Value:

    do {                            \
            fprintf(stderr, MSG "\n");      \
            abort();                        \
            } while (0);

print a message and abort the execution

Definition at line 140 of file random_phase_noise.c.