Exemple #1
0
        /// <summary>
        /// Apply Multiscale Retinex Algorithm
        /// </summary>
        public void MultiscaleRetinex()
        {
            RetinexParameter param = new RetinexParameter();

            param.ShowDialog();
            if (param.OK)
            {
                MultiscaleRetinex retinex = new MultiscaleRetinex(param.Sigmas, param.Widths, param.FilterSize);
                picFiltered.Image = retinex.Apply((Bitmap)bitmap.Clone());
                SetVisibleSave();
            }
        }
Exemple #2
0
 /// <summary>
 /// Apply Multiscale Retinex Algorithm
 /// </summary>
 public void MultiscaleRetinex() 
 {
     RetinexParameter param = new RetinexParameter();
     param.ShowDialog();
     if (param.OK)
     {
         MultiscaleRetinex retinex = new MultiscaleRetinex(param.Sigmas, param.Widths, param.FilterSize);
         picFiltered.Image = retinex.Apply((Bitmap)bitmap.Clone());
         SetVisibleSave();
     }
 }