Class SaveIntrinsics
Represents an operator that writes a sequence of camera intrinsics to a YML file.
public class SaveIntrinsics : Sink<Intrinsics>
- Inheritance
-
SaveIntrinsics
- Inherited Members
Properties
FileName
Gets or sets the name of the file on which to write the camera intrinsics.
[FileNameFilter("YML Files (*.yml)|*.yml|All Files|*.*")]
public string FileName { get; set; }
Property Value
Suffix
Gets or sets the optional suffix used to generate file names.
public PathSuffix Suffix { get; set; }
Property Value
Methods
Process(IObservable<CameraCalibration>)
Writes an observable sequence of camera intrinsic properties extracted from a camera calibration procedure to the specified YML file.
public IObservable<CameraCalibration> Process(IObservable<CameraCalibration> source)
Parameters
source
IObservable<CameraCalibration>A sequence of CameraCalibration objects containing the camera intrinsic properties to write.
Returns
- IObservable<CameraCalibration>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of writing the calibrated camera intrinsics to the specified YML file.
Process(IObservable<Intrinsics>)
Writes an observable sequence of camera intrinsic properties to the specified YML file.
public override IObservable<Intrinsics> Process(IObservable<Intrinsics> source)
Parameters
source
IObservable<Intrinsics>The sequence of camera intrinsic properties to write.
Returns
- IObservable<Intrinsics>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of writing the camera intrinsics to the specified YML file.