Skip to content
Snippets Groups Projects
Commit 898f0a0e authored by Caroline Ruffel's avatar Caroline Ruffel
Browse files

nomsg

parent 94f95e05
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@
$Id$
=========================================================================*/
#ifndef __otbTupinEdgeDetector_h
#define __otbTupinEdgeDetector_h
#ifndef __otbLineRatioDetector_h
#define __otbLineRatioDetector_h
#include "itkBSplineInterpolateImageFunction.h"
#include "itkImageToImageFilter.h"
......@@ -85,6 +85,7 @@ public:
/** Typedefs to describe and access Interpolator */
typedef typename InterpolatorType::Pointer InterpolatorPointer;
typedef typename InterpolatorType::CoordRepType CoordRepType;
typedef typename InputImageType::PointType TPoint;
......@@ -160,7 +161,7 @@ private:
} // end namespace otb
#ifndef OTB_MANUAL_INSTANTIATION
#include "otbTupinEdgeDetector.txx"
#include "otbLineRatioDetector.txx"
#endif
......
......@@ -8,10 +8,10 @@
$Id$
=========================================================================*/
#ifndef __otbTupinEdgeDetector_txx
#define __otbTupinEdgeDetector_txx
#ifndef __otbLineRatioDetector_txx
#define __otbLineRatioDetector_txx
#include "otbTupinEdgeDetector.h"
#include "otbLineRatioDetector.h"
#include "itkDataObject.h"
#include "itkExceptionObject.h"
......@@ -249,8 +249,8 @@ void TupinEdgeDetector< TInputImage, TOutputImage, InterpolatorType>
{
ROTATION( (X-Xc), (Y-Yc), Theta[dir], xout, yout);
Index[0] = static_cast<float>(xout + Xc);
Index[1] = static_cast<float>(yout + Yc);
Index[0] = static_cast<CoordRepType>(xout + Xc);
Index[1] = static_cast<CoordRepType>(yout + Yc);
//std::cout << "X' Y' "<< (xout + Xc) << " " << (yout + Yc) << std::endl;
//std::cout << "val(X',Y') "<< static_cast<double>(m_Interpolator->EvaluateAtContinuousIndex( Index )) << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment