Macros | Functions
image_u8x3.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "math_util.h"
#include "pnm.h"
#include "image_u8x3.h"
Include dependency graph for image_u8x3.c:

Go to the source code of this file.

Macros

#define DEFAULT_ALIGNMENT_U8X3   192
 

Functions

static void convolve (const uint8_t *x, uint8_t *y, int sz, const uint8_t *k, int ksz)
 
image_u8x3_timage_u8x3_copy (const image_u8x3_t *in)
 
image_u8x3_timage_u8x3_create (unsigned int width, unsigned int height)
 
image_u8x3_timage_u8x3_create_alignment (unsigned int width, unsigned int height, unsigned int alignment)
 
image_u8x3_timage_u8x3_create_from_pnm (const char *path)
 
void image_u8x3_destroy (image_u8x3_t *im)
 
void image_u8x3_draw_line (image_u8x3_t *im, float x0, float y0, float x1, float y1, uint8_t rgb[3], int width)
 
void image_u8x3_gaussian_blur (image_u8x3_t *im, double sigma, int ksz)
 
int image_u8x3_write_pnm (const image_u8x3_t *im, const char *path)
 

Macro Definition Documentation

#define DEFAULT_ALIGNMENT_U8X3   192

Definition at line 35 of file image_u8x3.c.

Function Documentation

static void convolve ( const uint8_t *  x,
uint8_t *  y,
int  sz,
const uint8_t *  k,
int  ksz 
)
static

Definition at line 179 of file image_u8x3.c.

image_u8x3_t* image_u8x3_copy ( const image_u8x3_t in)

Definition at line 59 of file image_u8x3.c.

image_u8x3_t* image_u8x3_create ( unsigned int  width,
unsigned int  height 
)

Definition at line 37 of file image_u8x3.c.

image_u8x3_t* image_u8x3_create_alignment ( unsigned int  width,
unsigned int  height,
unsigned int  alignment 
)

Definition at line 42 of file image_u8x3.c.

image_u8x3_t* image_u8x3_create_from_pnm ( const char *  path)

Definition at line 85 of file image_u8x3.c.

void image_u8x3_destroy ( image_u8x3_t im)

Definition at line 72 of file image_u8x3.c.

void image_u8x3_draw_line ( image_u8x3_t im,
float  x0,
float  y0,
float  x1,
float  y1,
uint8_t  rgb[3],
int  width 
)

Definition at line 160 of file image_u8x3.c.

void image_u8x3_gaussian_blur ( image_u8x3_t im,
double  sigma,
int  ksz 
)

Definition at line 199 of file image_u8x3.c.

int image_u8x3_write_pnm ( const image_u8x3_t im,
const char *  path 
)

Definition at line 132 of file image_u8x3.c.



apriltags2
Author(s): Danylo Malyuta
autogenerated on Fri Oct 19 2018 04:02:33