Skip to content

Tessero\Ndimage

← All classes

AI assistant

Build this with Claude Code, Cursor or Copilot

Copy a Tessero-tuned prompt for Tessero\Ndimage, grounded in 16 real API signatures , into your IDE's AI. No chatbot, just exact context.

apply static
apply(string $name, mixed ...$args): mixed

Call a function by its SciPy/NumPy name: Ndimage::apply('log_ndtr', $x).

affineTransform static
affineTransform(mixed $input, mixed $matrix, mixed $offset = 0.0, mixed $outputShape = null, mixed $order = 3, mixed $mode = 'constant', mixed $cval = 0.0, mixed $prefilter = true): mixed

Apply an affine transform by interpolation, order 0/1 (scipy.ndimage.affine_transform).

binaryClosing static
binaryClosing(mixed $input, mixed $structure = null): mixed

Binary closing: dilation then erosion of a 2-D image (scipy.ndimage.binary_closing).

binaryDilation static
binaryDilation(mixed $input, mixed $structure = null): mixed

Binary dilation of a 2-D image (scipy.ndimage.binary_dilation).

binaryErosion static
binaryErosion(mixed $input, mixed $structure = null): mixed

Binary erosion of a 2-D image (scipy.ndimage.binary_erosion).

binaryFillHoles static
binaryFillHoles(mixed $input, mixed $structure = null): mixed

Fill the holes in a binary 2-D image (scipy.ndimage.binary_fill_holes).

binaryHitOrMiss static
binaryHitOrMiss(mixed $input, mixed $structure1 = null, mixed $structure2 = null): mixed

Binary hit-or-miss transform of a 2-D image (scipy.ndimage.binary_hit_or_miss).

binaryOpening static
binaryOpening(mixed $input, mixed $structure = null): mixed

Binary opening: erosion then dilation of a 2-D image (scipy.ndimage.binary_opening).

binaryPropagation static
binaryPropagation(mixed $input, mixed $structure = null, mixed $mask = null): mixed

Binary propagation: dilate within a mask until stable (scipy.ndimage.binary_propagation).

blackTophat static
blackTophat(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Black tophat: greyscale closing minus the input (scipy.ndimage.black_tophat).

centerOfMass static
centerOfMass(mixed $input, mixed $labels = null, mixed $index = null): mixed

Center of mass of labeled regions (scipy.ndimage.center_of_mass).

convolve static
convolve(mixed $input, mixed $weights, mixed $mode = 'reflect', mixed $cval = 0.0): mixed

2-D convolution with boundary handling (scipy.ndimage.convolve).

convolve1d static
convolve1d(mixed $input, mixed $weights, mixed $axis = -1, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

1-D convolution along an axis (scipy.ndimage.convolve1d).

correlate static
correlate(mixed $input, mixed $weights, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Multidimensional correlation with a weights array (scipy.ndimage.correlate).

correlate1d static
correlate1d(mixed $input, mixed $weights, mixed $axis = -1, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

1-D correlation along an axis with boundary handling (scipy.ndimage.correlate1d).

distanceTransformBf static
distanceTransformBf(mixed $input, mixed $metric = 'euclidean', mixed $sampling = null): mixed

Brute-force distance to the nearest zero, any metric (scipy.ndimage.distance_transform_bf).

distanceTransformCdt static
distanceTransformCdt(mixed $input, mixed $metric = 'chessboard'): mixed

Chamfer (chessboard/taxicab) distance to the nearest zero (scipy.ndimage.distance_transform_cdt).

distanceTransformEdt static
distanceTransformEdt(mixed $input, mixed $sampling = null): mixed

Exact Euclidean distance to the nearest zero (scipy.ndimage.distance_transform_edt).

extrema static
extrema(mixed $input, mixed $labels = null, mixed $index = null): mixed

Min, max and their positions over labeled regions (scipy.ndimage.extrema).

findObjects static
findObjects(mixed $input, mixed $maxLabel = 0): mixed

Bounding box of each label as an (L, ndim, 2) array of start/stop (scipy.ndimage.find_objects).

fourierEllipsoid static
fourierEllipsoid(mixed $input, mixed $size, mixed $n = -1, mixed $axis = -1): mixed

Multiply an FFT by the transform of an ellipsoid, rank <= 3 (scipy.ndimage.fourier_ellipsoid).

fourierGaussian static
fourierGaussian(mixed $input, mixed $sigma, mixed $n = -1, mixed $axis = -1): mixed

Multiply an FFT by the transform of a Gaussian (scipy.ndimage.fourier_gaussian).

fourierShift static
fourierShift(mixed $input, mixed $shift, mixed $n = -1, mixed $axis = -1): mixed

Multiply an FFT by a linear phase to shift the image (scipy.ndimage.fourier_shift).

fourierUniform static
fourierUniform(mixed $input, mixed $size, mixed $n = -1, mixed $axis = -1): mixed

Multiply an FFT by the transform of a uniform box (scipy.ndimage.fourier_uniform).

gaussianFilter static
gaussianFilter(mixed $input, mixed $sigma, mixed $order = 0, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $truncate = 4.0, mixed $radius = null): mixed

Multidimensional Gaussian filter, order 0 (scipy.ndimage.gaussian_filter).

gaussianFilter1d static
gaussianFilter1d(mixed $input, mixed $sigma, mixed $axis = -1, mixed $order = 0, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $truncate = 4.0, mixed $radius = null): mixed

1-D Gaussian filter along an axis, order 0 (scipy.ndimage.gaussian_filter1d).

gaussianGradientMagnitude static
gaussianGradientMagnitude(mixed $input, mixed $sigma, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $truncate = 4.0): mixed

Gradient magnitude using Gaussian derivatives (scipy.ndimage.gaussian_gradient_magnitude).

gaussianLaplace static
gaussianLaplace(mixed $input, mixed $sigma, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $truncate = 4.0): mixed

Laplace filter using Gaussian second derivatives (scipy.ndimage.gaussian_laplace).

generateBinaryStructure static
generateBinaryStructure(mixed $rank, mixed $connectivity): mixed

Boolean structuring element for binary morphology (scipy.ndimage.generate_binary_structure).

greyClosing static
greyClosing(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Greyscale closing: dilation then erosion with a flat box SE (scipy.ndimage.grey_closing).

greyDilation static
greyDilation(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Greyscale dilation with a flat box structuring element (scipy.ndimage.grey_dilation).

greyErosion static
greyErosion(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Greyscale erosion with a flat box structuring element (scipy.ndimage.grey_erosion).

greyOpening static
greyOpening(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Greyscale opening: erosion then dilation with a flat box SE (scipy.ndimage.grey_opening).

histogram static
histogram(mixed $input, mixed $min, mixed $max, mixed $bins, mixed $labels = null, mixed $index = null): mixed

Histogram of array values over a labeled region (scipy.ndimage.histogram).

iterateStructure static
iterateStructure(mixed $structure, mixed $iterations): mixed

A 3x3 structuring element dilated by itself iterations-1 times (scipy.ndimage.iterate_structure).

label static
label(mixed $input, mixed $structure = null): mixed

Label connected components of a 2-D array, row-major (scipy.ndimage.label).

laplace static
laplace(mixed $input, mixed $mode = 'reflect', mixed $cval = 0.0): mixed

Laplace filter: sum of second derivatives over all axes (scipy.ndimage.laplace).

mapCoordinates static
mapCoordinates(mixed $input, mixed $coordinates, mixed $order = 3, mixed $mode = 'constant', mixed $cval = 0.0, mixed $prefilter = true): mixed

Interpolate an array at given coordinates, order 0/1 (scipy.ndimage.map_coordinates).

maximum static
maximum(mixed $input, mixed $labels = null, mixed $index = null): mixed

Maximum of array values over labeled regions (scipy.ndimage.maximum).

maximumFilter static
maximumFilter(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Multidimensional windowed maximum filter, box footprint (scipy.ndimage.maximum_filter).

maximumFilter1d static
maximumFilter1d(mixed $input, mixed $size, mixed $axis = -1, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

1-D sliding-window maximum along an axis (scipy.ndimage.maximum_filter1d).

maximumPosition static
maximumPosition(mixed $input, mixed $labels = null, mixed $index = null): mixed

Position of the maximum over labeled regions (scipy.ndimage.maximum_position).

mean static
mean(mixed $input, mixed $labels = null, mixed $index = null): mixed

Mean of array values over labeled regions (scipy.ndimage.mean).

median static
median(mixed $input, mixed $labels = null, mixed $index = null): mixed

Median of array values over labeled regions (scipy.ndimage.median).

medianFilter static
medianFilter(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Multidimensional median filter, box footprint (scipy.ndimage.median_filter).

minimum static
minimum(mixed $input, mixed $labels = null, mixed $index = null): mixed

Minimum of array values over labeled regions (scipy.ndimage.minimum).

minimumFilter static
minimumFilter(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Multidimensional windowed minimum filter, box footprint (scipy.ndimage.minimum_filter).

minimumFilter1d static
minimumFilter1d(mixed $input, mixed $size, mixed $axis = -1, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

1-D sliding-window minimum along an axis (scipy.ndimage.minimum_filter1d).

minimumPosition static
minimumPosition(mixed $input, mixed $labels = null, mixed $index = null): mixed

Position of the minimum over labeled regions (scipy.ndimage.minimum_position).

morphologicalGradient static
morphologicalGradient(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Morphological gradient: greyscale dilation minus erosion (scipy.ndimage.morphological_gradient).

morphologicalLaplace static
morphologicalLaplace(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Morphological laplace: dilation + erosion - 2*input (scipy.ndimage.morphological_laplace).

percentileFilter static
percentileFilter(mixed $input, mixed $percentile, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Multidimensional percentile filter over a box footprint (scipy.ndimage.percentile_filter).

prewitt static
prewitt(mixed $input, mixed $axis = -1, mixed $mode = 'reflect', mixed $cval = 0.0): mixed

Prewitt edge filter along an axis (scipy.ndimage.prewitt).

rankFilter static
rankFilter(mixed $input, mixed $rank, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Multidimensional rank filter ( order statistic) over a box footprint (scipy.ndimage.rank_filter).

rotate static
rotate(mixed $input, mixed $angle, mixed $axes = null, mixed $reshape = true, mixed $order = 3, mixed $mode = 'constant', mixed $cval = 0.0, mixed $prefilter = true): mixed

Rotate an array in a plane by interpolation, order 0/1 (scipy.ndimage.rotate).

shift static
shift(mixed $input, mixed $shift, mixed $order = 3, mixed $mode = 'constant', mixed $cval = 0.0, mixed $prefilter = true): mixed

Shift an array by interpolation, order 0/1 (scipy.ndimage.shift).

sobel static
sobel(mixed $input, mixed $axis = -1, mixed $mode = 'reflect', mixed $cval = 0.0): mixed

Sobel edge filter along an axis (scipy.ndimage.sobel).

splineFilter static
splineFilter(mixed $input, mixed $order = 3, mixed $mode = 'mirror'): mixed

N-D B-spline prefilter over all axes (scipy.ndimage.spline_filter).

splineFilter1d static
splineFilter1d(mixed $input, mixed $order = 3, mixed $axis = -1, mixed $mode = 'mirror'): mixed

1-D B-spline prefilter along an axis (scipy.ndimage.spline_filter1d).

standardDeviation static
standardDeviation(mixed $input, mixed $labels = null, mixed $index = null): mixed

Standard deviation over labeled regions (scipy.ndimage.standard_deviation).

sum static
sum(mixed $input, mixed $labels = null, mixed $index = null): mixed

Sum of array values over labeled regions; deprecated alias of sum_labels (scipy.ndimage.sum).

sumLabels static
sumLabels(mixed $input, mixed $labels = null, mixed $index = null): mixed

Sum of array values over labeled regions (scipy.ndimage.sum_labels).

uniformFilter static
uniformFilter(mixed $input, mixed $size = 3, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

Multidimensional uniform (box) filter (scipy.ndimage.uniform_filter).

uniformFilter1d static
uniformFilter1d(mixed $input, mixed $size, mixed $axis = -1, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

1-D uniform (box) filter along an axis (scipy.ndimage.uniform_filter1d).

variance static
variance(mixed $input, mixed $labels = null, mixed $index = null): mixed

Variance of array values over labeled regions (scipy.ndimage.variance).

watershedIft static
watershedIft(mixed $input, mixed $markers, mixed $structure = null): mixed

Image-forest-transform watershed from markers (scipy.ndimage.watershed_ift).

whiteTophat static
whiteTophat(mixed $input, mixed $size = null, mixed $mode = 'reflect', mixed $cval = 0.0, mixed $origin = 0): mixed

White tophat: input minus its greyscale opening (scipy.ndimage.white_tophat).

zoom static
zoom(mixed $input, mixed $zoom, mixed $order = 3, mixed $mode = 'constant', mixed $cval = 0.0, mixed $prefilter = true): mixed

Resample an array by a zoom factor, order 0/1 (scipy.ndimage.zoom).