A view define an image by a string and unique indexes for the view, the camera intrinsic, the pose and the subpose if the camera is part of a rig.
More...
|
| | View (const std::string &imagePath="", IndexT viewId=UndefinedIndexT, IndexT intrinsicId=UndefinedIndexT, IndexT poseId=UndefinedIndexT, std::size_t width=0, std::size_t height=0, IndexT rigId=UndefinedIndexT, IndexT subPoseId=UndefinedIndexT, const std::map< std::string, std::string > &metadata=std::map< std::string, std::string >()) |
| | View Constructor. More...
|
| |
|
| View (const View &v)=default |
| |
|
View * | shallowClone () |
| | Shallow View Copy return a pointer to a new View.
|
| |
|
View * | clone () const |
| | Deep View Copy return a pointer to a new View.
|
| |
|
bool | operator== (const View &other) const |
| |
|
bool | operator!= (const View &other) const |
| |
| const ImageInfo & | getImage () const |
| | Get Image info object. More...
|
| |
| ImageInfo & | getImage () |
| | Get Image info object. More...
|
| |
| std::shared_ptr< ImageInfo > | getImageInfo () |
| | Get Image info pointer. More...
|
| |
| IndexT | getViewId () const |
| | Get the view id. More...
|
| |
| IndexT | getImageGroupId () const |
| | Get the image group id. More...
|
| |
| IndexT | getIntrinsicId () const |
| | Get the intrinsic id. More...
|
| |
| IndexT | getPoseId () const |
| | Get the pose id. More...
|
| |
| IndexT | getRigId () const |
| | Get the rig id. More...
|
| |
| IndexT | getSubPoseId () const |
| | Get the sub-pose id. More...
|
| |
| IndexT | getFrameId () const |
| | Get the frame id. More...
|
| |
| IndexT | getResectionId () const |
| | Get the resection id. More...
|
| |
| bool | isPartOfRig () const |
| | Return if true or false the view is part of a rig. More...
|
| |
| bool | isPoseIndependant () const |
| | If the view is part of a camera rig, the camera can be a sub-pose of the rig pose but can also be temporarily solved independently. More...
|
| |
| void | setViewId (IndexT viewId) |
| | Set the given view id. More...
|
| |
| void | setImageGroupId (IndexT imageGroupId) |
| | Set the given image group id. More...
|
| |
| void | setIntrinsicId (IndexT intrinsicId) |
| | Set the given intrinsic id. More...
|
| |
| void | setPoseId (IndexT poseId) |
| | Set the given pose id. More...
|
| |
| void | setIndependantPose (bool independent) |
| | setIndependantPose More...
|
| |
| void | setRigAndSubPoseId (IndexT rigId, IndexT subPoseId) |
| | Set the given rig id and the given sub-pose id. More...
|
| |
| void | setFrameId (IndexT frameId) |
| | Set the given frame id. More...
|
| |
| const std::vector< IndexT > & | getAncestors () const |
| |
| void | addAncestor (IndexT image) |
| | Add an ancestor images to the existing ones. If an image is generated from multiple input images, "Ancestor Images" allows to keep track of all features of the original images. For instance, the generated view can come from the fusion of multiple LDR images into one HDR image, the fusion from multi-focus stacking to get a fully focused image, fusion of images with multiple lighting to get a more diffuse lighting, etc. More...
|
| |
| void | setResectionId (IndexT resectionId) |
| | Set the given resection id. More...
|
| |
| bool | isFullySetup () |
| | Check if the view has the minimal identifiers required for processing. More...
|
| |
A view define an image by a string and unique indexes for the view, the camera intrinsic, the pose and the subpose if the camera is part of a rig.
| void aliceVision::sfmData::View::addAncestor |
( |
IndexT |
image | ) |
|
|
inline |
Add an ancestor images to the existing ones. If an image is generated from multiple input images, "Ancestor Images" allows to keep track of all features of the original images. For instance, the generated view can come from the fusion of multiple LDR images into one HDR image, the fusion from multi-focus stacking to get a fully focused image, fusion of images with multiple lighting to get a more diffuse lighting, etc.
- Parameters
-
| [in] | image | new ancestor image Id |