hugin_base/panodata/StandardImageVariableGroups.cpp File Reference
Implement the StandardImageVariableGroups object. More...
#include <set>
#include "StandardImageVariableGroups.h"
#include "hugin_utils/utils.h"
#include "hugin_utils/stl_utils.h"
#include "ImageVariableTranslate.h"
#include "image_variables.h"
Include dependency graph for StandardImageVariableGroups.cpp:

Namespaces | |
| namespace | HuginBase |
Defines | |
| #define | image_variable(name, type, default_value) |
Variables | |
| const ConstImageVariableGroup::ImageVariableEnum | lens_variables_array [] |
| The image variables that are specific to lenses. | |
| const std::set< ConstImageVariableGroup::ImageVariableEnum > | lens_variables_set |
| A set containing the lens image variables. | |
| const ConstImageVariableGroup::ImageVariableEnum | stack_variables_array [] |
| The image variables that are specific to stack. | |
| const std::set< ConstImageVariableGroup::ImageVariableEnum > | stack_variables_set |
| A set containing the stack image variables. | |
Detailed Description
Implement the StandardImageVariableGroups object.
- Author:
- James Legg
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Define Documentation
|
|
Value: {\
VariableMap temp_vars;\
if (set_contains(lens_variables_set, ImageVariableGroup::IVE_##name))\
{\
PTOVariableConverterFor##name::addToVariableMap(image.get##name##IV(), temp_vars);\
for (VariableMap::iterator tvi = temp_vars.begin(); tvi != temp_vars.end(); tvi++)\
{\
LensVariable & lens_var = map_get(result.variables, tvi->first);\
lens_var.setValue(tvi->second.getValue());\
lens_var.setLinked(image.name##isLinked());\
}\
}\
}
|
Variable Documentation
|
|
Initial value: {ImageVariableGroup::IVE_Size,
ImageVariableGroup::IVE_Projection,
ImageVariableGroup::IVE_HFOV,
ImageVariableGroup::IVE_ResponseType,
ImageVariableGroup::IVE_EMoRParams,
ImageVariableGroup::IVE_ExposureValue,
ImageVariableGroup::IVE_Gamma,
ImageVariableGroup::IVE_WhiteBalanceRed,
ImageVariableGroup::IVE_WhiteBalanceBlue,
ImageVariableGroup::IVE_RadialDistortion,
ImageVariableGroup::IVE_RadialDistortionRed,
ImageVariableGroup::IVE_RadialDistortionBlue,
ImageVariableGroup::IVE_RadialDistortionCenterShift,
ImageVariableGroup::IVE_Shear,
ImageVariableGroup::IVE_VigCorrMode,
ImageVariableGroup::IVE_FlatfieldFilename,
ImageVariableGroup::IVE_RadialVigCorrCoeff,
ImageVariableGroup::IVE_RadialVigCorrCenterShift
}
These are by default linked across images in the same lens. If you wish to change this, you'll need to set the ending offset in lens_variables_set below. |
|
|
Initial value:
std::set<ConstImageVariableGroup::ImageVariableEnum>(lens_variables_array,
lens_variables_array + 18)
the offset on the second construtor argument is the size of the array. |
|
|
Initial value: {ImageVariableGroup::IVE_Yaw,
ImageVariableGroup::IVE_Pitch,
ImageVariableGroup::IVE_Roll,
ImageVariableGroup::IVE_Stack,
ImageVariableGroup::IVE_X,
ImageVariableGroup::IVE_Y,
ImageVariableGroup::IVE_Z
}
These are by default linked across images in the same stack. If you wish to change this, you'll need to set the ending offset in stack_variables_set below. |
|
|
Initial value:
std::set<ConstImageVariableGroup::ImageVariableEnum>(stack_variables_array,
stack_variables_array + 7)
the offset on the second construtor argument is the size of the array. |
1.3.9.1