Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

coregistration.hh File Reference

#include "constants.hh"
#include "readinput.hh"
#include "orbitbk.hh"
#include "slcimage.hh"
#include "productinfo.hh"
#include "bk_baseline.hh"

Go to the source code of this file.

Functions

void coarseporbit (const input_ell &ell, const slcimage &master, const slcimage &slave, orbit &masterorbit, orbit &slaveorbit, const BASELINE &baseline)
void coarsecorrel (const input_coarsecorr &input, const slcimage &minfo, const slcimage &sinfo)
void coarsecorrelfft (const input_coarsecorr &input, const slcimage &minfo, const slcimage &sinfo)
real4 corrfft (const matrix< real4 > &magnitudeMaster, const matrix< real4 > &magnitudeMask, real4 &offsetL, real4 &offsetP)
matrix< uintdistributepoints (real4 numberofpoints, const window &win)
void getoffset (const matrix< real4 > &Result, int32 &offsetLines, int32 &offsetPixels)
void finecoreg (const input_fine &fineinput, const slcimage &minfo, const slcimage &sinfo)
real4 coherencefft (const input_fine &fineinput, const matrix< complr4 > &Master, const matrix< complr4 > &Mask, real4 &offsetL, real4 &offsetP)
real4 coherencespace (const input_fine &fineinput, const matrix< complr4 > &Master, const matrix< complr4 > &Mask, real4 &offsetL, real4 &offsetP)
void coregpm (const window &originalmaster, const char *i_resfile, const input_coregpm &coregpminput, uint oversamplingsfactor)
matrix< real4getofffile (const char *file, real4 threshold)
void resample (const input_gen &generalinput, const input_resample &resampleinput, const slcimage &master, const slcimage &slave, const matrix< real8 > &cpmL, const matrix< real8 > &cpmP)
matrix< real4cc4 (const matrix< real4 > &x)
matrix< real4cc6 (const matrix< real4 > &x)
matrix< real4ts6 (const matrix< real4 > &x)
matrix< real4ts8 (const matrix< real4 > &x)
matrix< real4ts16 (const matrix< real4 > &x)
matrix< real4rect (const matrix< real4 > &x)
matrix< real4tri (const matrix< real4 > &x)
matrix< real4knab (const matrix< real4 > &x, const real4 CHI, const int32 N)


Function Documentation

matrix<real4> cc4 const matrix< real4 > &  x  ) 
 

Definition at line 2610 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), PRINT_ERROR, real4, sqr(), and TRACE_FUNCTION.

Referenced by resample().

matrix<real4> cc6 const matrix< real4 > &  x  ) 
 

Definition at line 2652 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), PRINT_ERROR, real4, sqr(), and TRACE_FUNCTION.

Referenced by resample().

void coarsecorrel const input_coarsecorr input,
const slcimage minfo,
const slcimage sinfo
 

Definition at line 275 of file coregistration.cc.

References input_coarsecorr::AccL, input_coarsecorr::AccP, bk_assert(), correlate(), slcimage::currentwindow, distributepoints(), getoffset(), input_coarsecorr::ifpositions, INFO, input_coarsecorr::initoffsetL, input_coarsecorr::initoffsetP, int32, isodd(), window::linehi, window::linelo, window::lines(), magnitude(), input_coarsecorr::MasksizeL, input_coarsecorr::MasksizeP, max(), min(), input_coarsecorr::Nwin, ONE27, openfstream(), window::pixhi, window::pixlo, bk_messages::print(), processcontrol, PROGRESS, slcimage::readdata(), real4, matrix< Type >::resize(), specified(), TRACE_FUNCTION, uint, and WARNING.

Referenced by main().

void coarsecorrelfft const input_coarsecorr input,
const slcimage minfo,
const slcimage sinfo
 

Definition at line 592 of file coregistration.cc.

References argument_error, bk_assert(), cc_magfft, corrfft(), slcimage::currentwindow, distributepoints(), getoffset(), input_coarsecorr::ifpositions, INFO, input_coarsecorr::initoffsetL, input_coarsecorr::initoffsetP, input_error, int32, ispower2(), window::linehi, window::linelo, window::lines(), magnitude(), input_coarsecorr::MasksizeL, input_coarsecorr::MasksizeP, max(), input_coarsecorr::method, min(), input_coarsecorr::Nwin, ONE27, openfstream(), window::pixhi, window::pixlo, bk_messages::print(), PRINT_ERROR, processcontrol, PROGRESS, slcimage::readdata(), real4, matrix< Type >::resize(), specified(), TRACE_FUNCTION, uint, and WARNING.

Referenced by main().

void coarseporbit const input_ell ell,
const slcimage master,
const slcimage slave,
orbit masterorbit,
orbit slaveorbit,
const BASELINE baseline
 

Definition at line 82 of file coregistration.cc.

References bk_assert(), Btemp(), slcimage::currentwindow, BASELINE::get_alpha(), BASELINE::get_b(), BASELINE::get_bhor(), BASELINE::get_bpar(), BASELINE::get_bperp(), BASELINE::get_bvert(), BASELINE::get_hamb(), BASELINE::get_orb_conv(), BASELINE::get_theta(), BASELINE::get_theta_inc(), INFO, int16, int32, window::linehi, window::linelo, lp2xyz(), onedecimal(), window::pixhi, window::pixlo, bk_messages::print(), processcontrol, PROGRESS, rad2deg(), real8, TRACE_FUNCTION, uint, slcimage::utc1, cn::x, xyz2lp(), cn::y, and cn::z.

Referenced by main().

real4 coherencefft const input_fine fineinput,
const matrix< complr4 > &  Master,
const matrix< complr4 > &  Mask,
real4 offsetL,
real4 offsetP
 

Definition at line 1517 of file coregistration.cc.

References input_fine::AccL, input_fine::AccP, matrix< Type >::clean(), complr4, matrix< Type >::conj(), fc_magfft, fft2d(), ifft2d(), input_error, int32, ispower2(), matrix< Type >::lines(), magnitude(), mat2cr4(), max(), mean(), input_fine::method, input_fine::osfactor, oversample(), matrix< Type >::pixels(), PRINT_ERROR, real(), real4, matrix< Type >::setdata(), sqr(), TRACE_FUNCTION, and uint.

Referenced by finecoreg().

real4 coherencespace const input_fine fineinput,
const matrix< complr4 > &  Master,
const matrix< complr4 > &  Mask,
real4 offsetL,
real4 offsetP
 

Definition at line 1657 of file coregistration.cc.

References input_fine::AccL, input_fine::AccP, fc_cmplxspace, fc_magspace, input_error, int32, ispower2(), window::linehi, window::linelo, matrix< Type >::lines(), magnitude(), max(), mean(), input_fine::method, norm2(), input_fine::osfactor, oversample(), matrix< Type >::pixels(), window::pixhi, window::pixlo, PRINT_ERROR, real4, matrix< Type >::setdata(), sqr(), TRACE_FUNCTION, uint, and unhandled_case_error.

Referenced by finecoreg().

void coregpm const window originalmaster,
const char *  i_resfile,
const input_coregpm coregpminput,
uint  oversamplingsfactor
 

Definition at line 1822 of file coregistration.cc.

References abs(), bk_assert(), choles(), DEBUG, input_coregpm::degree, diagxmat(), input_coregpm::dumpmodel, ERROR, eye(), bk_messages::get_str(), getofffile(), matrix< Type >::getrow(), INFO, input_error, int32, invertchol(), input_coregpm::k_alpha, window::linehi, window::linelo, window::lines(), matrix< Type >::lines(), matTxmat(), matxmatT(), max(), input_coregpm::maxiter, mean(), Ncoeffs(), normalize(), ONE27, openfstream(), window::pixels(), matrix< Type >::pixels(), window::pixhi, window::pixlo, polyval(), bk_messages::print(), PRINT_ERROR, processcontrol, PROGRESS, readcoeff(), real4, real8, matrix< Type >::resize(), matrix< Type >::setrow(), solvechol(), some_error, sqr(), input_coregpm::threshold, TRACE, TRACE_FUNCTION, uint, unhandled_case_error, WARNING, and input_coregpm::weightflag.

Referenced by main().

real4 corrfft const matrix< real4 > &  magnitudeMaster,
const matrix< real4 > &  magnitudeMask,
real4 offsetL,
real4 offsetP
 

Definition at line 906 of file coregistration.cc.

References matrix< Type >::clean(), complr4, matrix< Type >::conj(), fft2d(), ifft2d(), input_error, int32, ispower2(), matrix< Type >::lines(), mean(), matrix< Type >::pixels(), PRINT_ERROR, real(), real4, sqr(), and TRACE_FUNCTION.

Referenced by coarsecorrelfft().

matrix<uint> distributepoints real4  numberofpoints,
const window win
 

Definition at line 1047 of file coregistration.cc.

References int32, window::linehi, window::linelo, window::pixhi, window::pixlo, real4, TRACE_FUNCTION, and uint.

Referenced by coarsecorrel(), coarsecorrelfft(), finecoreg(), flatearth(), and slant2hschwabisch().

void finecoreg const input_fine fineinput,
const slcimage minfo,
const slcimage sinfo
 

Definition at line 1200 of file coregistration.cc.

References input_fine::AccL, input_fine::AccP, bk_assert(), coherencefft(), coherencespace(), slcimage::currentwindow, distributepoints(), fc_cmplxspace, fc_magfft, fc_magspace, input_fine::ifpositions, input_fine::initoffsetL, input_fine::initoffsetP, int32, window::linehi, window::linelo, window::lines(), input_fine::MasksizeL, input_fine::MasksizeP, max(), input_fine::method, min(), input_fine::Nwin, ONE27, input_fine::osfactor, window::pixhi, window::pixlo, bk_messages::print(), PRINT_ERROR, processcontrol, PROGRESS, slcimage::readdata(), real4, matrix< Type >::resize(), specified(), TRACE_FUNCTION, uint, unhandled_case_error, and WARNING.

Referenced by main().

matrix<real4> getofffile const char *  file,
real4  threshold
 

Definition at line 2507 of file coregistration.cc.

References bk_assert(), EIGHTY, int32, ONE27, openfstream(), PRINT_ERROR, real4, some_error, and TRACE_FUNCTION.

Referenced by coregpm().

void getoffset const matrix< real4 > &  Result,
int32 offsetLines,
int32 offsetPixels
 

Definition at line 1118 of file coregistration.cc.

References abs(), input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), bk_messages::print(), PRINT_ERROR, real4, TRACE_FUNCTION, uint, and WARNING.

Referenced by coarsecorrel(), and coarsecorrelfft().

matrix<real4> knab const matrix< real4 > &  x,
const real4  CHI,
const int32  N
 

Definition at line 2844 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), PI, matrix< Type >::pixels(), PRINT_ERROR, real4, sinc(), sqr(), and TRACE_FUNCTION.

Referenced by resample().

matrix<real4> rect const matrix< real4 > &  x  ) 
 

Definition at line 2782 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), PRINT_ERROR, rect(), and TRACE_FUNCTION.

void resample const input_gen generalinput,
const input_resample resampleinput,
const slcimage master,
const slcimage slave,
const matrix< real8 > &  cpmL,
const matrix< real8 > &  cpmP
 

Definition at line 2889 of file coregistration.cc.

References slcimage::abw, bk_assert(), cc4(), cc6(), compli16, complr4, cos(), cr4toci2(), slcimage::currentwindow, input_resample::dbow, DEBUG, degree(), EIGHTY, input_resample::fileout, FORMATCI2, FORMATCR4, getoverlap(), INFO, input_error, int32, isodd(), knab(), window::linehi, window::linelo, matrix< Type >::lines(), window::lines(), mat2cr4(), matTxmat(), max(), input_gen::memory, input_resample::method, min(), normalize(), input_resample::oformatflag, openfstream(), slcimage::originalwindow, input_gen::overwrit, PI, slcimage::pix2fdc(), matrix< Type >::pixels(), window::pixels(), window::pixhi, window::pixlo, polyval(), slcimage::prf, bk_messages::print(), PRINT_ERROR, processcontrol, PROGRESS, slcimage::rbw, slcimage::readdata(), real4, real8, rect(), rs_cc4p, rs_cc6p, rs_knab10p, rs_knab16p, rs_knab4p, rs_knab6p, rs_knab8p, rs_rect, rs_tri, rs_ts16p, rs_ts6p, rs_ts8p, slcimage::rsr2x, input_resample::shiftazi, sin(), matrix< Type >::size(), TRACE_FUNCTION, tri(), ts16(), ts6(), ts8(), uint, unhandled_case_error, and WARNING.

Referenced by main().

matrix<real4> tri const matrix< real4 > &  x  ) 
 

Definition at line 2811 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), PRINT_ERROR, TRACE_FUNCTION, and tri().

matrix<real4> ts16 const matrix< real4 > &  x  ) 
 

Definition at line 2754 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), PRINT_ERROR, rect(), sinc(), and TRACE_FUNCTION.

Referenced by resample().

matrix<real4> ts6 const matrix< real4 > &  x  ) 
 

Definition at line 2696 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), PRINT_ERROR, rect(), sinc(), and TRACE_FUNCTION.

Referenced by resample().

matrix<real4> ts8 const matrix< real4 > &  x  ) 
 

Definition at line 2725 of file coregistration.cc.

References input_error, int32, matrix< Type >::lines(), matrix< Type >::pixels(), PRINT_ERROR, rect(), sinc(), and TRACE_FUNCTION.

Referenced by resample().


Generated on Fri Apr 22 15:58:06 2005 for Doris by doxygen 1.3.6