public class SceneStructureProjective extends SceneStructureCommon
| Modifier and Type | Class and Description |
|---|---|
static class |
SceneStructureProjective.Camera |
static class |
SceneStructureProjective.View |
SceneStructureCommon.Point| Modifier and Type | Field and Description |
|---|---|
SceneStructureProjective.View[] |
views |
homogenous, points, pointSize| Constructor and Description |
|---|
SceneStructureProjective(boolean homogenous)
Configure bundle adjustment
|
| Modifier and Type | Method and Description |
|---|---|
int |
getParameterCount()
Returns the total number of parameters which will be optimised
|
int |
getUnknownViewCount()
Returns the number of view with parameters that are not fixed
|
SceneStructureProjective.View[] |
getViews() |
void |
initialize(int totalViews,
int totalPoints)
Call this function first.
|
void |
setView(int which,
boolean fixed,
org.ejml.data.DMatrixRMaj worldToView)
Specifies the spacial transform for a view.
|
connectPointToView, getPoints, isHomogenous, removePoints, setPoint, setPointpublic SceneStructureProjective.View[] views
public SceneStructureProjective(boolean homogenous)
homogenous - if true then homogeneous coordinates are usedpublic void initialize(int totalViews,
int totalPoints)
totalViews - Number of viewstotalPoints - Number of pointspublic void setView(int which,
boolean fixed,
org.ejml.data.DMatrixRMaj worldToView)
which - Which view is being specified/fixed - If these parameters are fixed or notworldToView - The 3x4 projective camera matrix that converts a point in world to view pixelspublic int getUnknownViewCount()
public int getParameterCount()
public SceneStructureProjective.View[] getViews()