Improve sub-pixel accuracy
dzenanz opened this issue · 2 comments
dzenanz commented
Improve sub-pixel accuracy
thewtex commented
Add basic frequency-domain methods for subsample offset estimation. The frequency domain methods are summarized in
https://www.ncbi.nlm.nih.gov/pubmed/31352341
Implement two basic methods in an itk::PhaseFrequencySubsampleCorrelationOptimizer
.
- Power spectrum weighted mean. (Eqn. 10)
- Slope of the phase-frequency least squares linear regression. (Eqn. 14)
Since the sample-level offset computation should be shared with the itk::MaxPhaseCorrelationOptimizer
move its functionality into a common base class, itk::SamplePeakCorrelationOptimizer
, including MergePeaks
, ZeroSuppression
, PixelDistanceToTolerance
.