Skip to content

Latest commit

 

History

History
260 lines (172 loc) · 29.4 KB

reference__math.md

File metadata and controls

260 lines (172 loc) · 29.4 KB

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

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

Determines the absolute difference pixel by pixel between two images.

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

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

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

B

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.

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.

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 !

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

Subtracts one binary image from another.

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

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

Computes the cosinus of all pixels value x.

D

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

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

Divides a scalar s by image X pixel wise.

E

Determines if two images A and B equal pixel wise.

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

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.

Computes base exponential of all pixels values.

G

Gauss Jordan elimination algorithm for solving linear equation systems.

Determines if two images A and B greater pixel wise.

Determines if two images A and B greater pixel wise.

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

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

I

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

K

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

L

Computes base e logarithm of all pixels values.

M

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

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

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

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

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

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

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

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

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

Multiplies two matrices with each other.

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

N

Determines if two images A and B equal pixel wise.

Determines if two images A and B equal pixel wise.

P

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

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

S

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

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

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

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

Sets all pixel values to their X coordinate

Sets all pixel values to their Y coordinate

Sets all pixel values to their Z coordinate

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

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

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

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

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

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.

Computes the sinus of all pixels value x.

Determines if two images A and B smaller pixel wise.

Determines if two images A and B smaller pixel wise.

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

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

Determines the squared difference pixel by pixel between two images.

Subtracts one image X from a scalar s pixel wise.

Subtracts one image X from another image Y pixel wise.

U

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

V

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

67 methods listed.