|
Backproject
|
Represents the metadata of an image. More...
#include <Image.h>
Public Member Functions | |
| Image (int _height, int _width, const std::string &_fileName, const std::shared_ptr< InteriorOrientation > &_IO, const std::shared_ptr< ExteriorOrientation > &_EO) | |
| Constructs an image object with the given properties. More... | |
| bool | backProject (const vector &worldCoordinate, Point &imageCoordinate) |
| Back-projects a 3d world coordinate into the image. More... | |
| void | set_height (int height) |
| int | get_height () const |
| int | get_width () const |
| void | set_width (int width) |
| const std::string & | get_fileName () const |
| gets the filename of the image More... | |
| void | set_fileName (const std::string &fileName) |
| sets the filename of the image More... | |
| const std::shared_ptr< InteriorOrientation > & | get_IO () const |
| retrieves the Interior Orientation of the image More... | |
| void | set_IO (const std::shared_ptr< InteriorOrientation > &IO) |
| sets the Interior Orientation of the image More... | |
| const std::shared_ptr< ExteriorOrientation > & | get_EO () const |
| retrieves the Exterior Orientation of the image More... | |
| void | set_EO (const std::shared_ptr< ExteriorOrientation > &EO) |
| sets the Exterior Orientation of the image More... | |
Represents the metadata of an image.
| Image::Image | ( | int | _height, |
| int | _width, | ||
| const std::string & | _fileName, | ||
| const std::shared_ptr< InteriorOrientation > & | _IO, | ||
| const std::shared_ptr< ExteriorOrientation > & | _EO | ||
| ) |
Constructs an image object with the given properties.
| _height | the height of the image in pixels |
| _width | the width of the image in pixels |
| _fileName | the filename of the image |
| _IO | the interior orientation of the image |
| _EO | the exterior orientation of the image |
| bool Image::backProject | ( | const vector & | worldCoordinate, |
| Point & | imageCoordinate | ||
| ) |
Back-projects a 3d world coordinate into the image.
| worldCoordinate | the vector containing the x,y and z ordinates. |
| imageCoordinate | the point object that will contain the projected pixel coordinates of the object. |
| const std::shared_ptr< ExteriorOrientation > & Image::get_EO | ( | ) | const |
retrieves the Exterior Orientation of the image
| const std::string & Image::get_fileName | ( | ) | const |
gets the filename of the image
| int Image::get_height | ( | ) | const |
| const std::shared_ptr< InteriorOrientation > & Image::get_IO | ( | ) | const |
retrieves the Interior Orientation of the image
| int Image::get_width | ( | ) | const |
| void Image::set_EO | ( | const std::shared_ptr< ExteriorOrientation > & | EO | ) |
sets the Exterior Orientation of the image
| _IO | the ExteriorOrientation |
| void Image::set_fileName | ( | const std::string & | fileName | ) |
sets the filename of the image
| fileName | the filename and path, relative to the working directory of the executable. |
| void Image::set_height | ( | int | height | ) |
| height | sets the height of the image. |
| void Image::set_IO | ( | const std::shared_ptr< InteriorOrientation > & | IO | ) |
sets the Interior Orientation of the image
| IO | the InteriorOrientation |
| void Image::set_width | ( | int | width | ) |
| width | the width of the image in pixels |
1.8.12