function
Vision.Matching.RGBDPatchTracking.Track
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | gray | Real | [:,:] | |
| input | referenceDescriptor | Real | [patchSize] | |
| input | seed | Real | [pixelDimension] | |
| input | enabled | Boolean | = true | |
| input | settings | Settings | = Settings() | |
| output | accepted | Boolean | | |
| output | pixel | Real | [pixelDimension] | |
| output | reason | Integer | | 0 accepted/disabled; 1 config; 2 reference; 3 sample/window; 4 aperture; 5 search; 6 descent/iterations; 7 SSD |
| output | iterations | Integer | | |
| output | ssd | Real | | |
| output | minimumEigenvalue | Real | |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function Track
input Real gray[:,:];
input Real referenceDescriptor[patchSize];
input Real seed[pixelDimension];
input Boolean enabled = true;
input Settings settings = Settings();
output Boolean accepted;
output Real pixel[pixelDimension];
output Integer reason "0 accepted/disabled; 1 config; 2 reference; 3 sample/window; 4 aperture; 5 search; 6 descent/iterations; 7 SSD";
output Integer iterations;
output Real ssd;
output Real minimumEigenvalue;
protected
Diagnostics diagnostics;
algorithm
(accepted,pixel,reason,iterations,ssd,minimumEigenvalue,diagnostics)
:= TrackDetailed(gray,referenceDescriptor,seed,enabled,settings);
end Track;