Package me.kikoqiu.opencl.optflow.util

Examples of me.kikoqiu.opencl.optflow.util.ScaleFilter


  private void initialize() {
    try {
      preprocess=new ImageFilter("data/optflow.c", "preprocess");
      solve=new ImageFilter("data/optflow.c","solve");
      solve_k=new ImageFilter("data/optflow.c","solve_k");
      sfPrev=new ScaleFilter();
      sfNow=new ScaleFilter();
    } catch (IOException e) {
      e.printStackTrace();
    }
  }
View Full Code Here


      inputPrev.dispose();     
    }
    inputPrev=inputNow;
   
    //swap scale filter chains
    ScaleFilter tmp=sfPrev;
    sfPrev=sfNow;
    sfNow=tmp;
   
    return ret;
  }
View Full Code Here

TOP

Related Classes of me.kikoqiu.opencl.optflow.util.ScaleFilter

Copyright © 2018 www.massapicom. 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.