|
oevislib_net
0.14.3.0
|
Classes | |
| class | oevislib_net.ComputerVision.TemplateMatching.Edge.TemplateModel |
| Template model, used to find similar objects during (edge-based) template matching. More... | |
| class | oevislib_net.ComputerVision.TemplateMatching.Edge.ModelParams |
| Parameters for model creating in edge-based template matching. More... | |
| class | oevislib_net.ComputerVision.TemplateMatching.Edge.SearchParams |
| Parameters for object search in edge-based template matching. More... | |
Functions | |
| static Conditional< TemplateModel > | oevislib_net.ComputerVision.TemplateMatching.Edge.TemplateMatching.CreateModel (Image inImage, Optional< ShapeRegion > inTemplateRegion=null, Optional< Rectangle2D > inObjectFrame=null, ModelParams inModelParams=null, AbortCallback inAbortCallback=null, Optional< Array< Point2D > > outTemplateEdges=null) |
| Creates a template model for edge-based template matching. | |
| static Array< TemplateObject > | oevislib_net.ComputerVision.TemplateMatching.Edge.TemplateMatching.FindObjects (Image inImage, TemplateModel inTemplateModel, Optional< ShapeRegion > inSearchRegion=null, Optional< UCS2D > inSearchRegionAlignment=null, SearchParams inSearchParams=null, Optional< int > outPyramidHeight=null, Optional< ShapeRegion > outAlignedSearchRegion=null, Optional< Array< Array< float > > > outLevelScores=null, Optional< Array< TemplateObject > > outCandidates=null) |
| Finds all occurrences of a predefined template on an image by comparing object edges. | |
|
inlinestatic |
Creates a template model for edge-based template matching.
| inImage | Image from which model will be extracted. Only UInt8 images are supported. If the image is RGB, it is first converted using Image::convertToGrayscale. |
| inTemplateRegion | Region of the image from which model will be extracted. |
| inObjectFrame | Position of the model object in the image. |
| inModelParams | Parameters of the model. |
| inAbortCallback | Callback function cyclically called during model creation to check if the process needs to be stopped. The function should return true if the process should be aborted. |
| outTemplateEdges | Edges found at the top resolution level. |
|
inlinestatic |
Finds all occurrences of a predefined template on an image by comparing object edges.
| inImage | Image on which object occurrences will be searched. Only UInt8 images are supported. If the image is RGB, it is first converted using Image::convertToGrayscale. |
| inTemplateModel | Model of objects to be searched. |
| inSearchRegion | Region of possible object centers. |
| inSearchRegionAlignment | Adjusts the region of interest to the position of the inspected object. |
| inSearchParams | Parameters that defines how to search for the objects and how many ones to keep. |
| outPyramidHeight | Highest pyramid level used to speed up computations. |
| outAlignedSearchRegion | Transformed input shape region. |
| outLevelScores | Scores of the found objects at each pyramid level. |
| outCandidates | Anomalies (or matches obtained with a lower score) that differ from the original template. |