Openholo  v4.2
Open Source Digital Holographic Library
ophRec.cpp File Reference
#include "ophRec.h"
#include "sys.h"
#include "function.h"
#include "tinyxml2.h"
#include "ImgControl.h"
#include <algorithm>
#include <omp.h>
Include dependency graph for ophRec.cpp:

Go to the source code of this file.

Macros

#define IMAGE_VAL(x, y, c, w, n, mem)   (mem[x*n + y*w*n + c])
 

Functions

vec3 image_sample (float xx, float yy, int c, size_t w, size_t h, double *in)
 
void circshift (Real *in, Real *out, int shift_x, int shift_y, int nx, int ny)
 
void circshift (Complex< Real > *in, Complex< Real > *out, int shift_x, int shift_y, int nx, int ny)
 
void ScaleBilnear (double *src, double *dst, int w, int h, int neww, int newh, double multiplyval=1.0)
 
void reArrangeChannel (std::vector< double *> &src, double *dst, int pnx, int pny, int chnum)
 
void rotateCCW180 (double *src, double *dst, int pnx, int pny, double mulival=1.0)
 

Macro Definition Documentation

◆ IMAGE_VAL

#define IMAGE_VAL (   x,
  y,
  c,
  w,
  n,
  mem 
)    (mem[x*n + y*w*n + c])

Definition at line 66 of file ophRec.cpp.

Function Documentation

◆ circshift() [1/2]

void circshift ( Real in,
Real out,
int  shift_x,
int  shift_y,
int  nx,
int  ny 
)

Definition at line 1536 of file ophRec.cpp.

◆ circshift() [2/2]

void circshift ( Complex< Real > *  in,
Complex< Real > *  out,
int  shift_x,
int  shift_y,
int  nx,
int  ny 
)

Definition at line 1555 of file ophRec.cpp.

◆ image_sample()

vec3 image_sample ( float  xx,
float  yy,
int  c,
size_t  w,
size_t  h,
double *  in 
)

Definition at line 1574 of file ophRec.cpp.

◆ reArrangeChannel()

void reArrangeChannel ( std::vector< double *> &  src,
double *  dst,
int  pnx,
int  pny,
int  chnum 
)

Definition at line 1654 of file ophRec.cpp.

◆ rotateCCW180()

void rotateCCW180 ( double *  src,
double *  dst,
int  pnx,
int  pny,
double  mulival = 1.0 
)

Definition at line 1638 of file ophRec.cpp.

◆ ScaleBilnear()

void ScaleBilnear ( double *  src,
double *  dst,
int  w,
int  h,
int  neww,
int  newh,
double  multiplyval = 1.0 
)

Definition at line 1605 of file ophRec.cpp.