IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Namespaces | Typedefs | Enumerations
FormulaTypes.h File Reference

Predefined types for shape analysis formula management. More...

#include <IPSDKUtil/Tools/EnumMacros.h>
#include <IPSDKUtil/Tools/ProcessingResult.h>
#include <IPSDKUtil/BaseTypes.h>
#include <boost/shared_ptr.hpp>
#include <boost/variant/variant.hpp>
#include <boost/function.hpp>
#include <vector>
#include <map>

Go to the source code of this file.

Classes

struct  ipsdk::shape::analysis::ImageConstantId
 Formula identifier for image constant optionally associated to a color index

. More...

 
struct  ipsdk::shape::analysis::FormulaVariableId
 Formula variable identifier optionally associated to an array and a color index

. More...

 
struct  ipsdk::shape::analysis::ImageConstant
 Image Constant associated to an identifier and a value

. More...

 
struct  ipsdk::shape::analysis::FormulaVariable
 Formula variable associated to an identifier and a value

. More...

 
struct  ipsdk::shape::analysis::FormulaGenericArithmeticFunctionInfo
 Formula generic arithmetic function informations

. More...

 
struct  ipsdk::shape::analysis::FormulaCoupledArithmeticFunctionInfo
 Formula coupled arithmetic function informations

. More...

 

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::shape::analysis
 Namespace aggregating basic shape analysis components.
 

Typedefs

typedef ProcessingResult< eFormulaEvaluationStatus > ipsdk::shape::analysis::EvalStatus
 formula evaluation status
 
typedef boost::variant< ipBool, ipReal64 > ipsdk::shape::analysis::FormulaResult
 formula result (floating point or logical result)

 
 
typedef boost::shared_ptr< ipReal64 > ipsdk::shape::analysis::VariableValuePtr
 shared pointer to value associated to a variable

 
 
typedef std::map< ImageConstantId, VariableValuePtr > ipsdk::shape::analysis::ConstantMap
 map associating an image constant id to its value
 
typedef std::map< FormulaVariableId, VariableValuePtr > ipsdk::shape::analysis::VariableMap
 map associating a formula variable id to its value
 
typedef boost::variant< ipBool, ipReal64, ImageConstant, FormulaVariable, eMsrFormulaOperatorType, eMsrFormulaUnaryArithmeticFunctionType, eMsrFormulaBinaryArithmeticFunctionType, FormulaGenericArithmeticFunctionInfo, FormulaCoupledArithmeticFunctionInfo, eMsrFormulaTernaryLogicFunctionType > ipsdk::shape::analysis::FormulaItem
 Concrete formula item variant.
 
typedef std::vector< FormulaItem > ipsdk::shape::analysis::FormulaItemColl
 collection of formula item
 
typedef boost::shared_ptr< FormulaManager > ipsdk::shape::analysis::FormulaManagerPtr
 shared pointer to formula manager
 
typedef boost::function1< bool, const ipUInt32 > ipsdk::shape::analysis::ResultsAccessor
 Accessor for measure results.
 
typedef std::vector< ResultsAccessor > ipsdk::shape::analysis::ResultsAccessorColl
 collection of accessors for measure results
 
typedef std::vector< ResultsAccessorColl > ipsdk::shape::analysis::ColorResultsAccessorColl
 collection of color accessors for measure results
 

Enumerations

enum  ipsdk::shape::analysis::eMsrFormulaOperatorType {
  ipsdk::shape::analysis::eMFOT_UnaryPlus, ipsdk::shape::analysis::eMFOT_UnaryMinus, ipsdk::shape::analysis::eMFOT_Not, ipsdk::shape::analysis::eMFOT_Plus,
  ipsdk::shape::analysis::eMFOT_Minus, ipsdk::shape::analysis::eMFOT_Multiply, ipsdk::shape::analysis::eMFOT_Divide, ipsdk::shape::analysis::eMFOT_Power,
  ipsdk::shape::analysis::eMFOT_And, ipsdk::shape::analysis::eMFOT_Or, ipsdk::shape::analysis::eMFOT_Equal, ipsdk::shape::analysis::eMFOT_NotEqual,
  ipsdk::shape::analysis::eMFOT_Greater, ipsdk::shape::analysis::eMFOT_GreaterOrEqual, ipsdk::shape::analysis::eMFOT_Lower, ipsdk::shape::analysis::eMFOT_LowerOrEqual
}
 Enumerate describing measure formula operation type. More...
 
enum  ipsdk::shape::analysis::eMsrFormulaUnaryArithmeticFunctionType {
  ipsdk::shape::analysis::eMFUAFT_Abs, ipsdk::shape::analysis::eMFUAFT_Sqrt, ipsdk::shape::analysis::eMFUAFT_Exp, ipsdk::shape::analysis::eMFUAFT_Log,
  ipsdk::shape::analysis::eMFUAFT_Cos, ipsdk::shape::analysis::eMFUAFT_Sin, ipsdk::shape::analysis::eMFUAFT_Tan, ipsdk::shape::analysis::eMFUAFT_ACos,
  ipsdk::shape::analysis::eMFUAFT_ASin, ipsdk::shape::analysis::eMFUAFT_ATan, ipsdk::shape::analysis::eMFUAFT_CosH, ipsdk::shape::analysis::eMFUAFT_SinH,
  ipsdk::shape::analysis::eMFUAFT_TanH
}
 Enumerate describing measure formula unary arithmetical function type. More...
 
enum  ipsdk::shape::analysis::eMsrFormulaBinaryArithmeticFunctionType { ipsdk::shape::analysis::eMFBAFT_ATan2 }
 Enumerate describing measure formula binary arithmetical function type. More...
 
enum  ipsdk::shape::analysis::eMsrFormulaGenericArithmeticFunctionType {
  ipsdk::shape::analysis::eMFGAFT_Min, ipsdk::shape::analysis::eMFGAFT_Max, ipsdk::shape::analysis::eMFGAFT_Sum, ipsdk::shape::analysis::eMFGAFT_Mean,
  ipsdk::shape::analysis::eMFGAFT_Median, ipsdk::shape::analysis::eMFGAFT_StdDev, ipsdk::shape::analysis::eMFGAFT_Variance, ipsdk::shape::analysis::eMFGAFT_NormL1,
  ipsdk::shape::analysis::eMFGAFT_NormL2
}
 Enumerate describing measure formula generic arithmetical function type. More...
 
enum  ipsdk::shape::analysis::eMsrFormulaCoupledArithmeticFunctionType { ipsdk::shape::analysis::eMFCAFT_Distance }
 Enumerate describing measure coupled formula arithmetical function type. More...
 
enum  ipsdk::shape::analysis::eMsrFormulaTernaryLogicFunctionType { ipsdk::shape::analysis::eMFTLFT_If }
 Enumerate describing measure formula ternary logical function type. More...
 
enum  ipsdk::shape::analysis::eMsrFormulaReserved {
  ipsdk::shape::analysis::eMFR_ImageSizeX, ipsdk::shape::analysis::eMFR_ImageSizeY, ipsdk::shape::analysis::eMFR_ImageSizeZ, ipsdk::shape::analysis::eMFR_ImageCenterX,
  ipsdk::shape::analysis::eMFR_ImageCenterY, ipsdk::shape::analysis::eMFR_ImageCenterZ, ipsdk::shape::analysis::eMFR_PlanMinGL, ipsdk::shape::analysis::eMFR_PlanMaxGL
}
 enumerate describing formula reserved variable More...
 
enum  ipsdk::shape::analysis::eMsrFormulaResultType { ipsdk::shape::analysis::eMFRT_Logic, ipsdk::shape::analysis::eMFRT_Arithmetic }
 Enumerate describing measure formula result type. More...
 
enum  ipsdk::shape::analysis::eFormulaEvaluationStatus { ipsdk::shape::analysis::eMES_Success, ipsdk::shape::analysis::eMES_Warning, ipsdk::shape::analysis::eMES_Failure }
 Enumerate describing measure formula evaluation status. More...
 

Detailed Description

Predefined types for shape analysis formula management.

Author
E. Noirfalise
Date
2015/07/18