| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef _IMTResult_h_
- #define _IMTResult_h_
- namespace imt
- {
- typedef struct Point
- {
- int x;
- int y;
- } Point;
- typedef struct IMTResult
- {
- /// IMT values in mm.
- double imt_max;
- double imt_mean;
- double imt_standardDeviation;
- /// Separate intima and media measurement
- double intima_mean;
- double media_mean;
- /// Quality index of the measurement. 0.0 <= QI <= 1.0
- double qualityIndex;
- /// The distance between p0 and p1 in mm.
- double distance;
- /// Length of the user defined segment in image pixels (= number of points in vect_intima and vect_adventitia)
- int numberOfPoints;
- /** Arrays of length = numberOfPoints.
- They contain the coordinates of detected points.
- If no IMT detection was possible, then the corresponding point has coordinates (-1.0, -1.0).
- **/
- Point* vect_intima;
- Point* vect_media;
- Point* vect_adventitia;
- /// The points delimiting the user defined segment. A distance of 10mm is recommended here.
- Point p0;
- Point p1;
- } IMTResult;
- }
- #endif
|