Package jjil.algorithm

Examples of jjil.algorithm.RgbAvgGray.push()


    public void push(final RgbImage rgb) {
      if (mHcc != null) {
        mVecRects.clear();
          RgbAvgGray rg = new RgbAvgGray();
          try {
            rg.push(rgb);
            Gray8Image gray = (Gray8Image) rg.getFront();
            Gray8Crop crop = new Gray8Crop(0, 0, mHcc.getWidth(), mHcc.getHeight());
            int nHorizSkip = Math.max(rgb.getWidth()/16, mHcc.getWidth() / 10);
            int nVertSkip = Math.max(rgb.getHeight()/16, mHcc.getHeight() / 10);
            for (int i=0;
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.