access to phasecorr function

9 visualizzazioni (ultimi 30 giorni)
hamed amini
hamed amini il 11 Ago 2019
Risposto: hamed amini il 14 Ago 2019
I would like to use the phasecorr function, but it cannot be accessed. Is there a way to run it as a standalone function and not part of findTranslationPhaseCorr?
function [vec,peakVal] = findTranslationPhaseCor(varargin) %#codegen
%findTranslationPhaseCorr Determine translation using phase correlation.
%
% [vec,peakVal] = findTranslationPhaseCorr(MOVING, FIXED) estimates the
% translation of MOVING necessary to align MOVING with the
% fixed image FIXED. The output VEC is a two element vector of the form
% [deltaX, deltaY]. The scalar peakVal is the peak value of the phase
% correlation matrix used to estimate translation.
%
% [vec,peakVal] = findTranslationPhaseCorr(D) estimates the translation
% of MOVING necesary to align MOVING with the fixed image FIXED. D is a
% phase correlation matrix of the form returned by:
%
% D = phasecorr(fixed,moving).
% Copyright 2013 The MathWorks, Inc.

Risposta accettata

hamed amini
hamed amini il 14 Ago 2019
>> edit private/phasecorr.m

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by