import { Image } from '../src/Image.js';
import { getHarrisScore } from '../src/featureMatching/keypoints/getHarrisScore.js';

const fastRadius = 3;

// const image = testUtils.createGreyImage([
//   [0, 0, 0, 0, 0, 0, 0],
//   [0, 0, 0, 0, 0, 0, 0],
//   [0, 0, 0, 0, 0, 0, 0],
//   [255, 255, 255, 0, 0, 0, 0],
//   [0, 0, 0, 255, 0, 0, 0],
//   [0, 0, 0, 255, 0, 0, 0],
//   [0, 0, 0, 255, 0, 0, 0],
// ]);

const image = new Image(7, 7, { colorModel: 'GREY' });

const origin = { row: fastRadius, column: fastRadius };

const result = getHarrisScore(image, origin);

console.log(result);