private void Operations() { numberofcolor.Text = ImageOperations.Get_Number_of_color(ImageMatrix).ToString(); MST mst = ImageOperations.MST_Weight(ImageMatrix); MST_Sum.Text = mst.Weight.ToString(); RGBPixelD[,,] pallete = ImageOperations.Extract_color_palette(mst, Convert.ToInt32(clusterTxT.Text)); ImageOperations.Quntization(ImageMatrix, pallete); ImageOperations.DisplayImage(ImageMatrix, pictureBox2); }
private void mailestoneOne() { numberofcolor.Text = ImageOperations.Get_Number_of_color(ImageMatrix).ToString(); mst = ImageOperations.MST_Weight(ImageMatrix); MST_Sum.Text = mst.Weight.ToString(); }