FeatureMatchAnalyzer(x, y = NULL, matches = NULL, object = NULL, which.comps = c("cent.dist", "angle.diff", "area.ratio", "int.area", "bdelta", "haus", "ph", "mhd", "med", "msd", "fom", "minsep"), sizefac = 1, alpha = 0.1, k = 4, p = 2, c = Inf, distfun = "distmapfun", ...)
FeatureComps(Y, X, which.comps=c("cent.dist", "angle.diff", "area.ratio", "int.area", "bdelta", "haus", "ph", "mhd", "med", "msd", "fom", "minsep"), sizefac=1, alpha=0.1, k=4, p=2, c=Inf, distfun="distmapfun", ...)x, y and matches are list objects with components as output by deltamm or similar function. Only one is used, and it first checks for matches, then y, and finally xsolutionset from package locperf function.FeatureSuite function. Not used by FeatureMatchAnalyzer (so far).locperf.deltametric.FeatureComps is the primary function called by FeatureMatchAnalyzer, and is designed as a more stand-alone type of function. Several of the measures that can be calculated are simply the binary image measures/metrics available via, e.g., locperf. It calculates comparisons between two matched features (i.e., between the verification and forecast fields).
locperf, FeatureSuite, convthresh, deltamm, deltametricx <- y <- matrix(0, 10, 12)
x[2:3,c(3:6, 8:10)] <- 1
y[c(1:2, 9:10),c(3:6)] <- 1
hold <- FeatureSuitePrep("y", "x")
look <- convthresh( hold, smoothpar=1.5)
look2 <- centmatch(look, object=hold)
FeatureMatchAnalyzer(matches=look2)
data(pert000)
data(pert004)
hold <- FeatureSuitePrep("pert004", "pert000")
look <- convthresh( hold, smoothpar=10.5)
look2 <- centmatch(look, object=hold)
FeatureMatchAnalyzer(matches=look2)Run the code above in your browser using DataLab