GPU accelerated image processing for everyone
Takes a point list image representing n points (n2 for 2D points, n3 for 3D points) and exports them in XYZ format.
Availability: Available in Fiji by activating the update sites clij and clij2. This function is part of clijx_-0.32.0.1.jar.
Ext.CLIJx_writeXYZPointListToDisc(Image pointlist, String filename);
// init CLIJ and GPU import net.haesleinhuepf.clijx.CLIJx; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; CLIJx clijx = CLIJx.getInstance(); // get input parameters ClearCLBuffer pointlist = clijx.push(pointlistImagePlus);
// Execute operation on GPU clijx.writeXYZPointListToDisc(pointlist, filename);
// show result // cleanup memory on GPU clijx.release(pointlist);
% init CLIJ and GPU clijx = init_clatlabx(); % get input parameters pointlist = clijx.pushMat(pointlist_matrix);
% Execute operation on GPU clijx.writeXYZPointListToDisc(pointlist, filename);
% show result % cleanup memory on GPU clijx.release(pointlist);