KiCad PCB EDA Suite
cimage.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  CIMAGE
 Class CIMAGE manages a 8-bit channel image. More...
 

Enumerations

enum  E_IMAGE_OP {
  COPY_RAW, COPY_ADD, COPY_SUB, COPY_DIF,
  COPY_MUL, COPY_AND, COPY_OR, COPY_XOR,
  COPY_BLEND50, COPY_MIN, COPY_MAX
}
 Image operation type. More...
 
enum  E_WRAP { WRAP_ZERO, WRAP_CLAMP, WRAP_WRAP }
 Image wrap type enumeration. More...
 
enum  E_FILTER {
  FILTER_HIPASS, FILTER_GAUSSIAN_BLUR, FILTER_GAUSSIAN_BLUR2, FILTER_INVERT_BLUR,
  FILTER_CARTOON, FILTER_EMBOSS, FILTER_SHARPEN, FILTER_MELT,
  FILTER_SOBEL_GX, FILTER_SOBEL_GY, FILTER_BLUR_3X3
}
 Filter type enumeration. More...
 

Detailed Description

one 8bit-channel image definition

Definition in file cimage.h.

Enumeration Type Documentation

enum E_FILTER

Filter type enumeration.

Enumerator
FILTER_HIPASS 
FILTER_GAUSSIAN_BLUR 
FILTER_GAUSSIAN_BLUR2 
FILTER_INVERT_BLUR 
FILTER_CARTOON 
FILTER_EMBOSS 
FILTER_SHARPEN 
FILTER_MELT 
FILTER_SOBEL_GX 
FILTER_SOBEL_GY 
FILTER_BLUR_3X3 

Definition at line 60 of file cimage.h.

enum E_IMAGE_OP

Image operation type.

Enumerator
COPY_RAW 
COPY_ADD 
COPY_SUB 
COPY_DIF 
COPY_MUL 
COPY_AND 
COPY_OR 
COPY_XOR 
COPY_BLEND50 
COPY_MIN 
COPY_MAX 

Definition at line 36 of file cimage.h.

36  {
37  COPY_RAW,
38  COPY_ADD,
39  COPY_SUB,
40  COPY_DIF,
41  COPY_MUL,
42  COPY_AND,
43  COPY_OR,
44  COPY_XOR,
46  COPY_MIN,
47  COPY_MAX
48 };
Definition: cimage.h:43
enum E_WRAP

Image wrap type enumeration.

Enumerator
WRAP_ZERO 

Coords that wraps are not evaluated.

WRAP_CLAMP 

Coords are clamped to image size.

WRAP_WRAP 

Coords are wrapped arround.

Definition at line 52 of file cimage.h.

52  {
53  WRAP_ZERO,
54  WRAP_CLAMP,
55  WRAP_WRAP
56 };
Coords are wrapped arround.
Definition: cimage.h:55
Coords that wraps are not evaluated.
Definition: cimage.h:53
Coords are clamped to image size.
Definition: cimage.h:54