GPU accelerated image processing for everyone
Organises windows on screen.
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_organiseWindows(Number startX, Number startY, Number tilesX, Number tilesY, Number tileWidth, Number tileHeight);
// init CLIJ and GPU import net.haesleinhuepf.clijx.CLIJx; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; CLIJx clijx = CLIJx.getInstance(); // get input parameters int startX = 10; int startY = 20; int tilesX = 30; int tilesY = 40; int tileWidth = 50; int tileHeight = 60;
// Execute operation on GPU clijx.organiseWindows(startX, startY, tilesX, tilesY, tileWidth, tileHeight);
// show result // cleanup memory on GPU
% init CLIJ and GPU clijx = init_clatlabx(); % get input parameters startX = 10; startY = 20; tilesX = 30; tilesY = 40; tileWidth = 50; tileHeight = 60;
% Execute operation on GPU clijx.organiseWindows(startX, startY, tilesX, tilesY, tileWidth, tileHeight);
% show result % cleanup memory on GPU