public class ScaleSceneStructure
extends java.lang.Object
Homogenous:
Each point is normalized such that the F-norm is equal to 1. Same goes for translation if metric.
Regular:
If points are 3D then their mean and standard deviation are computed. The points are transformed such that
the set will have a mean of zero and a standard deviation of 1.
| Constructor and Description |
|---|
ScaleSceneStructure() |
ScaleSceneStructure(double desiredDistancePoint)
Configures how scaling is applied
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyScale(SceneStructureMetric structure,
SceneObservations observations)
Applies the scale transform to the input scene structure.
|
void |
applyScale(SceneStructureProjective structure,
SceneObservations observations)
Applies the scale transform to the input scene structure.
|
void |
undoScale(SceneStructureMetric structure,
SceneObservations observations)
Undoes scale transform for metric.
|
void |
undoScale(SceneStructureProjective structure,
SceneObservations observations)
Undoes scale transform for projective scenes
|
public ScaleSceneStructure(double desiredDistancePoint)
desiredDistancePoint - desired scale for points to havepublic ScaleSceneStructure()
public void applyScale(SceneStructureMetric structure, SceneObservations observations)
structure - 3D sceneobservations - Observations of the scenepublic void applyScale(SceneStructureProjective structure, SceneObservations observations)
structure - 3D sceneobservations - Observations of the scenepublic void undoScale(SceneStructureMetric structure, SceneObservations observations)
structure - scene's structureobservations - observations of the scenepublic void undoScale(SceneStructureProjective structure, SceneObservations observations)
structure - scene's structureobservations - observations of the scene