CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

CLIJ 1/2/x reference in category ‘pyclesperanto’

This reference contains all methods currently available in CLIJ, CLIJ2 and CLIJx compatible with pyclesperanto.. Read more about CLIJs release cycle

Please note: CLIJ is deprecated. Make the transition to CLIJ2.

Method is available in CLIJ (deprecated release)
Method is available in CLIJ2 (stable release)
Method is available in CLIJx (experimental release)
Method is available in clEsperanto (experimental)

Categories: Binary, Filter, Graphs, Labels, Math, Matrices, Measurements, Projections, Transformations, Detection, CLIc

[A],[B],[C],[D],[E],[F],[G],[H],[I],[J], K,[L],[M],[N],[O],[P], Q,[R],[S],[T],[U],[V],[W], X, Y, Z

A

absolute

Computes the absolute value of every individual pixel x in a given image.

absoluteDifference

Determines the absolute difference pixel by pixel between two images.

addImageAndScalar

Adds a scalar value s to all pixels x of a given image X.

addImages

Calculates the sum of pairs of pixels x and y of two images X and Y.

addImagesWeighted

Calculates the sum of pairs of pixels x and y from images X and Y weighted with factors a and b.

affineTransform

Applies an affine transform to a 3D image.

affineTransform2D

Applies an affine transform to a 2D image.

affineTransform3D

Applies an affine transform to a 3D image.

averageDistanceOfNClosestNeighborsMap

Takes a label map, determines distances between all centroids and replaces every label with the average distance to the n closest neighboring labels.

averageDistanceOfTouchingNeighbors

Takes a touch matrix and a distance matrix to determine the average distance of touching neighbors for every object.

averageNeighborDistanceMap

Takes a label map, determines which labels touch and replaces every label with the average distance to their neighboring labels.

B

binaryAnd

Computes a binary image (containing pixel values 0 and 1) from two images X and Y by connecting pairs of pixels x and y with the binary AND operator &. All pixel values except 0 in the input images are interpreted as 1.

binaryEdgeDetection

Determines pixels/voxels which are on the surface of binary objects and sets only them to 1 in the destination image. All other pixels are set to 0.

binaryNot

Computes a binary image (containing pixel values 0 and 1) from an image X by negating its pixel values x using the binary NOT operator !

binaryOr

Computes a binary image (containing pixel values 0 and 1) from two images X and Y by connecting pairs of pixels x and y with the binary OR operator |.

binarySubtract

Subtracts one binary image from another.

binaryXOr

Computes a binary image (containing pixel values 0 and 1) from two images X and Y by connecting pairs of pixels x and y with the binary operators AND &, OR | and NOT ! implementing the XOR operator.

bottomHatBox

Apply a bottom-hat filter for background subtraction to the input image.

bottomHatSphere

Applies a bottom-hat filter for background subtraction to the input image.

boundingBox

Determines the bounding box of all non-zero pixels in a binary image.

C

centerOfMass

Determines the center of mass of an image or image stack.

centroidsOfBackgroundAndLabels

Determines the centroids of the background and all labels in a label image or image stack.

centroidsOfLabels

Determines the centroids of all labels in a label image or image stack.

clInfo

Outputs information about available OpenCL devices.

closeIndexGapsInLabelMap

Analyses a label map and if there are gaps in the indexing (e.g. label 5 is not present) all subsequent labels will be relabelled.

combineHorizontally

Combines two images or stacks in X.

combineVertically

Combines two images or stacks in Y.

concatenateStacks

Concatenates two stacks in Z.

connectedComponentsLabelingBox

Performs connected components analysis inspecting the box neighborhood of every pixel to a binary image and generates a label map.

connectedComponentsLabelingDiamond

Performs connected components analysis inspecting the diamond neighborhood of every pixel to a binary image and generates a label map.

convolve

Convolve the image with a given kernel image.

copy

Copies an image.

copySlice

This method has two purposes: It copies a 2D image to a given slice z position in a 3D image stack or It copies a given slice at position z in an image stack to a 2D image.

countTouchingNeighbors

Takes a touch matrix as input and delivers a vector with number of touching neighbors per label as a vector.

create2D

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

create3D

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

crop2D

Crops a given rectangle out of a given image.

crop3D

Crops a given sub-stack out of a given image stack.

D

detectLabelEdges

Takes a labelmap and returns an image where all pixels on label edges are set to 1 and all other pixels to 0.

detectMaxima2DBox

Detects local maxima in a given square/cubic neighborhood.

detectMaxima3DBox

Detects local maxima in a given square/cubic neighborhood.

detectMaximaBox

Detects local maxima in a given square/cubic neighborhood.

detectMinima2DBox

Detects local minima in a given square/cubic neighborhood.

detectMinima3DBox

Detects local minima in a given square/cubic neighborhood.

detectMinimaBox

Detects local minima in a given square/cubic neighborhood.

differenceOfGaussian2D

Applies Gaussian blur to the input image twice with different sigma values resulting in two images which are then subtracted from each other.

differenceOfGaussian3D

Applies Gaussian blur to the input image twice with different sigma values resulting in two images which are then subtracted from each other.

dilateBox

Computes a binary image with pixel values 0 and 1 containing the binary dilation of a given input image.

dilateBoxSliceBySlice

Computes a binary image with pixel values 0 and 1 containing the binary dilation of a given input image.

dilateSphere

Computes a binary image with pixel values 0 and 1 containing the binary dilation of a given input image.

dilateSphereSliceBySlice

Computes a binary image with pixel values 0 and 1 containing the binary dilation of a given input image.

distanceMatrixToMesh

Generates a mesh from a distance matric and a list of point coordinates.

divideByGaussianBackground

Applies Gaussian blur to the input image and divides the original by the result.

divideImages

Divides two images X and Y by each other pixel wise.

downsampleSliceBySliceHalfMedian

Scales an image using scaling factors 0.5 for X and Y dimensions. The Z dimension stays untouched.

drawBox

Draws a box at a given start point with given size. All pixels other than in the box are untouched. Consider using set(buffer, 0); in advance.

drawDistanceMeshBetweenTouchingLabels

Starting from a label map, draw lines between touching neighbors resulting in a mesh.

drawLine

Draws a line between two points with a given thickness.

drawMeshBetweenNClosestLabels

Starting from a label map, draw lines between n closest labels for each label resulting in a mesh.

drawMeshBetweenProximalLabels

Starting from a label map, draw lines between labels that are closer than a given distance resulting in a mesh.

drawMeshBetweenTouchingLabels

Starting from a label map, draw lines between touching neighbors resulting in a mesh.

drawSphere

Draws a sphere around a given point with given radii in x, y and z (if 3D).

E

equal

Determines if two images A and B equal pixel wise.

equalConstant

Determines if an image A and a constant b are equal.

erodeBox

Computes a binary image with pixel values 0 and 1 containing the binary erosion of a given input image.

erodeBoxSliceBySlice

Computes a binary image with pixel values 0 and 1 containing the binary erosion of a given input image.

erodeSphere

Computes a binary image with pixel values 0 and 1 containing the binary erosion of a given input image.

erodeSphereSliceBySlice

Computes a binary image with pixel values 0 and 1 containing the binary erosion of a given input image.

euclideanDistanceFromLabelCentroidMap

Takes a label map, determines the centroids of all labels and writes the distance of all labelled pixels to their centroid in the result image. Background pixels stay zero.

excludeLabels

This operation removes labels from a labelmap and renumbers the remaining labels.

excludeLabelsOnEdges

Removes all labels from a label map which touch the edges of the image (in X, Y and Z if the image is 3D).

excludeLabelsOutsideSizeRange

Removes labels from a label map which are not within a certain size range.

excludeLabelsWithValuesOutOfRange

This operation removes labels from a labelmap and renumbers the remaining labels.

excludeLabelsWithValuesWithinRange

This operation removes labels from a labelmap and renumbers the remaining labels.

exponential

Computes base exponential of all pixels values.

extendLabelingViaVoronoi

Takes a label map image and dilates the regions using a octagon shape until they touch.

F

flip2D

Flips an image in X and/or Y direction depending on if flip_x and/or flip_y are set to true or false.

flip3D

Flips an image in X, Y and/or Z direction depending on if flip_x, flip_y and/or flip_z are set to true or false.

G

gammaCorrection

Applies a gamma correction to an image.

gaussianBlur2D

Computes the Gaussian blurred image of an image given two sigma values in X and Y.

gaussianBlur3D

Computes the Gaussian blurred image of an image given two sigma values in X, Y and Z.

generateAngleMatrix (Experimental)

Computes the angle in radians between all point coordinates given in two point lists.

generateBinaryOverlapMatrix

Takes two labelmaps with n and m labels and generates a (n+1)*(m+1) matrix where all pixels are set to 0 exept those where labels overlap between the label maps.

generateDistanceMatrix

Computes the distance between all point coordinates given in two point lists.

generateNNearestNeighborsMatrix

Produces a touch-matrix where the n nearest neighbors are marked as touching neighbors.

generateProximalNeighborsMatrix

Produces a touch-matrix where the neighbors within a given distance range are marked as touching neighbors.

generateTouchMatrix

Takes a labelmap with n labels and generates a (n+1)*(n+1) matrix where all pixels are set to 0 exept those where labels are touching.

gradientX

Computes the gradient of gray values along X.

gradientY

Computes the gradient of gray values along Y.

gradientZ

Computes the gradient of gray values along Z.

greater

Determines if two images A and B greater pixel wise.

greaterConstant

Determines if two images A and B greater pixel wise.

greaterOrEqual

Determines if two images A and B greater or equal pixel wise.

greaterOrEqualConstant

Determines if two images A and B greater or equal pixel wise.

H

histogram

Determines the histogram of a given image.

I

imageJ2GaussianBlur (Experimental)

Apply ImageJ2 / ImageJ Ops Gaussian Blur to an image.

invert

Computes the negative value of all pixels in a given image.

J

jaccardIndex

Determines the overlap of two binary images using the Jaccard index.

L

labelMaximumExtensionMap (Experimental)

Takes a label map, determines for every label the maximum distance of any pixel to the centroid and replaces every label with the that number.

labelMaximumExtensionRatioMap (Experimental)

Takes a label map, determines for every label the extension ratio and replaces every label with the that number.

labelMaximumIntensityMap (Experimental)

Takes an image and a corresponding label map, determines the maximum intensity per label and replaces every label with the that number.

labelMeanExtensionMap (Experimental)

Takes a label map, determines for every label the mean distance of any pixel to the centroid and replaces every label with the that number.

labelMeanIntensityMap (Experimental)

Takes an image and a corresponding label map, determines the mean intensity per label and replaces every label with the that number.

labelMinimumIntensityMap (Experimental)

Takes an image and a corresponding label map, determines the minimum intensity per label and replaces every label with the that number.

labelPixelCountMap (Experimental)

Takes a label map, determines the number of pixels per label and replaces every label with the that number.

labelSpots

Transforms a binary image with single pixles set to 1 to a labelled spots image.

labelStandardDeviationIntensityMap (Experimental)

Takes an image and a corresponding label map, determines the standard deviation of the intensity per label and replaces every label with the that number.

laplaceBox

Applies the Laplace operator (Box neighborhood) to an image.

localMaximumTouchingNeighborCountMap (Experimental)

Deprecated: Takes a label map, determines which labels touch, determines for every label with the number of touching neighboring labels and replaces the label index with the local maximum of this count.

localMeanTouchingNeighborCountMap (Experimental)

Deprecated: Takes a label map, determines which labels touch, determines for every label with the number of touching neighboring labels and replaces the label index with the local mean of this count.

localMedianTouchingNeighborCountMap (Experimental)

Deprecated: Takes a label map, determines which labels touch, determines for every label with the number of touching neighboring labels and replaces the label index with the local median of this count.

localMinimumTouchingNeighborCountMap (Experimental)

Deprecated: Takes a label map, determines which labels touch, determines for every label with the number of touching neighboring labels and replaces the label index with the local minimum of this count.

localStandardDeviationTouchingNeighborCountMap (Experimental)

Deprecated: Takes a label map, determines which labels touch, determines for every label with the number of touching neighboring labels and replaces the label index with the local standard deviation of this count.

logarithm

Computes base e logarithm of all pixels values.

M

mask

Computes a masked image by applying a binary mask to an image.

maskLabel

Computes a masked image by applying a label mask to an image.

maskedVoronoiLabeling

Takes a binary image, labels connected components and dilates the regions using a octagon shape until they touch and only inside another binary mask image.

maximum2DBox

Computes the local maximum of a pixels rectangular neighborhood.

maximum2DSphere

Computes the local maximum of a pixels ellipsoidal neighborhood.

maximum3DBox

Computes the local maximum of a pixels cube neighborhood.

maximum3DSphere

Computes the local maximum of a pixels spherical neighborhood.

maximumDistanceOfTouchingNeighbors

Takes a touch matrix and a distance matrix to determine the maximum distance of touching neighbors for every object.

maximumImageAndScalar

Computes the maximum of a constant scalar s and each pixel value x in a given image X.

maximumImages

Computes the maximum of a pair of pixel values x, y from two given images X and Y.

maximumOfAllPixels

Determines the maximum of all pixels in a given image.

maximumOfNNearestNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the maximum value of neighboring labels. The distance number of nearest neighbors can be configured. Note: Values of all pixels in a label each must be identical.

maximumOfProximalNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the maximum value of neighboring labels.

maximumOfTouchingNeighbors

Takes a touch matrix and a vector of values to determine the maximum value among touching neighbors for every object.

maximumOfTouchingNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the maximum value of neighboring labels. The radius of the neighborhood can be configured: * radius 0: Nothing is replaced * radius 1: direct neighbors are taken into account * radius 2: neighbors and neighbors or neighbors are taken into account * radius n: …

maximumXProjection

Determines the maximum intensity projection of an image along X.

maximumYProjection

Determines the maximum intensity projection of an image along X.

maximumZProjection

Determines the maximum intensity projection of an image along Z.

mean2DBox

Computes the local mean average of a pixels rectangular neighborhood.

mean2DSphere

Computes the local mean average of a pixels ellipsoidal neighborhood.

mean3DBox

Computes the local mean average of a pixels cube neighborhood.

mean3DSphere

Computes the local mean average of a pixels spherical neighborhood.

meanOfAllPixels

Determines the mean average of all pixels in a given image.

meanOfNNearestNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the minimum value of neighboring labels. The distance number of nearest neighbors can be configured. Note: Values of all pixels in a label each must be identical.

meanOfProximalNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the mean average value of neighboring labels.

meanOfTouchingNeighbors

Takes a touch matrix and a vector of values to determine the mean value among touching neighbors for every object.

meanOfTouchingNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the mean average value of neighboring labels. The radius of the neighborhood can be configured: * radius 0: Nothing is replaced * radius 1: direct neighbors are taken into account * radius 2: neighbors and neighbors or neighbors are taken into account * radius n: …

meanSquaredError

Determines the mean squared error (MSE) between two images.

meanXProjection

Determines the mean average intensity projection of an image along X.

meanYProjection

Determines the mean average intensity projection of an image along Y.

meanZProjection

Determines the mean average intensity projection of an image along Z.

medianOfTouchingNeighbors

Takes a touch matrix and a vector of values to determine the median value among touching neighbors for every object.

mergeTouchingLabels

minimum2DBox

Computes the local minimum of a pixels rectangular neighborhood.

minimum2DSphere

Computes the local minimum of a pixels ellipsoidal neighborhood.

minimum3DBox

Computes the local minimum of a pixels cube neighborhood.

minimum3DSphere

Computes the local minimum of a pixels spherical neighborhood.

minimumDistanceOfTouchingNeighbors

Takes a touch matrix and a distance matrix to determine the shortest distance of touching neighbors for every object.

minimumImageAndScalar

Computes the minimum of a constant scalar s and each pixel value x in a given image X.

minimumImages

Computes the minimum of a pair of pixel values x, y from two given images X and Y.

minimumOfAllPixels

Determines the minimum of all pixels in a given image.

minimumOfMaskedPixels

Determines the minimum intensity in a masked image.

minimumOfNNearestNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the minimum value of neighboring labels. The distance number of nearest neighbors can be configured. Note: Values of all pixels in a label each must be identical.

minimumOfProximalNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the minimum value of neighboring labels.

minimumOfTouchingNeighbors

Takes a touch matrix and a vector of values to determine the minimum value among touching neighbors for every object.

minimumOfTouchingNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the minimum value of neighboring labels. The radius of the neighborhood can be configured: * radius 0: Nothing is replaced * radius 1: direct neighbors are taken into account * radius 2: neighbors and neighbors or neighbors are taken into account * radius n: …

minimumXProjection

Determines the minimum intensity projection of an image along Y.

minimumYProjection

Determines the minimum intensity projection of an image along Y.

minimumZProjection

Determines the minimum intensity projection of an image along Z.

modeOfNNearestNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the mode value of neighboring labels. The distance number of nearest neighbors can be configured. Note: Values of all pixels in a label each must be identical.

modeOfProximalNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the most popular value of neighboring labels.

modeOfTouchingNeighbors

Takes a touch matrix and a vector of values to determine the most popular integer value among touching neighbors for every object. TODO: This only works for values between 0 and 255 for now.

modeOfTouchingNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the most popular value of neighboring labels. The radius of the neighborhood can be configured: * radius 0: Nothing is replaced * radius 1: direct neighbors are taken into account * radius 2: neighbors and neighbors or neighbors are taken into account * radius n: …

multiplyImageAndCoordinate

Multiplies all pixel intensities with the x, y or z coordinate, depending on specified dimension.

multiplyImageAndScalar

Multiplies all pixels value x in a given image X with a constant scalar s.

multiplyImages

Multiplies all pairs of pixel values x and y from two images X and Y.

multiplyMatrix

Multiplies two matrices with each other.

N

nClosestPoints

Determine the n point indices with shortest distance for all points in a distance matrix.

neighborsOfNeighbors

Determines neighbors of neigbors from touch matrix and saves the result as a new touch matrix.

nonzeroMaximumBox

Apply a maximum filter (box shape) to the input image.

nonzeroMaximumDiamond

Apply a maximum filter (diamond shape) to the input image.

nonzeroMinimumBox

Apply a minimum filter (box shape) to the input image.

nonzeroMinimumDiamond

Apply a minimum filter (diamond shape) to the input image.

notEqual

Determines if two images A and B equal pixel wise.

notEqualConstant

Determines if two images A and B equal pixel wise.

O

onlyzeroOverwriteMaximumBox

Apply a local maximum filter to an image which only overwrites pixels with value 0.

onlyzeroOverwriteMaximumDiamond

Apply a local maximum filter to an image which only overwrites pixels with value 0.

P

paste2D

Pastes an image into another image at a given position.

paste3D

Pastes an image into another image at a given position.

pointIndexListToMesh

Meshes all points in a given point list which are indiced in a corresponding index list.

pointIndexListToTouchMatrix

Takes a list of point indices to generate a touch matrix (a.k.a. adjacency graph matrix) out of it.

pointlistToLabelledSpots

Takes a pointlist with dimensions n times d with n point coordinates in d dimensions and labels corresponding pixels.

power

Computes all pixels value x to the power of a given exponent a.

powerImages

Calculates x to the power of y pixel wise of two images X and Y.

pull

Copies an image specified by its name from GPU memory back to ImageJ and shows it.

push

Copies an image specified by its name to GPU memory in order to process it there later.

R

readIntensitiesFromMap (Experimental)

Takes a label image and an parametric image and reads parametric values from the labels positions.

reduceStack

Reduces the number of slices in a stack by a given factor. With the offset you have control which slices stay: * With factor 3 and offset 0, slices 0, 3, 6,… are kept. * With factor 4 and offset 1, slices 1, 5, 9,… are kept.

replaceIntensities

Replaces integer intensities specified in a vector image.

replaceIntensity

Replaces a specific intensity in an image with a given new value.

resample

Resamples an image with given size factors using an affine transform.

rigidTransform

Applies a rigid transform using linear interpolation to an image stack.

rotate2D

Rotates an image in plane.

rotate3D

Rotates an image stack in 3D.

S

scale

Scales an image with a given factor.

scale2D

Scales an image with a given factor.

scale3D

Scales an image with a given factor.

set

Sets all pixel values x of a given image X to a constant value v.

setColumn

Sets all pixel values x of a given column in X to a constant value v.

setImageBorders

Sets all pixel values at the image border to a given value.

setNonZeroPixelsToPixelIndex

Sets all pixels in an image which are not zero to the index of the pixel.

setPlane

Sets all pixel values x of a given plane in X to a constant value v.

setRampX

Sets all pixel values to their X coordinate

setRampY

Sets all pixel values to their Y coordinate

setRampZ

Sets all pixel values to their Z coordinate

setRow

Sets all pixel values x of a given row in X to a constant value v.

smaller

Determines if two images A and B smaller pixel wise.

smallerConstant

Determines if two images A and B smaller pixel wise.

smallerOrEqual

Determines if two images A and B smaller or equal pixel wise.

smallerOrEqualConstant

Determines if two images A and B smaller or equal pixel wise.

sobel

Convolve the image with the Sobel kernel.

sorensenDiceCoefficient

Determines the overlap of two binary images using the Sorensen-Dice coefficent.

squaredDifference

Determines the squared difference pixel by pixel between two images.

standardDeviationOfNNearestNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the standard deviation value of neighboring labels. The distance number of nearest neighbors can be configured. Note: Values of all pixels in a label each must be identical.

standardDeviationOfProximalNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the standard deviation value of neighboring labels.

standardDeviationOfTouchingNeighbors

Takes a touch matrix and a vector of values to determine the standard deviation value among touching neighbors for every object.

standardDeviationOfTouchingNeighborsMap

Takes a label image and a parametric intensity image and will replace each labels value in the parametric image by the standard deviation value of touching neighbor labels. The radius of the neighborhood can be configured: * radius 0: Nothing is replaced * radius 1: direct neighbors are taken into account * radius 2: neighbors and neighbors or neighbors are taken into account * radius n: …

standardDeviationZProjection

Determines the standard deviation intensity projection of an image stack along Z.

statisticsOfBackgroundAndLabelledPixels

Determines bounding box, area (in pixels/voxels), min, max and mean intensity of background and labelled objects in a label map and corresponding pixels in the original image.

statisticsOfImage

Determines image size (bounding box), area (in pixels/voxels), min, max and mean intensity of all pixels in the original image.

statisticsOfLabelledPixels

Determines bounding box, area (in pixels/voxels), min, max and mean intensity of labelled objects in a label map and corresponding pixels in the original image.

subtractGaussianBackground (Experimental)

Applies Gaussian blur to the input image and subtracts the result from the original image.

subtractImageFromScalar

Subtracts one image X from a scalar s pixel wise.

subtractImages

Subtracts one image X from another image Y pixel wise.

sumOfAllPixels

Determines the sum of all pixels in a given image.

sumXProjection

Determines the sum intensity projection of an image along Z.

sumYProjection

Determines the sum intensity projection of an image along Z.

sumZProjection

Determines the sum intensity projection of an image along Z.

T

thresholdOtsu

The automatic thresholder utilizes the Otsu threshold method implemented in ImageJ using a histogram determined on the GPU to create binary images as similar as possible to ImageJ ‘Apply Threshold’ method.

topHatBox

Applies a top-hat filter for background subtraction to the input image.

topHatSphere

Applies a top-hat filter for background subtraction to the input image.

touchMatrixToAdjacencyMatrix

Converts a touch matrix in an adjacency matrix

touchMatrixToMesh

Takes a pointlist with dimensions nd with n point coordinates in d dimensions and a touch matrix of size nn to draw lines from all points to points if the corresponding pixel in the touch matrix is 1.

touchingNeighborCountMap

Takes a label map, determines which labels touch and replaces every label with the number of touching neighbor labels.

translate2D

Translate an image stack in X and Y.

translate3D

Translate an image stack in X, Y and Z.

transposeXY

Transpose X and Y axes of an image.

transposeXZ

Transpose X and Z axes of an image.

transposeYZ

Transpose Y and Z axes of an image.

U

undefinedToZero

Copies all pixels instead those which are not a number (NaN) or infinity (inf), which are replaced by 0.

V

voronoiLabeling

Takes a binary image, labels connected components and dilates the regions using a octagon shape until they touch.

voronoiOtsuLabeling

Labeles objects directly from grey-value images.

W

writeValuesToPositions

Takes an image with three/four rows (2D: height = 3; 3D: height = 4): x, y [, z] and v and target image.

258 methods listed.