public void clear(IImage2d output){
clear.filter(output);
}
public void copy2array(IImage2d input,float[] data){
cl_mem output=Mems.create(context, data.length * Sizeof.cl_float);
try{
Kernels.setArgs(_copy2array, input.getBuffer(), output);
this.exec(_copy2array, input.getWidth(), input.getHeight());
clEnqueueReadBuffer(commandQueue, output,
CL_TRUE, 0, data.length * Sizeof.cl_float,