MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
extract_focal_length.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015, Simon Fuhrmann
3 * TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4 * All rights reserved.
5 *
6 * This software may be modified and distributed under the terms
7 * of the BSD 3-Clause license. See the LICENSE.txt file for details.
8 */
9
10#ifndef SFM_EXTRACT_FOCAL_LENGTH_HEADER
11#define SFM_EXTRACT_FOCAL_LENGTH_HEADER
12
13#include <utility>
14
15#include "mve/image_exif.h"
16#include "sfm/defines.h"
17
19
29
34typedef std::pair<float, FocalLengthMethod> FocalLengthEstimate;
35
58
60
61#endif /* SFM_EXTRACT_FOCAL_LENGTH_HEADER */
std::pair< float, FocalLengthMethod > FocalLengthEstimate
Datatype for the focal length estimate which reports the normalized focal length as well as the metho...
FocalLengthMethod
Indicator which focal length estimation has been used.
@ FOCAL_LENGTH_AND_DATABASE
@ FOCAL_LENGTH_35MM_EQUIV
@ FOCAL_LENGTH_FALLBACK_VALUE
std::pair< float, FocalLengthMethod > extract_focal_length(mve::image::ExifInfo const &exif)
Extracts the focal length from the EXIF tags of an image.
#define SFM_NAMESPACE_END
Definition defines.h:14
#define SFM_NAMESPACE_BEGIN
Definition defines.h:13
EXIF information.
Definition image_exif.h:32