/// <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(); } }