Skip to content
Snippets Groups Projects
Commit a6a0994f authored by Julien Michel's avatar Julien Michel
Browse files

COMP: Ugly fix! Any better idea?

parent c8307cce
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
#include "otbWrapperElevationParametersHandler.h"
#include "otbSiftFastImageFilter.h"
#include "otbImageToSIFTKeyPointSetFilter.h"
#include "otbImageToSURFKeyPointSetFilter.h"
#include "otbKeyPointSetsMatchingFilter.h"
#include "otbMultiToMonoChannelExtractROI.h"
......@@ -48,7 +49,14 @@ public:
typedef FloatVectorImageType::PixelType RealVectorType;
typedef FloatVectorImageType::InternalPixelType ValueType;
typedef itk::PointSet<RealVectorType,2> PointSetType;
// This is ugly ...
#ifdef OTB_USE_SIFTFAST
typedef SiftFastImageFilter<FloatImageType,PointSetType> SiftFilterType;
#else
typedef ImageToSIFTKeyPointSetFilter<FloatImageType,PointSetType> SiftFilterType
#endif
typedef ImageToSURFKeyPointSetFilter<FloatImageType,PointSetType> SurfFilterType;
typedef itk::Statistics::EuclideanDistance<RealVectorType> DistanceType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment