view Meerwald-dir/frid2_common.h @ 25:5a57a145bccb default tip

Added tag v0.7 for changeset 9f20bce6184e
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Fri, 20 Dec 2024 13:32:15 +0100
parents 9f20bce6184e
children
line wrap: on
line source

#ifndef FRID2_COMMON_H
#define FRID2_COMMON_H

#define FORWARD_STEP(A) ((1.0 + A) / (1.0 - A))
#define BACKWARD_STEP(A) ((1.0 - A) / (1.0 + A))

void embed_low_freq(double **dcts, int cols, int rows, double alpha, int verbose);
void embed_med_freq(double **dcts, int cols, int rows, double gamma, int seed, int verbose);
double detect_low_freq(double **dcts, int cols, int rows, double alpha, double beta, int verbose);
double detect_med_freq(double **dcts, int cols, int rows, int seed, int verbose);

#endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.