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

◆ DEFAULT_ALIGNMENT_U8X3

#define DEFAULT_ALIGNMENT_U8X3   192

Definition at line 41 of file image_u8x3.c.

Function Documentation

◆ convolve()

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

Definition at line 185 of file image_u8x3.c.

◆ image_u8x3_copy()

image_u8x3_t* image_u8x3_copy ( const image_u8x3_t in)

Definition at line 65 of file image_u8x3.c.

◆ image_u8x3_create()

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

Definition at line 43 of file image_u8x3.c.

◆ image_u8x3_create_alignment()

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

Definition at line 48 of file image_u8x3.c.

◆ image_u8x3_create_from_pnm()

image_u8x3_t* image_u8x3_create_from_pnm ( const char *  path)

Definition at line 91 of file image_u8x3.c.

◆ image_u8x3_destroy()

void image_u8x3_destroy ( image_u8x3_t im)

Definition at line 78 of file image_u8x3.c.

◆ image_u8x3_draw_line()

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 166 of file image_u8x3.c.

◆ image_u8x3_gaussian_blur()

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

Definition at line 205 of file image_u8x3.c.

◆ image_u8x3_write_pnm()

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

Definition at line 138 of file image_u8x3.c.



apriltag
Author(s): Edwin Olson , Max Krogius
autogenerated on Mon Jun 26 2023 02:26:35