public class PruneStructureFromSceneProjective
extends java.lang.Object
| Constructor and Description |
|---|
PruneStructureFromSceneProjective(SceneStructureProjective structure,
SceneObservations observations) |
| Modifier and Type | Method and Description |
|---|---|
void |
pruneObservationsByErrorRank(double inlierFraction)
Computes reprojection error for all features.
|
boolean |
prunePoints(int count)
Prunes Points/features with less than 'count' observations.
|
boolean |
pruneViews(int count)
Removes views with less than 'count' features visible.
|
public PruneStructureFromSceneProjective(SceneStructureProjective structure, SceneObservations observations)
public void pruneObservationsByErrorRank(double inlierFraction)
prunePoints(int) and pruneViews(int) to ensure the scene is still valid.inlierFraction - Fraction of observations to keep. 0 to 1. 1 = no change. 0 = everything is pruned.public boolean prunePoints(int count)
pruneViews(int) to ensure that all views have points in viewcount - Minimum number of observationspublic boolean pruneViews(int count)
count - Prune if it has this number of views or less