Exemplo n.º 1
0
 private void fillHistAfterTransfrom(HistCorrection cor)
 {
     chartHistCorrection2.Visible = true;
     chartHistCorrection2.Series["Img"].Points.Clear();
     pictureBox2.Image = cor.ColorImage;
     for (int i = 0; i < 256; ++i)
     {
         chartHistCorrection2.Series["Img"].Points.AddY(cor.IntensityAfterTransform[i]);
     }
 }
Exemplo n.º 2
0
 private void makeGreyAndHist(HistCorrection cor)
 {
     pictureBoxHistCorrection1.Image = cor.RGBtoGrey();
     chartHistCorrection1.Visible    = true;
     chartHistCorrection1.Series["Img"].Points.Clear();
     for (int i = 0; i < 256; ++i)
     {
         chartHistCorrection1.Series["Img"].Points.AddY(cor.IntensitySource[i]);
     }
 }