manual.toc
Upload User: shhuayu888
Upload Date: 2013-03-28
Package Size: 1788k
Code Size: 15k
Category:

Windows Develop

Development Platform:

Unix_Linux

  1. protect contentsline {chapter}{protect numberline {1}Introduction}{8}
  2. protect contentsline {section}{protect numberline {1.1}About this manual}{8}
  3. protect contentsline {section}{protect numberline {1.2}How to Avoid Reading this Manual}{8}
  4. protect contentsline {section}{protect numberline {1.3}Design of the GSNAKE API}{8}
  5. protect contentsline {section}{protect numberline {1.4}Class Design and Implementation}{9}
  6. protect contentsline {chapter}{protect numberline {2}Class Library Reference}{11}
  7. protect contentsline {section}{protect numberline {2.1}IMAGE : The raw image object}{11}
  8. protect contentsline {subsection}{protect numberline {2.1.1}IMAGE Constructor}{11}
  9. protect contentsline {subsection}{protect numberline {2.1.2}IMAGE Destructor}{11}
  10. protect contentsline {subsection}{protect numberline {2.1.3}Resetting an IMAGE}{12}
  11. protect contentsline {subsection}{protect numberline {2.1.4}Initializing image matrix}{12}
  12. protect contentsline {subsection}{protect numberline {2.1.5}Initializing Gaussian template}{12}
  13. protect contentsline {subsection}{protect numberline {2.1.6}Putting data into image matrix}{13}
  14. protect contentsline {subsection}{protect numberline {2.1.7}Getting data from image matrix}{13}
  15. protect contentsline {subsection}{protect numberline {2.1.8}Getting IMAGE row and col}{14}
  16. protect contentsline {subsection}{protect numberline {2.1.9}Printing image data}{14}
  17. protect contentsline {subsection}{protect numberline {2.1.10}Displaying image}{14}
  18. protect contentsline {subsection}{protect numberline {2.1.11}Reading image data from file}{15}
  19. protect contentsline {subsection}{protect numberline {2.1.12}Writing image data to file}{16}
  20. protect contentsline {subsection}{protect numberline {2.1.13}Histogram conditioning of image}{16}
  21. protect contentsline {subsection}{protect numberline {2.1.14}Image correlation}{17}
  22. protect contentsline {subsection}{protect numberline {2.1.15}X window image generation}{18}
  23. protect contentsline {subsection}{protect numberline {2.1.16}Cutting an image segment}{18}
  24. protect contentsline {subsection}{protect numberline {2.1.17}Copying an image}{18}
  25. protect contentsline {subsection}{protect numberline {2.1.18}Filling of an area of image}{19}
  26. protect contentsline {subsection}{protect numberline {2.1.19}Example : Reading, writing and correlation of images}{19}
  27. protect contentsline {subsection}{protect numberline {2.1.20}Example : Histogram specification of an image}{21}
  28. protect contentsline {subsection}{protect numberline {2.1.21}Example : Cutting and copying of image segments}{21}
  29. protect contentsline {section}{protect numberline {2.2}EDGE : Edge Gradient}{22}
  30. protect contentsline {subsection}{protect numberline {2.2.1}EDGE constructor}{23}
  31. protect contentsline {subsection}{protect numberline {2.2.2}EDGE destructor}{23}
  32. protect contentsline {subsection}{protect numberline {2.2.3}Resetting an {protect tt EDGE} object}{23}
  33. protect contentsline {subsection}{protect numberline {2.2.4}Retrieving magnitude and angle of an edge point}{24}
  34. protect contentsline {subsection}{protect numberline {2.2.5}Storing magnitude and angle of an edge point}{24}
  35. protect contentsline {subsection}{protect numberline {2.2.6}Displaying edge map}{25}
  36. protect contentsline {subsection}{protect numberline {2.2.7}Calculating the edge map}{25}
  37. protect contentsline {subsection}{protect numberline {2.2.8}Getting row and column of {protect tt EDGE}}{26}
  38. protect contentsline {subsection}{protect numberline {2.2.9}Example : Edge computation}{26}
  39. protect contentsline {section}{protect numberline {2.3}PYRAMID : Pyramid of Images}{27}
  40. protect contentsline {subsection}{protect numberline {2.3.1}PYRAMID Constructor}{28}
  41. protect contentsline {subsection}{protect numberline {2.3.2}PYRAMID Destructor}{28}
  42. protect contentsline {subsection}{protect numberline {2.3.3}Resetting PYRAMID object}{28}
  43. protect contentsline {subsection}{protect numberline {2.3.4}Generating pyramid images}{29}
  44. protect contentsline {subsection}{protect numberline {2.3.5}Accessing edge map}{29}
  45. protect contentsline {subsection}{protect numberline {2.3.6}Accessing Gaussian image}{30}
  46. protect contentsline {subsection}{protect numberline {2.3.7}Getting pyramid level}{30}
  47. protect contentsline {subsection}{protect numberline {2.3.8}Print Gaussian pyramid data}{31}
  48. protect contentsline {subsection}{protect numberline {2.3.9}Displaying the pyramid of images}{31}
  49. protect contentsline {subsection}{protect numberline {2.3.10}Duplicating a pyramid}{31}
  50. protect contentsline {subsection}{protect numberline {2.3.11}Putting root image into PYRAMID}{32}
  51. protect contentsline {subsection}{protect numberline {2.3.12}Example:Building of pyramid from image}{32}
  52. protect contentsline {subsection}{protect numberline {2.3.13}Example:Accessing a particular level image}{33}
  53. protect contentsline {section}{protect numberline {2.4}MATRIX : Simple matrix calculation}{34}
  54. protect contentsline {subsection}{protect numberline {2.4.1}Print matrix data}{34}
  55. protect contentsline {subsection}{protect numberline {2.4.2}Initializing matrix}{35}
  56. protect contentsline {subsection}{protect numberline {2.4.3}Matrix transpose}{35}
  57. protect contentsline {subsection}{protect numberline {2.4.4}Matrix addition}{36}
  58. protect contentsline {subsection}{protect numberline {2.4.5}Matrix substraction}{36}
  59. protect contentsline {subsection}{protect numberline {2.4.6}Matrix multiplication}{37}
  60. protect contentsline {subsection}{protect numberline {2.4.7}Swapping rows of matrix}{37}
  61. protect contentsline {subsection}{protect numberline {2.4.8}Matrix inversion}{38}
  62. protect contentsline {section}{protect numberline {2.5}SNAXEL : The contour model unit}{38}
  63. protect contentsline {subsection}{protect numberline {2.5.1}Computing mean position}{38}
  64. protect contentsline {subsection}{protect numberline {2.5.2}Computing tangent vector}{39}
  65. protect contentsline {subsection}{protect numberline {2.5.3}Computing normal vector}{40}
  66. protect contentsline {subsection}{protect numberline {2.5.4}Calculating the {protect tt SNAXEL} angle}{40}
  67. protect contentsline {subsection}{protect numberline {2.5.5}Showing snaxel}{41}
  68. protect contentsline {subsection}{protect numberline {2.5.6}Interface row and column information}{41}
  69. protect contentsline {subsection}{protect numberline {2.5.7}Interface snaxel energy information}{42}
  70. protect contentsline {subsection}{protect numberline {2.5.8}Interface parameter information}{42}
  71. protect contentsline {subsection}{protect numberline {2.5.9}Interface pointers to neighbouring snaxels}{43}
  72. protect contentsline {subsection}{protect numberline {2.5.10}Example : Using mean position to calculate Internal energy}{44}
  73. protect contentsline {subsection}{protect numberline {2.5.11}Example : Verifying vector calculations}{45}
  74. protect contentsline {section}{protect numberline {2.6}CONTOUR : A deformable template object}{46}
  75. protect contentsline {subsection}{protect numberline {2.6.1}{protect tt CONTOUR} constructor}{47}
  76. protect contentsline {subsection}{protect numberline {2.6.2}{protect tt CONTOUR} destructor}{47}
  77. protect contentsline {subsection}{protect numberline {2.6.3}Resetting a {protect tt CONTOUR} }{47}
  78. protect contentsline {subsection}{protect numberline {2.6.4}Automatic initialization of closed contour}{47}
  79. protect contentsline {subsection}{protect numberline {2.6.5}Automatic initialization of open contour}{48}
  80. protect contentsline {subsection}{protect numberline {2.6.6}Manual initialization of a contour }{49}
  81. protect contentsline {subsection}{protect numberline {2.6.7}File interface methods}{49}
  82. protect contentsline {subsection}{protect numberline {2.6.8}Learning shape matrix}{50}
  83. protect contentsline {subsection}{protect numberline {2.6.9}Computing normalizing constant for classification purpose}{50}
  84. protect contentsline {subsection}{protect numberline {2.6.10}Computing the average vector distance l(U) between snaxels}{51}
  85. protect contentsline {subsection}{protect numberline {2.6.11}Regenerating shape matrix}{51}
  86. protect contentsline {subsection}{protect numberline {2.6.12}Conversion of Coordinates}{52}
  87. protect contentsline {subsection}{protect numberline {2.6.13}Calculating the internal energy of an individual snaxel}{52}
  88. protect contentsline {subsection}{protect numberline {2.6.14}Affine transformations of contour}{52}
  89. protect contentsline {subsection}{protect numberline {2.6.15}Computing the centre of gravity of contour}{53}
  90. protect contentsline {subsection}{protect numberline {2.6.16}Duplicating a contour}{53}
  91. protect contentsline {subsection}{protect numberline {2.6.17}Retrieving and accessing of a contour content}{54}
  92. protect contentsline {subsection}{protect numberline {2.6.18}Displaying contour shape}{55}
  93. protect contentsline {subsection}{protect numberline {2.6.19}Showing a contour on another image}{55}
  94. protect contentsline {subsection}{protect numberline {2.6.20}Example : Initialization of contours }{55}
  95. protect contentsline {subsection}{protect numberline {2.6.21}Example : Affine transformations of contour}{56}
  96. protect contentsline {subsection}{protect numberline {2.6.22}Example : Coordinate conversion of contour}{58}
  97. protect contentsline {subsection}{protect numberline {2.6.23}Example : Duplication of contour}{59}
  98. protect contentsline {section}{protect numberline {2.7}GHOUGH : Generalised Hough Transform Object}{60}
  99. protect contentsline {subsection}{protect numberline {2.7.1}GHOUGH constructor}{61}
  100. protect contentsline {subsection}{protect numberline {2.7.2}GHOUGH destructor}{62}
  101. protect contentsline {subsection}{protect numberline {2.7.3}Resetting GHOUGH object}{62}
  102. protect contentsline {subsection}{protect numberline {2.7.4}Finding one contour}{62}
  103. protect contentsline {subsection}{protect numberline {2.7.5}Finding multiple contours}{63}
  104. protect contentsline {subsection}{protect numberline {2.7.6}Example : Localization of a contour}{63}
  105. protect contentsline {subsection}{protect numberline {2.7.7}Example : Localization of multiple contours}{64}
  106. protect contentsline {section}{protect numberline {2.8}GSNAKE : Generalized Active Contour Model}{66}
  107. protect contentsline {subsection}{protect numberline {2.8.1}GSNAKE constructor}{67}
  108. protect contentsline {subsection}{protect numberline {2.8.2}GSNAKE destructor}{68}
  109. protect contentsline {subsection}{protect numberline {2.8.3}GSNAKE destructor}{68}
  110. protect contentsline {subsection}{protect numberline {2.8.4}Generating pyramid images}{68}
  111. protect contentsline {subsection}{protect numberline {2.8.5}Localization of contour}{69}
  112. protect contentsline {subsection}{protect numberline {2.8.6}Fine localization of GSNAKE template}{69}
  113. protect contentsline {subsection}{protect numberline {2.8.7}Minimization of GSNAKE}{70}
  114. protect contentsline {subsection}{protect numberline {2.8.8}Marginalizing gsnake to get probablity}{71}
  115. protect contentsline {subsection}{protect numberline {2.8.9}Calculating total energy of a gsnake}{71}
  116. protect contentsline {subsection}{protect numberline {2.8.10}Calculating total energy of a snaxel}{72}
  117. protect contentsline {subsection}{protect numberline {2.8.11}Calculating internal energy of a snaxel}{72}
  118. protect contentsline {subsection}{protect numberline {2.8.12}Caluclating Internal energy at snaxel co-ordinates}{72}
  119. protect contentsline {subsection}{protect numberline {2.8.13}Calculating external energy of a snaxel}{73}
  120. protect contentsline {subsection}{protect numberline {2.8.14}Showing GSNAKE}{73}
  121. protect contentsline {subsection}{protect numberline {2.8.15}Displaying gsnake and image}{73}
  122. protect contentsline {subsection}{protect numberline {2.8.16}Manual deformation of a contour}{74}
  123. protect contentsline {subsection}{protect numberline {2.8.17}Duplicating a GSNAKE}{74}
  124. protect contentsline {subsection}{protect numberline {2.8.18}Getting external energy input type}{75}
  125. protect contentsline {subsection}{protect numberline {2.8.19}Getting and writing the regularization parameter}{75}
  126. protect contentsline {subsection}{protect numberline {2.8.20}Retrieving internal and external energy}{76}
  127. protect contentsline {subsection}{protect numberline {2.8.21}Example : Localization and minimization of GSNAKE }{76}
  128. protect contentsline {subsection}{protect numberline {2.8.22}Example : Energy calculation I}{77}
  129. protect contentsline {subsection}{protect numberline {2.8.23}Example : Energy calculation II}{79}
  130. protect contentsline {section}{protect numberline {2.9}MODEL : Shape Learning Class}{80}
  131. protect contentsline {subsection}{protect numberline {2.9.1}MODEL constructor}{81}
  132. protect contentsline {subsection}{protect numberline {2.9.2}Learning shape matrix}{81}
  133. protect contentsline {subsection}{protect numberline {2.9.3}Learning local deformation variances}{81}
  134. protect contentsline {subsection}{protect numberline {2.9.4}Accessing the trained model}{82}
  135. protect contentsline {subsection}{protect numberline {2.9.5}Example : Learning of shape matrix from different samples}{82}
  136. protect contentsline {section}{protect numberline {2.10}CLASSIFY : Contour Classification}{84}
  137. protect contentsline {subsection}{protect numberline {2.10.1}CLASSIFY constructor}{85}
  138. protect contentsline {subsection}{protect numberline {2.10.2}CLASSIFY destructor}{85}
  139. protect contentsline {subsection}{protect numberline {2.10.3}Loading a template into CLASSIFY}{85}
  140. protect contentsline {subsection}{protect numberline {2.10.4}Classifying templates}{86}
  141. protect contentsline {subsection}{protect numberline {2.10.5}Selecting the best matching contour}{86}
  142. protect contentsline {subsection}{protect numberline {2.10.6}Getting the number of templates read}{87}
  143. protect contentsline {subsection}{protect numberline {2.10.7}Getting the matching score}{87}
  144. protect contentsline {subsection}{protect numberline {2.10.8}Printing templates score}{88}
  145. protect contentsline {subsection}{protect numberline {2.10.9}Getting label of template}{88}
  146. protect contentsline {subsection}{protect numberline {2.10.10}Example : Classifying various templates}{88}
  147. protect contentsline {chapter}{protect numberline {3}GSNAKE API Command Line Utilities}{90}
  148. protect contentsline {section}{protect numberline {3.1}Image Processing utilities}{90}
  149. protect contentsline {subsection}{protect numberline {3.1.1}Image generation: {protect tt imggen} }{90}
  150. protect contentsline {subsection}{protect numberline {3.1.2}Image viewing: {protect tt imgshow} }{91}
  151. protect contentsline {subsection}{protect numberline {3.1.3}Gaussian pyramid images generation: {protect tt imgpyramid}}{92}
  152. protect contentsline {subsection}{protect numberline {3.1.4}Image conditioning : {protect tt imgcond} }{92}
  153. protect contentsline {subsection}{protect numberline {3.1.5}Image learning : {protect tt imglearn} }{93}
  154. protect contentsline {section}{protect numberline {3.2}GSNAKE utilities}{94}
  155. protect contentsline {subsection}{protect numberline {3.2.1}Template generation : {protect tt gsinit} }{94}
  156. protect contentsline {subsection}{protect numberline {3.2.2}Contour viewing: {protect tt gsshow} }{94}
  157. protect contentsline {subsection}{protect numberline {3.2.3}Contour matching: {protect tt gsfit} }{95}