Pinta.ImageManipulation.HistogramRgb.MakeLevelsAuto C# (CSharp) Method

MakeLevelsAuto() public method

public MakeLevelsAuto ( ) : LevelOp
return Pinta.ImageManipulation.UnaryPixelOperations.LevelOp
		public LevelOp MakeLevelsAuto ()
		{
			ColorBgra lo = GetPercentileColor (0.005f);
			ColorBgra md = GetMeanColor ();
			ColorBgra hi = GetPercentileColor (0.995f);

			return LevelOp.AutoFromLoMdHi (lo, md, hi);
		}
	}