GPU accelerated image processing for everyone
Takes a pointlist with dimensions n times d with n point coordinates in d dimensions and labels corresponding pixels.
Category: Labels
Availability: Available in Fiji by activating the update sites clij and clij2. This function is part of clij2_-2.5.0.1.jar.
Ext.CLIJ2_pointlistToLabelledSpots(Image pointlist, Image spots_destination);
// init CLIJ and GPU import net.haesleinhuepf.clij2.CLIJ2; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; CLIJ2 clij2 = CLIJ2.getInstance(); // get input parameters ClearCLBuffer pointlist = clij2.push(pointlistImagePlus); spots_destination = clij2.create(pointlist);
// Execute operation on GPU clij2.pointlistToLabelledSpots(pointlist, spots_destination);
// show result spots_destinationImagePlus = clij2.pull(spots_destination); spots_destinationImagePlus.show(); // cleanup memory on GPU clij2.release(pointlist); clij2.release(spots_destination);
% init CLIJ and GPU clij2 = init_clatlab(); % get input parameters pointlist = clij2.pushMat(pointlist_matrix); spots_destination = clij2.create(pointlist);
% Execute operation on GPU clij2.pointlistToLabelledSpots(pointlist, spots_destination);
% show result spots_destination = clij2.pullMat(spots_destination) % cleanup memory on GPU clij2.release(pointlist); clij2.release(spots_destination);
// init CLIJ and GPU importClass(net.haesleinhuepf.clicy.CLICY); importClass(Packages.icy.main.Icy); clij2 = CLICY.getInstance(); // get input parameters pointlist_sequence = getSequence(); pointlist = clij2.pushSequence(pointlist_sequence); spots_destination = clij2.create(pointlist);
// Execute operation on GPU clij2.pointlistToLabelledSpots(pointlist, spots_destination);
// show result spots_destination_sequence = clij2.pullSequence(spots_destination) Icy.addSequence(spots_destination_sequence); // cleanup memory on GPU clij2.release(pointlist); clij2.release(spots_destination);
import pyclesperanto_prototype as cle cle.pointlist_to_labelled_spots(pointlist, spots_destination)
filtering_in_graphs
neighbors_of_neighbors
mesh_between_touching_neighbors.ipynb
mesh_nearest_neighbors.ipynb
mesh_with_distances.ipynb
shape_descriptors_based_on_neighborhood_graphs.ipynb
connected_component_labeling.ipynb
filtering_in_graphs.ijm
large_matrices.ijm
neighbors_of_neighbors.ijm