public enum TemplateScoreType extends Enum<TemplateScoreType>
| Enum Constant and Description |
|---|
NCC
Normalized Cross Correlation (NCC) error metric.
|
SUM_DIFF_SQ
Sum of the difference squared or Euclidean error squared.
|
| Modifier and Type | Method and Description |
|---|---|
static TemplateScoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateScoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateScoreType SUM_DIFF_SQ
Sum of the difference squared or Euclidean error squared.
error = Sum(o,u) [ I(x,y) - T(x-o,y-u) ]^2
TemplateDiffSquaredpublic static final TemplateScoreType NCC
Normalized Cross Correlation (NCC) error metric. Adds invariance to lighting conditions but is more expensive to compute.
TemplateNCCpublic static TemplateScoreType[] values()
for (TemplateScoreType c : TemplateScoreType.values()) System.out.println(c);
public static TemplateScoreType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2013. All Rights Reserved.