plastimatch
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Proj_image Class Reference

#include <proj_image.h>

Public Member Functions

 Proj_image (void)
 
 Proj_image (const char *img_filename, const char *mat_filename)
 
 Proj_image (const std::string &img_filename, const std::string &mat_filename="")
 
 Proj_image (const char *img_filename, const double xy_offset[2])
 
 ~Proj_image (void)
 
void clear ()
 
bool have_image ()
 
void init ()
 
void save (const char *img_filename, const char *mat_filename)
 
void load (const std::string &img_filename, std::string mat_filename="")
 
void load_pfm (const char *img_filename, const char *mat_filename)
 
void load_raw (const char *img_filename, const char *mat_filename)
 
void load_hnd (const char *img_filename)
 
void set_xy_offset (const double xy_offset[2])
 
void debug_header ()
 
void stats ()
 

Public Attributes

int dim [2]
 
double xy_offset [2]
 
Proj_matrixpmat
 
floatimg
 

Constructor & Destructor Documentation

◆ Proj_image() [1/4]

Proj_image::Proj_image ( void  )

◆ Proj_image() [2/4]

Proj_image::Proj_image ( const char img_filename,
const char mat_filename 
)

◆ Proj_image() [3/4]

Proj_image::Proj_image ( const std::string &  img_filename,
const std::string &  mat_filename = "" 
)

◆ Proj_image() [4/4]

Proj_image::Proj_image ( const char img_filename,
const double  xy_offset[2] 
)

◆ ~Proj_image()

Proj_image::~Proj_image ( void  )

Member Function Documentation

◆ clear()

void Proj_image::clear ( )

◆ debug_header()

void Proj_image::debug_header ( )

◆ have_image()

bool Proj_image::have_image ( )

◆ init()

void Proj_image::init ( )

◆ load()

void Proj_image::load ( const std::string &  img_filename,
std::string  mat_filename = "" 
)

◆ load_hnd()

void Proj_image::load_hnd ( const char img_filename)

◆ load_pfm()

void Proj_image::load_pfm ( const char img_filename,
const char mat_filename 
)

◆ load_raw()

void Proj_image::load_raw ( const char img_filename,
const char mat_filename 
)

◆ save()

void Proj_image::save ( const char img_filename,
const char mat_filename 
)

◆ set_xy_offset()

void Proj_image::set_xy_offset ( const double  xy_offset[2])

◆ stats()

void Proj_image::stats ( )

Member Data Documentation

◆ dim

int Proj_image::dim[2]

◆ img

float* Proj_image::img

◆ pmat

Proj_matrix* Proj_image::pmat

◆ xy_offset

double Proj_image::xy_offset[2]

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