|
@@ -5,12 +5,11 @@
|
|
|
* @date 03/13/2008
|
|
|
|
|
|
*/
|
|
|
-#ifdef NOVISUAL
|
|
|
-#include <vislearning/nice_nonvis.h>
|
|
|
-#else
|
|
|
-#include <vislearning/nice.h>
|
|
|
-#include <core/imagedisplay/SimpleSelector.h>
|
|
|
-#endif
|
|
|
+#include "core/image/ImageT.h"
|
|
|
+#include "core/vector/VectorT.h"
|
|
|
+#include "core/vector/MatrixT.h"
|
|
|
+#include <core/imagedisplay/ImageDisplay.h>
|
|
|
+#include <core/image/Filter.h>
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
@@ -37,7 +36,9 @@ void ICETools::selectRectangles ( const NICE::Image & panel, NICE::Image & overl
|
|
|
#ifndef NOVISUAL
|
|
|
// new NICE code
|
|
|
vector<RectT<double> > rectangles;
|
|
|
- NICE::selectRectangles ( panel, rectangles, "select rectangles" );
|
|
|
+ //TODO check this!
|
|
|
+// NICE::selectRectangles ( panel, rectangles, "select rectangles" );
|
|
|
+// selectRectangles ( panel, rectangles, "select rectangles" );
|
|
|
|
|
|
for ( vector<RectT<double> >::const_iterator i = rectangles.begin();
|
|
|
i != rectangles.end(); i++ )
|
|
@@ -60,7 +61,9 @@ void ICETools::selectPoints ( const NICE::Image & panel, NICE::Image & overlay,
|
|
|
{
|
|
|
#ifndef NOVISUAL
|
|
|
vector<CoordT<double> > points;
|
|
|
- NICE::selectPoints ( panel, points, "select points" );
|
|
|
+ //TODO check this!
|
|
|
+// NICE::selectPoints ( panel, points, "select points" );
|
|
|
+// selectPoints ( panel, points, "select points" );
|
|
|
|
|
|
for ( vector<CoordT<double> >::const_iterator i = points.begin();
|
|
|
i != points.end(); i++ )
|