The GPU implementation of this function supports only Nearest-neighbor and linear interpolation methods.Ĭompute the average or mean of matrix elements. The GPU and CPU versions of this function are expected to give slightly different results. The ‘bicubic’ interpolation mode used in the GPU implementation of this function differs from the default (CPU) bicubic mode. Only cubic interpolation is supported on GPU, and function always performs antialiasing. The parameter ‘PyramidLevels’ is not supported on the GPU. Perform morphological reconstruction of an image.Įstimate the displacement field that aligns two 2-D or 3-D images.
Perform morphological opening on an image. To display the histogram, use stem(X,counts).Ĭomputes the linear combination of images.Ĭonvert YCbCr color values to RGB color space. When running on a GPU, imhist does not display the histogram. Does not support the interactive hole filling syntax.Ĭalculate the gradient magnitude and direction of an image.Ĭompute the directional gradients of an image. Inputs must be 2-D, supporting only the 2-D connectivities, 4 and 8. The PACKOPT syntaxes are not supported on the GPU.
GpuArray input must be of type uint8 or logical and the structuring element must be flat and two-dimensional. Perform morphological closing on an image. Perform morphological bottom-hat filtering. Perform nonlinear filtering using lookup tables.Īpply morphological operations on a binary image.Ĭalculate the 2-D correlation coefficient of two arrays.Ĭanny method is not supported on the GPU.Įnhance contrast using histogram equalization.Ĭonvert image to 8-bit unsigned integers.Ĭonvert image to 16-bit unsigned integers.Ĭompute the absolute difference of two images.Īdjust image intensity values or colormap. Euclidean is the only distance metric supported.Ĭalculate label connected components on a 2-D binary image. Inputs must be 2-D and have less than 2 32 − 1 elements. Compute the distance transform of a binary image.