MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Defines
mdsTraits.hxx File Reference

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2009 by Michal Spanel
. More...

Defines

#define MDS_IMPLEMENT_LBP_TRAITS(Type, Mapping, Samples, Radius, Min, Max)
#define MDS_IMPLEMENT_LBP_TRAITS(Type, Mapping, Samples, Radius, Min, Max)

Detailed Description

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2009 by Michal Spanel
.

Authors: Jiri Hutarek, xhutar01@stud.fit.vutbr.cz
Michal Spanel, spanel@fit.vutbr.cz
Date: 2009/01/26

Id:
mdsTraits.hxx 2100 2012-02-17 07:36:55Z spanel

Description:


Define Documentation

#define MDS_IMPLEMENT_LBP_TRAITS (   Type,
  Mapping,
  Samples,
  Radius,
  Min,
  Max 
)
Value:
template <> \
    inline int CLBPTraits<Type, Mapping>::getNumOfSamples() \
    { \
        return (Samples); \
    } \
    template <> \
    inline mds::img::tCoordinate CLBPTraits<Type, Mapping>::getRadius() \
    { \
        return (Radius); \
    } \
    template <> \
    inline CLBPTraits<Type, Mapping>::tCode CLBPTraits<Type, Mapping>::getMin() \
    { \
        return (Min); \
    } \
    template <> \
    inline CLBPTraits<Type, Mapping>::tCode CLBPTraits<Type, Mapping>::getMax() \
    { \
        return (Max); \
    }
#define MDS_IMPLEMENT_LBP_TRAITS (   Type,
  Mapping,
  Samples,
  Radius,
  Min,
  Max 
)
Value:
template <> \
    inline int CLBPTraits<Type, Mapping>::getNumOfSamples() \
    { \
        return (Samples); \
    } \
    template <> \
    inline mds::img::tCoordinate CLBPTraits<Type, Mapping>::getRadius() \
    { \
        return (Radius); \
    } \
    template <> \
    inline CLBPTraits<Type, Mapping>::tCode CLBPTraits<Type, Mapping>::getMin() \
    { \
        return (Min); \
    } \
    template <> \
    inline CLBPTraits<Type, Mapping>::tCode CLBPTraits<Type, Mapping>::getMax() \
    { \
        return (Max); \
    }