Package boofcv.io.geo
Class MultiViewIO
java.lang.Object
boofcv.io.geo.MultiViewIO
For loading and saving data structures related to multiview reconstruction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SceneObservationsload(Reader reader, @Nullable SceneObservations observations) DecodesSceneObservationsencoded in a YAML format from a reader.static SceneStructureMetricload(Reader reader, @Nullable SceneStructureMetric scene) DecodesSceneStructureMetricencoded in a YAML format from a reader.static PairwiseImageGraphload(Reader reader, @Nullable PairwiseImageGraph graph) DecodesPairwiseImageGraphencoded in a YAML format from a reader.static SceneWorkingGraphload(Reader reader, PairwiseImageGraph pairwise, @Nullable SceneWorkingGraph working) DecodesSceneWorkingGraphencoded in a YAML format from a reader.static SceneObservationsload(String path, @Nullable SceneObservations graph) static SceneStructureMetricload(String path, @Nullable SceneStructureMetric graph) static PairwiseImageGraphload(String path, @Nullable PairwiseImageGraph graph) static SceneWorkingGraphload(String path, PairwiseImageGraph pairwise, @Nullable SceneWorkingGraph working) static voidloadInlierInfo(List<Object> list, PairwiseImageGraph pairwise, DogArray<SceneWorkingGraph.InlierInfo> listInliers) static BundlePinholeSimplifiedloadPinholeSimplified(Map<String, Object> map, @Nullable BundlePinholeSimplified intrinsic) static Se3_F64static LookUpSimilarImagesloadSimilarImages(Reader reader) DecodesLookUpSimilarImagesencoded in a YAML format from a reader.static LookUpSimilarImagesloadSimilarImages(String path) putInlierInfo(FastAccess<SceneWorkingGraph.InlierInfo> listInliers) putPinholeSimplified(BundlePinholeSimplified intrinsic) static voidsave(SceneObservations scene, File destination) static voidsave(SceneObservations scene, Writer outputWriter) Saves aSceneObservationsinto theWriter.static voidsave(SceneStructureMetric scene, Writer outputWriter) Saves aSceneStructureMetricinto theWriter.static voidsave(SceneStructureMetric scene, String path) static voidsave(LookUpSimilarImages db, Writer outputWriter) Saves aLookUpSimilarImagesinto theWriter.static voidsave(LookUpSimilarImages db, String path) static voidsave(PairwiseImageGraph graph, Writer outputWriter) Saves aPairwiseImageGraphinto theWriter.static voidsave(PairwiseImageGraph graph, String path) static voidsave(SceneWorkingGraph working, Writer outputWriter) Saves aSceneWorkingGraphinto theWriterin a YAML format.static voidsave(SceneWorkingGraph working, String path)
-
Constructor Details
-
MultiViewIO
public MultiViewIO()
-
-
Method Details
-
save
-
save
Saves aLookUpSimilarImagesinto theWriter.- Parameters:
db- (Input) Information on similar imagesoutputWriter- (Output) where the graph is writen to
-
save
-
save
Saves aPairwiseImageGraphinto theWriter.- Parameters:
graph- (Input) The graph which is to be savedoutputWriter- (Output) where the graph is writen to
-
save
-
save
Saves aSceneStructureMetricinto theWriter.- Parameters:
scene- (Input) The sceneoutputWriter- (Output) where the scene is writen to
-
save
Saves aSceneObservationsinto theWriter.- Parameters:
scene- (Input) Scene observationsoutputWriter- (Output) where the scene is writen to
-
save
-
load
public static SceneStructureMetric load(String path, @Nullable @Nullable SceneStructureMetric graph) -
load
public static SceneStructureMetric load(Reader reader, @Nullable @Nullable SceneStructureMetric scene) DecodesSceneStructureMetricencoded in a YAML format from a reader.- Parameters:
reader- (Input/Output) Where the graph is read fromscene- (Output) Optional storage for the scene. If null a new instance is created.- Returns:
- The decoded graph
-
load
-
load
public static SceneObservations load(Reader reader, @Nullable @Nullable SceneObservations observations) DecodesSceneObservationsencoded in a YAML format from a reader.- Parameters:
reader- (Input/Output) Where the graph is read fromobservations- (Output) Optional storage for observations. If null a new instance is created.- Returns:
- Decoded observations
-
loadSimilarImages
-
loadSimilarImages
DecodesLookUpSimilarImagesencoded in a YAML format from a reader.- Parameters:
reader- (Input/output) where to read the data from- Returns:
- The decoded graph
-
load
-
load
DecodesPairwiseImageGraphencoded in a YAML format from a reader.- Parameters:
reader- (Input/Output) Where the graph is read fromgraph- (Output) Optional storage for the graph. If null a new instance is created.- Returns:
- The decoded graph
-
save
-
save
Saves aSceneWorkingGraphinto theWriterin a YAML format.- Parameters:
working- (Input) The graph which is to be savedoutputWriter- (Output) where the graph is writen to
-
load
public static SceneWorkingGraph load(String path, PairwiseImageGraph pairwise, @Nullable @Nullable SceneWorkingGraph working) -
load
public static SceneWorkingGraph load(Reader reader, PairwiseImageGraph pairwise, @Nullable @Nullable SceneWorkingGraph working) DecodesSceneWorkingGraphencoded in a YAML format from a reader.- Parameters:
reader- (Input/Output) Where the graph is read frompairwise- (Input) Pairwise graph which is referenced by the SceneWorkingGraph.working- (Output) Optional storage for the working graph. If null a new instance is created.- Returns:
- The decoded graph
-
putInlierInfo
-
loadInlierInfo
public static void loadInlierInfo(List<Object> list, PairwiseImageGraph pairwise, DogArray<SceneWorkingGraph.InlierInfo> listInliers) throws IOException - Throws:
IOException
-
loadPinholeSimplified
public static BundlePinholeSimplified loadPinholeSimplified(Map<String, Object> map, @Nullable @Nullable BundlePinholeSimplified intrinsic) -
putPinholeSimplified
-
putSE3
-
loadSE3
public static Se3_F64 loadSE3(Map<String, Object> map, @Nullable @Nullable Se3_F64 m) throws IOException- Throws:
IOException
-