示例#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();
            }
        }
示例#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();
     }
 }