the base class of all MVS objects
virtual bool MVSObject::load |
( |
JsonNode & |
fs | ) |
|
|
pure virtual |
load data and settings from file
this method will load data such as keypoints, descriptors, translation matrices in DataFlowObject and its sub-classes from the given JsonNode instance. or will load parameters and settings in WorkFlowObject and its sub-classes to the given JsonNode instance, and automatically initialize the WorkFlow with these parameters
- Parameters
-
- Returns
- true load successfully
-
false load failed or initialization falied.
Implemented in PinholeImageReader, Photographer, CameraObject, PinholeCamera, FrameObject::RelatedFrameInfo, FrameObject, PinholeFrameObject, GlobalMapObject, MapPointObject, DenseReconstructor, DualFrameReconstructor, OptimalFrameFinder, CVFeatureExtractor, FeatureMatcher, VocTreeMatcher, and PinholePoseReconstructor.
virtual bool MVSObject::save |
( |
JsonNode & |
fs | ) |
|
|
pure virtual |
save data and settings to file
this method will save data such as keypoints, descriptors, translation matrices in DataFlowObject and its sub-classes to the given JsonNode instance, or will save parameters and settings in WorkFlowObject and its sub-classes to the given JsonNode instance.
- Parameters
-
- Returns
- true save successfully
-
false save failed
Implemented in PinholeImageReader, Photographer, CameraObject, PinholeCamera, FrameObject::RelatedFrameInfo, FrameObject, PinholeFrameObject, GlobalMapObject, MapPointObject, DenseReconstructor, DualFrameReconstructor, OptimalFrameFinder, CVFeatureExtractor, FeatureMatcher, VocTreeMatcher, and PinholePoseReconstructor.