Class CameraPoseEncoder<T>
Encodes camera pose (polar, azimuth, radius) into embeddings.
public class CameraPoseEncoder<T>
Type Parameters
TThe numeric type.
- Inheritance
-
CameraPoseEncoder<T>
- Inherited Members
Constructors
CameraPoseEncoder(int, int?)
Initializes a new CameraPoseEncoder.
public CameraPoseEncoder(int embedDim = 768, int? seed = null)
Parameters
Properties
ParameterCount
Gets the number of parameters.
public int ParameterCount { get; }
Property Value
Methods
Encode(double, double, double)
Encodes camera pose into an embedding.
public Tensor<T> Encode(double polarAngle, double azimuthAngle, double radius)
Parameters
polarAngledoublePolar angle in degrees.
azimuthAngledoubleAzimuth angle in degrees.
radiusdoubleRelative radius.
Returns
- Tensor<T>
Pose embedding tensor.
GetParameters()
Gets all parameters.
public Vector<T> GetParameters()
Returns
- Vector<T>
SetParameters(Vector<T>)
Sets all parameters.
public void SetParameters(Vector<T> parameters)
Parameters
parametersVector<T>