deghosting_mask.cpp File Reference

#include <iostream>
#include <string>
#include <cstring>
#include <hugin_config.h>
#include <hugin_version.h>
#include <hugin_utils/utils.h>
#include <vigra_ext/impexalpha.hxx>
#include "deghosting.h"
#include "support.h"
#include "threshold.h"
#include "denoise.h"
#include "khan.h"
#include <getopt.h>

Include dependency graph for deghosting_mask.cpp:

Include dependency graph

Go to the source code of this file.

Functions

EMoR response (0.0f)
void parseOptions_advanced (char *optarg)
 function handling advanced options
void parseOptions_save (char *optarg)
 function handling save options
void usage ()
int main (int argc, char *argv[])

Variables

const uint16_t SAVE_GENWEIGHTS = 1
const uint16_t OTHER_GRAY = 2
int iterations = 4
double sigma = 30
uint16_t flags = ADV_ONLYP + ADV_MULTIRES
uint16_t otherFlags = 0
uint16_t otherThresholdFlags = 0
uint16_t debugFlags = 0
int verbosity = 0
double thresholdLim = 150
double contrast = 1.3


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 148 of file deghosting_mask.cpp.

References cerr, contrast, cout, deghosting::Deghosting::createWeightMasks(), debugFlags, vigra_ext::destImage(), flags, iterations, otherFlags, otherThresholdFlags, parseOptions_advanced(), parseOptions_save(), response(), sigma, simpleDenoise(), vigra_ext::srcImageRange(), hugin_utils::stripExtension(), hugin_utils::stripPath(), threshold(), thresholdLim, vigra_ext::transformImage(), usage(), and verbosity.

void parseOptions_advanced char *  optarg  ) 
 

function handling advanced options

Definition at line 70 of file deghosting_mask.cpp.

References cerr, flags, otherFlags, and otherThresholdFlags.

Referenced by main().

void parseOptions_save char *  optarg  ) 
 

function handling save options

Definition at line 97 of file deghosting_mask.cpp.

References cerr, debugFlags, and otherFlags.

Referenced by main().

EMoR response 0.  0f  )  [static]
 

Referenced by main().

void usage  )  [static]
 

Definition at line 113 of file deghosting_mask.cpp.

References cerr, contrast, iterations, sigma, and thresholdLim.


Variable Documentation

double contrast = 1.3 [static]
 

Definition at line 66 of file deghosting_mask.cpp.

Referenced by main(), and usage().

uint16_t debugFlags = 0 [static]
 

Definition at line 62 of file deghosting_mask.cpp.

Referenced by main(), and parseOptions_save().

uint16_t flags = ADV_ONLYP + ADV_MULTIRES [static]
 

Definition at line 59 of file deghosting_mask.cpp.

Referenced by main(), and parseOptions_advanced().

int iterations = 4 [static]
 

Definition at line 57 of file deghosting_mask.cpp.

Referenced by main(), and usage().

const uint16_t OTHER_GRAY = 2 [static]
 

Definition at line 54 of file deghosting_mask.cpp.

uint16_t otherFlags = 0 [static]
 

Definition at line 60 of file deghosting_mask.cpp.

Referenced by main(), parseOptions_advanced(), and parseOptions_save().

uint16_t otherThresholdFlags = 0 [static]
 

Definition at line 61 of file deghosting_mask.cpp.

Referenced by main(), and parseOptions_advanced().

const uint16_t SAVE_GENWEIGHTS = 1 [static]
 

Definition at line 53 of file deghosting_mask.cpp.

double sigma = 30 [static]
 

Definition at line 58 of file deghosting_mask.cpp.

Referenced by main(), and usage().

double thresholdLim = 150 [static]
 

Definition at line 65 of file deghosting_mask.cpp.

Referenced by main(), and usage().

int verbosity = 0 [static]
 

Definition at line 64 of file deghosting_mask.cpp.

Referenced by main().


Generated on Wed Jul 16 01:25:40 2014 for Hugintrunk by  doxygen 1.3.9.1