CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

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

This reference contains all methods currently available in CLIJ, CLIJ2 and CLIJx for performing general mathematical operations on images.. 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.

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.

binaryIntersection

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 intersection operator &. All pixel values except 0 in the input images are interpreted as 1.

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.

binaryUnion

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 union operator |.

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.

C

cosinus

Computes the cosinus of all pixels value x.

D

different

Determines the absolute difference between two images and sets all pixels to 1 where it is above a given tolerance, and 0 otherwise.

divideImages

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

divideScalarByImage

Divides a scalar s by image X pixel wise.

E

equal

Determines if two images A and B equal pixel wise.

equalConstant

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

equalizeMeanIntensitiesOfSlices

Determines correction factors for each z-slice so that the average intensity in all slices can be made the same and multiplies these factors with the slices.

exponential

Computes base exponential of all pixels values.

G

gaussJordan (Experimental)

Gauss Jordan elimination algorithm for solving linear equation systems.

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.

I

invert

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

K

kMeansLabelClusterer (Experimental)

Applies K-Means clustering to an image and a corresponding label map.

L

logarithm

Computes base e logarithm of all pixels values.

M

matrixEqual

Checks if all elements of a matrix are different by less than or equal to a given tolerance.

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.

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.

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.

multiplyImageStackWithScalars

Multiplies all pixels value x in a given image X with a constant scalar s from a list of scalars.

multiplyImages

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

multiplyMatrix

Multiplies two matrices with each other.

multiplyStackWithPlane

Multiplies all pairs of pixel values x and y from an image stack X and a 2D image Y.

N

notEqual

Determines if two images A and B equal pixel wise.

notEqualConstant

Determines if two images A and B equal pixel wise.

P

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.

S

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.

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

setRandom

Fills an image or image stack with uniformly distributed random numbers between given minimum and maximum values.

setRow

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

setWhereXequalsY

Sets all pixel values a of a given image A to a constant value v in case its coordinates x == y.

setWhereXgreaterThanY

Sets all pixel values a of a given image A to a constant value v in case its coordinates x > y.

setWhereXsmallerThanY

Sets all pixel values a of a given image A to a constant value v in case its coordinates x < y.

similar

Determines the absolute difference between two images and sets all pixels to 1 where it is below or equal a given tolerance, and 0 otherwise.

sinus

Computes the sinus of all pixels value x.

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.

squaredDifference

Determines the squared difference pixel by pixel between two images.

subtractImageFromScalar

Subtracts one image X from a scalar s pixel wise.

subtractImages

Subtracts one image X from another image Y pixel wise.

U

undefinedToZero

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

V

visualizeOutlinesOnOriginal

Combines an intensity image and a label (or binary) image so that you can see segmentation outlines on the intensity image.

67 methods listed.