Parameters.cs 25 KB

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