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
 CIMAGE manages a 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 cimage.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 cimage.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 cimage.h.

◆ 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 arround.

Definition at line 53 of file cimage.h.

54 {
55  ZERO,
56  CLAMP,
57  WRAP
58 };
Coords are wrapped arround.
Coords that wraps are not evaluated.
Coords are clamped to image size.