25#ifndef IMAGE_VARIABLE_GROUP_H
26#define IMAGE_VARIABLE_GROUP_H
31#ifndef _HSI_IGNORE_SECTION
68#define image_variable( name, type, default_value ) \
90 unsigned int getPartNumber(
unsigned int imageNr)
const;
99 std::size_t getNumberOfParts()
const;
109 bool getVarLinkedInPart(ImageVariableEnum
variable, std::size_t
part)
const;
113 void updatePartNumbers();
136 void setPartNumbers();
167 void unlinkVariablePart(ImageVariableEnum
variable,
unsigned int partNr);
170 void unlinkVariableImage(ImageVariableEnum
variable,
unsigned int imageNr);
173 void linkVariablePart(ImageVariableEnum
variable,
unsigned int partNr);
176 void linkVariableImage(ImageVariableEnum
variable,
unsigned int imageNr);
190 void switchParts (
unsigned int ImageNr,
unsigned int partNr);
An ImageVariableGroup is a collection of image variables that can have some shared variable values.
std::vector< unsigned int > m_image_part_numbers
The part numbers for each image.
const PanoramaData & m_pano
The panorama this group works on.
std::set< ImageVariableEnum > m_variables
The set of variables which make up this group.
Same as above, but use a non const panorama.
ImageVariableGroup(std::set< ImageVariableEnum > variables, PanoramaData &pano)
constructor
This file specifies what image variables SrcPanoImg should have.
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
std::vector< UIntSet > UIntSetVector
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.