Examples of HighDefAlpha


Examples of ar.rules.Categories.HighDefAlpha

      colors.put(6, new Color(136,90,68));//Hawaiian
      colors.put(7, new Color(136,90,68));//Other
      colors.put(8, new Color(136,90,68));//Mixed

      Transfer<CategoricalCounts<Object>, CategoricalCounts<Color>> rekey = new Rekey<Object, Color>(new CategoricalCounts<Color>(Util.COLOR_SORTER), colors, Color.BLACK);
      Transfer<CategoricalCounts<Color>, Color> stratAlpha = new HighDefAlpha(Color.white, .1, true);
      return Seq.start(rekey)
            .then(new General.Spread<>(
                new General.Spread.UnitRectangle<CategoricalCounts<Color>>(1),
                new Categories.MergeCategories<Color>()))
            .then(stratAlpha);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.