https://doi.org/10.5201/ipol.2017.209
Raw File
Tip revision: 0a2766f5dec8a9683f9baa9010aa47f168afea6e authored by Software Heritage on 02 November 2017, 00:00:00 UTC
ipol: Deposit 1313 in collection ipol
Tip revision: 0a2766f
utils.h
#ifndef UTILS_H
#define UTILS_H

#include <stdlib.h>


size_t read_video(
  char *name,       //file name
  unsigned char *I, //video to read
  int size          //size of the video
);

size_t write_video(
  char *name,       //file name
  unsigned char *I, //video to write
  int size          //size of the video
);


void save_transforms(
  char *name,      //file name
  float *H,        //set of transformations
  int nparams,     //number of parameters of the transformations
  int ntransforms, //number of transformations
  int nx,          //image width
  int ny           //image height
);

void read_transforms(
  char *name,      //file name
  float *H,        //set of transformations
  int nparams,     //number of parameters of the transformations
  int ntransforms, //number of transformations
  int &nx,         //image width
  int &ny          //image height
);


#endif
back to top