isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
isce3::unwrap::icu::ICU Class Reference

Public Member Functions

 ICU ()=default
 Constructor.
 
 ~ICU ()=default
 Destructor.
 
size_t numBufLines () const
 Get tile buffer length. More...
 
void numBufLines (const size_t)
 Set tile buffer length (default: 3700). More...
 
size_t numOverlapLines () const
 Get lines of overlap between tiles. More...
 
void numOverlapLines (const size_t)
 Set lines of overlap between tiles (default: 200). More...
 
bool usePhaseGradNeut () const
 Get phase gradient neutrons flag. More...
 
void usePhaseGradNeut (const bool)
 Set phase gradient neutrons flag (default: false). More...
 
bool useIntensityNeut () const
 Get intensity neutrons flag. More...
 
void useIntensityNeut (const bool)
 Set intensity neutrons flag (default: false). More...
 
int phaseGradWinSize () const
 Get window size for phase gradient calculation. More...
 
void phaseGradWinSize (const int)
 Set window size for phase gradient calculation (default: 5). More...
 
float neutPhaseGradThr () const
 Get range phase gradient threshold for neutron generation (rad/sample). More...
 
void neutPhaseGradThr (const float)
 Set range phase gradient threshold for neutron generation (rad/sample) (default: 3.0). More...
 
float neutIntensityThr () const
 Get intensity variance threshold for neutron generation (stddevs from mean). More...
 
void neutIntensityThr (const float)
 Set intensity variance threshold for neutron generation (stddevs from mean) (default: 8.0). More...
 
float neutCorrThr () const
 Get correlation threshold for neutron generation. More...
 
void neutCorrThr (const float)
 Set correlation threshold for neutron generation (default: 0.8). More...
 
int numTrees () const
 Get number of tree growing iterations. More...
 
void numTrees (const int)
 Set number of tree growing iterations (default: 7). More...
 
int maxBranchLen () const
 Get max branch cut length. More...
 
void maxBranchLen (const int)
 Set max branch cut length (default: 64). More...
 
float ratioDxDy () const
 Get ratio of x:y pixel spacing (for measuring branch cut length). More...
 
void ratioDxDy (const float)
 Set ratio of x:y pixel spacing (for measuring branch cut length) (default: 1.0). More...
 
float initCorrThr () const
 Get initial correlation threshold. More...
 
void initCorrThr (const float)
 Set initial correlation threshold (default: 0.1). More...
 
float maxCorrThr () const
 Get max correlation threshold. More...
 
void maxCorrThr (const float)
 Set max correlation threshold (default: 0.9). More...
 
float corrThrInc () const
 Get correlation threshold increment. More...
 
void corrThrInc (const float)
 Set correlation threshold increment (default: 0.1). More...
 
float minCCAreaFrac () const
 Get min connected component size as fraction of tile area. More...
 
void minCCAreaFrac (const float)
 Set min connected component size as fraction of tile area (default: 0.003125). More...
 
size_t numBsLines () const
 Get number of bootstrap lines. More...
 
void numBsLines (const size_t)
 Set number of bootstrap lines (default: 16). More...
 
size_t minBsPts () const
 Get bootstrapping min overlap area. More...
 
void minBsPts (const size_t)
 Set bootstrapping min overlap area (default: 16). More...
 
float bsPhaseVarThr () const
 Get bootstrap phase variance threshold. More...
 
void bsPhaseVarThr (const float)
 Set bootstrap phase variance threshold (default: 8.0). More...
 
void unwrap (isce3::io::Raster &unw, isce3::io::Raster &ccl, isce3::io::Raster &intf, isce3::io::Raster &corr, unsigned int seed=0)
 Unwrap the target interferogram. More...
 
void getResidues (signed char *charge, const float *phase, const size_t length, const size_t width)
 
void genNeutrons (bool *neut, const std::complex< float > *intf, const float *corr, const size_t length, const size_t width)
 
void growTrees (bool *tree, const signed char *charge, const bool *neut, const size_t length, const size_t width, const unsigned int seed=0)
 
template<bool DO_BOOTSTRAP>
void growGrass (float *unw, uint8_t *ccl, bool *currcc, float *bsunw, uint8_t *bsccl, LabelMap &labelmap, const float *phase, const bool *tree, const float *corr, float corrthr, const size_t length, const size_t width)
 

Member Function Documentation

float isce3::unwrap::icu::ICU::bsPhaseVarThr ( ) const
inline

Get bootstrap phase variance threshold.

void isce3::unwrap::icu::ICU::bsPhaseVarThr ( const float  bsPhaseVarThr)
inline

Set bootstrap phase variance threshold (default: 8.0).

float isce3::unwrap::icu::ICU::corrThrInc ( ) const
inline

Get correlation threshold increment.

void isce3::unwrap::icu::ICU::corrThrInc ( const float  corrThrInc)
inline

Set correlation threshold increment (default: 0.1).

float isce3::unwrap::icu::ICU::initCorrThr ( ) const
inline

Get initial correlation threshold.

void isce3::unwrap::icu::ICU::initCorrThr ( const float  initCorrThr)
inline

Set initial correlation threshold (default: 0.1).

int isce3::unwrap::icu::ICU::maxBranchLen ( ) const
inline

Get max branch cut length.

void isce3::unwrap::icu::ICU::maxBranchLen ( const int  maxBranchLen)
inline

Set max branch cut length (default: 64).

float isce3::unwrap::icu::ICU::maxCorrThr ( ) const
inline

Get max correlation threshold.

void isce3::unwrap::icu::ICU::maxCorrThr ( const float  maxCorrThr)
inline

Set max correlation threshold (default: 0.9).

size_t isce3::unwrap::icu::ICU::minBsPts ( ) const
inline

Get bootstrapping min overlap area.

void isce3::unwrap::icu::ICU::minBsPts ( const size_t  minBsPts)
inline

Set bootstrapping min overlap area (default: 16).

float isce3::unwrap::icu::ICU::minCCAreaFrac ( ) const
inline

Get min connected component size as fraction of tile area.

void isce3::unwrap::icu::ICU::minCCAreaFrac ( const float  minCCAreaFrac)
inline

Set min connected component size as fraction of tile area (default: 0.003125).

float isce3::unwrap::icu::ICU::neutCorrThr ( ) const
inline

Get correlation threshold for neutron generation.

void isce3::unwrap::icu::ICU::neutCorrThr ( const float  neutCorrThr)
inline

Set correlation threshold for neutron generation (default: 0.8).

float isce3::unwrap::icu::ICU::neutIntensityThr ( ) const
inline

Get intensity variance threshold for neutron generation (stddevs from mean).

void isce3::unwrap::icu::ICU::neutIntensityThr ( const float  neutIntensityThr)
inline

Set intensity variance threshold for neutron generation (stddevs from mean) (default: 8.0).

float isce3::unwrap::icu::ICU::neutPhaseGradThr ( ) const
inline

Get range phase gradient threshold for neutron generation (rad/sample).

void isce3::unwrap::icu::ICU::neutPhaseGradThr ( const float  neutPhaseGradThr)
inline

Set range phase gradient threshold for neutron generation (rad/sample) (default: 3.0).

size_t isce3::unwrap::icu::ICU::numBsLines ( ) const
inline

Get number of bootstrap lines.

void isce3::unwrap::icu::ICU::numBsLines ( const size_t  numBsLines)
inline

Set number of bootstrap lines (default: 16).

size_t isce3::unwrap::icu::ICU::numBufLines ( ) const
inline

Get tile buffer length.

void isce3::unwrap::icu::ICU::numBufLines ( const size_t  numBufLines)
inline

Set tile buffer length (default: 3700).

size_t isce3::unwrap::icu::ICU::numOverlapLines ( ) const
inline

Get lines of overlap between tiles.

void isce3::unwrap::icu::ICU::numOverlapLines ( const size_t  numOverlapLines)
inline

Set lines of overlap between tiles (default: 200).

int isce3::unwrap::icu::ICU::numTrees ( ) const
inline

Get number of tree growing iterations.

void isce3::unwrap::icu::ICU::numTrees ( const int  numTrees)
inline

Set number of tree growing iterations (default: 7).

int isce3::unwrap::icu::ICU::phaseGradWinSize ( ) const
inline

Get window size for phase gradient calculation.

void isce3::unwrap::icu::ICU::phaseGradWinSize ( const int  phaseGradWinSize)
inline

Set window size for phase gradient calculation (default: 5).

float isce3::unwrap::icu::ICU::ratioDxDy ( ) const
inline

Get ratio of x:y pixel spacing (for measuring branch cut length).

void isce3::unwrap::icu::ICU::ratioDxDy ( const float  ratioDxDy)
inline

Set ratio of x:y pixel spacing (for measuring branch cut length) (default: 1.0).

void isce3::unwrap::icu::ICU::unwrap ( isce3::io::Raster unw,
isce3::io::Raster ccl,
isce3::io::Raster intf,
isce3::io::Raster corr,
unsigned int  seed = 0 
)

Unwrap the target interferogram.

Parameters
[out]unwUnwrapped phase
[out]cclConnected component labels
[in]intfInterferogram
[in]corrCorrelation
[in]seedRandom state seed (default: 0)
bool isce3::unwrap::icu::ICU::useIntensityNeut ( ) const
inline

Get intensity neutrons flag.

void isce3::unwrap::icu::ICU::useIntensityNeut ( const bool  useIntensityNeut)
inline

Set intensity neutrons flag (default: false).

bool isce3::unwrap::icu::ICU::usePhaseGradNeut ( ) const
inline

Get phase gradient neutrons flag.

void isce3::unwrap::icu::ICU::usePhaseGradNeut ( const bool  usePhaseGradNeut)
inline

Set phase gradient neutrons flag (default: false).


The documentation for this class was generated from the following files:

Generated for ISCE3.0 by doxygen 1.8.5.