CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

writeXYZPointListToDisc

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.

Usage in ImageJ macro

Ext.CLIJx_writeXYZPointListToDisc(Image pointlist, String filename);

Usage in object oriented programming languages

Java
// 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);
Matlab
% 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);

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint