CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

organiseWindows

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.

Usage in ImageJ macro

Ext.CLIJx_organiseWindows(Number startX, Number startY, Number tilesX, Number tilesY, Number tileWidth, Number tileHeight);

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
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
Matlab
% 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

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint