41 for (
unsigned int i = 0;
i <
panorama.getNrOfImages();
i++) {
43 if (img.getExifMake().empty() || img.getExifModel().empty())
47 double roll = img.getExifOrientation();
48 if (roll == 90 || roll == 270 ) {
59 for (
unsigned int i = 0;
i <
panorama.getNrOfImages();
i++)
66 for(
unsigned int j=0;
j<
i;
j++)
68 if(img.YawisLinkedWith(
panorama.getImage(
j)))
84 for (
int j=0;
j<3;
j++) {
85 for (
int k=0;
k<3;
k++) {
103 DEBUG_DEBUG(
"Eigenvectors & eigenvalues:" << std::endl
Matrix3 GetRotationAroundU(const Vector3 &U, double Angle)
return the rotation matrix around vector U : checked
All variables of a source image.
bool readEXIF()
try to fill out information about the image, by examining the exif data
static Matrix3 calcStraighteningRotation(const PanoramaData &panorama)
general : Matrix3 is a class for handling 3x3 Matrix manipulation.
void SetRotationPT(double yaw, double pitch, double roll)
set rotation in panotools style, code adapted from Panotools-Script by Bruno Postle
general : Vector3 is a class for handling 3D Vectors manipulation.
double x
x,y,z coordinates, 0 at the initialisation
Vector3 Cross(const Vector3 &v) const
cross product
lu decomposition and linear LMS solver
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
void eig_jacobi(int n, double a[3][3], double v[3][3], double *d, int *ind, int *maxsweep, int *maxannil, double *epsilon)
Implements jacobi eigenvalue/vector algorithm on a symmetric matrix stored as a 2 dimensional matrix ...
const Map::mapped_type & const_map_get(const Map &m, const typename Map::key_type &key)
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.