Parameters.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. using BBIWARG.Utility;
  2. using System;
  3. using System.Drawing;
  4. namespace BBIWARG
  5. {
  6. /// <summary>
  7. /// type of input source
  8. /// </summary>
  9. public enum InputType
  10. {
  11. Camera,
  12. Movie
  13. }
  14. /// <summary>
  15. /// Defines all parameters used in the whole program.
  16. /// </summary>
  17. internal static class Parameters
  18. {
  19. #region console
  20. /// <summary>
  21. /// height of the console in mono space characters
  22. /// </summary>
  23. public static readonly int ConsoleHeight = 30;
  24. /// <summary>
  25. /// with of the console in mono space characters
  26. /// </summary>
  27. public static readonly int ConsoleWidth = 90;
  28. #endregion console
  29. #region input
  30. /// <summary>
  31. /// path to the movie file used as input source
  32. /// </summary>
  33. public static readonly String InputMoviePath = "..\\..\\videos\\touch\\4.skv";
  34. /// <summary>
  35. /// the input source type
  36. /// </summary>
  37. public static readonly InputType InputSource = InputType.Camera;
  38. #endregion input
  39. #region Logger
  40. /// <summary>
  41. /// bit field which specifies which subjects should be logged
  42. /// </summary>
  43. public static readonly LogSubject LoggerEnabledSubjects = LogSubject.None;
  44. /// <summary>
  45. /// true iff the timer output should be shown
  46. /// </summary>
  47. public static readonly bool LoggerTimerOutputEnabled = false;
  48. #endregion Logger
  49. #region DebugWindow
  50. /// <summary>
  51. /// true iff the debug window is enabled
  52. /// </summary>
  53. public static readonly bool DebugWindowEnabled = true;
  54. /// <summary>
  55. /// the title of the debug window
  56. /// </summary>
  57. public static readonly String DebugWindowTitle = "BBIWARG - DebugOutput";
  58. /// <summary>
  59. /// the update interval for the debug window
  60. /// </summary>
  61. public static readonly int DebugWindowUpdateIntervall = 1000 / 30; // 30fps
  62. #endregion DebugWindow
  63. #region GlassesWindow
  64. /// <summary>
  65. /// true iff the glasses window is enabled
  66. /// </summary>
  67. public static readonly bool GlassesWindowEnabled = false;
  68. /// <summary>
  69. /// number of calibration points
  70. /// </summary>
  71. public static readonly int GlassesWindowNumCalibrationPoints = 20;
  72. /// <summary>
  73. /// the title of the debug window
  74. /// </summary>
  75. public static readonly String GlassesWindowTitle = "BBIWARG - GlassesOutput";
  76. /// <summary>
  77. /// the update interval for the glasses window
  78. /// </summary>
  79. public static readonly int GlassesWindowUpdateInterval = 1000 / 30; // 30fps
  80. #endregion GlassesWindow
  81. #region tuio
  82. /// <summary>
  83. /// the default ip address of the tuio server
  84. /// </summary>
  85. public static readonly String TuioDefaultIP = "127.0.0.1";
  86. /// <summary>
  87. /// the default port of the tuio server
  88. /// </summary>
  89. public static readonly Int16 TuioDefaultPort = 3333;
  90. /// <summary>
  91. /// true iff the tuio server is enabled
  92. /// </summary>
  93. public static readonly bool TuioEnabledByDefault = true;
  94. #endregion tuio
  95. #region ConfidenceImage
  96. /// <summary>
  97. /// the minimum confidence threshold for pixel values to be considered correct
  98. /// </summary>
  99. public static readonly int ConfidenceImageMinThreshold = 500;
  100. #endregion ConfidenceImage
  101. #region DepthImage
  102. /// <summary>
  103. /// the depth range which is considered important (in mm) (must be smaller than 255)
  104. /// </summary>
  105. public static readonly int DepthImageDepthRange = 200;
  106. /// <summary>
  107. /// the size of the median filter used to filter the depth image
  108. /// </summary>
  109. public static readonly int DepthImageMedianSize = 5;
  110. #endregion DepthImage
  111. #region EdgeImage
  112. /// <summary>
  113. /// linking threshold for the canny edge detector used to detect edges in the depth image
  114. /// </summary>
  115. public static readonly int EdgeImageCannyLinkingThreshold = 60;
  116. /// <summary>
  117. /// filter size for the canny edge detector used to detect edges in the depth image
  118. /// </summary>
  119. public static readonly int EdgeImageCannySize = 3;
  120. /// <summary>
  121. /// start threshold for the canny edge detector used to detect edges in the depth image
  122. /// </summary>
  123. public static readonly int EdgeImageCannyStartThreshold = 80;
  124. /// <summary>
  125. /// number of dilation iterations to generate the rough edge image from the edge image
  126. /// </summary>
  127. public static readonly int EdgeImageRoughNumDilationIterations = 1;
  128. #endregion EdgeImage
  129. #region general tracking
  130. /// <summary>
  131. /// if a tracked object moves this relative amount it will have a similarity of 0 to itself at the previous position
  132. /// </summary>
  133. public static readonly float TrackerMaxRelativeMove = 0.25f;
  134. #endregion general tracking
  135. #region finger detection
  136. /// <summary>
  137. /// the contour margin around the finger
  138. /// </summary>
  139. public static readonly int FingerContourMargin = 4;
  140. /// <summary>
  141. /// the maximum depth difference between the finger and a point beside the finger
  142. /// </summary>
  143. public static readonly int FingerMaxCrippleDifference = 20;
  144. /// <summary>
  145. /// the number of missed slices until the trail expansion stops
  146. /// </summary>
  147. public static readonly int FingerMaxGapCounter = 3;
  148. /// <summary>
  149. /// the maximum slice length difference of two consecutive slices (used to drop outliers)
  150. /// </summary>
  151. public static readonly int FingerMaxSliceLengthDifferencePerStep = 5;
  152. /// <summary>
  153. /// maximum finger slice length (in pixels)
  154. /// </summary>
  155. public static readonly int FingerMaxWidth2D = 30;
  156. /// <summary>
  157. /// maximum finger slice length (in mm)
  158. /// </summary>
  159. public static readonly float FingerMaxWidth3D = 35f;
  160. /// <summary>
  161. /// the minimum number of slices a finger must have
  162. /// </summary>
  163. public static readonly int FingerMinNumSlices = 20;
  164. // TODO remove and replace with 3Dwidth
  165. /// <summary>
  166. /// minimum finger slice length (in pixels)
  167. /// </summary>
  168. public static readonly int FingerMinWidth2D = 2;
  169. /// <summary>
  170. /// the number of slices used to calculate the start and end directions
  171. /// </summary>
  172. public static readonly int FingerNumSlicesForRelativeDirection = 5;
  173. /// <summary>
  174. /// the distance of a point to be considered beside the finger (in pixels)
  175. /// </summary>
  176. public static readonly int FingerOutMargin = 6;
  177. /// <summary>
  178. /// the number of slices that are removed when the finger expansion starts in opposite direction (because initial slices don't have the correct direction)
  179. /// </summary>
  180. public static readonly int FingerRemoveNumSlicesForCorrection = 10;
  181. #endregion finger detection
  182. #region finger tracking
  183. /// <summary>
  184. /// xx entry for the measurement noise covariance matrix for the kalman filter used to smooth the finger hand and tip points
  185. /// </summary>
  186. public static readonly float FingermXX = 0.000005f;
  187. /// <summary>
  188. /// xy and yx entry for the measurement noise covariance matrix for the kalman filter used to smooth the finger hand and tip points
  189. /// </summary>
  190. public static readonly float FingermXY = 0.0f;
  191. /// <summary>
  192. /// yy entry for the measurement noise covariance matrix for the kalman filter used to smooth the finger hand and tip points
  193. /// </summary>
  194. public static readonly float FingermYY = 0.000005f;
  195. /// <summary>
  196. /// if the hand point of a finger moves this relative amount it will have a similarity of 0 to itself at the previous position
  197. /// </summary>
  198. public static readonly float FingerTrackerMaxHandPointRelativeMove = TrackerMaxRelativeMove;
  199. /// <summary>
  200. /// if the tip point of a finger moves this relative amount it will have a similarity of 0 to itself at the previous position
  201. /// </summary>
  202. public static readonly float FingerTrackerMaxTipPointRelativeMove = TrackerMaxRelativeMove;
  203. /// <summary>
  204. /// number of finger slice directions used to compute the mean finger direction
  205. /// </summary>
  206. public static readonly int FingerTrackerNumDirectionsForMeanDirection = 10;
  207. /// <summary>
  208. /// number of frames a finger needs to be detected before it is tracked
  209. /// </summary>
  210. public static readonly int FingerTrackerNumFramesDetectedUntilTracked = 5;
  211. /// <summary>
  212. /// number of frames a finger needs to be lost before it is deleted
  213. /// </summary>
  214. public static readonly int FingerTrackerNumFramesLostUntilDeleted = 10;
  215. #endregion finger tracking
  216. #region hand detection
  217. /// <summary>
  218. /// maximum depth difference below which two sections of a hand which are separated by a finger are considered to belong to the same hand
  219. /// </summary>
  220. public static readonly int HandExtendMaxDifference = 40;
  221. /// <summary>
  222. /// maximum size of a hand extension mask relative to the whole image
  223. /// </summary>
  224. public static readonly float HandExtensionMaxRelativeSize = 0.5f * HandMaxSize;
  225. /// <summary>
  226. /// maximum downwards depth difference between a pixel and a neighboring pixel belonging to the same hand
  227. /// </summary>
  228. public static readonly int HandFloodFillDownDiff = 2;
  229. /// <summary>
  230. /// maximum upwards depth difference between a pixel and a neighboring pixel belonging to the same hand
  231. /// </summary>
  232. public static readonly int HandFloodFillUpDiff = 2;
  233. /// <summary>
  234. /// maximum size of a hand relative to the whole image
  235. /// </summary>
  236. public static readonly float HandMaxSize = 0.6f;
  237. /// <summary>
  238. /// minimum size of a hand relative to the whole image
  239. /// </summary>
  240. public static readonly float HandMinSize = 0.01f;
  241. /// <summary>
  242. /// number of colors used to draw hands
  243. /// </summary>
  244. public static readonly int HandNumColors = 3;
  245. /// <summary>
  246. /// the maximum distance of the thumb tip point to the outer short point of a convexity defect for possible thumb defects
  247. /// </summary>
  248. public static readonly float HandThumbDefectMaxDistanceToThumb = Parameters.FingerMaxWidth2D;
  249. /// <summary>
  250. /// the maximum ratio of the length from the depth point to the outer short point to
  251. /// the length from the depth point to the outer long point of a convexity defect for possible thumb defects
  252. /// </summary>
  253. public static readonly float HandThumbDefectMaxShortLongLengthRatio = 0.7f;
  254. /// <summary>
  255. /// the maximum ratio of the thumb length to the length from the depth point to the outer short point of a convexity defect for possible thumb defects
  256. /// </summary>
  257. public static readonly float HandThumbDefectMaxThumbShortLengthRatio = 1.1f;
  258. /// <summary>
  259. /// the minimum ratio of the length from the depth point to the outer short point to
  260. /// the length from the depth point to the outer long point of a convexity defect for possible thumb defects
  261. /// </summary>
  262. public static readonly float HandThumbDefectMinShortLongLengthRatio = 0.3f;
  263. /// <summary>
  264. /// the minimum ratio of the thumb length to the length from the depth point to the outer short point of a convexity defect for possible thumb defects
  265. /// </summary>
  266. public static readonly float HandThumbDefectMinThumbShortLengthRatio = 0.75f;
  267. #endregion hand detection
  268. #region hand tracker
  269. /// <summary>
  270. /// xx entry for the measurement noise covariance matrix for the kalman filter used to smooth the hand centroid
  271. /// </summary>
  272. public static readonly float HandmXX = 0.0005f;
  273. /// <summary>
  274. /// xy and yx entry for the measurement noise covariance matrix for the kalman filter used to smooth the hand centroid
  275. /// </summary>
  276. public static readonly float HandmXY = 0.0f;
  277. /// <summary>
  278. /// yy entry for the measurement noise covariance matrix for the kalman filter used to smooth the hand centroid
  279. /// </summary>
  280. public static readonly float HandmYY = 0.0005f;
  281. /// <summary>
  282. /// if the centroid of a hand moves this relative amount it will have a similarity of 0 to itself at the previous position
  283. /// </summary>
  284. public static readonly float HandTrackerMaxCentroidRelativeMove = TrackerMaxRelativeMove;
  285. /// <summary>
  286. /// number of frames a hand needs to be detected before it is tracked
  287. /// </summary>
  288. public static readonly int HandTrackerNumFramesDetectedUntilTracked = 5;
  289. /// <summary>
  290. /// number of frames a hand needs to be lost before it is deleted
  291. /// </summary>
  292. public static readonly int HandTrackerNumFramesLostUntilDeleted = 5;
  293. #endregion hand tracker
  294. #region palm detection
  295. /// <summary>
  296. /// relative tolerance which specifies when a point is considered to be in the palm grid
  297. /// </summary>
  298. public static readonly float PalmInsideTolerance = 0.1f;
  299. /// <summary>
  300. /// number of positions along the forefinger used as starting points to detect the palm width
  301. /// </summary>
  302. public static readonly int PalmNumPositionsForPalmWidth = 5;
  303. #endregion palm detection
  304. #region palm tracker
  305. /// <summary>
  306. /// xx entry for the measurement noise covariance matrix for the kalman filter used to smooth the palm grid points
  307. /// </summary>
  308. public static readonly float PalmmXX = 0.00005f;
  309. /// <summary>
  310. /// xy and yx entry for the measurement noise covariance matrix for the kalman filter used to smooth the palm grid points
  311. /// </summary>
  312. public static readonly float PalmmXY = 0.0f;
  313. /// <summary>
  314. /// yy entry for the measurement noise covariance matrix for the kalman filter used to smooth the palm grid points
  315. /// </summary>
  316. public static readonly float PalmmYY = 0.00005f;
  317. /// <summary>
  318. /// if the lower finger point of the palm grid moves this relative amount it will have a similarity of 0 to itself at the previous position
  319. /// </summary>
  320. public static readonly float PalmTrackerMaxFingersLowerRelativeMove = TrackerMaxRelativeMove;
  321. /// <summary>
  322. /// if the upper finger point of the palm grid moves this relative amount it will have a similarity of 0 to itself at the previous position
  323. /// </summary>
  324. public static readonly float PalmTrackerMaxFingersUpperRelativeMove = TrackerMaxRelativeMove;
  325. /// <summary>
  326. /// if the lower wrist point of the palm grid moves this relative amount it will have a similarity of 0 to itself at the previous position
  327. /// </summary>
  328. public static readonly float PalmTrackerMaxWristLowerRelativeMove = TrackerMaxRelativeMove;
  329. /// <summary>
  330. /// if the upper wrist point of the palm grid moves this relative amount it will have a similarity of 0 to itself at the previous position
  331. /// </summary>
  332. public static readonly float PalmTrackerMaxWristUpperRelativeMove = TrackerMaxRelativeMove;
  333. /// <summary>
  334. /// number of frames a palm needs to be detected before it is tracked
  335. /// </summary>
  336. public static readonly int PalmTrackerNumFramesDetectedUntilTracked = 5;
  337. /// <summary>
  338. /// number of frames a palm needs to be lost before it is deleted
  339. /// </summary>
  340. public static readonly int PalmTrackerNumFramesLostUntilDeleted = 5;
  341. #endregion palm tracker
  342. #region palm grid
  343. /// <summary>
  344. /// default number of palm grid columns
  345. /// </summary>
  346. public static readonly int PalmGridDefaultNumColumns = 4;
  347. /// <summary>
  348. /// default number of palm grid rows
  349. /// </summary>
  350. public static readonly int PalmGridDefaultNumRows = 3;
  351. #endregion palm grid
  352. #region touch detection
  353. /// <summary>
  354. /// the size of the quadrant around the touch positions that is used to determine the touch value
  355. /// </summary>
  356. public static readonly int TouchAreaSize = 30;
  357. /// <summary>
  358. /// the maximum downwards difference for the flood fill operation
  359. /// </summary>
  360. public static readonly int TouchFloodfillDownDiff = 1;
  361. /// <summary>
  362. /// the maximum upwards difference for the flood fill operation
  363. /// </summary>
  364. public static readonly int TouchFloodfillUpDiff = 3;
  365. /// <summary>
  366. /// the threshold number of pixels affected by the flood fill (in percentage) to be considered as a touch
  367. /// </summary>
  368. public static readonly float TouchMinTouchValue = 0.3f;
  369. /// <summary>
  370. /// the position adjustment for the start point of the flood fill operation
  371. /// </summary>
  372. public static readonly int TouchTipInsideFactor = 2;
  373. /// <summary>
  374. /// the position adjustment for the position of the actual touch event
  375. /// </summary>
  376. public static readonly int TouchTipOutsideFactor = 7;
  377. #endregion touch detection
  378. #region touch tracking
  379. /// <summary>
  380. /// xx entry for the measurement noise covariance matrix for the kalman filter used to smooth touch events
  381. /// </summary>
  382. public static readonly float TouchmXX = 0.003f;
  383. /// <summary>
  384. /// xy and yx entry for the measurement noise covariance matrix for the kalman filter used to smooth touch events
  385. /// </summary>
  386. public static readonly float TouchmXY = 0.0f;
  387. /// <summary>
  388. /// yy entry for the measurement noise covariance matrix for the kalman filter used to smooth touch events
  389. /// </summary>
  390. public static readonly float TouchmYY = 0.00165f;
  391. /// <summary>
  392. /// value used for all entries in the process noise covariance matrix for the kalman filter used to smooth touch events
  393. /// </summary>
  394. public static readonly float TouchProcessNoise = 3.0e-4f;
  395. /// <summary>
  396. /// if the absolute position of a tracked touch event moves this relative amount it will have a similarity of 0 to itself at the previous position
  397. /// </summary>
  398. public static readonly float TouchTrackerMaxAbsolutePositionRelativeMove = TrackerMaxRelativeMove;
  399. /// <summary>
  400. /// number of frames an object needs to be detected before it is tracked
  401. /// </summary>
  402. public static readonly int TouchTrackerNumFramesDetectedUntilTracked = 1;
  403. /// <summary>
  404. /// number of frames an object needs to be lost before it is deleted
  405. /// </summary>
  406. public static readonly int TouchTrackerNumFramesLostUntilDeleted = 5;
  407. #endregion touch tracking
  408. #region TouchEventVisualizer
  409. /// <summary>
  410. /// time in milliseconds after which old touch events are removed from the touch event visualizer
  411. /// </summary>
  412. public static readonly int TouchEventVisualizerFadeOutTime = 1500;
  413. #endregion TouchEventVisualizer
  414. #region homographyExport
  415. /// <summary>
  416. /// file name of the file to which the homography is written
  417. /// </summary>
  418. public static readonly String HomographyFileName = "homography.txt";
  419. #endregion homographyExport
  420. #region colors
  421. #region general
  422. /// <summary>
  423. /// color used to draw detected objects
  424. /// </summary>
  425. public static readonly Color ColorDetected = Color.Turquoise;
  426. /// <summary>
  427. /// color used to draw tracked objects
  428. /// </summary>
  429. public static readonly Color ColorTracked = Color.Yellow;
  430. #endregion general
  431. #region images
  432. /// <summary>
  433. /// color used to specify which color channels the depth image is drawn to
  434. /// </summary>
  435. public static readonly Color DepthImageColor = Color.White;
  436. /// <summary>
  437. /// color used to specify which color channels the edge image is drawn to
  438. /// </summary>
  439. public static readonly Color EdgeImageColor = Color.Blue;
  440. /// <summary>
  441. /// color used to draw the borders of the output images
  442. /// </summary>
  443. public static readonly Color OutputImageBorderColor = Color.White;
  444. #endregion images
  445. #region finger
  446. /// <summary>
  447. /// color used to draw the finger contour
  448. /// </summary>
  449. public static readonly Color FingerContourColor = Color.Red;
  450. /// <summary>
  451. /// color used to draw the detected fingers
  452. /// </summary>
  453. public static readonly Color FingerDetectedColor = ColorDetected;
  454. /// <summary>
  455. /// color used to draw the finger hand point
  456. /// </summary>
  457. public static readonly Color FingerHandColor = Color.Yellow;
  458. /// <summary>
  459. /// color used to draw the text for the finger id
  460. /// </summary>
  461. public static readonly Color FingerIDColor = Color.White;
  462. /// <summary>
  463. /// color used to draw the finger slices
  464. /// </summary>
  465. public static readonly Color FingerSliceColor = Color.Magenta;
  466. /// <summary>
  467. /// color used to draw the finger tip point
  468. /// </summary>
  469. public static readonly Color FingerTipColor = Color.Blue;
  470. /// <summary>
  471. /// color used to draw the tracked fingers
  472. /// </summary>
  473. public static readonly Color FingerTrackedColor = ColorTracked;
  474. #endregion finger
  475. #region touch
  476. /// <summary>
  477. /// color used to draw detected touch events
  478. /// </summary>
  479. public static readonly Color TouchEventDetectedColor = ColorDetected;
  480. /// <summary>
  481. /// color used to draw tracked touch events
  482. /// </summary>
  483. public static readonly Color TouchEventTrackedColor = ColorTracked;
  484. #endregion touch
  485. #region TouchEventVisualizer
  486. /// <summary>
  487. /// color used to highlight the active block in the touch event visualizer
  488. /// </summary>
  489. public static readonly Color TouchEventVisualizerActiveBlockColor = Color.DarkSlateGray;
  490. /// <summary>
  491. /// color used to draw the grid in the touch event visualizer
  492. /// </summary>
  493. public static readonly Color TouchEventVisualizerGridColor = Color.White;
  494. /// <summary>
  495. /// color used to draw the lines between touch events in the touch event visualizer
  496. /// </summary>
  497. public static readonly Color TouchEventVisualizerLineColor = Color.Yellow;
  498. /// <summary>
  499. /// color used to draw the touch event points in the touch event visualizer
  500. /// </summary>
  501. public static readonly Color TouchEventVisualizerPointColor = Color.Red;
  502. /// <summary>
  503. /// color used to draw the text in the touch event visualizer
  504. /// </summary>
  505. public static readonly Color TouchEventVisualizerTextColor = Color.White;
  506. #endregion TouchEventVisualizer
  507. #region palm
  508. /// <summary>
  509. /// color used to draw the palm grid in the palm
  510. /// </summary>
  511. public static readonly Color PalmGridColor = Color.CornflowerBlue;
  512. /// <summary>
  513. /// color used to draw the palm quadrangle
  514. /// </summary>
  515. public static readonly Color PalmQuadColor = Color.Blue;
  516. #endregion palm
  517. #region hand
  518. /// <summary>
  519. /// color used to draw the hand centroid
  520. /// </summary>
  521. public static readonly Color HandCentroidColor = Color.Yellow;
  522. /// <summary>
  523. /// colors used to draw the hands (element is a color which specifies the color channels used to draw the hand)
  524. /// </summary>
  525. public static readonly Color[] HandColors = new Color[3] { Color.Red, Color.Blue, Color.Green };
  526. /// <summary>
  527. /// color used to draw the hand id text
  528. /// </summary>
  529. public static readonly Color HandIDColor = Color.White;
  530. /// <summary>
  531. /// color used to draw the lines of the thumb defects
  532. /// </summary>
  533. public static readonly Color HandThumbDefectLineColor = Color.CornflowerBlue;
  534. /// <summary>
  535. /// color used to draw the points of the thumb defects
  536. /// </summary>
  537. public static readonly Color HandThumbDefectPointColor = Color.Lime;
  538. #endregion hand
  539. #region calibration
  540. /// <summary>
  541. /// color used to draw the calibration points in the glasses window
  542. /// </summary>
  543. public static readonly Color CalibrationPointColor = Color.Yellow;
  544. #endregion calibration
  545. #endregion colors
  546. }
  547. }