WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
image_u8.h File Reference
#include <stdint.h>
#include "image_types.h"

Go to the source code of this file.

Classes

struct  image_u8_lut
 

Typedefs

typedef struct image_u8_lut image_u8_lut_t
 

Functions

image_u8_timage_u8_create_stride (unsigned int width, unsigned int height, unsigned int stride)
 
image_u8_timage_u8_create (unsigned int width, unsigned int height)
 
image_u8_timage_u8_create_alignment (unsigned int width, unsigned int height, unsigned int alignment)
 
image_u8_timage_u8_create_from_f32 (image_f32_t *fim)
 
image_u8_timage_u8_create_from_pnm (const char *path)
 
image_u8_timage_u8_create_from_pnm_alignment (const char *path, int alignment)
 
image_u8_timage_u8_copy (const image_u8_t *in)
 
void image_u8_draw_line (image_u8_t *im, float x0, float y0, float x1, float y1, int v, int width)
 
void image_u8_draw_circle (image_u8_t *im, float x0, float y0, float r, int v)
 
void image_u8_draw_annulus (image_u8_t *im, float x0, float y0, float r0, float r1, int v)
 
void image_u8_fill_line_max (image_u8_t *im, const image_u8_lut_t *lut, const float *xy0, const float *xy1)
 
void image_u8_clear (image_u8_t *im)
 
void image_u8_darken (image_u8_t *im)
 
void image_u8_convolve_2D (image_u8_t *im, const uint8_t *k, int ksz)
 
void image_u8_gaussian_blur (image_u8_t *im, double sigma, int k)
 
image_u8_timage_u8_decimate (image_u8_t *im, float factor)
 
void image_u8_destroy (image_u8_t *im)
 
int image_u8_write_pnm (const image_u8_t *im, const char *path)
 
image_u8_timage_u8_rotate (const image_u8_t *in, double rad, uint8_t pad)
 

Typedef Documentation

◆ image_u8_lut_t

typedef struct image_u8_lut image_u8_lut_t

Function Documentation

◆ image_u8_clear()

void image_u8_clear ( image_u8_t * im)

◆ image_u8_convolve_2D()

void image_u8_convolve_2D ( image_u8_t * im,
const uint8_t * k,
int ksz )

◆ image_u8_copy()

image_u8_t * image_u8_copy ( const image_u8_t * in)

◆ image_u8_create()

image_u8_t * image_u8_create ( unsigned int width,
unsigned int height )

◆ image_u8_create_alignment()

image_u8_t * image_u8_create_alignment ( unsigned int width,
unsigned int height,
unsigned int alignment )

◆ image_u8_create_from_f32()

image_u8_t * image_u8_create_from_f32 ( image_f32_t * fim)

◆ image_u8_create_from_pnm()

image_u8_t * image_u8_create_from_pnm ( const char * path)

◆ image_u8_create_from_pnm_alignment()

image_u8_t * image_u8_create_from_pnm_alignment ( const char * path,
int alignment )

◆ image_u8_create_stride()

image_u8_t * image_u8_create_stride ( unsigned int width,
unsigned int height,
unsigned int stride )

◆ image_u8_darken()

void image_u8_darken ( image_u8_t * im)

◆ image_u8_decimate()

image_u8_t * image_u8_decimate ( image_u8_t * im,
float factor )

◆ image_u8_destroy()

void image_u8_destroy ( image_u8_t * im)

◆ image_u8_draw_annulus()

void image_u8_draw_annulus ( image_u8_t * im,
float x0,
float y0,
float r0,
float r1,
int v )

◆ image_u8_draw_circle()

void image_u8_draw_circle ( image_u8_t * im,
float x0,
float y0,
float r,
int v )

◆ image_u8_draw_line()

void image_u8_draw_line ( image_u8_t * im,
float x0,
float y0,
float x1,
float y1,
int v,
int width )

◆ image_u8_fill_line_max()

void image_u8_fill_line_max ( image_u8_t * im,
const image_u8_lut_t * lut,
const float * xy0,
const float * xy1 )

◆ image_u8_gaussian_blur()

void image_u8_gaussian_blur ( image_u8_t * im,
double sigma,
int k )

◆ image_u8_rotate()

image_u8_t * image_u8_rotate ( const image_u8_t * in,
double rad,
uint8_t pad )

◆ image_u8_write_pnm()

int image_u8_write_pnm ( const image_u8_t * im,
const char * path )