close

CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

create2D

ImageImageImageImage

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.5.0.1.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

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

Example scripts

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

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint