|
oevislib_net
0.14.3.0
|
Classes | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.SamplingParams |
| Groups all the parameters used to control the image sampling along a path. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.EdgeScanParams |
| Groups all the parameters used to control the edge scanning process. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.RidgeScanParams |
| Groups all the parameters used to control the ridge scanning process. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.StripeScanParams |
| Groups all the parameters used to control the stripe scanning process. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.LocalBlindness |
| Contains parameters used in the 1D scanning process to prevent the detection of weak edges in the vicinity of stronger ones. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.Edge1D |
| Groups all the parameters used to describe an edge found during the 1D scanning process. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.Ridge1D |
| Groups all the parameters used to describe a ridge found during the 1D scanning process. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.Stripe1D |
| Groups all the parameters used to describe a stripe found during the 1D scanning process. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.Gap1D |
| Groups all the parameters used to describe a gap between two 1D structures. More... | |
| class | oevislib_net.ComputerVision.EdgeDetection1D.ScanTemplate |
| Structure created expanding a scanning path along its normal direction, used to speed up the 1D scanning process. More... | |
Functions | |
| static Array< Edge1D > | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.FindEdges1D (Image inImage, Path inScanPath, Optional< UCS2D > inScanPathAlignment=null, int inScanWidth=5, SamplingParams inSamplingParams=null, EdgeScanParams inEdgeScanParams=null, float inMinDistance=0.0f, Optional< float > inMaxDistance=null, Optional< LocalBlindness > inLocalBlindness=null, Optional< Array< Gap1D > > outGaps=null, Optional< Path > outAlignedScanPath=null, Optional< Profile > outBrightnessProfile=null, Optional< Profile > outResponseProfile=null, Optional< Array< Path > > outSamplingPoints=null, Optional< float > outSamplingStep=null) |
| Finds the points in which the image brightness change rapidly, along a scanning path. | |
| static Array< Edge1D > | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.FindEdges1D (Image inImage, ScanTemplate inScanTemplate, EdgeScanParams inEdgeScanParams=null, float inMinDistance=0.0f, Optional< float > inMaxDistance=null, Optional< LocalBlindness > inLocalBlindness=null, Optional< Array< Gap1D > > outGaps=null, Optional< Profile > outBrightnessProfile=null, Optional< Profile > outResponseProfile=null) |
| Finds the points in which the image brightness change rapidly, along a scanning path. | |
| static Array< Ridge1D > | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.FindRidges1D (Image inImage, Path inScanPath, Optional< UCS2D > inScanPathAlignment=null, int inScanWidth=5, SamplingParams inSamplingParams=null, RidgeScanParams inRidgeScanParams=null, float inMinDistance=0.0f, Optional< float > inMaxDistance=null, Optional< LocalBlindness > inLocalBlindness=null, Optional< Array< Gap1D > > outGaps=null, Optional< Path > outAlignedScanPath=null, Optional< Profile > outBrightnessProfile=null, Optional< Profile > outFirstDerivativeProfile=null, Optional< Profile > outSecondDerivativeProfile=null, Optional< Array< Path > > outSamplingPoints=null, Optional< float > outSamplingStep=null) |
| Finds the local maxima of the brightness profile along a scanning path. | |
| static Array< Ridge1D > | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.FindRidges1D (Image inImage, ScanTemplate inScanTemplate, RidgeScanParams inRidgeScanParams=null, float inMinDistance=0.0f, Optional< float > inMaxDistance=null, Optional< LocalBlindness > inLocalBlindness=null, Optional< Array< Gap1D > > outGaps=null, Optional< Profile > outBrightnessProfile=null, Optional< Profile > outFirstDerivativeProfile=null, Optional< Profile > outSecondDerivativeProfile=null) |
| Finds the local maxima of the brightness profile along a scanning path. | |
| static Array< Stripe1D > | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.FindStripes1D (Image inImage, Path inScanPath, Optional< UCS2D > inScanPathAlignment=null, int inScanWidth=5, SamplingParams inSamplingParams=null, StripeScanParams inStripeScanParams=null, float inMinGapWidth=0.0f, Optional< float > inMaxGapWidth=null, Optional< LocalBlindness > inLocalBlindness=null, Optional< Array< Gap1D > > outGaps=null, Optional< Path > outAlignedScanPath=null, Optional< Profile > outBrightnessProfile=null, Optional< Profile > outResponseProfile=null, Optional< Array< Path > > outSamplingPoints=null, Optional< float > outSamplingStep=null) |
| Finds segments included between two edges of opposite transition. | |
| static Array< Stripe1D > | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.FindStripes1D (Image inImage, ScanTemplate inScanTemplate, StripeScanParams inStripeScanParams=null, float inMinGapWidth=0.0f, Optional< float > inMaxGapWidth=null, Optional< LocalBlindness > inLocalBlindness=null, Optional< Array< Gap1D > > outGaps=null, Optional< Profile > outBrightnessProfile=null, Optional< Profile > outResponseProfile=null) |
| Finds segments included between two edges of opposite transition. | |
| static ScanTemplate | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.BuildScanTemplate (ImageFormat inImageFormat, Path inScanPath, Optional< UCS2D > inScanPathAlignment=null, int inScanWidth=5, SamplingParams inSamplingParams=null, Optional< Path > outAlignedScanPath=null, Optional< Array< Path > > outSamplingPoints=null, Optional< float > outSamplingStep=null) |
| Expands the scan path into a scanning template used to speed up 1D struct detection. | |
| static void | oevislib_net.ComputerVision.EdgeDetection1D.EdgeDetection1D.TranslateScanTemplate (ScanTemplate ioScanTemplate, Vector2D inDelta, bool inInverse=false, Optional< Array< Path > > outSamplingPoints=null) |
| Translates the scan template along the provided vector. | |
|
inlinestatic |
Expands the scan path into a scanning template used to speed up 1D struct detection.
If the provided path is degenerate (i.e. its length is equal to zero) the function returns an empty ScanTemplate object.
| inImageFormat | Metadata of the input image. |
| inScanPath | Path along which the edges are searched. The path should contain at least 2 points. |
| inScanPathAlignment | Coordinate system of the input scan path. |
| inScanWidth | Width of the scan path [pixels]. Range [1, +inf]. |
| inSamplingParams | Parameters used to control the sampling process. |
| outAlignedScanPath | Input scan path aligned to the provided coordinate system. |
| outSamplingPoints | Array of the paths extracted from the scan path expanded with the provided width. Each path contribute to a single sampling point in the brightness profile. |
| outSamplingStep | Distance between consecutive sampling points. |
|
inlinestatic |
Finds the points in which the image brightness change rapidly, along a scanning path.
This overload build the scan template at each function call. When the parameters used to build the scan template do not change in a loop, build the scan template separately and used the other overload.
| inImage | Input image. It cannot be empty. |
| inScanPath | Path along which the edges are searched. The path should contain at least 2 points. |
| inScanPathAlignment | Coordinate system of the input scan path. |
| inScanWidth | Width of the scan path [pixels]. Range [1, +inf]. |
| inSamplingParams | Parameters used to control the sampling process. |
| inEdgeScanParams | Parameters used to control the edge scanning process. |
| inMinDistance | When two consecutive edges have a distance lower than this value, the second one is neglected. Range [0, +inf]. |
| inMaxDistance | When two consecutive edges have a distance higher than this value, the second one is neglected. Range [0, +inf]. |
| inLocalBlindness | Parameters used to prevent the detection of weak edges nearby strong edges. |
| outGaps | Array containing the gaps between the found edges. |
| outAlignedScanPath | Input scan path aligned to the provided coordinate system. |
| outBrightnessProfile | Profile containing the image sampled along the input scan path. |
| outResponseProfile | First derivative of the brightness profile. |
| outSamplingPoints | Array of the paths extracted from the scan path expanded with the provided width. Each path contribute to a single sampling point in the brightness profile. |
| outSamplingStep | Distance between consecutive sampling points. |
|
inlinestatic |
Finds the points in which the image brightness change rapidly, along a scanning path.
| inImage | Input image. It cannot be empty. |
| inScanTemplate | The scan path expanded to some width. The object must be pre-computed using the buildScanTemplate function. |
| inEdgeScanParams | Parameters used to control the edge scanning process. |
| inMinDistance | When two consecutive edges have a distance lower than this value, the second one is neglected. Range [0, +inf]. |
| inMaxDistance | When two consecutive edges have a distance higher than this value, the second one is neglected. Range [0, +inf]. |
| inLocalBlindness | Parameters used to prevent the detection of weak edges nearby strong edges. |
| outGaps | Array containing the gaps between the found edges. |
| outBrightnessProfile | Profile containing the image sampled along the input scan path. |
| outResponseProfile | First derivative of the brightness profile. |
|
inlinestatic |
Finds the local maxima of the brightness profile along a scanning path.
This overload build the scan template at each function call. When the parameters used to build the scan template do not change in a loop, build the scan template separately and used the other overload.
| inImage | Input image. It cannot be empty. |
| inScanPath | Path along which the ridges are searched. The path should contain at least 2 points. |
| inScanPathAlignment | Coordinate system of the input scan path. |
| inScanWidth | Width of the scan path [pixels]. Range [1, +inf]. |
| inSamplingParams | Parameters used to control the sampling process. |
| inRidgeScanParams | Parameters used to control the ridge scanning process. |
| inMinDistance | When two consecutive ridges have a distance lower than this value, the second one is neglected. Range [0, +inf]. |
| inMaxDistance | When two consecutive ridges have a distance higher than this value, the second one is neglected. Range [0, +inf]. |
| inLocalBlindness | Parameters used to prevent the detection of weak ridges nearby strong ridges. |
| outGaps | Array containing the gaps between the found ridges. |
| outAlignedScanPath | Input scan path aligned to the provided coordinate system. |
| outBrightnessProfile | Profile containing the image sampled along the input scan path. |
| outFirstDerivativeProfile | First derivative of the brightness profile. |
| outSecondDerivativeProfile | Second derivative of the brightness profile. |
| outSamplingPoints | Array of the paths extracted from the scan path expanded with the provided width. Each path contribute to a single sampling point in the brightness profile. |
| outSamplingStep | Distance between consecutive sampling points. |
|
inlinestatic |
Finds the local maxima of the brightness profile along a scanning path.
| inImage | Input image. It cannot be empty. |
| inScanTemplate | The scan path expanded to some width. The object must be pre-computed using the buildScanTemplate function. |
| inRidgeScanParams | Parameters used to control the ridge scanning process. |
| inMinDistance | When two consecutive edges have a distance lower than this value, the second one is neglected. Range [0, +inf]. |
| inMaxDistance | When two consecutive edges have a distance higher than this value, the second one is neglected. Range [0, +inf]. |
| inLocalBlindness | Parameters used to prevent the detection of weak ridges nearby strong ridges. |
| outGaps | Array containing the gaps between the found edges. |
| outBrightnessProfile | Profile containing the image sampled along the input scan path. |
| outFirstDerivativeProfile | First derivative of the brightness profile. |
| outSecondDerivativeProfile | Second derivative of the brightness profile. |
|
inlinestatic |
Finds segments included between two edges of opposite transition.
This overload build the scan template at each function call. When the parameters used to build the scan template do not change in a loop, build the scan template separately and used the other overload.
| inImage | Input image. It cannot be empty. |
| inScanPath | Path along which the stripes are searched. The path should contain at least 2 points. |
| inScanPathAlignment | Coordinate system of the input scan path. |
| inScanWidth | Width of the scan path [pixels]. Range [1, +inf]. |
| inSamplingParams | Parameters used to control the sampling process. |
| inStripeScanParams | Parameters used to control the stripe scanning process. |
| inMinGapWidth | When two consecutive stripes have a distance lower than this value, the second one is neglected. Range [0, +inf]. |
| inMaxGapWidth | When two consecutive stripes have a distance higher than this value, the second one is neglected. |
| inLocalBlindness | Parameters used to prevent the detection of weak stripes nearby strong stripes. |
| outGaps | Array containing the gaps between the found stripes. |
| outAlignedScanPath | Input scan path aligned to the provided coordinate system. |
| outBrightnessProfile | Profile containing the image sampled along the input scan path. |
| outResponseProfile | First derivative of the brightness profile. |
| outSamplingPoints | Array of the paths extracted from the scan path expanded with the provided width. Each path contribute to a single sampling point in the brightness profile. |
| outSamplingStep | Distance between consecutive sampling points. |
|
inlinestatic |
Finds segments included between two edges of opposite transition.
| inImage | Input image. It cannot be empty. |
| inScanTemplate | The scan path expanded to some width. The object must be pre-computed using the buildScanTemplate function. |
| inStripeScanParams | Parameters used to control the stripe scanning process. |
| inMinGapWidth | When two consecutive stripes have a distance lower than this value, the second one is neglected. Range [0, +inf]. |
| inMaxGapWidth | When two consecutive stripes have a distance higher than this value, the second one is neglected. Range [0, +inf]. |
| inLocalBlindness | Parameters used to prevent the detection of weak stripes nearby strong stripes. |
| outGaps | Array containing the gaps between the found stripes. |
| outBrightnessProfile | Profile containing the image sampled along the input scan path. |
| outResponseProfile | First derivative of the brightness profile. |
|
inlinestatic |
Translates the scan template along the provided vector.
| ioScanTemplate | ScanTemplate that will be translated. The object cannot be empty. |
| inDelta | Translation vector. |
| inInverse | If true, the translation vector is inverted. |
| outSamplingPoints | Array of the paths extracted from the scan path expanded with the provided width. |