GPU accelerated image processing for everyone
Visualises two 2D images as one RGB image.
The first channel is shown in grey, the second with glasbey LUT.
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_showGlasbeyOnGrey(Image red, Image labelling, String title);
// init CLIJ and GPU import net.haesleinhuepf.clijx.CLIJx; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; CLIJx clijx = CLIJx.getInstance(); // get input parameters ClearCLBuffer red = clijx.push(redImagePlus); ClearCLBuffer labelling = clijx.push(labellingImagePlus);
// Execute operation on GPU clijx.showGlasbeyOnGrey(red, labelling, title);
// show result // cleanup memory on GPU clijx.release(red); clijx.release(labelling);
% init CLIJ and GPU clijx = init_clatlabx(); % get input parameters red = clijx.pushMat(red_matrix); labelling = clijx.pushMat(labelling_matrix);
% Execute operation on GPU clijx.showGlasbeyOnGrey(red, labelling, title);
% show result % cleanup memory on GPU clijx.release(red); clijx.release(labelling);