|
oevislib_net
0.14.3.0
|
Classes | |
| class | oevislib_net.ComputerVision.TemplateMatching.NCC.TemplateModel |
| Template model, used to find similar objects during (NCC-based) template matching. More... | |
| class | oevislib_net.ComputerVision.TemplateMatching.NCC.ModelParams |
| Parameters for model creation in NCC-based template matching. More... | |
| class | oevislib_net.ComputerVision.TemplateMatching.NCC.SearchParams |
| Parameters for object search in NCC-based template matching. More... | |
Functions | |
| static TemplateModel | oevislib_net.ComputerVision.TemplateMatching.NCC.TemplateMatching.CreateModel (Image inImage, Optional< ShapeRegion > inTemplateRegion=null, Optional< Rectangle2D > inObjectFrame=null, ModelParams inModelParams=null, Optional< Array< Image > > outTemplatePyramid=null) |
| Creates a template model for NCC-based template matching. | |
| static Array< TemplateObject > | oevislib_net.ComputerVision.TemplateMatching.NCC.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 using a model based on NCC. | |
|
inlinestatic |
Creates a template model for NCC-based template matching.
Uses the Normalized Cross Correlation-based image alignment algorithm.
| inImage | Image from which model will be extracted. |
| 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. |
| outTemplatePyramid | Pyramid downsample of the model image. |
|
inlinestatic |
Finds all occurrences of a predefined template on an image using a model based on NCC.
| inImage | Image on which object occurrences will be searched. |
| 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. |