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

Go to the source code of this file.

Functions

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)
 
image_u8x3_timage_u8x3_copy (const image_u8x3_t *in)
 
void image_u8x3_gaussian_blur (image_u8x3_t *im, double sigma, int ksz)
 
void image_u8x3_destroy (image_u8x3_t *im)
 
int image_u8x3_write_pnm (const image_u8x3_t *im, const char *path)
 
void image_u8x3_draw_line (image_u8x3_t *im, float x0, float y0, float x1, float y1, uint8_t rgb[3])
 

Function Documentation

◆ image_u8x3_copy()

image_u8x3_t * image_u8x3_copy ( const image_u8x3_t * in)

◆ image_u8x3_create()

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

◆ image_u8x3_create_alignment()

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

◆ image_u8x3_create_from_pnm()

image_u8x3_t * image_u8x3_create_from_pnm ( const char * path)

◆ image_u8x3_destroy()

void image_u8x3_destroy ( image_u8x3_t * im)

◆ 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] )

◆ image_u8x3_gaussian_blur()

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

◆ image_u8x3_write_pnm()

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