CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

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

This reference contains all methods currently available in CLIJ, CLIJ2 and CLIJx for processing graphs.. 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

adjacencyMatrixToTouchMatrix

Converts a adjacency matrix in a touch matrix.

averageDistanceOfNClosestNeighborsMap (Experimental)

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

averageDistanceOfNClosestPoints

Determines the average of the n closest points for every point in a distance matrix.

averageDistanceOfNFarOffPoints

Determines the average of the n far off (most distant) points for every point in a distance matrix.

averageDistanceOfTouchingNeighbors

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

averageNeighborDistanceMap (Experimental)

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

D

distanceMatrixToMesh

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

drawDistanceMeshBetweenTouchingLabels (Experimental)

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

drawMeshBetweenNClosestLabels (Experimental)

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

drawMeshBetweenProximalLabels (Experimental)

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

drawMeshBetweenTouchingLabels (Experimental)

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

drawTouchCountMeshBetweenTouchingLabels (Experimental)

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

G

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.

generateDistanceMatrixAlongAxis (Experimental)

Computes the distance in X, Y or Z (specified with parameter axis) between all point coordinates given in two point lists.

generateJaccardIndexMatrix

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

generateNNearestNeighborsMatrix (Experimental)

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

generateProximalNeighborsMatrix (Experimental)

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

generateTouchCountMatrix

Takes a label map with n labels and generates a (n+1)*(n+1) matrix where all pixels are set the number of pixels where labels touch (diamond neighborhood).

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.

L

localMaximumAverageDistanceOfNClosestNeighborsMap (Experimental)

Takes a label map, determines distances between all centroids, the mean distance of the n closest points for every point and replaces every label with the maximum distance of touching labels.

localMaximumAverageNeighborDistanceMap (Experimental)

Takes a label map, determines which labels touch, the distance between their centroids and the maximum distancebetween touching neighbors. It then replaces every label with the that value.

localMaximumTouchingNeighborCountMap (Experimental)

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.

localMeanAverageDistanceOfNClosestNeighborsMap (Experimental)

Takes a label map, determines distances between all centroids, the mean distance of the n closest points for every point and replaces every label with the mean distance of touching labels.

localMeanAverageNeighborDistanceMap (Experimental)

Takes a label map, determines which labels touch, the distance between their centroids and the mean distancebetween touching neighbors. It then replaces every label with the that value.

localMeanTouchPortionMap (Experimental)

Takes a label map, determines which labels touch and how much, relatively taking the whole outline of each label into account, and determines for every label with the mean of this value and replaces the label index with that value.

localMeanTouchingNeighborCountMap (Experimental)

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.

localMedianAverageDistanceOfNClosestNeighborsMap (Experimental)

Takes a label map, determines distances between all centroids, the mean distance of the n closest points for every point and replaces every label with the median distance of touching labels.

localMedianAverageNeighborDistanceMap (Experimental)

Takes a label map, determines which labels touch, the distance between their centroids and the median distancebetween touching neighbors. It then replaces every label with the that value.

localMedianTouchingNeighborCountMap (Experimental)

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.

localMinimumAverageDistanceOfNClosestNeighborsMap (Experimental)

Takes a label map, determines distances between all centroids, the mean distance of the n closest points for every point and replaces every label with the minimum distance of touching labels.

localMinimumAverageNeighborDistanceMap (Experimental)

Takes a label map, determines which labels touch, the distance between their centroids and the minimum distancebetween touching neighbors. It then replaces every label with the that value.

localMinimumTouchingNeighborCountMap (Experimental)

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.

localStandardDeviationAverageDistanceOfNClosestNeighborsMap (Experimental)

Takes a label map, determines distances between all centroids, the mean distance of the n closest points for every point and replaces every label with the standard deviation distance of touching labels.

localStandardDeviationAverageNeighborDistanceMap (Experimental)

Takes a label map, determines which labels touch, the distance between their centroids and the standard deviation distancebetween touching neighbors. It then replaces every label with the that value.

localStandardDeviationTouchingNeighborCountMap (Experimental)

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.

M

maximumDistanceOfTouchingNeighbors (Experimental)

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

maximumNeighborDistanceMap (Experimental)

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

maximumOfNNearestNeighborsMap (Experimental)

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 (Experimental)

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 (Experimental)

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: …

meanOfNNearestNeighborsMap (Experimental)

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 (Experimental)

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 (Experimental)

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: …

medianOfTouchingNeighbors

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

medianTouchPortionMap (Experimental)

Starts from a label map, determines median touch portion to neighbors (between 0 and 1) and draws a map.

minimumDistanceOfTouchingNeighbors

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

minimumNeighborDistanceMap (Experimental)

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

minimumOfNNearestNeighborsMap (Experimental)

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 (Experimental)

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.

minimumOfTouchingNeighborsMap (Experimental)

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: …

modeOfNNearestNeighborsMap (Experimental)

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 (Experimental)

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.

modeOfTouchingNeighborsMap (Experimental)

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: …

N

nClosestDistances

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

nClosestPoints

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

neighborCountWithTouchPortionAboveThresholdMap (Experimental)

Starts from a label map, determines touch portion to neighbors, counts those above a given value (between 0 and 1) and draws a map.

neighborDistanceRangeRatioMap (Experimental)

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

neighborsOfNeighbors

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

P

pointIndexListToMesh

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

pointIndexListToTouchMatrix (Experimental)

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

R

readIntensitiesFromMap (Experimental)

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

readValuesFromMap (Experimental)

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

S

shortestDistances

Determine the shortest distance from a distance matrix.

standardDeviationOfNNearestNeighborsMap (Experimental)

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 (Experimental)

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 (Experimental)

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 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: …

T

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 (Experimental)

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

74 methods listed.