public void Normalize() { Plate clone1 = Clone(); clone1.VerticalEdgeDetector(clone1.GetBitmap()); PlateVerticalGraph vertical = clone1.HistogramYaxis(clone1.GetBitmap()); Image = CutTopBottom(Image, vertical); PlateCopy.Image = CutTopBottom(PlateCopy.Image, vertical); Plate clone2 = Clone(); if (HorizontalDetectionType == 1) { clone2.HorizontalEdgeDetector(clone2.GetBitmap()); } PlateHorizontalGraph horizontal = clone1.HistogramXAxis(clone2.GetBitmap()); Image = CutLeftRight(Image, horizontal); PlateCopy.Image = CutLeftRight(PlateCopy.Image, horizontal); }
public PlateHorizontalGraph(Plate plate) { handle = plate; }
public Plate(Bitmap bitmap) : base(bitmap) { PlateCopy = new Plate(DuplicateBitmap(Image), true); PlateCopy.AdaptiveThresholding(); }
public PlateGraph(Plate handle) { this.handle = handle; }
public PlateVerticalGraph(Plate plate) { handle = plate; }