class: FactoryTemplateMatching
[22:14] static extends: object
Static wrappers for boofcv.factory.template.FactoryTemplateMatching.
Methods
-
createIntensity (
string ScoreTypeName, string ImageClassName)Creates a template matching intensity algorithm.
- @p
ScoreTypeNameis SUM_ABSOLUTE_DIFFERENCE, SUM_SQUARE_ERROR, NCC, CORRELATION, or SQUARED_DIFFERENCE_NORMED. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ATemplateMatchingIntensity wrapper.
- @p
-
createMatcher (
string ScoreTypeName, string ImageClassName)Creates a template matcher.
- @p
ScoreTypeNameis SUM_ABSOLUTE_DIFFERENCE, SUM_SQUARE_ERROR, NCC, CORRELATION, or SQUARED_DIFFERENCE_NORMED. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ATemplateMatching wrapper.
- @p
class: TemplateMatchingIntensity
[100:7] extends: object
TemplateMatchingIntensity wraps boofcv.alg.template.TemplateMatchingIntensity.
Members
- obj
Methods
-
TemplateMatchingIntensity (
object Obj)Wraps a BoofCV TemplateMatchingIntensity.
- @p
Objis an existing intensity Java object or wrapper.
- @p
-
setInputImage (
object Image)Sets the input image.
- @p
Imageis the input image.
- @p
-
process (
object Template, Mask = null)Processes a template, optionally with a mask.
- @p
Templateis the template image. - @p
Maskis an optional mask image or null.
- @p
-
getIntensity ()
Gets the intensity image.
- @r
AGrayF32 Java object.
- @r
-
isBorderProcessed ()
Gets whether borders are processed.
- @r
Trueif borders are processed.
- @r
-
getBorderX0 ()
Gets the left border.
- @r
Theleft border size.
- @r
-
getBorderX1 ()
Gets the right border.
- @r
Theright border size.
- @r
-
getBorderY0 ()
Gets the top border.
- @r
Thetop border size.
- @r
-
getBorderY1 ()
Gets the bottom border.
- @r
Thebottom border size.
- @r
-
isMaximize ()
Gets whether the score should be maximized.
- @r
Trueif higher scores are better.
- @r
class: TemplateMatching
[62:7] extends: object
TemplateMatching wraps boofcv.alg.template.TemplateMatching.
Members
- obj
Methods
-
TemplateMatching (
object Obj)Wraps a BoofCV TemplateMatching.
- @p
Objis an existing matcher Java object or wrapper.
- @p
-
setMinimumSeparation (
int Separation)Sets the minimum separation between returned matches.
- @p
Separationis the minimum pixel separation.
- @p
-
setTemplate (
object Template, Mask = null, int MaxResults = 1)Sets the template.
- @p
Templateis the template image. - @p
Maskis an optional mask image or null. - @p
MaxResultsis the maximum number of results.
- @p
-
setImage (
object Image)Sets the input image.
- @p
Imageis the input image.
- @p
-
process ()
Runs template matching.
-
getResults ()
Gets match results.
- @r
ADogArray of Match objects.
- @r
class: TemplateScoreType
[50:14] static extends: object
TemplateScoreType wraps boofcv.factory.template.TemplateScoreType.
Methods
-
valueOf (
string Name)Looks up a template score enum.
- @p
Nameis SUM_ABSOLUTE_DIFFERENCE, SUM_SQUARE_ERROR, NCC, CORRELATION, or SQUARED_DIFFERENCE_NORMED. - @r
Theenum Java object.
- @p