TwiceAsNice  2019-02-18
Functions | Variables
imio.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "imio.h"
Include dependency graph for imio.c:

Functions

void setscale (scale0)
 
double getpix1 (char *image, int bitpix, int w, int h, double bzero, double bscale, int x, int y)
 
double getpix (char *image, int bitpix, int w, int h, double bzero, double bscale, int x, int y)
 
void putpix1 (char *image, int bitpix, int w, int h, double bzero, double bscale, int x, int y, double dpix)
 
void putpix (char *image, int bitpix, int w, int h, double bzero, double bscale, int x, int y, double dpix)
 
void addpix1 (char *image, int bitpix, int w, int h, double bzero, double bscale, int x, int y, double dpix)
 
void addpix (char *image, int bitpix, int w, int h, double bzero, double bscale, int x, int y, double dpix)
 
void movepix (char *image1, int bitpix1, int w1, int x1, int y1, char *image2, int bitpix2, int w2, int x2, int y2)
 
void getvec (char *image, int bitpix, double bzero, double bscale, int pix1, int npix, double *dpix)
 
void putvec (char *image, int bitpix, double bzero, double bscale, int pix1, int npix, double *dpix)
 
void imswap (int bitpix, char *string, int nbytes)
 
void imswap2 (char *string, int nbytes)
 
void imswap4 (char *string, int nbytes)
 
void imswap8 (char *string, int nbytes)
 
int imswapped ()
 

Variables

static int scale = 1
 

Function Documentation

◆ addpix()

void addpix ( char *  image,
int  bitpix,
int  w,
int  h,
double  bzero,
double  bscale,
int  x,
int  y,
double  dpix 
)

◆ addpix1()

void addpix1 ( char *  image,
int  bitpix,
int  w,
int  h,
double  bzero,
double  bscale,
int  x,
int  y,
double  dpix 
)

◆ getpix()

double getpix ( char *  image,
int  bitpix,
int  w,
int  h,
double  bzero,
double  bscale,
int  x,
int  y 
)

◆ getpix1()

double getpix1 ( char *  image,
int  bitpix,
int  w,
int  h,
double  bzero,
double  bscale,
int  x,
int  y 
)

◆ getvec()

void getvec ( char *  image,
int  bitpix,
double  bzero,
double  bscale,
int  pix1,
int  npix,
double *  dpix 
)

◆ imswap()

void imswap ( int  bitpix,
char *  string,
int  nbytes 
)

◆ imswap2()

void imswap2 ( char *  string,
int  nbytes 
)

◆ imswap4()

void imswap4 ( char *  string,
int  nbytes 
)

◆ imswap8()

void imswap8 ( char *  string,
int  nbytes 
)

◆ imswapped()

int imswapped ( void  )

◆ movepix()

void movepix ( char *  image1,
int  bitpix1,
int  w1,
int  x1,
int  y1,
char *  image2,
int  bitpix2,
int  w2,
int  x2,
int  y2 
)

◆ putpix()

void putpix ( char *  image,
int  bitpix,
int  w,
int  h,
double  bzero,
double  bscale,
int  x,
int  y,
double  dpix 
)

◆ putpix1()

void putpix1 ( char *  image,
int  bitpix,
int  w,
int  h,
double  bzero,
double  bscale,
int  x,
int  y,
double  dpix 
)

◆ putvec()

void putvec ( char *  image,
int  bitpix,
double  bzero,
double  bscale,
int  pix1,
int  npix,
double *  dpix 
)

◆ setscale()

void setscale ( scale0  )

Variable Documentation

◆ scale

int scale = 1
static