Package me.kikoqiu.opencl.image

Examples of me.kikoqiu.opencl.image.ImageLumi.create()


      if(ww*divider!=w || hh*divider!=h){
        break;
      }
      w=ww;h=hh;
      IImage2d img=new ImageLumi();
      img.create(w, h, true);
      outputs.add(img);
    }
  }
 
  public void filter(IImage2d input){
View Full Code Here


  }
 
  public void filter(IImage2d input){
    for(IImage2d output:outputs){
      IImage2d tmp=new ImageLumi();
      tmp.create(output.getWidth(), output.getHeight()*2, true);
     
      Kernels.setArgs(kernel, input.getBuffer(), tmp.getBuffer());     
      exec(kernel,tmp.getWidth(),tmp.getHeight());     
     
     
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.