oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Local Transforms

Functions

Image oevislib_net.Image.Convolve (Matrix inMask, bool inNormalizeMask=false, Point2Di inMaskOrigin=null, Optional< Region > inRoi=null)
 Computes a convolution of the image.
Image oevislib_net.Image.Gradients (float inStdDevX, Optional< float > inStdDevY=null, Optional< Region > inRoi=null)
 Computes the gradients of the image using a Gaussian kernel.
Image oevislib_net.Image.Gradients (GradientMethod inGradientMethod, int inScale, Optional< Region > inRoi=null)
 Computes the gradients of the image.
Image oevislib_net.Image.Gradients (DifferentiationMethod inDifferentiationMethod, GradientOrientation inGradientOrientation, EdgeTransition inEdgeTransition, Optional< Region > inRoi)
 Compute the gradients of the image in a specific direction.
Image oevislib_net.Image.MeasureGradients (GradientMethod inGradientMethod, MagnitudeMeasure inMagnitudeMeasure, int inScale, Optional< Region > inRoi)
 Measures the strength of the gradient in each pixel.
Image oevislib_net.Image.GradientDirections (GradientMethod inGradientMethod, float inEdgeThreshold, AngleRange inAngleRange, Optional< Region > inRoi)
 Computes the gradient directions.
Image oevislib_net.Image.DifferenceOfGaussians (float inStdDev, float inStdDevRatio, float inKernelRelativeSize, float inScale, Optional< Region > inRoi, Optional< Profile > outKernelShape)
 Computes the difference between two Gaussian smoothed images.
Image oevislib_net.Image.GetStdDevImage (int inKernelRadius, Optional< Region > inRoi=null, Optional< Region > inSourceRoi=null)
 Creates an image with as pixels their local standard deviations.

Detailed Description

Function Documentation

◆ Convolve()

Image oevislib_net.Image.Convolve ( Matrix inMask,
bool inNormalizeMask = false,
Point2Di inMaskOrigin = null,
Optional< Region > inRoi = null )
inline

Computes a convolution of the image.

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.

Parameters
inMaskConvolution kernel.
inNormalizeMaskWhether to normalize the sum of the weights in the mask to one.
inMaskOriginRelative position of the mask origin.
inRoiRange of pixels to be updated in the output image.
Returns
Output image.

◆ DifferenceOfGaussians()

Image oevislib_net.Image.DifferenceOfGaussians ( float inStdDev,
float inStdDevRatio,
float inKernelRelativeSize,
float inScale,
Optional< Region > inRoi,
Optional< Profile > outKernelShape )
inline

Computes the difference between two Gaussian smoothed images.

Parameters
inStdDevStandard deviation for the smaller kernel. Range: [0, +inf).
inStdDevRatioMultiplier for inStdDev to obtain the second, larger, kernel. Range: [1, +inf).
inKernelRelativeSizeMultiplier for inStdDev determining the size of the kernel. Range: [0, 3].
inScaleScaling factor on the resulting image.
inRoiRegion of interest.
outKernelShapeMiddle row of the kernel.
Returns
Output image.

◆ GetStdDevImage()

Image oevislib_net.Image.GetStdDevImage ( int inKernelRadius,
Optional< Region > inRoi = null,
Optional< Region > inSourceRoi = null )
inline

Creates an image with as pixels their local standard deviations.

Parameters
inKernelRadiusKernel radius (on both directions). Range: [1, 40].
inRoiRange of pixels to be updated in the output image.
inSourceRoiRange of input pixels to be considered in computations.
Returns
Output image.

◆ GradientDirections()

Image oevislib_net.Image.GradientDirections ( GradientMethod inGradientMethod,
float inEdgeThreshold,
AngleRange inAngleRange,
Optional< Region > inRoi )
inline

Computes the gradient directions.

A pixel set to zero means that no edge was found.

Parameters
inGradientMethodDefines how the gradient is computed.
inEdgeThresholdMinimum edge magnitude (pixels less than this value will be set to 0). Range: [0.01, +inf).
inAngleRangeRange of angles to consider.
inRoiRegion of interest.
Returns
Gradient directions.

◆ Gradients() [1/3]

Image oevislib_net.Image.Gradients ( DifferentiationMethod inDifferentiationMethod,
GradientOrientation inGradientOrientation,
EdgeTransition inEdgeTransition,
Optional< Region > inRoi )
inline

Compute the gradients of the image in a specific direction.

Parameters
inDifferentiationMethodDifferentiation method.
inGradientOrientationGradient orientation.
inEdgeTransitionEdge transition.
inRoiRegion of interest.
Returns
Gradient magnitudes of the image.

◆ Gradients() [2/3]

Image oevislib_net.Image.Gradients ( float inStdDevX,
Optional< float > inStdDevY = null,
Optional< Region > inRoi = null )
inline

Computes the gradients of the image using a Gaussian kernel.

The output pixels are signed.

Parameters
inStdDevXStandard deviation on X axis. Range: [0, +inf).
inStdDevYStandard deviation on Y axis (equal to inStdDevX if not specified). Range: [0, +inf).
inRoiRegion of interest.
Returns
Gradients of the image.

◆ Gradients() [3/3]

Image oevislib_net.Image.Gradients ( GradientMethod inGradientMethod,
int inScale,
Optional< Region > inRoi = null )
inline

Computes the gradients of the image.

The output pixels are signed.

Parameters
inGradientMethodDefines how the gradient is computed.
inScaleScale of the resulting gradients. Range: [1, 16].
inRoiRegion of interest.
Returns
Gradients of the image.

◆ MeasureGradients()

Image oevislib_net.Image.MeasureGradients ( GradientMethod inGradientMethod,
MagnitudeMeasure inMagnitudeMeasure,
int inScale,
Optional< Region > inRoi )
inline

Measures the strength of the gradient in each pixel.

The output pixels are signed.

Parameters
inGradientMethodDefines how the gradient is computed.
inMagnitudeMeasureDefines how the gradient magnitude is computed.
inScaleScale of the resulting gradients. Range: [1, 16].
inRoiRegion of interest.
Returns
Gradient magnitudes.