public ElastoBlob(Blob blob, Contour contour) : base(blob, contour)
        {
            int leftContoursTopIndex;
            int rightContoursTopIndex;
            int leftContoursBottomIndex  = LeftContoursBottomIndexes(contour, out leftContoursTopIndex);
            int rightContoursBottomIndex = RightContoursBottomIndexes(contour, out rightContoursTopIndex);

            LeftContour  = new Contour(contour.Points.GetRange(leftContoursBottomIndex, leftContoursTopIndex - leftContoursBottomIndex));
            RightContour = new Contour(contour.Points.GetRange(rightContoursTopIndex, rightContoursBottomIndex - rightContoursTopIndex));
        }
 public void FillBlob(Blobs.Blob blob, byte color = BlackBrightness)
 {
     for (int y = 0; y < blob.Rectangle.Height; y++)
     {
         for (int x = 0; x < blob.Rectangle.Width; x++)
         {
             if (blob.Object[y * blob.Rectangle.Width + x])
             {
                 Data[y + blob.Rectangle.Y, +blob.Rectangle.X + x] = color;
             }
         }
     }
 }