public class LucasKanadeForwardMatcher extends LucasKanadeMatcher
LucasKanadeMatcher.Parameters
Constructor and Description |
---|
LucasKanadeForwardMatcher(ij.process.FloatProcessor I,
ij.process.FloatProcessor R) |
LucasKanadeForwardMatcher(ij.process.FloatProcessor I,
ij.process.FloatProcessor R,
LucasKanadeMatcher.Parameters params)
Creates a new matcher of type
LucasKanadeForwardMatcher . |
Modifier and Type | Method and Description |
---|---|
double |
getRmsError()
Measures the RMS intensity difference between the reference image R and the
patch in the search image I defined by the current warp Tp.
|
boolean |
hasConverged()
Checks if the matcher has converged.
|
ProjectiveMapping |
iterateOnce(ProjectiveMapping Tp)
Performs a single matching iteration on the given image pair (I, R).
|
getIteration, getMatch, getReferenceMappingTo, getReferencePoints, gradientX, gradientY, showSteepestDescentImages
public LucasKanadeForwardMatcher(ij.process.FloatProcessor I, ij.process.FloatProcessor R, LucasKanadeMatcher.Parameters params)
LucasKanadeForwardMatcher
.I
- the search image (of type FloatProcessor
).R
- the reference image (of type FloatProcessor
)params
- a parameter object of type LucasKanadeMatcher.Parameters
.public LucasKanadeForwardMatcher(ij.process.FloatProcessor I, ij.process.FloatProcessor R)
public boolean hasConverged()
LucasKanadeMatcher
hasConverged
in class LucasKanadeMatcher
public double getRmsError()
LucasKanadeMatcher
getRmsError
in class LucasKanadeMatcher
public ProjectiveMapping iterateOnce(ProjectiveMapping Tp)
LucasKanadeMatcher
iterateOnce
in class LucasKanadeMatcher
Tp
- the warp transformation from the reference image R to
the initial search patch, assuming that R is centered at the coordinate
origin!Copyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)