Esempio n. 1
0
bool SpacePartitioning::sameColour(const Colour& colour, int x, int y)
{
	for(int c = 0; c < m_image.spectrum(); ++c)
	{
		if(colour.spectrum(c) != *m_image.data(x, y, 0, c))
			return false;
	}
	return true;
}