CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

create2D

Allocated memory for a new 2D image in the GPU memory.

Parameters

destination : Image The new image will be stored in this variable. width : Number The width of the new image. height : Number The height of the new image. bit-depth : Number The bit-depth of the new image. Can be either 8, 16 or 32, to create an image of unsigned-byte, unsigned-short or float type.

Availability: Available in Fiji by activating the update sites clij and clij2. This function is part of clij2_-2.2.0.19.jar.

create2D often follows after

create2D is often followed by

Usage in ImageJ macro

Ext.CLIJ2_create2D(Image destination, Number width, Number height, Number bitDepth);

Example notebooks

basic_image_processing
crop_and_paste
filtering_in_graphs
matrix_multiply
neighbors_of_neighbors
spots_pointlists_matrices_tables
crop_and_paste_images.ipynb
inspecting_3d_images.ipynb
multiply_matrices.ipynb
spots_pointlists_matrices_tables.ipynb
napari_dask.ipynb
mesh_between_centroids.ipynb
shape_descriptors_based_on_neighborhood_graphs.ipynb
Segmentation_3D.ipynb
voronoi_otsu_labeling.ipynb
tribolium_morphometry.ipynb
benchmarking.ipynb
benchmarking_centroids_of_labels.ipynb
benchmarking_some_operations.ipynb
convolution.ipynb
matrix_multiplication.ipynb
statistics_of_labeled_pixels.ipynb

Example scripts

allocateBig2DImages.ijm
basic_image_processing.ijm
centroid_visualisation.ijm
check_if_positions_are_in_roi.ijm
createImages.ijm
crop_and_paste.ijm
customOperation.ijm
custom_opencl.ijm
drawLine.ijm
filtering_in_graphs.ijm
grid.ijm
intensity_per_label.ijm
large_matrices.ijm
make_super_blobs.ijm
matrix_multiply.ijm
meshTouchingNeighbors.ijm
mesh_closest_points.ijm
neighbors_of_neighbors.ijm
rotating_sphere.ijm
spots_pointlists_matrices_tables.ijm
tribolium.py

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint