TuttleOFX  1
SobelDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_SOBEL_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_SOBEL_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 
00006 
00007 namespace tuttle {
00008 namespace plugin {
00009 namespace sobel {
00010 
00011 static const std::string kParamSize = "size";
00012 static const std::string kParamGroupAdvanced = "advanced";
00013 static const std::string kParamUnidimensional = "unidimensional";
00014 static const std::string kParamReverseKernel = "reverseKernel";
00015 static const std::string kParamNormalizedKernel = "normalizedKernel";
00016 static const std::string kParamKernelEpsilon = "kernelEpsilon";
00017 static const std::string kParamPass = "pass";
00018 static const std::string kParamPassFull = "full";
00019 static const std::string kParamPass1 = "1";
00020 static const std::string kParamPass2 = "2";
00021 
00022 enum EParamPass
00023 {
00024         eParamPassFull = 0,
00025         eParamPass1,
00026         eParamPass2
00027 };
00028 
00029 static const std::string kParamBorder = "border";
00030 static const std::string kParamBorderMirror = "Mirror";
00031 static const std::string kParamBorderConstant = "Constant";
00032 static const std::string kParamBorderBlack = "Black";
00033 static const std::string kParamBorderPadded = "Padded";
00034 
00035 enum EParamBorder
00036 {
00037         eParamBorderMirror = 0,
00038         eParamBorderConstant,
00039         eParamBorderBlack,
00040         eParamBorderPadded
00041 };
00042 
00043 static const std::string kParamComputeGradientNorm = "computeGradientNorm";
00044 static const std::string kParamGradientNormManhattan = "gradientNormManhattan";
00045 static const std::string kParamComputeGradientDirection = "computeGradientDirection";
00046 static const std::string kParamGradientDirectionAbs = "gradientDirectionAbs";
00047 
00048 static const std::string kParamOutputComponent = "outputComponent";
00049 static const std::string kParamOutputComponentRGBA = "RGBA";
00050 static const std::string kParamOutputComponentRGB = "RGB";
00051 
00052 enum EParamOutputComponent
00053 {
00054         eParamOutputComponentRGBA = 0,
00055         eParamOutputComponentRGB,
00056 };
00057 
00058 static const std::string kParamInfos = "infos";
00059 
00060 
00061 }
00062 }
00063 }
00064 
00065 #endif