#include <ImFusion/US/UltrasoundConeCalibrationAlgorithm.h>
Represents a cone detected in an ultrasound sweep across multiple frames.
More...
Represents a cone detected in an ultrasound sweep across multiple frames.
|
|
int | sweepIdx |
| | Index of the sweep where the cone was detected.
|
|
int | lastFrame |
| | Last frame index where the cone was tracked.
|
|
std::vector< int > | frames |
| | List of frames where the cone was detected.
|
|
std::vector< double > | heights |
| | Heights of the cone tip in each frame.
|
|
std::vector< vec3 > | tipPositions |
| | Positions of the cone tip in each frame.
|
|
Geometry::AlignedRectangle2D | lastBox |
| | Bounding box of the cone in the last frame.
|
◆ TrackedCone()
| ImFusion::US::UltrasoundConeCalibrationAlgorithm::TrackedCone::TrackedCone |
( |
int | sweep, |
|
|
int | frame, |
|
|
double | height, |
|
|
const Geometry::AlignedRectangle2D & | box, |
|
|
const vec3 & | tip ) |
Constructor for a tracked cone.
- Parameters
-
| sweep | Index of the sweep where the cone was detected. |
| frame | Frame index where the cone was first detected. |
| height | Height of the cone tip. |
| box | Bounding box of the cone. |
| tip | Position of the cone tip (image coordinates). |
◆ scoreMatch()
Scores the match between the current cone and a new frame, based on the bounding box overlap.
- Parameters
-
| frame | Frame index to compare. |
| box | Bounding box of the cone in the new frame. |
- Returns
- Score of the match.
◆ addFrame()
| void ImFusion::US::UltrasoundConeCalibrationAlgorithm::TrackedCone::addFrame |
( |
int | frame, |
|
|
double | height, |
|
|
const Geometry::AlignedRectangle2D & | box, |
|
|
const vec3 & | tip ) |
Adds a new frame to the tracked cone.
- Parameters
-
| frame | Frame index. |
| height | Height of the cone tip. |
| box | Bounding box of the cone. |
| tip | Position of the cone tip. |
The documentation for this class was generated from the following file:
- ImFusion/US/UltrasoundConeCalibrationAlgorithm.h