Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2015
199
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Contour 0 points [[[ 80 160]]
  2.  
  3. [[120 160]]]
  4.  
  5. - Contour 0 area : 0.0
  6.  
  7. contour x y [ 80 160]
  8. contour x y [120 160]
  9. the contour 0 distance between [ 80 160] [120 160] is 40.0
  10. Contour 1 points [[[161 140]]
  11.  
  12. [[161 159]]
  13.  
  14. [[160 160]]
  15.  
  16. [[140 160]]
  17.  
  18. [[161 160]]]
  19.  
  20. - Contour 1 area : 0.5
  21.  
  22. contour x y [161 140]
  23. contour x y [161 159]
  24. contour x y [160 160]
  25. contour x y [140 160]
  26. contour x y [161 160]
  27. the contour 1 distance between [161 140] [161 159] is 19.0
  28. Contour 2 points [[[ 40 140]]
  29.  
  30. [[ 40 160]]
  31.  
  32. [[ 61 160]]
  33.  
  34. [[ 41 160]]
  35.  
  36. [[ 40 159]]]
  37.  
  38. - Contour 2 area : 0.5
  39.  
  40. contour x y [ 40 140]
  41. contour x y [ 40 160]
  42. contour x y [ 61 160]
  43. contour x y [ 41 160]
  44. contour x y [ 40 159]
  45. the contour 2 distance between [ 40 140] [ 40 160] is 20.0
  46. Contour 3 points [[[161 80]]
  47.  
  48. [[161 120]]]
  49.  
  50. - Contour 3 area : 0.0
  51.  
  52. contour x y [161 80]
  53. contour x y [161 120]
  54. the contour 3 distance between [161 80] [161 120] is 40.0
  55. Contour 4 points [[[ 40 80]]
  56.  
  57. [[ 40 120]]]
  58.  
  59. - Contour 4 area : 0.0
  60.  
  61. contour x y [40 80]
  62. contour x y [ 40 120]
  63. the contour 4 distance between [40 80] [ 40 120] is 40.0
  64. Contour 5 points [[[ 50 50]]
  65.  
  66. [[ 50 150]]
  67.  
  68. [[150 150]]
  69.  
  70. [[150 50]]]
  71.  
  72. - Contour 5 area : 10000.0
  73.  
  74. contour x y [50 50]
  75. contour x y [ 50 150]
  76. contour x y [150 150]
  77. contour x y [150 50]
  78. the contour 5 distance between [50 50] [ 50 150] is 100.0
  79. Contour 6 points [[[140 40]]
  80.  
  81. [[160 40]]
  82.  
  83. [[161 41]]
  84.  
  85. [[161 60]]
  86.  
  87. [[161 40]]]
  88.  
  89. - Contour 6 area : 0.5
  90.  
  91. contour x y [140 40]
  92. contour x y [160 40]
  93. contour x y [161 41]
  94. contour x y [161 60]
  95. contour x y [161 40]
  96. the contour 6 distance between [140 40] [160 40] is 20.0
  97. Contour 7 points [[[ 80 40]]
  98.  
  99. [[119 40]]]
  100.  
  101. - Contour 7 area : 0.0
  102.  
  103. contour x y [80 40]
  104. contour x y [119 40]
  105. the contour 7 distance between [80 40] [119 40] is 39.0
  106. Contour 8 points [[[40 40]]
  107.  
  108. [[40 60]]
  109.  
  110. [[40 41]]
  111.  
  112. [[41 40]]
  113.  
  114. [[60 40]]]
  115.  
  116. - Contour 8 area : 0.5
  117.  
  118. contour x y [40 40]
  119. contour x y [40 60]
  120. contour x y [40 41]
  121. contour x y [41 40]
  122. contour x y [60 40]
  123. the contour 8 distance between [40 40] [40 60] is 20.0
  124. (4L, 1L, 2L)
  125. ip [50 50]
  126. pt [ 80 160]
  127. distance 114.01754251
  128. nearestpoint [50 50]
  129. nearestpointindex 0
  130. ip [ 50 150]
  131. pt [ 80 160]
  132. distance 31.6227766017
  133. nearestpoint [ 50 150]
  134. nearestpointindex 0
  135. ip [150 150]
  136. pt [ 80 160]
  137. distance 70.7106781187
  138. ip [150 50]
  139. pt [ 80 160]
  140. distance 130.384048104
  141. ip [50 50]
  142. pt [120 160]
  143. distance 130.384048104
  144. nearestpoint [50 50]
  145. nearestpointindex 0
  146. ip [ 50 150]
  147. pt [120 160]
  148. distance 70.7106781187
  149. nearestpoint [ 50 150]
  150. nearestpointindex 0
  151. ip [150 150]
  152. pt [120 160]
  153. distance 31.6227766017
  154. nearestpoint [150 150]
  155. nearestpointindex 0
  156. ip [150 50]
  157. pt [120 160]
  158. distance 114.01754251
  159. ip [50 50]
  160. pt [161 140]
  161. distance 142.902064366
  162. nearestpoint [50 50]
  163. nearestpointindex 0
  164. ip [ 50 150]
  165. pt [161 140]
  166. distance 111.449540152
  167. nearestpoint [ 50 150]
  168. nearestpointindex 0
  169. ip [150 150]
  170. pt [161 140]
  171. distance 14.8660687473
  172. nearestpoint [150 150]
  173. nearestpointindex 0
  174. ip [150 50]
  175. pt [161 140]
  176. distance 90.6697303404
  177. ip [50 50]
  178. pt [161 159]
  179. distance 155.569919972
  180. nearestpoint [50 50]
  181. nearestpointindex 0
  182. ip [ 50 150]
  183. pt [161 159]
  184. distance 111.36426716
  185. nearestpoint [ 50 150]
  186. nearestpointindex 0
  187. ip [150 150]
  188. pt [161 159]
  189. distance 14.2126704036
  190. nearestpoint [150 150]
  191. nearestpointindex 0
  192. ip [150 50]
  193. pt [161 159]
  194. distance 109.55363983
  195. ip [50 50]
  196. pt [ 40 140]
  197. distance 90.5538513814
  198. nearestpoint [50 50]
  199. nearestpointindex 0
  200. ip [ 50 150]
  201. pt [ 40 140]
  202. distance 14.1421356237
  203. nearestpoint [ 50 150]
  204. nearestpointindex 0
  205. ip [150 150]
  206. pt [ 40 140]
  207. distance 110.453610172
  208. ip [150 50]
  209. pt [ 40 140]
  210. distance 142.126704036
  211. ip [50 50]
  212. pt [ 40 160]
  213. distance 110.453610172
  214. nearestpoint [50 50]
  215. nearestpointindex 0
  216. ip [ 50 150]
  217. pt [ 40 160]
  218. distance 14.1421356237
  219. nearestpoint [ 50 150]
  220. nearestpointindex 0
  221. ip [150 150]
  222. pt [ 40 160]
  223. distance 110.453610172
  224. ip [150 50]
  225. pt [ 40 160]
  226. distance 155.563491861
  227. ip [50 50]
  228. pt [161 80]
  229. distance 114.98260738
  230. nearestpoint [50 50]
  231. nearestpointindex 0
  232. ip [ 50 150]
  233. pt [161 80]
  234. distance 131.228807813
  235. ip [150 150]
  236. pt [161 80]
  237. distance 70.8590149522
  238. nearestpoint [150 150]
  239. nearestpointindex 0
  240. ip [150 50]
  241. pt [161 80]
  242. distance 31.9530906173
  243. nearestpoint [150 50]
  244. nearestpointindex 1
  245. ip [50 50]
  246. pt [161 120]
  247. distance 131.228807813
  248. nearestpoint [50 50]
  249. nearestpointindex 0
  250. ip [ 50 150]
  251. pt [161 120]
  252. distance 114.98260738
  253. nearestpoint [ 50 150]
  254. nearestpointindex 0
  255. ip [150 150]
  256. pt [161 120]
  257. distance 31.9530906173
  258. nearestpoint [150 150]
  259. nearestpointindex 0
  260. ip [150 50]
  261. pt [161 120]
  262. distance 70.8590149522
  263. ip [50 50]
  264. pt [40 80]
  265. distance 31.6227766017
  266. nearestpoint [50 50]
  267. nearestpointindex 0
  268. ip [ 50 150]
  269. pt [40 80]
  270. distance 70.7106781187
  271. ip [150 150]
  272. pt [40 80]
  273. distance 130.384048104
  274. ip [150 50]
  275. pt [40 80]
  276. distance 114.01754251
  277. ip [50 50]
  278. pt [ 40 120]
  279. distance 70.7106781187
  280. nearestpoint [50 50]
  281. nearestpointindex 0
  282. ip [ 50 150]
  283. pt [ 40 120]
  284. distance 31.6227766017
  285. nearestpoint [ 50 150]
  286. nearestpointindex 0
  287. ip [150 150]
  288. pt [ 40 120]
  289. distance 114.01754251
  290. ip [150 50]
  291. pt [ 40 120]
  292. distance 130.384048104
  293. ip [50 50]
  294. pt [140 40]
  295. distance 90.5538513814
  296. nearestpoint [50 50]
  297. nearestpointindex 0
  298. ip [ 50 150]
  299. pt [140 40]
  300. distance 142.126704036
  301. ip [150 150]
  302. pt [140 40]
  303. distance 110.453610172
  304. ip [150 50]
  305. pt [140 40]
  306. distance 14.1421356237
  307. nearestpoint [150 50]
  308. nearestpointindex 1
  309. ip [50 50]
  310. pt [160 40]
  311. distance 110.453610172
  312. nearestpoint [50 50]
  313. nearestpointindex 0
  314. ip [ 50 150]
  315. pt [160 40]
  316. distance 155.563491861
  317. ip [150 150]
  318. pt [160 40]
  319. distance 110.453610172
  320. ip [150 50]
  321. pt [160 40]
  322. distance 14.1421356237
  323. nearestpoint [150 50]
  324. nearestpointindex 1
  325. ip [50 50]
  326. pt [80 40]
  327. distance 31.6227766017
  328. nearestpoint [50 50]
  329. nearestpointindex 0
  330. ip [ 50 150]
  331. pt [80 40]
  332. distance 114.01754251
  333. ip [150 150]
  334. pt [80 40]
  335. distance 130.384048104
  336. ip [150 50]
  337. pt [80 40]
  338. distance 70.7106781187
  339. ip [50 50]
  340. pt [119 40]
  341. distance 69.7208720542
  342. nearestpoint [50 50]
  343. nearestpointindex 0
  344. ip [ 50 150]
  345. pt [119 40]
  346. distance 129.849913362
  347. ip [150 150]
  348. pt [119 40]
  349. distance 114.284732139
  350. ip [150 50]
  351. pt [119 40]
  352. distance 32.5729949498
  353. nearestpoint [150 50]
  354. nearestpointindex 1
  355. ip [50 50]
  356. pt [40 40]
  357. distance 14.1421356237
  358. nearestpoint [50 50]
  359. nearestpointindex 0
  360. ip [ 50 150]
  361. pt [40 40]
  362. distance 110.453610172
  363. ip [150 150]
  364. pt [40 40]
  365. distance 155.563491861
  366. ip [150 50]
  367. pt [40 40]
  368. distance 110.453610172
  369. ip [50 50]
  370. pt [40 60]
  371. distance 14.1421356237
  372. nearestpoint [50 50]
  373. nearestpointindex 0
  374. ip [ 50 150]
  375. pt [40 60]
  376. distance 90.5538513814
  377. ip [150 150]
  378. pt [40 60]
  379. distance 142.126704036
  380. ip [150 50]
  381. pt [40 60]
  382. distance 110.453610172
  383. <type 'numpy.ndarray'>
  384. [[[ 50 50]]
  385.  
  386. [[ 50 150]]
  387.  
  388. [[150 150]]
  389.  
  390. [[150 50]]]
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement