Compare commits
0
Commits
main
..
355448297c
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,10 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class ImageMatcher{
|
||||||
|
public:
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
#include "Picker.h"
|
|
||||||
|
|
||||||
using namespace core;
|
|
||||||
|
|
||||||
|
|
||||||
Picker::Picker() {}
|
|
||||||
|
|
||||||
Picker::~Picker() {}
|
|
||||||
|
|
||||||
Colour Picker::match(Colour obj, Colour* picks) {
|
|
||||||
// TODO: matching code
|
|
||||||
return Colour(0.0f, 0.0f, 0.0f);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<Colour> match_multi(Colour* obj, Colour* picks) {
|
|
||||||
// TODO: idem ditto
|
|
||||||
return std::vector<Colour>();
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "Colour.h"
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace core {
|
|
||||||
class Picker{
|
|
||||||
public:
|
|
||||||
Picker();
|
|
||||||
~Picker();
|
|
||||||
|
|
||||||
Colour match(Colour obj, Colour* picks);
|
|
||||||
std::vector<Colour> match_multi(Colour* obj, Colour* picks);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,10 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class ImageMatcher{
|
||||||
|
public:
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "../Colour.h"
|
|
||||||
|
|
||||||
namespace core {
|
|
||||||
|
|
||||||
class Matcher {
|
|
||||||
public:
|
|
||||||
virtual float distance(const Colour a, const Colour b) ;
|
|
||||||
virtual float luminance(const Colour a) ;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
#include "Matcher.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace core {
|
|
||||||
class RGBMatcher : Matcher {
|
|
||||||
float distance(const Colour a, const Colour b);
|
|
||||||
float luminance(const Colour a);
|
|
||||||
};
|
|
||||||
}
|
|
||||||