Pixel coordinate and cell coordinate classes