public static void enlargePoints(BufferedImage img, ArrayList<ImageMarker> markerList, int enlargeAmount, double imageScaledFactor) {
        Graphics g = img.getGraphics();
        for (ImageMarker marker : markerList) {
            //draw a circle at each point, with the radius (enlargeAmount + 1)
            if (marker.getType() == ImageMarker.MarkerType.CORNER_POINT)
            {
                g.setColor(Color.yellow);
            }
            else if (marker.getType() == ImageMarker.MarkerType.CONTROL_POINT)
            {
                g.setColor(Color.red);
            }
            else if (marker.getType() == ImageMarker.MarkerType.OUTLINE_POINT)
            {
                g.setColor(Color.magenta);
            }
            if (enlargeAmount == 0)
            {
                g.fillRect((int) (marker.getLocation().x / imageScaledFactor), 
                       (int) (marker.getLocation().y / imageScaledFactor),
                       1, 1);
            }
            else
            {
                g.fillOval((int) (marker.getLocation().x / imageScaledFactor - enlargeAmount), 
                       (int) (marker.getLocation().y / imageScaledFactor - enlargeAmount),
                       2 * enlargeAmount + 1, 2 * enlargeAmount + 1);
            }
        }
    }