ImageLabeler_manual.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
  5. <TITLE></TITLE>
  6. <META NAME="GENERATOR" CONTENT="LibreOffice 3.3 (Unix)">
  7. <META NAME="CREATED" CONTENT="20111021;12232200">
  8. <META NAME="CHANGED" CONTENT="20111021;14374400">
  9. <STYLE TYPE="text/css">
  10. <!--
  11. @page { margin: 0.79in }
  12. P { margin-bottom: 0.08in }
  13. A:link { so-language: zxx }
  14. -->
  15. </STYLE>
  16. </HEAD>
  17. <BODY LANG="en-US" DIR="LTR">
  18. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4 STYLE="font-size: 16pt"><B>Image
  19. Labeler</B></FONT></P>
  20. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4 STYLE="font-size: 16pt"><B>user
  21. guide</B></FONT></P>
  22. <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>author:
  23. Gapchich Vladislav</FONT></P>
  24. <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>2011</FONT></P>
  25. <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  26. </P>
  27. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4><B>1.
  28. Introduction</B></FONT></P>
  29. <P ALIGN=LEFT STYLE="margin-bottom: 0in"><FONT SIZE=3><SPAN STYLE="font-weight: normal">Image
  30. labeler is a tool that allows you to </SPAN></FONT>mark objects on
  31. the image and label them accordingly.</P>
  32. <P ALIGN=LEFT STYLE="margin-bottom: 0in">For example, lets take this
  33. picture:</P>
  34. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT COLOR="#000000"><IMG SRC="ImageLabeler_manual_html_m14684b4b.jpg" NAME="graphics2" ALIGN=CENTER WIDTH=453 HEIGHT=301 BORDER=1><BR CLEAR=LEFT></FONT><FONT SIZE=3><B>Pic.
  35. 1.1</B></FONT></P>
  36. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>There
  37. are five objects on it: two markers, two pens, a toy and a hat. Let's
  38. suppose that pen, toy and a hat are certain classes of objects and
  39. their numbers are: hat – 1, pen – 2, toy – 3. So now we can
  40. select all objects in the image and label them accordingly. </FONT>
  41. </P>
  42. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>We'll
  43. have something like this:</FONT></P>
  44. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT COLOR="#000000"><IMG SRC="ImageLabeler_manual_html_3a8dae8d.png" NAME="graphics3" ALIGN=CENTER WIDTH=452 HEIGHT=300 BORDER=1><BR CLEAR=LEFT></FONT><FONT SIZE=3><B>Pic.
  45. 1.2</B></FONT></P>
  46. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>After
  47. the labeling procedure is finished all the information about selected
  48. regions can be saved into xml file or an application can generate a
  49. segmented image only with selected regions. </FONT>
  50. </P>
  51. <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-weight: normal"><FONT COLOR="#c0c0c0"><IMG SRC="ImageLabeler_manual_html_m11ed6116.png" NAME="graphics4" ALIGN=CENTER WIDTH=455 HEIGHT=302 BORDER=1><BR CLEAR=LEFT></FONT><FONT SIZE=3>Pic.
  52. 1.3</FONT></P>
  53. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>Now
  54. you've seen the main features of this application. Let's take a look
  55. at the program in more detail.</FONT></P>
  56. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><BR>
  57. </P>
  58. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4><B>2. Getting
  59. started</B></FONT></P>
  60. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>After
  61. the first launch of ImageLabeler application you'll see this window:</FONT></P>
  62. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><IMG SRC="ImageLabeler_manual_html_m7e4b67ac.png" NAME="graphics1" ALIGN=CENTER WIDTH=611 HEIGHT=388 BORDER=0><BR CLEAR=LEFT><FONT SIZE=3><B>Pic.
  63. 2.1</B></FONT></P>
  64. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><BR>
  65. </P>
  66. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>Everything
  67. is empty because no image has been loaded yet. There are a lot of
  68. ways to open images. </FONT>
  69. </P>
  70. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4><B>3. Loading
  71. images and data</B></FONT></P>
  72. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>Click
  73. on menu File and you'll see these options: “load image”, “load
  74. images”, “load labeled image”, “load legend” and “Pascal”
  75. menu.</FONT></P>
  76. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  77. </P>
  78. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><IMG SRC="ImageLabeler_manual_html_m39811203.png" NAME="graphics5" ALIGN=CENTER WIDTH=637 HEIGHT=397 BORDER=0><BR CLEAR=LEFT><FONT SIZE=3><B>Pic.
  79. 3.1</B></FONT></P>
  80. <UL>
  81. <LI><P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>If
  82. you want to load one single image just click “load image” and
  83. choose one from your file system.</FONT></P>
  84. <LI><P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>If
  85. you want to load a folder with images click on “load
  86. images(recursively)” and choose a folder containing images from
  87. your file system. (recursively) means that program will also look
  88. for images in every subdirectory it will find. </FONT>
  89. </P>
  90. <LI><P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>If
  91. you've already labeled some image and want to load it then click on
  92. “load labeled image” and look for the file with “*.dat”
  93. extension. Usually information about labeled image should be stored
  94. in the same directory as the original image is and it's name should
  95. look like “imagename_labeled.dat” where “imagename” part is
  96. the name of an original file.</FONT></P>
  97. <LI><P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>If
  98. you have previously saved legend(labels and their colors) you can
  99. load it by clicking load legend. The file with legend also has xml
  100. format and “*.dat” extension</FONT></P>
  101. </UL>
  102. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>An
  103. application with loaded image looks this:</FONT></P>
  104. <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-weight: normal"><IMG SRC="ImageLabeler_manual_html_4018ae25.png" NAME="graphics6" ALIGN=CENTER WIDTH=582 HEIGHT=368 BORDER=0><BR CLEAR=LEFT><FONT SIZE=3>Pic
  105. 3.2</FONT></P>
  106. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>As
  107. you can see all the tools are enabled now and you can use them.</FONT></P>
  108. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  109. </P>
  110. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4><B>4.
  111. Labeling</B></FONT></P>
  112. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR CLEAR=LEFT><FONT SIZE=3>First
  113. you should add some labels. To do it you have to click on “Add
  114. label” button in the top right corner of the window.</FONT></P>
  115. <P ALIGN=CENTER><IMG SRC="ImageLabeler_manual_html_65b060c.png" NAME="graphics7" ALIGN=CENTER WIDTH=579 HEIGHT=366 BORDER=0></P>
  116. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=3><B>Pic. 4.1</B></FONT></P>
  117. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>As
  118. the result a new label with the name “New label” will appear. The
  119. number of labels can not be more than 100. To change the name of a
  120. label just make a double click on it and edit the text of an item. To
  121. remove the label you can use “Remove label” button or open a
  122. popup menu by right click on an item and select “Delete” action.
  123. To change label's color or make it the “main” label use popup
  124. menu as well.</FONT></P>
  125. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  126. </P>
  127. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4><B>5.
  128. Selecting objects</B></FONT></P>
  129. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>Now
  130. when the labels are created and their colors are set we can begin
  131. with the selecting objects on the image. </FONT>
  132. </P>
  133. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><IMG SRC="ImageLabeler_manual_html_2ce1f8a5.png" NAME="graphics8" ALIGN=CENTER WIDTH=560 HEIGHT=354 BORDER=0><BR CLEAR=LEFT><FONT SIZE=3><B>Pic.
  134. 5.1</B></FONT></P>
  135. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>There
  136. are two tools you can use to select an object on the image:</FONT></P>
  137. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> First
  138. – bounding box. To add a bounding box just select it from the
  139. toolbox in the upper left corner and start selecting the bounds of an
  140. objects with left mouse button pressed. Move mouse from one corner of
  141. the rectangle to another to capture the whole object in it. If you're
  142. not satisfied with the result you can start a new rectangle by
  143. clicking left mouse button again and the old one will be
  144. automatically erased.</FONT></P>
  145. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> Second
  146. – polygon tool. To start selecting object with this tool you need
  147. to follow the object contour with the “pointing and clicking”.
  148. Just click with the left mouse button in the key points of the
  149. contour and program will draw a polygon which follow the points
  150. you've created. You can press and hold left mouse button to see the
  151. last line of the polygon and select more accurately.</FONT></P>
  152. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  153. </P>
  154. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> If
  155. you've decided no to make any selection just click “Esc” button
  156. on your keyboard.</FONT></P>
  157. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  158. </P>
  159. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> Before
  160. you decide to confirm the object you selected you should choose one
  161. of the labels you created before. To confirm the selection click
  162. “Confirm selection” button in the lower left corner of the window
  163. or just press “enter” button on the keyboard.</FONT></P>
  164. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  165. </P>
  166. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> To
  167. zoom in or zoom out an image use ctrl + mouse wheel.</FONT></P>
  168. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  169. </P>
  170. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  171. </P>
  172. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=3><B><FONT SIZE=4>6.
  173. Editing selected areas</FONT></B></FONT></P>
  174. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  175. </P>
  176. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>To
  177. edit already selected area find it in the “Selected areas” list
  178. and double click on it. </FONT>
  179. </P>
  180. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><BR>
  181. </P>
  182. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><IMG SRC="ImageLabeler_manual_html_91f3f31.png" NAME="graphics9" ALIGN=CENTER WIDTH=579 HEIGHT=366 BORDER=0><BR CLEAR=LEFT><FONT SIZE=3><B>Pic.
  183. 6.1</B></FONT></P>
  184. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3>One
  185. of the contours will become dashed and all it's points will become
  186. visible and selectable. To edit a contour grab any point you want
  187. with the mouse pointer and move it until you get the satisfying
  188. result. Also you can edit Label ID of the selected area and it's
  189. point by changing text of an item manually. To do it call a popup
  190. menu of the “Selected areas” list and choose “Change area”
  191. action. You can delete area using the same popup menu but selecting
  192. “Delete area”</FONT></P>
  193. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><FONT SIZE=4><B>7. Saving
  194. information about objects</B></FONT></P>
  195. <P ALIGN=CENTER STYLE="margin-bottom: 0in"><IMG SRC="ImageLabeler_manual_html_6bc3874.png" NAME="graphics10" ALIGN=CENTER WIDTH=544 HEIGHT=344 BORDER=0><BR CLEAR=LEFT><FONT SIZE=3><B>Pic.
  196. 7.1.</B></FONT></P>
  197. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> To
  198. save the whole information(labels, objects, image description, tags,
  199. segmented image as 2d array of label id's) use “Save all info”
  200. action in the “File” menu. This file will have xml format and
  201. “*.dat” extension. By default it's name would be
  202. “imagename_labeled.dat” where “imagename” part is the name of
  203. an original file. If you'll store this “*.dat” file in the same
  204. directory as the original image then you'll be able to load it using
  205. “load image” menu action. Storing data with this the default name
  206. in the directory of an original image is highly recommended. </FONT>
  207. </P>
  208. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> To
  209. get segmented image like <B>Pic. 1.3 </B>simply choose “Save
  210. segmented picture” action from the “File” menu. It is also
  211. recommended to use default name and path for the segmented image. To
  212. look at the results of segmentation go to the “View” menu and
  213. select “Segmented” action</FONT></P>
  214. <P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: normal"><FONT SIZE=3> To
  215. save the legend(labels, ids and colors) choose “Save legend”
  216. action from the “File” menu.</FONT></P>
  217. </BODY>
  218. </HTML>