// used rarely to store absolute locations of points inside an image
struct position {
	double x,y;
};