3 #ifndef BACKPROJECT_IMAGE_H 4 #define BACKPROJECT_IMAGE_H 10 #include "InteriorOrientation.h" 11 #include "ExteriorOrientation.h" 22 std::string _fileName;
36 Image(
int _height,
int _width,
const std::string &_fileName,
const std::shared_ptr<InteriorOrientation> &_IO,
37 const std::shared_ptr<ExteriorOrientation> &_EO);
92 const std::shared_ptr<InteriorOrientation> &
get_IO()
const;
98 void set_IO(
const std::shared_ptr<InteriorOrientation> &IO);
104 const std::shared_ptr<ExteriorOrientation> &
get_EO()
const;
110 void set_EO(
const std::shared_ptr<ExteriorOrientation> &EO);
113 std::shared_ptr<InteriorOrientation> _IO;
114 std::shared_ptr<ExteriorOrientation> _EO;
124 std::ostream &operator<<(std::ostream &stream,
const Image &image);
127 #endif //BACKPROJECT_IMAGE_H bool backProject(const vector &worldCoordinate, Point &imageCoordinate)
Back-projects a 3d world coordinate into the image.
Definition: Image.cpp:73
void set_height(int height)
Definition: Image.cpp:21
void set_IO(const std::shared_ptr< InteriorOrientation > &IO)
sets the Interior Orientation of the image
Definition: Image.cpp:51
void set_width(int width)
Definition: Image.cpp:32
const std::shared_ptr< InteriorOrientation > & get_IO() const
retrieves the Interior Orientation of the image
Definition: Image.cpp:47
void set_EO(const std::shared_ptr< ExteriorOrientation > &EO)
sets the Exterior Orientation of the image
Definition: Image.cpp:66
Represents the metadata of an image.
Definition: Image.h:17
Represents a 2 dimensional coordinate in an as yet unspecified unit (e.g.
Definition: util.h:23
int get_width() const
Definition: Image.cpp:28
const std::shared_ptr< ExteriorOrientation > & get_EO() const
retrieves the Exterior Orientation of the image
Definition: Image.cpp:62
const std::string & get_fileName() const
gets the filename of the image
Definition: Image.cpp:39
int get_height() const
Definition: Image.cpp:17
void set_fileName(const std::string &fileName)
sets the filename of the image
Definition: Image.cpp:43