img_base.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #if !defined FVS__IMAGE_BASE_HEADER__INCLUDED__
00022 #define FVS__IMAGE_BASE_HEADER__INCLUDED__
00023
00024 #include "image.h"
00025
00026 typedef enum FvsLogical_t
00027 {
00028 FvsLogicalOr = 1,
00029 FvsLogicalAnd = 2,
00030 FvsLogicalXor = 3,
00031 FvsLogicalNAnd = 4,
00032 FvsLogicalNOr = 5,
00033 FvsLogicalNXor = 6,
00034 } FvsLogical_t;
00035
00043 FvsError_t ImageBinarize(FvsImage_t image, const FvsByte_t limit);
00044
00045
00051 FvsError_t ImageInvert(FvsImage_t image);
00052
00053
00060 FvsError_t ImageAverage(FvsImage_t image1, const FvsImage_t image2);
00061
00062
00071 FvsError_t ImageAverageModulo(FvsImage_t image1, const FvsImage_t image2);
00072
00073
00080 FvsError_t ImageLogical(FvsImage_t image1, const FvsImage_t image2, const FvsLogical_t operation);
00081
00082
00091 FvsError_t ImageTranslate(FvsImage_t image, const FvsInt_t vx, const FvsInt_t vy);
00092
00093
00100 FvsError_t ImageStripes(FvsImage_t image, const FvsBool_t horizontal);
00101
00102
00110 FvsError_t ImageNormalize(FvsImage_t image, const FvsByte_t mean, const FvsUint_t variance);
00111
00112
00119 FvsError_t ImageLuminosity(FvsImage_t image, const FvsInt_t luminosity);
00120
00121
00128 FvsError_t ImageContrast(FvsImage_t image, const FvsInt_t contrast);
00129
00130
00131 #endif
00132
00133