Examples of RgbSubSample


Examples of jjil.algorithm.RgbSubSample

  public boolean push(RgbImage rgb) throws jjil.core.Error {
    final int nReducedHeight = 300;
    final int nReducedWidth = 400;
    // build pipeline
    Sequence seq = new Sequence();
    seq.add(new RgbSubSample(nReducedWidth, nReducedHeight));
    seq.add(new RgbAvgGray());
    seq.add(new Gray8HistEq());
    seq.add(new Gray8HorizVertContrast(5, 2, -8, 3));
    seq.add(new Gray16Threshold(20));
    seq.push(rgb);
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.