klComputerVision
Data Structures | Functions
kl_ppm_image_io.h File Reference
#include "kl_image_buffer.h"
#include "kl_image_io.h"
Include dependency graph for kl_ppm_image_io.h:
This graph shows which files directly or indirectly include this file:

Data Structures

class  klPPMSinkFunctor
 
class  klPPMSourceFunctor
 

Functions

bool query_ppm (const char *filename, unsigned int &width, unsigned int &height, unsigned int &bands)
 
bool read_ppm (const char *filename, unsigned int width, unsigned int height, unsigned int bands, unsigned char *inputbuf)
 
void write_ppm (const char *filename, klRasterBufferPointer klrbp)
 
void write_ppm (const char *filename, int width, int height, unsigned char *buf)
 
void write_ppm_single_band (const char *filename, klRasterBufferPointer klrbp)
 
void write_ppm_single_band (const char *filename, unsigned int width, unsigned int height, unsigned char *buf)
 

Function Documentation

bool query_ppm ( const char *  filename,
unsigned int &  width,
unsigned int &  height,
unsigned int &  bands 
)

Here is the caller graph for this function:

bool read_ppm ( const char *  filename,
unsigned int  width,
unsigned int  height,
unsigned int  bands,
unsigned char *  inputbuf 
)

Here is the caller graph for this function:

void write_ppm ( const char *  filename,
klRasterBufferPointer  klrbp 
)

Here is the caller graph for this function:

void write_ppm ( const char *  filename,
int  width,
int  height,
unsigned char *  buf 
)
void write_ppm_single_band ( const char *  filename,
klRasterBufferPointer  klrbp 
)

Here is the caller graph for this function:

void write_ppm_single_band ( const char *  filename,
unsigned int  width,
unsigned int  height,
unsigned char *  buf 
)