This commit is contained in:
William DURAND 2012-01-11 00:36:31 +01:00
parent 38ca00ee57
commit f6fe37d72e
2 changed files with 63 additions and 62 deletions

View File

@ -1,5 +1,5 @@
#ifndef __EUCLIDIAN_HPP__
#define __EUCLIDIAN_HPP__
#ifndef EUCLIDIAN_HPP
#define EUCLIDIAN_HPP
#include <math.h>
#include <vector>
@ -12,7 +12,7 @@
*/
class Euclidean
{
public:
public:
/**
* Constructor
*
@ -79,7 +79,7 @@ class Euclidean
*/
static double min(const std::vector<Euclidean> vect);
private:
private:
int _x;

View File

@ -34,6 +34,7 @@ double sum(CImg<float> img, int startedX, int startedY, int w) {
}
}
}
return res;
}