|
oevislib_net
0.14.3.0
|
Functions | |
| Point2D | oevislib_net.Image.GetAnchoredPoint (Anchor2D inPointAnchor) |
| Returns one of the 9 anchor points of an image (corners or mid-points). | |
| Box | oevislib_net.Image.GetBox () |
| Returns the box representing the Image's border. | |
| Array< float > | oevislib_net.Image.GetPixelValues (Optional< Region > inRoi=null) |
| Extracts the array of pixels present in the image (or in the specified region). | |
| Histogram | oevislib_net.Image.GetHistogram (int inChannelIndex, Optional< Region > inRoi=null, float inDomainBegin=0.0f, int inBinCount=256, float inBinSize=1.0f) |
| Creates the histogram from the image's pixel distribution. | |
| float | oevislib_net.Image.GetMoment (ImageMoment inMomentType, bool inCentral=false, Optional< Region > inRoi=null) |
| Computes the selected moment of the image. | |
| float | oevislib_net.Image.GetNormMoment (ImageMoment inMomentType, bool inCentral=false, Optional< Region > inRoi=null) |
| Computes the selected normalized moment of the image. | |
| float | oevislib_net.Image.GetOrientation (Optional< Region > inRoi=null) |
| Returns the image's orientation (based on its moments). | |
| Profile | oevislib_net.Image.GetProjection (Optional< Region > inRoi, ProjectionDirection inProjectionDirection, ProjectionCombination inProjectionCombination) |
| Computes the average (or another pixel combination) for each image row or column and merges it into a profile. | |
| Profile | oevislib_net.Image.GetProfileAlongPath (Path inScanPath, Optional< UCS2D > inScanPathAlignment, int inScanWidth, SamplingParams inSamplingParams, float inSmoothingStdDev, AccumulationMode inAccumulationMode, Pixel inBorderColor, Optional< Path > outPath, Optional< Path > outAlignedScanPath, Optional< Array< Path > > outSamplingPoints, Optional< float > outSamplingStep) |
| Returns the profile based on the image's pixels found on the specified path. | |
| Profile | oevislib_net.Image.GetProfileAlongPath (ScanTemplate inScanTemplate, float inSmoothingStdDev, AccumulationMode inAccumulationMode, Pixel inBorderColor, Optional< Path > outPath) |
| Returns the profile of the image's pixels specified by the scan template in input. | |
| Point2D | oevislib_net.Image.GetMassCenter (Optional< Region > inRoi=null) |
| Computes the mass center (based on the image's moments). | |
| Array< Extremum2D > | oevislib_net.Image.GetLocalMinima (bool inConsiderLowlands, Optional< Region > inRoi, Optional< float > inMinValue, Optional< float > inMaxValue, float inMinDistance, Optional< Array< Region > > outMinimaRegions) |
| Search for the local minima in the image. | |
| Array< Extremum2D > | oevislib_net.Image.GetLocalMaxima (bool inConsiderLowlands, Optional< Region > inRoi, Optional< float > inMinValue, Optional< float > inMaxValue, float inMinDistance, Optional< Array< Region > > outMaximaRegions) |
| Search for the local maxima in the image. | |
| Point2D | oevislib_net.Image.GetCenter () |
| Returns the geometrical center of the image. | |
| float | oevislib_net.Image.GetSharpness (Optional< Box > inRoi=null) |
| Returns the sharpness of the image. | |
| float | oevislib_net.Image.GetStdDev (Optional< Region > inRoi=null) |
| Computes the standard deviation of image pixel values. | |
Extremum2D Features | |
| |
| oevislib_net.Extremum2D.Extremum2D () | |
| Constructs a new Extremum2D object with default values. | |
| oevislib_net.Extremum2D.Extremum2D (Point2D inPoint, float inValue, Polarity inPolarity) | |
| Creates a new Extremum2D object. | |
|
inline |
Constructs a new Extremum2D object with default values.
Creates a new Extremum2D object.
| inPoint | Position with subpixel-precision. |
| inValue | Value. |
| inPolarity | Polarity (a dark pixel if the extremum represents a minimum, a bright one otherwise). |
Returns one of the 9 anchor points of an image (corners or mid-points).
| inPointAnchor | Anchor point to extract. |
|
inline |
|
inline |
Returns the geometrical center of the image.
|
inline |
Creates the histogram from the image's pixel distribution.
| inChannelIndex | Selected channel. Range: [0, 3]. |
| inRoi | Region of interest. |
| inDomainBegin | The lowest value to consider in the histogram. |
| inBinCount | The number of histogram bars. |
| inBinSize | Width of a single histogram bin. Range: (0, +inf). |
|
inline |
Search for the local maxima in the image.
If the image has more than one channel, the channels' sum is considered to obtain a monochromatic image.
| inConsiderLowlands | Whether to consider local maxima zones with more than one pixel equal to the maxima. |
| inRoi | Region of interest. |
| inMinValue | Minimal value to consider as maxima. |
| inMaxValue | Maximal value to consider as maxima. |
| inMinDistance | Minimal distance between two found maxima. Range: [0, +inf). |
| outMaximaRegions | Regions of local maxima. |
|
inline |
Search for the local minima in the image.
If the image has more than one channel, the channels' sum is considered to obtain a monochromatic image.
| inConsiderLowlands | Whether to consider local minima zones with more than one pixel equal to the minima. |
| inRoi | Region of interest. |
| inMinValue | Minimal value to consider as minima. |
| inMaxValue | Maximal value to consider as minima. |
| inMinDistance | Minimal distance between two found minima. Range: [0, +inf). |
| outMinimaRegions | Regions of local minima. |
Computes the mass center (based on the image's moments).
| inRoi | Region of interest. |
|
inline |
Computes the selected moment of the image.
| inMomentType | Type of moment. |
| inCentral | Whether to compute the central moment or not. |
| inRoi | Region of interest. |
|
inline |
Computes the selected normalized moment of the image.
| inMomentType | Type of moment. |
| inCentral | Whether to compute the central moment or not. |
| inRoi | Region of interest. |
|
inline |
Returns the image's orientation (based on its moments).
The resulting angle is in the range [0, 180].
| inRoi | Region of interest. |
|
inline |
Extracts the array of pixels present in the image (or in the specified region).
| inRoi | Region of interest. |
|
inline |
Returns the profile based on the image's pixels found on the specified path.
First it creates a series of segments across the scan path, then computes the average pixel on each of the segments and use them to create the final profile.
| inScanPath | Path along which the profile is extracted. |
| inScanPathAlignment | Aligns the path on the object to inspect. |
| inScanWidth | Width (in pixels) of the scan path. Range: [1, +inf). |
| inSamplingParams | Parameters controlling the sampling process. |
| inSmoothingStdDev | Standard deviation of the Gaussian smoothing (applied on the obtained profile). Range: [0, +inf). |
| inAccumulationMode | How the pixel values are combined (average, median, middle, minimum, maximum or sum). |
| inBorderColor | Pixel value to consider outside the image (used whether the scan path touches an extremity of the image). |
| outPath | Points from which the resulting profile is extracted (after considering the width and the sampling parameters). |
| outAlignedScanPath | Scan path after alignment (in the image coordinates). |
| outSamplingPoints | Array of paths, each one containing the sampling points that contributed to a single value of the extracted profile. |
| outSamplingStep | Distance between consecutive sampling points on the scan path. |
|
inline |
Returns the profile of the image's pixels specified by the scan template in input.
First it creates a series of segments across the scan path, then computes the average pixel on each of the segments and use them to create the final profile.
| inScanTemplate | Defines the path along which the profile is extracted. |
| inSmoothingStdDev | Standard deviation of the Gaussian smoothing (applied on the obtained profile). Range: [0, +inf). |
| inAccumulationMode | How the pixel values are combined (average, median, middle, minimum, maximum or sum). |
| inBorderColor | Pixel value to consider outside the image (used whether the scan path touches an extremity of the image). |
| outPath | Points from which the resulting profile is extracted (after considering the width and the sampling parameters). |
|
inline |
Computes the average (or another pixel combination) for each image row or column and merges it into a profile.
| inRoi | Region of interest. |
| inProjectionDirection | Whether to combine the pixel values horizontally or vertically. |
| inProjectionCombination | How the pixel values are merged (average, median, middle, minimum, maximum or sum). |
|
inline |
Returns the sharpness of the image.
The bigger the value the sharper the image.
| inRoi | Region of interest. |