Openholo  v4.0
Open Source Digital Holographic Library
oph::ImgControl Class Reference

#include <ImgControl.h>

Public Member Functions

bool GetSize (const char *path, unsigned int *size)
 
void Resize (unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch)
 
bool Rotate (double rotate, unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch)
 
bool Flip (FLIP mode, unsigned char *src, unsigned char *dst, int w, int h, int ch)
 
bool Crop (unsigned char *src, unsigned char *dst, int w, int h, int ch, int x, int y, int neww, int newh)
 

Static Public Member Functions

static ImgControlgetInstance ()
 

Detailed Description

Definition at line 39 of file ImgControl.h.

Member Function Documentation

◆ Crop()

bool ImgControl::Crop ( unsigned char *  src,
unsigned char *  dst,
int  w,
int  h,
int  ch,
int  x,
int  y,
int  neww,
int  newh 
)

Definition at line 228 of file ImgControl.cpp.

◆ Flip()

bool ImgControl::Flip ( FLIP  mode,
unsigned char *  src,
unsigned char *  dst,
int  w,
int  h,
int  ch 
)

Definition at line 173 of file ImgControl.cpp.

◆ getInstance()

static ImgControl* oph::ImgControl::getInstance ( )
inlinestatic

Definition at line 49 of file ImgControl.h.

◆ GetSize()

bool ImgControl::GetSize ( const char *  path,
unsigned int *  size 
)

Definition at line 256 of file ImgControl.cpp.

◆ Resize()

void ImgControl::Resize ( unsigned char *  src,
unsigned char *  dst,
int  w,
int  h,
int  neww,
int  newh,
int  ch 
)

Definition at line 24 of file ImgControl.cpp.

◆ Rotate()

bool ImgControl::Rotate ( double  rotate,
unsigned char *  src,
unsigned char *  dst,
int  w,
int  h,
int  neww,
int  newh,
int  ch 
)

Definition at line 111 of file ImgControl.cpp.


The documentation for this class was generated from the following files: