convertNormalsToHSV.lyx 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. #LyX 2.0 created this file. For more info see http://www.lyx.org/
  2. \lyxformat 413
  3. \begin_document
  4. \begin_header
  5. \textclass book
  6. \use_default_options false
  7. \maintain_unincluded_children false
  8. \language french
  9. \language_package default
  10. \inputencoding latin9
  11. \fontencoding T1
  12. \font_roman default
  13. \font_sans helvet
  14. \font_typewriter default
  15. \font_default_family sfdefault
  16. \use_non_tex_fonts false
  17. \font_sc false
  18. \font_osf false
  19. \font_sf_scale 100
  20. \font_tt_scale 100
  21. \graphics default
  22. \default_output_format default
  23. \output_sync 0
  24. \bibtex_command default
  25. \index_command default
  26. \paperfontsize 10
  27. \spacing single
  28. \use_hyperref true
  29. \pdf_bookmarks true
  30. \pdf_bookmarksnumbered false
  31. \pdf_bookmarksopen false
  32. \pdf_bookmarksopenlevel 1
  33. \pdf_breaklinks false
  34. \pdf_pdfborder false
  35. \pdf_colorlinks true
  36. \pdf_backref false
  37. \pdf_pdfusetitle true
  38. \pdf_quoted_options "linkcolor=blue"
  39. \papersize a4paper
  40. \use_geometry true
  41. \use_amsmath 1
  42. \use_esint 1
  43. \use_mhchem 0
  44. \use_mathdots 0
  45. \cite_engine basic
  46. \use_bibtopic false
  47. \use_indices false
  48. \paperorientation portrait
  49. \suppress_date true
  50. \use_refstyle 0
  51. \index Index
  52. \shortcut idx
  53. \color #008000
  54. \end_index
  55. \leftmargin 1.5cm
  56. \topmargin 3cm
  57. \rightmargin 1.5cm
  58. \bottommargin 3cm
  59. \secnumdepth 3
  60. \tocdepth 3
  61. \paragraph_separation indent
  62. \paragraph_indentation default
  63. \quotes_language french
  64. \papercolumns 1
  65. \papersides 2
  66. \paperpagestyle fancy
  67. \tracking_changes false
  68. \output_changes false
  69. \html_math_output 0
  70. \html_css_as_file 0
  71. \html_be_strict false
  72. \end_header
  73. \begin_body
  74. \begin_layout Subsection
  75. Normals > Convert to HSV
  76. \end_layout
  77. \begin_layout Standard
  78. \begin_inset CommandInset label
  79. LatexCommand label
  80. name "subsection:convertToHSV"
  81. \end_inset
  82. \end_layout
  83. \begin_layout Standard
  84. Cette fonction permet de convertir les normales d'un nuage en couleur (voir
  85. figure
  86. \begin_inset CommandInset ref
  87. LatexCommand ref
  88. reference "fig:convertNormalsToHSVExample"
  89. \end_inset
  90. ) via deux transformations successives :
  91. \end_layout
  92. \begin_layout Itemize
  93. une première transformation des normales en indication de pendage (
  94. \shape italic
  95. Strike and dip
  96. \shape default
  97. en anglais - Cf.
  98. \begin_inset CommandInset href
  99. LatexCommand href
  100. name "wikipedia"
  101. target "http://en.wikipedia.org/wiki/Strike_and_dip"
  102. \end_inset
  103. )
  104. \end_layout
  105. \begin_layout Itemize
  106. puis une seconde transformation des informations de pendage vers l'espace
  107. HSV (
  108. \shape italic
  109. Hue Saturation Value
  110. \shape default
  111. ou
  112. \shape italic
  113. Teinte, Saturation, Valeur
  114. \shape default
  115. en français) :
  116. \begin_inset Formula $strike\rightarrow H$
  117. \end_inset
  118. ;
  119. \begin_inset Formula $dip\rightarrow S$
  120. \end_inset
  121. ;
  122. \begin_inset Formula $V=constante$
  123. \end_inset
  124. .
  125. \begin_inset Newline newline
  126. \end_inset
  127. \end_layout
  128. \begin_layout Standard
  129. \begin_inset Float figure
  130. placement !htb
  131. wide false
  132. sideways false
  133. status open
  134. \begin_layout Plain Layout
  135. \align center
  136. \begin_inset Graphics
  137. filename ../images/Partie3_Fonctions/convertToHSV.png
  138. width 65text%
  139. \end_inset
  140. \begin_inset Caption
  141. \begin_layout Plain Layout
  142. \begin_inset CommandInset label
  143. LatexCommand label
  144. name "fig:convertNormalsToHSVExample"
  145. \end_inset
  146. Exemple de conversion de normales vers l'espace de couleur HSV
  147. \end_layout
  148. \end_inset
  149. \end_layout
  150. \end_inset
  151. \end_layout
  152. \begin_layout Standard
  153. La méthode créé le champ
  154. \shape italic
  155. Couleur
  156. \shape default
  157. si besoin (et sinon écrase la champ existant).
  158. Elle cache aussi automatiquement les normales.
  159. \end_layout
  160. \end_body
  161. \end_document