KiCad PCB EDA Suite
image.h File Reference

one 8bit-channel image definition. More...

#include <wx/string.h>

Go to the source code of this file.

Classes

struct  S_FILTER
 5x5 Filter struct parameters More...
 
class  IMAGE
 Manage an 8-bit channel image. More...
 

Enumerations

enum  IMAGE_OP {
  IMAGE_OP::RAW, IMAGE_OP::ADD, IMAGE_OP::SUB, IMAGE_OP::DIF,
  IMAGE_OP::MUL, IMAGE_OP::AND, IMAGE_OP::OR, IMAGE_OP::XOR,
  IMAGE_OP::BLEND50, IMAGE_OP::MIN, IMAGE_OP::MAX
}
 Image operation type. More...
 
enum  IMAGE_WRAP { IMAGE_WRAP::ZERO, IMAGE_WRAP::CLAMP, IMAGE_WRAP::WRAP }
 Image wrap type enumeration. More...
 
enum  IMAGE_FILTER {
  IMAGE_FILTER::HIPASS, IMAGE_FILTER::GAUSSIAN_BLUR, IMAGE_FILTER::GAUSSIAN_BLUR2, IMAGE_FILTER::INVERT_BLUR,
  IMAGE_FILTER::CARTOON, IMAGE_FILTER::EMBOSS, IMAGE_FILTER::SHARPEN, IMAGE_FILTER::MELT,
  IMAGE_FILTER::SOBEL_GX, IMAGE_FILTER::SOBEL_GY, IMAGE_FILTER::BLUR_3X3
}
 Filter type enumeration. More...
 

Detailed Description

one 8bit-channel image definition.

Definition in file image.h.

Enumeration Type Documentation

◆ IMAGE_FILTER

enum IMAGE_FILTER
strong

Filter type enumeration.

Enumerator
HIPASS 
GAUSSIAN_BLUR 
GAUSSIAN_BLUR2 
INVERT_BLUR 
CARTOON 
EMBOSS 
SHARPEN 
MELT 
SOBEL_GX 
SOBEL_GY 
BLUR_3X3 

Definition at line 62 of file image.h.

◆ IMAGE_OP

enum IMAGE_OP
strong

Image operation type.

Enumerator
RAW 
ADD 
SUB 
DIF 
MUL 
AND 
OR 
XOR 
BLEND50 
MIN 
MAX 

Definition at line 36 of file image.h.

37 {
38  RAW,
39  ADD,
40  SUB,
41  DIF,
42  MUL,
43  AND,
44  OR,
45  XOR,
46  BLEND50,
47  MIN,
48  MAX
49 };
Definition: am_param.h:150
Definition: am_param.h:150
Definition: am_param.h:150

◆ IMAGE_WRAP

enum IMAGE_WRAP
strong

Image wrap type enumeration.

Enumerator
ZERO 

Coords that wraps are not evaluated.

CLAMP 

Coords are clamped to image size.

WRAP 

Coords are wrapped around.

Definition at line 53 of file image.h.

54 {
55  ZERO,
56  CLAMP,
57  WRAP
58 };
Coords are wrapped around.
#define CLAMP(n, min, max)
Coords that wraps are not evaluated.