Skip to content

LocalTransforms

Image - Convolve

Computes a convolution of the image. Note: The operation consists of sliding the kernel over the image and multiplying the elements inside the kernel with the corresponding pixels in the image. The sum of the products is then assigned to the corresponding pixel in the output image.

IN

Name Type Description
InImage Image The input Image
InMask Matrix Convolution kernel.
InNormalizeMask Bool Whether to normalize the sum of the weights in the mask to one.
InMaskOrigin Point2Di Relative position of the mask origin.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - DifferenceOfGaussians

Computes the difference between two Gaussian smoothed images.

IN

Name Type Description
InImage Image The input Image
InStdDev Float Standard deviation for the smaller kernel. Range: 〔0, +inf).
InStdDevRatio Float Multiplier for inStdDev to obtain the second, larger, kernel. Range: 〔1, +inf).
InKernelRelativeSize Float Multiplier for inStdDev determining the size of the kernel. Range: 〔0, 3〕.
InScale Float Scaling factor on the resulting image.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - GetStdDevImage

Creates an image with as pixels their local standard deviations.

IN

Name Type Description
InImage Image The input Image
InKernelRadius Int Kernel radius (on both directions). Range: 〔1, 40〕.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Output image.
Error ErrorState Gets the execution error message

Image - GradientDirections

Computes the gradient directions. Note: A pixel set to zero means that no edge was found.

IN

Name Type Description
InImage Image The input Image
InGradientMethod Enum < GradientMethod > Defines how the gradient is computed.
InEdgeThreshold Float Minimum edge magnitude (pixels less than this value will be set to 0). Range: 〔0.01, +inf).
InAngleRange Enum < AngleRange > Range of angles to consider.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Gradient directions.
Error ErrorState Gets the execution error message

Image - Gradients

Computes the gradients of the image. Note: The output pixels are signed.

IN

Name Type Description
InImage Image The input Image
InGradientMethod Enum < GradientMethod > Defines how the gradient is computed.
InScale Int Scale of the resulting gradients. Range: 〔1, 16〕.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Gradients of the image.
Error ErrorState Gets the execution error message

Image - Gradients_Oriented

Compute the gradients of the image in a specific direction.

IN

Name Type Description
InImage Image The input Image
InDifferentiationMethod Enum < DifferentiationMethod > Differentiation method.
InGradientOrientation Enum < GradientOrientation > Gradient orientation.
InEdgeTransition Enum < EdgeTransition > Edge transition.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Gradient magnitudes of the image.
Error ErrorState Gets the execution error message

Image - Gradients_Smooth

Computes the gradients of the image using a Gaussian kernel. Note: The output pixels are signed.

IN

Name Type Description
InImage Image The input Image
InStdDevX Float Standard deviation on X axis. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Gradients of the image.
Error ErrorState Gets the execution error message

Image - MeasureGradients

Measures the strength of the gradient in each pixel. Note: The output pixels are signed.

IN

Name Type Description
InImage Image The input Image
InGradientMethod Enum < GradientMethod > Defines how the gradient is computed.
InMagnitudeMeasure Enum < MagnitudeMeasure > Defines how the gradient magnitude is computed.
InScale Int Scale of the resulting gradients. Range: 〔1, 16〕.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutImage Image Gradient magnitudes.
Error ErrorState Gets the execution error message