Commits

Anonymous committed e8a4eef

added problem contours

Comments (0)

Files changed (21)

src/main/java/org/xmlcml/image/AMIContour.java

+package org.xmlcml.image;
+
+import georegression.struct.point.Point2D_I32;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import nu.xom.Attribute;
+
+import org.xmlcml.euclid.Real2;
+import org.xmlcml.euclid.Real2Array;
+import org.xmlcml.graphics.svg.SVGG;
+import org.xmlcml.graphics.svg.SVGLine;
+import org.xmlcml.image.lines.DouglasPeucker;
+
+import boofcv.alg.filter.binary.Contour;
+
+
+/** wraps a Boofcv contour and provides display.
+ * 
+ * @author pm286
+ *
+ */
+public class AMIContour {
+
+	private Contour contour;
+	private Real2Array externalPoints;
+	private List<Real2Array> internalPointsList;
+	private DouglasPeucker douglasPeucker;
+
+	public AMIContour(Contour contour) {
+		this.contour = contour;
+		init();
+	}
+	
+	public AMIContour(List<Real2> reduced) {
+		externalPoints = new Real2Array(reduced);
+		internalPointsList = new ArrayList<Real2Array>(); // empty list
+	}
+
+	private void init() {
+		this.externalPoints = createReal2Points(contour.external);
+		this.internalPointsList = new ArrayList<Real2Array>();
+		for (List<Point2D_I32> pointsList : contour.internal) {
+			Real2Array realPoints = createReal2Points(pointsList);
+			internalPointsList.add(realPoints);
+		}
+	}
+
+	private Real2Array createReal2Points(List<Point2D_I32> points) {
+		Real2Array realPoints = new Real2Array();
+		for (Point2D_I32 p : points) {
+			realPoints.add(new Real2(p.x, p.y));
+		}
+		return realPoints;
+	}
+	
+	public AMIContour reduceExternal(double tolerance) {
+		douglasPeucker = new DouglasPeucker(tolerance);
+		List<Real2> reduced = reduce(externalPoints);
+		AMIContour amiContour = new AMIContour(reduced);
+		return amiContour;
+	}
+
+	/** create a list of the internal contours.
+	 * 
+	 * this may not be the best way to do this as we separate inner and outer.
+	 * 
+	 * @param tolerance
+	 * @return
+	 */
+	public List<AMIContour> reduceInternal(double tolerance) {
+		douglasPeucker = new DouglasPeucker(tolerance);
+		List<AMIContour> amiContourList = new ArrayList<AMIContour>();
+		for (Real2Array points : internalPointsList) {
+			AMIContour amiContour = new AMIContour(points.getList());
+			amiContourList.add(amiContour);
+		}
+		return amiContourList;
+	}
+
+	private List<Real2> reduce(Real2Array real2Array) {
+		List<Real2> points = real2Array.getList();
+		points = douglasPeucker.reduce(points);
+		return points;
+	}
+
+	public Real2Array getExternalPoints() {
+		return externalPoints;
+	}
+
+	public List<Real2Array> getInternalPointsList() {
+		return internalPointsList;
+	}
+
+	public SVGG createExternalContourSVG(String color, double width) {
+		SVGG gg = new SVGG();
+		int size = externalPoints.size();
+		for (int i = 0; i < size; i++) {
+			int j = (i+1) % size;
+			Real2 pi = getExternalPoints().get(i);
+			Real2 pj = getExternalPoints().get(j);
+			SVGLine line = new SVGLine(pi, pj);
+			line.setStroke(color);
+			line.setWidth(width);
+			gg.appendChild(line);
+		}
+		return gg;
+	}
+
+	@Override
+	public String toString() {
+		StringBuilder sb = new StringBuilder();
+		sb.append("external: "+externalPoints.size()+"; internal contours "+internalPointsList.size()+" ");
+		for (Real2Array internal : internalPointsList) {
+			sb.append(internal.size());
+		}
+		return sb.toString();
+	}
+}

src/main/java/org/xmlcml/image/lines/BoofcvCanny.java

+package org.xmlcml.image.lines;
+
+import java.awt.image.BufferedImage;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.xmlcml.image.AMIContour;
+
+import boofcv.alg.feature.detect.edge.CannyEdge;
+import boofcv.alg.filter.binary.BinaryImageOps;
+import boofcv.alg.filter.binary.Contour;
+import boofcv.core.image.ConvertBufferedImage;
+import boofcv.factory.feature.detect.edge.FactoryEdgeDetectors;
+import boofcv.io.image.UtilImageIO;
+import boofcv.struct.image.ImageSInt16;
+import boofcv.struct.image.ImageUInt8;
+
+public class BoofcvCanny {
+
+	public BoofcvCanny() {
+		
+	}
+
+	public List<Contour> extractContours(String filename) {
+		
+		BufferedImage image = UtilImageIO.loadImage(filename);
+		ImageUInt8 gray = ConvertBufferedImage.convertFrom(image,(ImageUInt8)null);
+		ImageUInt8 edgeImage = new ImageUInt8(gray.width,gray.height);
+		// Create a canny edge detector which will dynamically compute the threshold based on maximum edge intensity
+		// It has also been configured to save the trace as a graph.  This is the graph created while performing
+		// hysteresis thresholding.
+		CannyEdge<ImageUInt8,ImageSInt16> canny = FactoryEdgeDetectors.canny(2,true, true, ImageUInt8.class, ImageSInt16.class);
+		// The edge image is actually an optional parameter.  If you don't need it just pass in null
+//		canny.process(gray,0.8f,0.9f,null);
+//		canny.process(gray,0.1f,0.3f,null);
+		canny.process(gray,0.1f,0.3f,edgeImage);
+		// First get the contour created by canny
+		List<Contour> contours = BinaryImageOps.contour(edgeImage, 8, null);
+		return contours;
+	}
+	
+
+	public List<AMIContour> extractAMIContours(String filename) {
+		List<Contour> contours = extractContours(filename);
+		List<AMIContour> amiContours = new ArrayList<AMIContour>();
+		for (Contour contour : contours) {
+			AMIContour amiContour = new AMIContour(contour);
+			amiContours.add(amiContour);
+		}
+		return amiContours;
+	}
+
+}

src/main/java/org/xmlcml/image/lines/DouglasPeucker.java

 			return;
 		}
 
+		int idxMax = findMaximallyDeviatingPoint(shape, firstIdx, lastIdx);
+
+		if (maxDevation > tolerance) {
+			marked[indexOfMaxDeviation] = true;
+			douglasPeuckerReduction(firstIdx, idxMax);
+			douglasPeuckerReduction(idxMax, lastIdx);
+		}
+	}
+	private void douglasPeuckerReductionOld(int firstIdx, int lastIdx) {
+		// overlapping indexes
+		if (lastIdx <= firstIdx + 1) {
+			return;
+		}
+
 		findMaximallyDeviatingPoint(shape, firstIdx, lastIdx);
 
 		if (maxDevation > tolerance) {
 			douglasPeuckerReduction(indexOfMaxDeviation, lastIdx);
 		}
 	}
-	private void findMaximallyDeviatingPoint(List<Real2> shape, int firstIdx, int lastIdx) {
+	private int findMaximallyDeviatingPoint(List<Real2> shape, int firstIdx, int lastIdx) {
 		maxDevation = 0.0;
 		indexOfMaxDeviation = 0;
 
 				indexOfMaxDeviation = idx;
 			}
 		}
+		return indexOfMaxDeviation;
 	}
 
 	/**

src/test/java/org/xmlcml/image/BoofcvCannyTest.java

 package org.xmlcml.image;
 
-import georegression.struct.line.LineParametric2D_F32;
-import georegression.struct.line.LineSegment2D_F32;
-import georegression.struct.point.Point2D_I32;
-
-import java.awt.Dimension;
 import java.awt.image.BufferedImage;
 import java.io.File;
 import java.util.List;
 
 import org.apache.log4j.Logger;
+import org.junit.Assert;
 import org.junit.Test;
-import org.xmlcml.euclid.Real2;
+import org.xmlcml.graphics.svg.SVGCircle;
+import org.xmlcml.graphics.svg.SVGElement;
 import org.xmlcml.graphics.svg.SVGG;
 import org.xmlcml.graphics.svg.SVGLine;
 import org.xmlcml.graphics.svg.SVGSVG;
+import org.xmlcml.image.lines.BoofcvCanny;
 
-import boofcv.abst.feature.detect.line.DetectLineHoughPolar;
-import boofcv.abst.feature.detect.line.DetectLineSegmentsGridRansac;
 import boofcv.alg.feature.detect.edge.CannyEdge;
 import boofcv.alg.feature.detect.edge.EdgeContour;
 import boofcv.alg.filter.binary.BinaryImageOps;
 import boofcv.alg.filter.binary.Contour;
 import boofcv.core.image.ConvertBufferedImage;
 import boofcv.factory.feature.detect.edge.FactoryEdgeDetectors;
-import boofcv.factory.feature.detect.line.FactoryDetectLineAlgs;
 import boofcv.gui.binary.VisualizeBinaryData;
-import boofcv.gui.feature.ImageLinePanel;
 import boofcv.gui.image.ShowImages;
 import boofcv.io.image.UtilImageIO;
-import boofcv.struct.image.ImageFloat32;
 import boofcv.struct.image.ImageSInt16;
-import boofcv.struct.image.ImageSingleBand;
 import boofcv.struct.image.ImageUInt8;
 
 public class BoofcvCannyTest {
  
 		// First get the contour created by canny
 		List<EdgeContour> edgeContours = canny.getContours();
+		Assert.assertEquals("edgeContours: ", 772, edgeContours.size());
+		// The 'edgeContours' is a tree graph that can be difficult to process.  An alternative is to extract
+		// the contours from the binary image, which will produce a single loop for each connected cluster of pixels.
+		// Note that you are only interested in external contours.
+		List<Contour> contours = BinaryImageOps.contour(edgeImage, 8, null);
+		Assert.assertEquals("contours", 379, contours.size());
+		BufferedImage visualBinary = VisualizeBinaryData.renderBinary(edgeImage, null);
+		BufferedImage visualCannyContour = VisualizeBinaryData.renderContours(edgeContours,null,
+				gray.width,gray.height,null);
+		BufferedImage visualEdgeContour = VisualizeBinaryData.renderExternal(contours, null,
+				gray.width, gray.height, null);
+		new File("target/contours").mkdirs();
+		ImageUtil.writeImageQuietly(visualCannyContour, "target/contours/_cannyContour.png");
+		ImageUtil.writeImageQuietly(visualBinary, "target/contours/_binary.png");
+		ImageUtil.writeImageQuietly(visualEdgeContour, "target/contours/_dgeContour.png");
+	}
+
+	@Test
+	public void testCanny1() throws Exception {
+		BufferedImage image = UtilImageIO.loadImage(new File(Fixtures.TEXT_DIR, "1471-2148-14-31-2-l.jpg").getAbsolutePath());
+ 
+		ImageUInt8 gray = ConvertBufferedImage.convertFrom(image,(ImageUInt8)null);
+		ImageUInt8 edgeImage = new ImageUInt8(gray.width,gray.height);
+ 
+		// Create a canny edge detector which will dynamically compute the threshold based on maximum edge intensity
+		// It has also been configured to save the trace as a graph.  This is the graph created while performing
+		// hysteresis thresholding.
+		CannyEdge<ImageUInt8,ImageSInt16> canny = FactoryEdgeDetectors.canny(2,true, true, ImageUInt8.class, ImageSInt16.class);
+ 
+		// The edge image is actually an optional parameter.  If you don't need it just pass in null
+		canny.process(gray,0.1f,0.3f,edgeImage);
+ 
+		// First get the contour created by canny
+		List<EdgeContour> edgeContours = canny.getContours();
 		LOG.debug("edgeContours: "+edgeContours.size());
 		// The 'edgeContours' is a tree graph that can be difficult to process.  An alternative is to extract
 		// the contours from the binary image, which will produce a single loop for each connected cluster of pixels.
 		// Note that you are only interested in external contours.
 		List<Contour> contours = BinaryImageOps.contour(edgeImage, 8, null);
-		LOG.debug("contours: "+contours.size());
+		Assert.assertEquals("contours", 379, contours.size());
 		SVGG g = new SVGG();
+		int i = 0;
+		new File("target/contours").mkdirs();
 		for (Contour contour : contours) {
 			int size = contour.external.size();
-			SVGG gg = new SVGG();
-			g.appendChild(gg);
-			for (int i = 0; i < size; i++) {
-				int j = (i+1) % size;
-				Point2D_I32 pointi = contour.external.get(i);
-				Real2 pi = new Real2(pointi.x, pointi.y);
-				Point2D_I32 pointj = contour.external.get(j);
-				Real2 pj = new Real2(pointj.x, pointj.y);
-				SVGLine line = new SVGLine(pi, pj);
-				line.setFill("red");
-				line.setWidth(0.5);
-				gg.appendChild(line);
+			if (size > 200) {
+				AMIContour amiContour = new AMIContour(contour);
+				double width = 1.0;
+				SVGG gg = amiContour.createExternalContourSVG("yellow", width);
+				g.appendChild(gg);
+				gg = new SVGG(gg);
+				SVGSVG.wrapAndWriteAsSVG(gg, new File("target/contours/"+i+".svg"));
+				
+ 				AMIContour reducedContour = amiContour.reduceExternal(0.1);
+				width = 0.5;
+				SVGG ggred = reducedContour.createExternalContourSVG("blue", width);
+				if (getMaxLineLength(ggred) < 5.0) continue;
+				SVGLine line = SVGLine.extractSelfAndDescendantLines(ggred).get(0);
+				SVGCircle circle = new SVGCircle(line.getXY(0), 4.0);
+				circle.setFill("red");
+				g.appendChild(circle);
+				g.appendChild(ggred);
+				i++;
 			}
-			System.out.println();
 		}
-		SVGSVG.wrapAndWriteAsSVG(g, new File("target/countours.svg"));
- 
-		// display the results
-		BufferedImage visualBinary = VisualizeBinaryData.renderBinary(edgeImage, null);
-		BufferedImage visualCannyContour = VisualizeBinaryData.renderContours(edgeContours,null,
-				gray.width,gray.height,null);
-		BufferedImage visualEdgeContour = VisualizeBinaryData.renderExternal(contours, null,
-				gray.width, gray.height, null);
-		ImageUtil.writeImageQuietly(visualCannyContour, "target/visualCannyContour.png");
- 
-		ShowImages.showWindow(visualBinary,"Binary Edges from Canny");
-		ShowImages.showWindow(visualCannyContour,"Canny Trace Graph");
-		ShowImages.showWindow(visualEdgeContour,"Contour from Canny Binary");
-		Thread.sleep(100000);
-	}
-	// adjusts edge threshold for identifying pixels belonging to a line
-	private static final float edgeThreshold = 25;
-	// adjust the maximum number of found lines in the image
-	private static final int maxLines = 10;
- 
-	/**
-	 * Detects lines inside the image using different types of Hough detectors
-	 *
-	 * @param image Input image.
-	 * @param imageType Type of image processed by line detector.
-	 * @param derivType Type of image derivative.
-	 */
-	public static<T extends ImageSingleBand, D extends ImageSingleBand>
-			void detectLines( BufferedImage image , 
-							  Class<T> imageType ,
-							  Class<D> derivType )
-	{
-		// convert the line into a single band image
-		T input = ConvertBufferedImage.convertFromSingle(image, null, imageType );
- 
-		// Comment/uncomment to try a different type of line detector
-		DetectLineHoughPolar<T,D> detector = FactoryDetectLineAlgs.houghPolar(3, 30, 2, Math.PI / 180,
-				edgeThreshold, maxLines, imageType, derivType);
-//		DetectLineHoughFoot<T,D> detector = FactoryDetectLineAlgs.houghFoot(3, 8, 5, edgeThreshold,
-//				maxLines, imageType, derivType);
-//		DetectLineHoughFootSubimage<T,D> detector = FactoryDetectLineAlgs.houghFootSub(3, 8, 5, edgeThreshold,
-//				maxLines, 2, 2, imageType, derivType);
- 
-		List<LineParametric2D_F32> found = detector.detect(input);
- 
-		// display the results
-		ImageLinePanel gui = new ImageLinePanel();
-		gui.setBackground(image);
-		gui.setLines(found);
-		gui.setPreferredSize(new Dimension(image.getWidth(),image.getHeight()));
- 
-		ShowImages.showWindow(gui,"Found Lines");
-	}
- 
-	/**
-	 * Detects segments inside the image
-	 *
-	 * @param image Input image.
-	 * @param imageType Type of image processed by line detector.
-	 * @param derivType Type of image derivative.
-	 */
-	public static<T extends ImageSingleBand, D extends ImageSingleBand>
-	void detectLineSegments( BufferedImage image ,
-							 Class<T> imageType ,
-							 Class<D> derivType )
-	{
-		// convert the line into a single band image
-		T input = ConvertBufferedImage.convertFromSingle(image, null, imageType );
- 
-		// Comment/uncomment to try a different type of line detector
-		DetectLineSegmentsGridRansac<T,D> detector = FactoryDetectLineAlgs.lineRansac(40, 30, 2.36, true, imageType, derivType);
- 
-		List<LineSegment2D_F32> found = detector.detect(input);
- 
-		// display the results
-		ImageLinePanel gui = new ImageLinePanel();
-		gui.setBackground(image);
-		gui.setLineSegments(found);
-		gui.setPreferredSize(new Dimension(image.getWidth(),image.getHeight()));
- 
-		ShowImages.showWindow(gui,"Found Line Segments");
-	}
- 
-	public static void detectLines() {
-		BufferedImage input = UtilImageIO.loadImage("../data/evaluation/simple_objects.jpg");
- 
-		detectLines(input,ImageUInt8.class,ImageSInt16.class);
- 
-		// line segment detection is still under development and only works for F32 images right now
-		detectLineSegments(input, ImageFloat32.class, ImageFloat32.class);
+		SVGSVG.wrapAndWriteAsSVG(g, new File("target/contours/_all.svg"));
 	}
 
-	public void testDetectLines() {
-		detectLines();
+	private double getMaxLineLength(SVGG ggred) {
+		List<SVGLine> lines = SVGLine.extractSelfAndDescendantLines(ggred);
+		double maxlen = 0;
+		for (SVGLine line : lines) {
+			double len = line.getLength();
+			if (len > maxlen) {
+				maxlen = len;
+			}
+		}
+		return maxlen;
 	}
+
+	@Test
+	public void testContour() {
+		SVGElement contour = SVGElement.readAndCreateSVG(new File(Fixtures.LINES_DIR, "contours/13.svg"));
+		contour.debug("contour");
+		List<SVGLine> lines = SVGLine.extractSelfAndDescendantLines(contour);
+		Assert.assertEquals("lines", 477, lines.size());	
+	}
+
+	@Test
+	public void testMoleculeCanny() {
+		String filename = new File(Fixtures.LINES_DIR, "maltoryzine.png").getAbsolutePath();
+		BoofcvCanny canny = new BoofcvCanny();
+		List<AMIContour> amiContours = canny.extractAMIContours(filename);
+		Assert.assertEquals("contours", 6, amiContours.size());
+		SVGG g = new SVGG();
+		String[] colors = {"red", "green", "blue", "yellow", "orange", "magenta"};
+		int i = 0;
+		for (AMIContour amiContour : amiContours) {
+//			SVGG gg = amiContour.createExternalContourSVG(colors[i], 1);
+			LOG.debug(amiContour);
+			AMIContour contourr = amiContour.reduceExternal(1);
+			LOG.debug(contourr);
+			g.appendChild(contourr.createExternalContourSVG(colors[i], 1));
+			i++;
+		}
+		SVGSVG.wrapAndWriteAsSVG(g, new File("target/maltoryzine.svg"));
+	}
+
 }

src/test/java/org/xmlcml/image/lines/DouglasPeuckerTest.java

 package org.xmlcml.image.lines;
 
+import java.io.File;
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
 
 import junit.framework.Assert;
 
+import org.apache.log4j.Logger;
 import org.junit.Test;
 import org.xmlcml.euclid.Real2;
+import org.xmlcml.euclid.Real2Array;
+import org.xmlcml.graphics.svg.SVGElement;
+import org.xmlcml.graphics.svg.SVGG;
+import org.xmlcml.graphics.svg.SVGLine;
+import org.xmlcml.graphics.svg.SVGSVG;
+import org.xmlcml.image.Fixtures;
 
 public class DouglasPeuckerTest {
+	
+	private final static Logger LOG = Logger.getLogger(DouglasPeuckerTest.class);
 	@Test
 	public void testLine() {
 		DouglasPeucker douglasPeucker = new DouglasPeucker(1.0);
 //		vectorizer.segment(islandList.get(1));
 //		int[] islands =   {492, 33,  25,  29,  25};
 	}
+
+	@Test
+	public void testContours() {
+		SVGElement contour = SVGElement.readAndCreateSVG(new File(Fixtures.LINES_DIR, "contours/1.svg"));
+		List<SVGLine> lines = SVGLine.extractSelfAndDescendantLines(contour);
+		Real2Array points0 = SVGLine.extractPoints(lines, 0.00001);
+		List<Real2> points = points0.getList(); 
+		DouglasPeucker douglasPeucker = new DouglasPeucker(0.1);
+		List<Real2> reducedList = douglasPeucker.reduce(points);
+		boolean close = true;
+		SVGG g = SVGLine.plotPointsAsTouchingLines(reducedList, close);
+		Assert.assertEquals("lines", 11, reducedList.size());
+		SVGSVG.wrapAndWriteAsSVG(g, new File("target/contours/1r.svg"));
+	}
+
 }

src/test/resources/org/xmlcml/image/lines/contours/0.svg

Added
New image
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="800.0" width="700.0" xmlns="http://www.w3.org/2000/svg">
+ <g>
+  <line stroke="black" x1="1063.0" y1="9.0" x2="1064.0" y2="9.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1064.0" y1="9.0" x2="1065.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1065.0" y1="10.0" x2="1066.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="10.0" x2="1066.0" y2="11.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="11.0" x2="1066.0" y2="12.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="12.0" x2="1066.0" y2="13.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="13.0" x2="1066.0" y2="14.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="14.0" x2="1066.0" y2="15.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="15.0" x2="1066.0" y2="16.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="16.0" x2="1066.0" y2="17.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="17.0" x2="1066.0" y2="18.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="18.0" x2="1066.0" y2="19.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="19.0" x2="1066.0" y2="20.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="20.0" x2="1066.0" y2="21.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="21.0" x2="1066.0" y2="22.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="22.0" x2="1066.0" y2="23.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="23.0" x2="1066.0" y2="24.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="24.0" x2="1066.0" y2="25.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="25.0" x2="1066.0" y2="26.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="26.0" x2="1066.0" y2="27.0" fill="red" stroke-width="0.5"/>
+  <!--
+  <line stroke="black" x1="1066.0" y1="27.0" x2="1066.0" y2="28.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="28.0" x2="1066.0" y2="29.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="29.0" x2="1066.0" y2="30.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="30.0" x2="1066.0" y2="31.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="31.0" x2="1066.0" y2="32.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="32.0" x2="1066.0" y2="33.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="33.0" x2="1066.0" y2="34.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="34.0" x2="1066.0" y2="35.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="35.0" x2="1066.0" y2="36.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="36.0" x2="1066.0" y2="37.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="37.0" x2="1066.0" y2="38.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="38.0" x2="1066.0" y2="39.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="39.0" x2="1066.0" y2="40.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="40.0" x2="1066.0" y2="41.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="41.0" x2="1066.0" y2="42.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="42.0" x2="1066.0" y2="43.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="43.0" x2="1066.0" y2="44.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="44.0" x2="1066.0" y2="45.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="45.0" x2="1066.0" y2="46.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="46.0" x2="1066.0" y2="47.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="47.0" x2="1066.0" y2="48.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="48.0" x2="1066.0" y2="49.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="49.0" x2="1066.0" y2="50.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="50.0" x2="1066.0" y2="51.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="51.0" x2="1066.0" y2="52.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="52.0" x2="1066.0" y2="53.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="53.0" x2="1066.0" y2="54.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="54.0" x2="1066.0" y2="55.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="55.0" x2="1066.0" y2="56.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="56.0" x2="1066.0" y2="57.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="57.0" x2="1066.0" y2="58.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="58.0" x2="1066.0" y2="59.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="59.0" x2="1066.0" y2="60.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="60.0" x2="1066.0" y2="61.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="61.0" x2="1066.0" y2="62.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="62.0" x2="1066.0" y2="63.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="63.0" x2="1066.0" y2="64.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="64.0" x2="1066.0" y2="65.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="65.0" x2="1066.0" y2="66.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="66.0" x2="1066.0" y2="67.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="67.0" x2="1066.0" y2="68.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="68.0" x2="1066.0" y2="69.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="69.0" x2="1066.0" y2="70.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="70.0" x2="1066.0" y2="71.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="71.0" x2="1066.0" y2="72.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="72.0" x2="1066.0" y2="73.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="73.0" x2="1066.0" y2="74.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="74.0" x2="1066.0" y2="75.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="75.0" x2="1066.0" y2="76.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="76.0" x2="1066.0" y2="77.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="77.0" x2="1066.0" y2="78.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="78.0" x2="1066.0" y2="79.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="79.0" x2="1066.0" y2="80.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="80.0" x2="1066.0" y2="81.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="81.0" x2="1066.0" y2="82.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="82.0" x2="1066.0" y2="83.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="83.0" x2="1066.0" y2="84.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="84.0" x2="1066.0" y2="85.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="85.0" x2="1066.0" y2="86.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="86.0" x2="1066.0" y2="87.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="87.0" x2="1066.0" y2="88.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="88.0" x2="1066.0" y2="89.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="89.0" x2="1066.0" y2="90.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="90.0" x2="1066.0" y2="91.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="91.0" x2="1066.0" y2="92.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="92.0" x2="1066.0" y2="93.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="93.0" x2="1066.0" y2="94.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="94.0" x2="1066.0" y2="95.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="95.0" x2="1066.0" y2="96.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="96.0" x2="1066.0" y2="97.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="97.0" x2="1066.0" y2="98.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="98.0" x2="1066.0" y2="99.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="99.0" x2="1066.0" y2="100.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="100.0" x2="1066.0" y2="101.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="101.0" x2="1066.0" y2="102.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="102.0" x2="1066.0" y2="103.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="103.0" x2="1066.0" y2="104.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="104.0" x2="1066.0" y2="105.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="105.0" x2="1066.0" y2="106.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="106.0" x2="1066.0" y2="107.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="107.0" x2="1066.0" y2="108.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="108.0" x2="1065.0" y2="109.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1065.0" y1="109.0" x2="1064.0" y2="109.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1064.0" y1="109.0" x2="1063.0" y2="109.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1063.0" y1="109.0" x2="1062.0" y2="108.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1062.0" y1="108.0" x2="1061.0" y2="108.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="108.0" x2="1061.0" y2="107.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="107.0" x2="1061.0" y2="106.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="106.0" x2="1061.0" y2="105.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="105.0" x2="1061.0" y2="104.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="104.0" x2="1061.0" y2="103.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="103.0" x2="1061.0" y2="102.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="102.0" x2="1061.0" y2="101.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="101.0" x2="1061.0" y2="100.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="100.0" x2="1061.0" y2="99.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="99.0" x2="1061.0" y2="98.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="98.0" x2="1061.0" y2="97.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="97.0" x2="1061.0" y2="96.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="96.0" x2="1061.0" y2="95.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="95.0" x2="1061.0" y2="94.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="94.0" x2="1061.0" y2="93.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="93.0" x2="1061.0" y2="92.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="92.0" x2="1061.0" y2="91.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="91.0" x2="1061.0" y2="90.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="90.0" x2="1061.0" y2="89.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="89.0" x2="1061.0" y2="88.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="88.0" x2="1061.0" y2="87.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="87.0" x2="1061.0" y2="86.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="86.0" x2="1061.0" y2="85.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="85.0" x2="1061.0" y2="84.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="84.0" x2="1061.0" y2="83.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="83.0" x2="1061.0" y2="82.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="82.0" x2="1061.0" y2="81.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="81.0" x2="1061.0" y2="80.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="80.0" x2="1061.0" y2="79.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="79.0" x2="1061.0" y2="78.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="78.0" x2="1061.0" y2="77.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="77.0" x2="1061.0" y2="76.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="76.0" x2="1061.0" y2="75.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="75.0" x2="1061.0" y2="74.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="74.0" x2="1061.0" y2="73.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="73.0" x2="1061.0" y2="72.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="72.0" x2="1061.0" y2="71.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="71.0" x2="1061.0" y2="70.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="70.0" x2="1061.0" y2="69.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="69.0" x2="1061.0" y2="68.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="68.0" x2="1061.0" y2="67.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="67.0" x2="1061.0" y2="66.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="66.0" x2="1061.0" y2="65.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="65.0" x2="1061.0" y2="64.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="64.0" x2="1061.0" y2="63.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="63.0" x2="1061.0" y2="62.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="62.0" x2="1061.0" y2="61.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="61.0" x2="1061.0" y2="60.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="60.0" x2="1061.0" y2="59.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="59.0" x2="1061.0" y2="58.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="58.0" x2="1061.0" y2="57.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="57.0" x2="1061.0" y2="56.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="56.0" x2="1061.0" y2="55.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="55.0" x2="1061.0" y2="54.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="54.0" x2="1061.0" y2="53.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="53.0" x2="1061.0" y2="52.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="52.0" x2="1061.0" y2="51.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="51.0" x2="1061.0" y2="50.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="50.0" x2="1061.0" y2="49.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="49.0" x2="1061.0" y2="48.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="48.0" x2="1061.0" y2="47.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="47.0" x2="1061.0" y2="46.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="46.0" x2="1061.0" y2="45.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="45.0" x2="1061.0" y2="44.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="44.0" x2="1061.0" y2="43.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="43.0" x2="1061.0" y2="42.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="42.0" x2="1061.0" y2="41.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="41.0" x2="1061.0" y2="40.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="40.0" x2="1061.0" y2="39.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="39.0" x2="1061.0" y2="38.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="38.0" x2="1061.0" y2="37.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="37.0" x2="1061.0" y2="36.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="36.0" x2="1061.0" y2="35.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="35.0" x2="1061.0" y2="34.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="34.0" x2="1061.0" y2="33.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="33.0" x2="1061.0" y2="32.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="32.0" x2="1061.0" y2="31.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="31.0" x2="1061.0" y2="30.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="30.0" x2="1061.0" y2="29.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="29.0" x2="1061.0" y2="28.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="28.0" x2="1061.0" y2="27.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="27.0" x2="1061.0" y2="26.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="26.0" x2="1061.0" y2="25.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="25.0" x2="1061.0" y2="24.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="24.0" x2="1061.0" y2="23.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="23.0" x2="1061.0" y2="22.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="22.0" x2="1061.0" y2="21.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="21.0" x2="1061.0" y2="20.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="20.0" x2="1061.0" y2="19.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="19.0" x2="1061.0" y2="18.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="18.0" x2="1061.0" y2="17.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="17.0" x2="1061.0" y2="16.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="16.0" x2="1061.0" y2="15.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="15.0" x2="1061.0" y2="14.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="14.0" x2="1061.0" y2="13.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="13.0" x2="1061.0" y2="12.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="12.0" x2="1061.0" y2="11.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="11.0" x2="1061.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="10.0" x2="1062.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1062.0" y1="10.0" x2="1063.0" y2="9.0" fill="red" stroke-width="0.5"/>
+  -->
+ </g>
+</svg>

src/test/resources/org/xmlcml/image/lines/contours/1.svg

Added
New image
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="800.0" width="700.0" xmlns="http://www.w3.org/2000/svg">
+ <g>
+  <line stroke="black" x1="1063.0" y1="9.0" x2="1064.0" y2="9.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1064.0" y1="9.0" x2="1065.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1065.0" y1="10.0" x2="1066.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="10.0" x2="1066.0" y2="11.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="11.0" x2="1066.0" y2="12.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="12.0" x2="1066.0" y2="13.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="13.0" x2="1066.0" y2="14.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="14.0" x2="1066.0" y2="15.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="15.0" x2="1066.0" y2="16.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="16.0" x2="1066.0" y2="17.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="17.0" x2="1066.0" y2="18.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="18.0" x2="1066.0" y2="19.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="19.0" x2="1066.0" y2="20.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="20.0" x2="1066.0" y2="21.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="21.0" x2="1066.0" y2="22.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="22.0" x2="1066.0" y2="23.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="23.0" x2="1066.0" y2="24.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="24.0" x2="1066.0" y2="25.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="25.0" x2="1066.0" y2="26.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="26.0" x2="1066.0" y2="27.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="27.0" x2="1066.0" y2="28.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="28.0" x2="1066.0" y2="29.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="29.0" x2="1066.0" y2="30.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="30.0" x2="1066.0" y2="31.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="31.0" x2="1066.0" y2="32.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="32.0" x2="1066.0" y2="33.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="33.0" x2="1066.0" y2="34.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="34.0" x2="1066.0" y2="35.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="35.0" x2="1066.0" y2="36.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="36.0" x2="1066.0" y2="37.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="37.0" x2="1066.0" y2="38.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="38.0" x2="1066.0" y2="39.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="39.0" x2="1066.0" y2="40.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="40.0" x2="1066.0" y2="41.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="41.0" x2="1066.0" y2="42.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="42.0" x2="1066.0" y2="43.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="43.0" x2="1066.0" y2="44.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="44.0" x2="1066.0" y2="45.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="45.0" x2="1066.0" y2="46.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="46.0" x2="1066.0" y2="47.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="47.0" x2="1066.0" y2="48.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="48.0" x2="1066.0" y2="49.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="49.0" x2="1066.0" y2="50.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="50.0" x2="1066.0" y2="51.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="51.0" x2="1066.0" y2="52.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="52.0" x2="1066.0" y2="53.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="53.0" x2="1066.0" y2="54.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="54.0" x2="1066.0" y2="55.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="55.0" x2="1066.0" y2="56.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="56.0" x2="1066.0" y2="57.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="57.0" x2="1066.0" y2="58.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="58.0" x2="1066.0" y2="59.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="59.0" x2="1066.0" y2="60.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="60.0" x2="1066.0" y2="61.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="61.0" x2="1066.0" y2="62.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="62.0" x2="1066.0" y2="63.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="63.0" x2="1066.0" y2="64.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="64.0" x2="1066.0" y2="65.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="65.0" x2="1066.0" y2="66.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="66.0" x2="1066.0" y2="67.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="67.0" x2="1066.0" y2="68.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="68.0" x2="1066.0" y2="69.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="69.0" x2="1066.0" y2="70.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="70.0" x2="1066.0" y2="71.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="71.0" x2="1066.0" y2="72.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="72.0" x2="1066.0" y2="73.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="73.0" x2="1066.0" y2="74.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="74.0" x2="1066.0" y2="75.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="75.0" x2="1066.0" y2="76.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="76.0" x2="1066.0" y2="77.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="77.0" x2="1066.0" y2="78.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="78.0" x2="1066.0" y2="79.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="79.0" x2="1066.0" y2="80.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="80.0" x2="1066.0" y2="81.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="81.0" x2="1066.0" y2="82.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="82.0" x2="1066.0" y2="83.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="83.0" x2="1066.0" y2="84.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="84.0" x2="1066.0" y2="85.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="85.0" x2="1066.0" y2="86.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="86.0" x2="1066.0" y2="87.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="87.0" x2="1066.0" y2="88.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="88.0" x2="1066.0" y2="89.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="89.0" x2="1066.0" y2="90.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="90.0" x2="1066.0" y2="91.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="91.0" x2="1066.0" y2="92.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="92.0" x2="1066.0" y2="93.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="93.0" x2="1066.0" y2="94.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="94.0" x2="1066.0" y2="95.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="95.0" x2="1066.0" y2="96.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="96.0" x2="1066.0" y2="97.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="97.0" x2="1066.0" y2="98.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="98.0" x2="1066.0" y2="99.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="99.0" x2="1066.0" y2="100.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="100.0" x2="1066.0" y2="101.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="101.0" x2="1066.0" y2="102.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="102.0" x2="1066.0" y2="103.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="103.0" x2="1066.0" y2="104.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="104.0" x2="1066.0" y2="105.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="105.0" x2="1066.0" y2="106.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="106.0" x2="1066.0" y2="107.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="107.0" x2="1066.0" y2="108.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="108.0" x2="1065.0" y2="109.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1065.0" y1="109.0" x2="1064.0" y2="109.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1064.0" y1="109.0" x2="1063.0" y2="109.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1063.0" y1="109.0" x2="1062.0" y2="108.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1062.0" y1="108.0" x2="1061.0" y2="108.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="108.0" x2="1061.0" y2="107.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="107.0" x2="1061.0" y2="106.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="106.0" x2="1061.0" y2="105.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="105.0" x2="1061.0" y2="104.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="104.0" x2="1061.0" y2="103.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="103.0" x2="1061.0" y2="102.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="102.0" x2="1061.0" y2="101.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="101.0" x2="1061.0" y2="100.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="100.0" x2="1061.0" y2="99.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="99.0" x2="1061.0" y2="98.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="98.0" x2="1061.0" y2="97.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="97.0" x2="1061.0" y2="96.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="96.0" x2="1061.0" y2="95.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="95.0" x2="1061.0" y2="94.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="94.0" x2="1061.0" y2="93.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="93.0" x2="1061.0" y2="92.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="92.0" x2="1061.0" y2="91.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="91.0" x2="1061.0" y2="90.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="90.0" x2="1061.0" y2="89.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="89.0" x2="1061.0" y2="88.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="88.0" x2="1061.0" y2="87.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="87.0" x2="1061.0" y2="86.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="86.0" x2="1061.0" y2="85.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="85.0" x2="1061.0" y2="84.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="84.0" x2="1061.0" y2="83.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="83.0" x2="1061.0" y2="82.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="82.0" x2="1061.0" y2="81.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="81.0" x2="1061.0" y2="80.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="80.0" x2="1061.0" y2="79.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="79.0" x2="1061.0" y2="78.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="78.0" x2="1061.0" y2="77.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="77.0" x2="1061.0" y2="76.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="76.0" x2="1061.0" y2="75.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="75.0" x2="1061.0" y2="74.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="74.0" x2="1061.0" y2="73.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="73.0" x2="1061.0" y2="72.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="72.0" x2="1061.0" y2="71.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="71.0" x2="1061.0" y2="70.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="70.0" x2="1061.0" y2="69.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="69.0" x2="1061.0" y2="68.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="68.0" x2="1061.0" y2="67.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="67.0" x2="1061.0" y2="66.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="66.0" x2="1061.0" y2="65.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="65.0" x2="1061.0" y2="64.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="64.0" x2="1061.0" y2="63.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="63.0" x2="1061.0" y2="62.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="62.0" x2="1061.0" y2="61.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="61.0" x2="1061.0" y2="60.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="60.0" x2="1061.0" y2="59.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="59.0" x2="1061.0" y2="58.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="58.0" x2="1061.0" y2="57.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="57.0" x2="1061.0" y2="56.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="56.0" x2="1061.0" y2="55.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="55.0" x2="1061.0" y2="54.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="54.0" x2="1061.0" y2="53.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="53.0" x2="1061.0" y2="52.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="52.0" x2="1061.0" y2="51.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="51.0" x2="1061.0" y2="50.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="50.0" x2="1061.0" y2="49.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="49.0" x2="1061.0" y2="48.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="48.0" x2="1061.0" y2="47.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="47.0" x2="1061.0" y2="46.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="46.0" x2="1061.0" y2="45.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="45.0" x2="1061.0" y2="44.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="44.0" x2="1061.0" y2="43.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="43.0" x2="1061.0" y2="42.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="42.0" x2="1061.0" y2="41.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="41.0" x2="1061.0" y2="40.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="40.0" x2="1061.0" y2="39.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="39.0" x2="1061.0" y2="38.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="38.0" x2="1061.0" y2="37.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="37.0" x2="1061.0" y2="36.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="36.0" x2="1061.0" y2="35.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="35.0" x2="1061.0" y2="34.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="34.0" x2="1061.0" y2="33.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="33.0" x2="1061.0" y2="32.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="32.0" x2="1061.0" y2="31.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="31.0" x2="1061.0" y2="30.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="30.0" x2="1061.0" y2="29.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="29.0" x2="1061.0" y2="28.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="28.0" x2="1061.0" y2="27.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="27.0" x2="1061.0" y2="26.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="26.0" x2="1061.0" y2="25.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="25.0" x2="1061.0" y2="24.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="24.0" x2="1061.0" y2="23.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="23.0" x2="1061.0" y2="22.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="22.0" x2="1061.0" y2="21.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="21.0" x2="1061.0" y2="20.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="20.0" x2="1061.0" y2="19.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="19.0" x2="1061.0" y2="18.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="18.0" x2="1061.0" y2="17.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="17.0" x2="1061.0" y2="16.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="16.0" x2="1061.0" y2="15.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="15.0" x2="1061.0" y2="14.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="14.0" x2="1061.0" y2="13.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="13.0" x2="1061.0" y2="12.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="12.0" x2="1061.0" y2="11.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="11.0" x2="1061.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="10.0" x2="1062.0" y2="10.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1062.0" y1="10.0" x2="1063.0" y2="9.0" fill="red" stroke-width="0.5"/>
+ </g>
+</svg>

src/test/resources/org/xmlcml/image/lines/contours/10.svg

Added
New image
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="800.0" width="700.0" xmlns="http://www.w3.org/2000/svg">
+ <g>
+  <line stroke="black" x1="707.0" y1="774.0" x2="708.0" y2="774.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="774.0" x2="709.0" y2="774.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="774.0" x2="710.0" y2="774.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="774.0" x2="711.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="775.0" x2="712.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="775.0" x2="713.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="713.0" y1="775.0" x2="714.0" y2="776.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="776.0" x2="714.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="777.0" x2="714.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="778.0" x2="714.0" y2="779.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="779.0" x2="714.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="778.0" x2="714.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="777.0" x2="713.0" y2="776.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="713.0" y1="776.0" x2="712.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="775.0" x2="711.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="775.0" x2="710.0" y2="774.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="774.0" x2="709.0" y2="774.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="774.0" x2="708.0" y2="774.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="774.0" x2="707.0" y2="774.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="774.0" x2="706.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="775.0" x2="705.0" y2="776.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="776.0" x2="704.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="777.0" x2="704.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="778.0" x2="704.0" y2="779.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="779.0" x2="704.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="780.0" x2="704.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="781.0" x2="705.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="782.0" x2="706.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="783.0" x2="707.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="783.0" x2="708.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="784.0" x2="709.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="785.0" x2="710.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="785.0" x2="711.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="786.0" x2="711.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="787.0" x2="711.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="788.0" x2="711.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="789.0" x2="710.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="790.0" x2="709.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="790.0" x2="708.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="790.0" x2="707.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="790.0" x2="706.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="790.0" x2="705.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="789.0" x2="704.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="788.0" x2="703.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="703.0" y1="789.0" x2="703.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="703.0" y1="790.0" x2="704.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="791.0" x2="705.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="792.0" x2="706.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="792.0" x2="707.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="793.0" x2="708.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="793.0" x2="709.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="793.0" x2="710.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="793.0" x2="711.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="792.0" x2="712.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="791.0" x2="713.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="713.0" y1="790.0" x2="714.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="789.0" x2="714.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="788.0" x2="714.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="787.0" x2="714.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="786.0" x2="713.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="713.0" y1="785.0" x2="712.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="784.0" x2="711.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="783.0" x2="710.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="782.0" x2="709.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="782.0" x2="708.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="781.0" x2="707.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="780.0" x2="706.0" y2="779.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="779.0" x2="706.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="778.0" x2="707.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="777.0" x2="708.0" y2="776.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="776.0" x2="709.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="777.0" x2="710.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="777.0" x2="711.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="777.0" x2="712.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="778.0" x2="712.0" y2="779.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="779.0" x2="711.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="778.0" x2="710.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="777.0" x2="709.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="777.0" x2="708.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="777.0" x2="707.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="777.0" x2="706.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="778.0" x2="707.0" y2="779.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="779.0" x2="708.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="780.0" x2="709.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="781.0" x2="710.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="782.0" x2="711.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="782.0" x2="712.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="783.0" x2="713.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="713.0" y1="784.0" x2="714.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="785.0" x2="714.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="786.0" x2="714.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="787.0" x2="714.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="788.0" x2="714.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="789.0" x2="714.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="714.0" y1="790.0" x2="713.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="713.0" y1="791.0" x2="712.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="712.0" y1="792.0" x2="711.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="792.0" x2="710.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="793.0" x2="709.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="793.0" x2="708.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="793.0" x2="707.0" y2="793.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="793.0" x2="706.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="792.0" x2="705.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="792.0" x2="704.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="792.0" x2="703.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="703.0" y1="791.0" x2="702.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="702.0" y1="792.0" x2="701.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="791.0" x2="700.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="700.0" y1="792.0" x2="699.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="699.0" y1="791.0" x2="698.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="791.0" x2="697.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="697.0" y1="792.0" x2="696.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="792.0" x2="695.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="792.0" x2="694.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="694.0" y1="791.0" x2="693.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="791.0" x2="693.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="790.0" x2="692.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="692.0" y1="789.0" x2="693.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="788.0" x2="693.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="787.0" x2="693.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="786.0" x2="693.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="785.0" x2="693.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="784.0" x2="693.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="783.0" x2="693.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="782.0" x2="693.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="781.0" x2="694.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="694.0" y1="780.0" x2="695.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="780.0" x2="696.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="780.0" x2="697.0" y2="779.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="697.0" y1="779.0" x2="696.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="780.0" x2="695.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="781.0" x2="696.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="782.0" x2="695.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="783.0" x2="694.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="694.0" y1="784.0" x2="693.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="785.0" x2="694.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="694.0" y1="786.0" x2="693.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="787.0" x2="693.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="788.0" x2="692.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="692.0" y1="789.0" x2="693.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="693.0" y1="790.0" x2="694.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="694.0" y1="791.0" x2="695.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="792.0" x2="696.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="791.0" x2="697.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="697.0" y1="792.0" x2="698.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="791.0" x2="699.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="699.0" y1="790.0" x2="698.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="789.0" x2="697.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="697.0" y1="789.0" x2="696.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="789.0" x2="695.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="789.0" x2="695.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="788.0" x2="696.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="787.0" x2="695.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="695.0" y1="788.0" x2="696.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="696.0" y1="789.0" x2="697.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="697.0" y1="789.0" x2="698.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="788.0" x2="698.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="787.0" x2="698.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="786.0" x2="698.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="785.0" x2="698.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="784.0" x2="698.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="783.0" x2="698.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="698.0" y1="782.0" x2="699.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="699.0" y1="783.0" x2="700.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="700.0" y1="782.0" x2="700.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="700.0" y1="781.0" x2="699.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="699.0" y1="780.0" x2="700.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="700.0" y1="780.0" x2="700.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="700.0" y1="781.0" x2="701.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="782.0" x2="701.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="783.0" x2="701.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="784.0" x2="701.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="785.0" x2="701.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="786.0" x2="701.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="787.0" x2="701.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="788.0" x2="701.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="789.0" x2="701.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="790.0" x2="701.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="701.0" y1="791.0" x2="702.0" y2="792.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="702.0" y1="792.0" x2="703.0" y2="791.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="703.0" y1="791.0" x2="703.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="703.0" y1="790.0" x2="703.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="703.0" y1="789.0" x2="703.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="703.0" y1="788.0" x2="704.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="788.0" x2="705.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="787.0" x2="705.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="788.0" x2="706.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="789.0" x2="707.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="790.0" x2="708.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="790.0" x2="709.0" y2="790.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="790.0" x2="710.0" y2="789.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="789.0" x2="711.0" y2="788.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="788.0" x2="711.0" y2="787.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="711.0" y1="787.0" x2="710.0" y2="786.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="710.0" y1="786.0" x2="709.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="709.0" y1="785.0" x2="708.0" y2="785.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="708.0" y1="785.0" x2="707.0" y2="784.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="707.0" y1="784.0" x2="706.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="783.0" x2="705.0" y2="783.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="783.0" x2="704.0" y2="782.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="782.0" x2="704.0" y2="781.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="781.0" x2="704.0" y2="780.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="780.0" x2="704.0" y2="779.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="779.0" x2="704.0" y2="778.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="778.0" x2="704.0" y2="777.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="777.0" x2="704.0" y2="776.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="704.0" y1="776.0" x2="705.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="705.0" y1="775.0" x2="706.0" y2="775.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="706.0" y1="775.0" x2="707.0" y2="774.0" fill="red" stroke-width="0.5"/>
+ </g>
+</svg>

src/test/resources/org/xmlcml/image/lines/contours/11.svg

Added
New image
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="800.0" width="700.0" xmlns="http://www.w3.org/2000/svg">
+ <g>
+  <line stroke="black" x1="772.0" y1="846.0" x2="773.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="846.0" x2="774.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="846.0" x2="775.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="775.0" y1="847.0" x2="776.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="776.0" y1="848.0" x2="776.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="776.0" y1="849.0" x2="777.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="850.0" x2="777.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="851.0" x2="778.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="852.0" x2="778.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="853.0" x2="779.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="779.0" y1="854.0" x2="779.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="779.0" y1="855.0" x2="780.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="780.0" y1="856.0" x2="781.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="781.0" y1="855.0" x2="781.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="781.0" y1="854.0" x2="782.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="782.0" y1="853.0" x2="782.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="782.0" y1="852.0" x2="783.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="783.0" y1="851.0" x2="784.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="850.0" x2="784.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="849.0" x2="784.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="848.0" x2="785.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="785.0" y1="847.0" x2="786.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="846.0" x2="787.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="787.0" y1="846.0" x2="788.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="788.0" y1="846.0" x2="789.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="846.0" x2="789.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="847.0" x2="789.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="848.0" x2="789.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="849.0" x2="789.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="850.0" x2="789.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="851.0" x2="789.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="852.0" x2="789.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="853.0" x2="789.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="854.0" x2="789.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="855.0" x2="789.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="856.0" x2="789.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="857.0" x2="789.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="858.0" x2="789.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="859.0" x2="789.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="860.0" x2="789.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="861.0" x2="789.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="862.0" x2="788.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="788.0" y1="863.0" x2="787.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="787.0" y1="863.0" x2="786.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="863.0" x2="786.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="862.0" x2="786.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="861.0" x2="786.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="860.0" x2="786.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="859.0" x2="786.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="858.0" x2="786.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="857.0" x2="786.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="856.0" x2="786.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="855.0" x2="786.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="854.0" x2="786.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="853.0" x2="786.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="852.0" x2="786.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="851.0" x2="786.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="850.0" x2="786.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="851.0" x2="786.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="852.0" x2="786.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="853.0" x2="786.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="854.0" x2="786.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="855.0" x2="786.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="856.0" x2="786.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="857.0" x2="786.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="858.0" x2="786.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="859.0" x2="786.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="860.0" x2="786.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="861.0" x2="786.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="862.0" x2="787.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="787.0" y1="863.0" x2="788.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="788.0" y1="863.0" x2="789.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="862.0" x2="789.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="861.0" x2="789.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="860.0" x2="789.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="859.0" x2="789.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="858.0" x2="789.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="857.0" x2="789.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="856.0" x2="789.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="855.0" x2="789.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="854.0" x2="789.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="853.0" x2="789.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="852.0" x2="789.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="851.0" x2="789.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="850.0" x2="789.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="849.0" x2="789.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="848.0" x2="789.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="789.0" y1="847.0" x2="788.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="788.0" y1="846.0" x2="787.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="787.0" y1="846.0" x2="786.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="786.0" y1="847.0" x2="785.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="785.0" y1="848.0" x2="784.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="849.0" x2="784.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="850.0" x2="783.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="783.0" y1="851.0" x2="783.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="783.0" y1="852.0" x2="782.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="782.0" y1="853.0" x2="782.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="782.0" y1="854.0" x2="781.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="781.0" y1="855.0" x2="780.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="780.0" y1="856.0" x2="780.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="780.0" y1="857.0" x2="780.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="780.0" y1="858.0" x2="780.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="780.0" y1="857.0" x2="779.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="779.0" y1="856.0" x2="779.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="779.0" y1="855.0" x2="778.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="854.0" x2="778.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="853.0" x2="777.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="852.0" x2="777.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="851.0" x2="777.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="850.0" x2="776.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="776.0" y1="849.0" x2="775.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="775.0" y1="848.0" x2="774.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="847.0" x2="773.0" y2="846.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="846.0" x2="772.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="847.0" x2="771.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="848.0" x2="772.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="849.0" x2="773.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="850.0" x2="774.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="851.0" x2="774.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="852.0" x2="775.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="775.0" y1="853.0" x2="775.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="775.0" y1="854.0" x2="776.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="776.0" y1="855.0" x2="776.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="776.0" y1="856.0" x2="777.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="857.0" x2="777.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="858.0" x2="778.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="859.0" x2="778.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="860.0" x2="779.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="779.0" y1="861.0" x2="780.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="780.0" y1="861.0" x2="781.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="781.0" y1="860.0" x2="782.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="782.0" y1="859.0" x2="782.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="782.0" y1="858.0" x2="783.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="783.0" y1="857.0" x2="783.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="783.0" y1="856.0" x2="784.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="855.0" x2="784.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="854.0" x2="784.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="855.0" x2="784.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="784.0" y1="856.0" x2="783.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="783.0" y1="857.0" x2="783.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="783.0" y1="858.0" x2="782.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="782.0" y1="859.0" x2="781.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="781.0" y1="860.0" x2="781.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="781.0" y1="861.0" x2="780.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="780.0" y1="861.0" x2="779.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="779.0" y1="861.0" x2="778.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="861.0" x2="778.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="778.0" y1="860.0" x2="777.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="859.0" x2="777.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="777.0" y1="858.0" x2="776.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="776.0" y1="857.0" x2="776.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="776.0" y1="856.0" x2="775.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="775.0" y1="855.0" x2="775.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="775.0" y1="854.0" x2="774.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="853.0" x2="774.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="852.0" x2="773.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="851.0" x2="772.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="851.0" x2="771.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="852.0" x2="771.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="853.0" x2="771.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="854.0" x2="771.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="855.0" x2="771.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="856.0" x2="771.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="857.0" x2="771.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="858.0" x2="771.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="859.0" x2="771.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="860.0" x2="771.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="861.0" x2="771.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="862.0" x2="772.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="863.0" x2="773.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="863.0" x2="774.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="862.0" x2="774.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="861.0" x2="773.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="860.0" x2="773.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="859.0" x2="773.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="858.0" x2="773.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="857.0" x2="773.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="856.0" x2="773.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="855.0" x2="773.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="856.0" x2="773.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="857.0" x2="773.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="858.0" x2="773.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="859.0" x2="774.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="860.0" x2="774.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="861.0" x2="774.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="862.0" x2="774.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="774.0" y1="863.0" x2="773.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="773.0" y1="863.0" x2="772.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="863.0" x2="771.0" y2="863.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="863.0" x2="771.0" y2="862.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="862.0" x2="771.0" y2="861.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="861.0" x2="771.0" y2="860.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="860.0" x2="771.0" y2="859.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="859.0" x2="771.0" y2="858.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="858.0" x2="771.0" y2="857.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="857.0" x2="771.0" y2="856.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="856.0" x2="771.0" y2="855.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="855.0" x2="771.0" y2="854.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="854.0" x2="771.0" y2="853.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="853.0" x2="771.0" y2="852.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="852.0" x2="772.0" y2="851.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="851.0" x2="772.0" y2="850.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="850.0" x2="772.0" y2="849.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="849.0" x2="771.0" y2="848.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="771.0" y1="848.0" x2="772.0" y2="847.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="772.0" y1="847.0" x2="772.0" y2="846.0" fill="red" stroke-width="0.5"/>
+ </g>
+</svg>

src/test/resources/org/xmlcml/image/lines/contours/12.svg

Added
New image
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="800.0" width="700.0" xmlns="http://www.w3.org/2000/svg">
+ <g>
+  <line stroke="black" x1="1061.0" y1="877.0" x2="1062.0" y2="877.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1062.0" y1="877.0" x2="1063.0" y2="877.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1063.0" y1="877.0" x2="1064.0" y2="877.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1064.0" y1="877.0" x2="1065.0" y2="877.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1065.0" y1="877.0" x2="1066.0" y2="877.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="877.0" x2="1066.0" y2="878.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="878.0" x2="1066.0" y2="879.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="879.0" x2="1066.0" y2="880.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="880.0" x2="1066.0" y2="881.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="881.0" x2="1066.0" y2="882.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="882.0" x2="1066.0" y2="883.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="883.0" x2="1066.0" y2="884.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="884.0" x2="1066.0" y2="885.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="885.0" x2="1066.0" y2="886.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="886.0" x2="1066.0" y2="887.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="887.0" x2="1066.0" y2="888.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="888.0" x2="1066.0" y2="889.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="889.0" x2="1066.0" y2="890.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="890.0" x2="1066.0" y2="891.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="891.0" x2="1066.0" y2="892.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="892.0" x2="1066.0" y2="893.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="893.0" x2="1066.0" y2="894.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="894.0" x2="1066.0" y2="895.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="895.0" x2="1066.0" y2="896.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="896.0" x2="1066.0" y2="897.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="897.0" x2="1066.0" y2="898.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="898.0" x2="1066.0" y2="899.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="899.0" x2="1066.0" y2="900.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="900.0" x2="1066.0" y2="901.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="901.0" x2="1066.0" y2="902.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="902.0" x2="1066.0" y2="903.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="903.0" x2="1066.0" y2="904.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="904.0" x2="1066.0" y2="905.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="905.0" x2="1066.0" y2="906.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="906.0" x2="1066.0" y2="907.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="907.0" x2="1066.0" y2="908.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="908.0" x2="1066.0" y2="909.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="909.0" x2="1066.0" y2="910.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="910.0" x2="1066.0" y2="911.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="911.0" x2="1066.0" y2="912.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="912.0" x2="1066.0" y2="913.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="913.0" x2="1066.0" y2="914.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="914.0" x2="1066.0" y2="915.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="915.0" x2="1066.0" y2="916.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="916.0" x2="1066.0" y2="917.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="917.0" x2="1066.0" y2="918.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="918.0" x2="1066.0" y2="919.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="919.0" x2="1066.0" y2="920.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="920.0" x2="1066.0" y2="921.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="921.0" x2="1066.0" y2="922.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="922.0" x2="1066.0" y2="923.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="923.0" x2="1066.0" y2="924.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="924.0" x2="1066.0" y2="925.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="925.0" x2="1066.0" y2="926.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="926.0" x2="1066.0" y2="927.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="927.0" x2="1066.0" y2="928.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="928.0" x2="1066.0" y2="929.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="929.0" x2="1066.0" y2="930.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="930.0" x2="1066.0" y2="931.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="931.0" x2="1066.0" y2="932.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="932.0" x2="1066.0" y2="933.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="933.0" x2="1066.0" y2="934.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="934.0" x2="1066.0" y2="935.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="935.0" x2="1066.0" y2="936.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="936.0" x2="1066.0" y2="937.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="937.0" x2="1066.0" y2="938.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="938.0" x2="1066.0" y2="939.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="939.0" x2="1066.0" y2="940.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="940.0" x2="1066.0" y2="941.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="941.0" x2="1066.0" y2="942.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="942.0" x2="1066.0" y2="943.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="943.0" x2="1066.0" y2="944.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="944.0" x2="1066.0" y2="945.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="945.0" x2="1066.0" y2="946.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="946.0" x2="1066.0" y2="947.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="947.0" x2="1066.0" y2="948.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="948.0" x2="1066.0" y2="949.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="949.0" x2="1066.0" y2="950.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="950.0" x2="1066.0" y2="951.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="951.0" x2="1066.0" y2="952.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="952.0" x2="1066.0" y2="953.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="953.0" x2="1066.0" y2="954.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="954.0" x2="1066.0" y2="955.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="955.0" x2="1066.0" y2="956.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="956.0" x2="1066.0" y2="957.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="957.0" x2="1066.0" y2="958.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="958.0" x2="1066.0" y2="959.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="959.0" x2="1066.0" y2="960.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="960.0" x2="1066.0" y2="961.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="961.0" x2="1066.0" y2="962.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="962.0" x2="1066.0" y2="963.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="963.0" x2="1066.0" y2="964.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="964.0" x2="1066.0" y2="965.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="965.0" x2="1066.0" y2="966.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="966.0" x2="1066.0" y2="967.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="967.0" x2="1066.0" y2="968.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="968.0" x2="1066.0" y2="969.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="969.0" x2="1066.0" y2="970.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="970.0" x2="1066.0" y2="971.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="971.0" x2="1066.0" y2="972.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="972.0" x2="1066.0" y2="973.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="973.0" x2="1066.0" y2="974.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="974.0" x2="1066.0" y2="975.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="975.0" x2="1066.0" y2="976.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="976.0" x2="1066.0" y2="977.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="977.0" x2="1066.0" y2="978.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="978.0" x2="1066.0" y2="979.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="979.0" x2="1066.0" y2="980.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="980.0" x2="1066.0" y2="981.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="981.0" x2="1066.0" y2="982.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="982.0" x2="1066.0" y2="983.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="983.0" x2="1066.0" y2="984.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="984.0" x2="1066.0" y2="985.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="985.0" x2="1066.0" y2="986.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="986.0" x2="1066.0" y2="987.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="987.0" x2="1066.0" y2="988.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="988.0" x2="1066.0" y2="989.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="989.0" x2="1066.0" y2="990.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="990.0" x2="1066.0" y2="991.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="991.0" x2="1066.0" y2="992.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="992.0" x2="1066.0" y2="993.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="993.0" x2="1066.0" y2="994.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="994.0" x2="1066.0" y2="995.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="995.0" x2="1066.0" y2="996.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="996.0" x2="1066.0" y2="997.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="997.0" x2="1066.0" y2="998.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="998.0" x2="1066.0" y2="999.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="999.0" x2="1066.0" y2="1000.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1000.0" x2="1066.0" y2="1001.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1001.0" x2="1066.0" y2="1002.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1002.0" x2="1066.0" y2="1003.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1003.0" x2="1066.0" y2="1004.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1004.0" x2="1066.0" y2="1005.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1005.0" x2="1066.0" y2="1006.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1006.0" x2="1066.0" y2="1007.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1007.0" x2="1066.0" y2="1008.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1008.0" x2="1066.0" y2="1009.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1009.0" x2="1066.0" y2="1010.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1010.0" x2="1066.0" y2="1011.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1011.0" x2="1066.0" y2="1012.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1012.0" x2="1066.0" y2="1013.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1013.0" x2="1066.0" y2="1014.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1014.0" x2="1066.0" y2="1015.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1015.0" x2="1066.0" y2="1016.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1016.0" x2="1066.0" y2="1017.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1017.0" x2="1066.0" y2="1018.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1018.0" x2="1066.0" y2="1019.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1019.0" x2="1066.0" y2="1020.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1020.0" x2="1066.0" y2="1021.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1021.0" x2="1066.0" y2="1022.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1022.0" x2="1066.0" y2="1023.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1023.0" x2="1066.0" y2="1024.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1024.0" x2="1066.0" y2="1025.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1025.0" x2="1066.0" y2="1026.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1026.0" x2="1066.0" y2="1027.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1027.0" x2="1066.0" y2="1028.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1028.0" x2="1066.0" y2="1029.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1029.0" x2="1066.0" y2="1030.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1030.0" x2="1066.0" y2="1031.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1031.0" x2="1066.0" y2="1032.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1032.0" x2="1066.0" y2="1033.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1033.0" x2="1066.0" y2="1034.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1034.0" x2="1066.0" y2="1035.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1035.0" x2="1066.0" y2="1036.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1036.0" x2="1066.0" y2="1037.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1037.0" x2="1066.0" y2="1038.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1038.0" x2="1066.0" y2="1039.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1039.0" x2="1066.0" y2="1040.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1040.0" x2="1066.0" y2="1041.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1041.0" x2="1066.0" y2="1042.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1042.0" x2="1066.0" y2="1043.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1043.0" x2="1066.0" y2="1044.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1044.0" x2="1066.0" y2="1045.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1045.0" x2="1066.0" y2="1046.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1046.0" x2="1066.0" y2="1047.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1047.0" x2="1066.0" y2="1048.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1048.0" x2="1066.0" y2="1049.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1049.0" x2="1066.0" y2="1050.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1050.0" x2="1066.0" y2="1051.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1051.0" x2="1066.0" y2="1052.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1052.0" x2="1066.0" y2="1053.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1066.0" y1="1053.0" x2="1065.0" y2="1053.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1065.0" y1="1053.0" x2="1064.0" y2="1054.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1064.0" y1="1054.0" x2="1063.0" y2="1054.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1063.0" y1="1054.0" x2="1062.0" y2="1053.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1062.0" y1="1053.0" x2="1061.0" y2="1053.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1053.0" x2="1061.0" y2="1052.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1052.0" x2="1061.0" y2="1051.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1051.0" x2="1061.0" y2="1050.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1050.0" x2="1061.0" y2="1049.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1049.0" x2="1061.0" y2="1048.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1048.0" x2="1061.0" y2="1047.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1047.0" x2="1061.0" y2="1046.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1046.0" x2="1061.0" y2="1045.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1045.0" x2="1061.0" y2="1044.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1044.0" x2="1061.0" y2="1043.0" fill="red" stroke-width="0.5"/>
+  <line stroke="black" x1="1061.0" y1="1043.0" x2="1061.0" y2="1042.0" fill="red" stroke-width="0.5"/>