<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8148923058404809644</id><updated>2024-10-04T19:02:56.464-07:00</updated><category term="OpenCV"/><category term="Qt"/><category term="Android"/><category term="CUDA"/><category term="Sony"/><category term="Sony Tablet S"/><category term="Sony Xperia S"/><category term="USB-OTG"/><category term="Visual Studio"/><category term="ubuntu"/><title type='text'>TRong Programing World</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-3436816604904976321</id><published>2013-11-16T00:41:00.002-08:00</published><updated>2013-11-16T00:41:23.635-08:00</updated><title type='text'>Sony QX-100開箱</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
今天下午，訂購已久的商品終於出現了，網路上面開箱文也已經一大堆了，這邊僅做簡單的分享&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
包裝外觀，使用黑色筒形進行商品包裝&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhATZ61QHtzi9AeljA9nY5LamJV6kMzoy6Muq3v47o9n8EBPZx2YtH4Wt3yd1rwML1aEltiwZ5xq4fkmg9U2LWYrF1GMRr3D6-7hM51MT92M-NJJvtifTGwW-WZUr35U44d3nj3zXAcon9q/w958-h539-no/DSC_0291.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhATZ61QHtzi9AeljA9nY5LamJV6kMzoy6Muq3v47o9n8EBPZx2YtH4Wt3yd1rwML1aEltiwZ5xq4fkmg9U2LWYrF1GMRr3D6-7hM51MT92M-NJJvtifTGwW-WZUr35U44d3nj3zXAcon9q/w958-h539-no/DSC_0291.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
驗明正身，DSC-QX100&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeyFQcN_ToknArQHL6FdA-YWz3ilXA8gyybpY2R8pEZpPm3JHFWNDeymRufT84FmKgsBbQSPCsyXiEpH0DHz8QsMYu08ceYQ3qcQ5roCNlY4Lll1cT8Zu-86gvqRHLto3-vvEyDCaGz5vP/w958-h539-no/DSC_0292.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeyFQcN_ToknArQHL6FdA-YWz3ilXA8gyybpY2R8pEZpPm3JHFWNDeymRufT84FmKgsBbQSPCsyXiEpH0DHz8QsMYu08ceYQ3qcQ5roCNlY4Lll1cT8Zu-86gvqRHLto3-vvEyDCaGz5vP/w958-h539-no/DSC_0292.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
台灣原廠公司貨，提供24個月保固&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxN_nPai-qYmXzug36dDmMcDGp0jhLIU7gWzzNrnlpMAbgir_ZU5ajsVuQnmVyPT6_6VRX2_O9_lsJO7UKEjl6LOXJ9TDkhneqbOP951L0rJZryTYajnN3ztgc9EBeQa9X99ydccYM34lc/w958-h539-no/DSC_0293.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxN_nPai-qYmXzug36dDmMcDGp0jhLIU7gWzzNrnlpMAbgir_ZU5ajsVuQnmVyPT6_6VRX2_O9_lsJO7UKEjl6LOXJ9TDkhneqbOP951L0rJZryTYajnN3ztgc9EBeQa9X99ydccYM34lc/w958-h539-no/DSC_0293.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
開啟包裝外殼，中間就是今天的主角QX100&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhylWuVsFC0Ps08BkMBsSx7y5UQVcbcbRDOxqC80ecwz56o-WoS2dwSvKgvG7J5nkyYS6Fn30WVs827VC1dY4mb0zAL9TqASIAlScBX7PODkBKiJtb2C89Sw30zcGcya_z5z1SP62ZESxGV/w305-h542-no/DSC_0294.JPG&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhylWuVsFC0Ps08BkMBsSx7y5UQVcbcbRDOxqC80ecwz56o-WoS2dwSvKgvG7J5nkyYS6Fn30WVs827VC1dY4mb0zAL9TqASIAlScBX7PODkBKiJtb2C89Sw30zcGcya_z5z1SP62ZESxGV/w305-h542-no/DSC_0294.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;305&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
產品吊牌顯示支援NFC及WIFI Certified&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho_gNn20PKaqko-LExCf8P5-NBlIuMZpf_g609sPpkT71kzmHtCFhG0HS4E2Xz3F-hxcj7ohZvIMBYXYfTg1tNjrqvr9PGZkYFUcLyYsKdAWDCmZNS2H4yS-ilV6tyb2lxkbfEFjYUsGM1/w305-h542-no/DSC_0295.JPG&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho_gNn20PKaqko-LExCf8P5-NBlIuMZpf_g609sPpkT71kzmHtCFhG0HS4E2Xz3F-hxcj7ohZvIMBYXYfTg1tNjrqvr9PGZkYFUcLyYsKdAWDCmZNS2H4yS-ilV6tyb2lxkbfEFjYUsGM1/w305-h542-no/DSC_0295.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;305&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
QX100外觀&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdTiwS8wHKCVdrnmac78Kod98cIe8DcxOpUFwmk8UwDcnYu-TBxYoiw-VdqOoZ54XdHvJq_91nXITbkEkFu7Ol-5uf-wPuA2GAmAn8NHLp4_Q4WdzRlbSRyZCo7jUR5xKUEu9PD_2iepzn/w958-h539-no/DSC_0296.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdTiwS8wHKCVdrnmac78Kod98cIe8DcxOpUFwmk8UwDcnYu-TBxYoiw-VdqOoZ54XdHvJq_91nXITbkEkFu7Ol-5uf-wPuA2GAmAn8NHLp4_Q4WdzRlbSRyZCo7jUR5xKUEu9PD_2iepzn/w958-h539-no/DSC_0296.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
大大的SONY標誌&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpJsmgbRk6Sce124ucIfA0oLTUy9NLeleQaKHBi8f1NEB-8vxO2rIapfLT7eMn-cHnJWIdm6SYDl3m2H9_diQPrdyMhc8dSvM_IyZ-3ALVVRiPeBv4gx24aOBh6Mm5XWQxvFRiaQA9ElHL/w958-h539-no/DSC_0297.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpJsmgbRk6Sce124ucIfA0oLTUy9NLeleQaKHBi8f1NEB-8vxO2rIapfLT7eMn-cHnJWIdm6SYDl3m2H9_diQPrdyMhc8dSvM_IyZ-3ALVVRiPeBv4gx24aOBh6Mm5XWQxvFRiaQA9ElHL/w958-h539-no/DSC_0297.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
包裝內容物包含說明書、簡介說明、電池、吊帶及手機擴充夾具&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLRELXsz-y9ysUzTBuaUb_2QUJK7n3luje7yf_CgQi8uHiaAm7N0dzSDd9eGn30Kvt63T92JF6VgQh3trWpCeorOsSU-IALAcCoKRaXG9G2aT9n-ZoJXXG-0jarIZPyxV9V2ZbRp9uKMZJ/w958-h539-no/DSC_0298.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLRELXsz-y9ysUzTBuaUb_2QUJK7n3luje7yf_CgQi8uHiaAm7N0dzSDd9eGn30Kvt63T92JF6VgQh3trWpCeorOsSU-IALAcCoKRaXG9G2aT9n-ZoJXXG-0jarIZPyxV9V2ZbRp9uKMZJ/w958-h539-no/DSC_0298.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB-lTM9_1oh8rUdU78sJYBljE1u9L4b54bUcqmGUMwf5smgNj3SRIcpS9xfmDQL7Ld7gsMB4lFl9g3KCGSM0W2qW_-9ehr317TuCa97WUz6vFPSycS1ML0OCbAK_aXJfwCLyPFqh29eDsk/w958-h539-no/DSC_0299.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB-lTM9_1oh8rUdU78sJYBljE1u9L4b54bUcqmGUMwf5smgNj3SRIcpS9xfmDQL7Ld7gsMB4lFl9g3KCGSM0W2qW_-9ehr317TuCa97WUz6vFPSycS1ML0OCbAK_aXJfwCLyPFqh29eDsk/w958-h539-no/DSC_0299.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
打開被蓋可為電池置放處，這邊也包含如果不是使用NFC進行配對時的密碼&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcKPimnjTjw19IIMZlaQ3PJMJVTRHUyYHgCKU4YzIxRRKwntGeGNfnvfUAFPM9gn54xMCIlggWfUyhVt3GQpZBlhJei29ovZSoGKvZGBRDg9ZiO1OwMXr3qK4xWb-fu7OyLuBiJv1P122i/w958-h539-no/DSC_0300.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcKPimnjTjw19IIMZlaQ3PJMJVTRHUyYHgCKU4YzIxRRKwntGeGNfnvfUAFPM9gn54xMCIlggWfUyhVt3GQpZBlhJei29ovZSoGKvZGBRDg9ZiO1OwMXr3qK4xWb-fu7OyLuBiJv1P122i/w958-h539-no/DSC_0300.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
使用Sony N電池&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOS2jT39Y67584UHryPere_yxzTJ-5JI4NQq7zad4lU65dCbtB27ZwxfAWPxzoh2T1jHHxPpOPi4tPovMnJSJmIwnljxVT8pJo3MjXGKQI6pdKW_NY6mC8WT2C59H_kVbR3mayc9Dl0r0l/w958-h539-no/DSC_0301.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOS2jT39Y67584UHryPere_yxzTJ-5JI4NQq7zad4lU65dCbtB27ZwxfAWPxzoh2T1jHHxPpOPi4tPovMnJSJmIwnljxVT8pJo3MjXGKQI6pdKW_NY6mC8WT2C59H_kVbR3mayc9Dl0r0l/w958-h539-no/DSC_0301.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
外觀&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglWNwVb-bvyc3abhGgKLBKA-49xutY5tFkaRgPj1PqeM9n2TdeyhuwT4v4oQOmobfg3Vlfa4CqL2xrKJTKaexu0GOXCB2tb8HK2OuvkCf2WUXKWx1HUh1t3-aAodZDQ_iCmK6yXaR1eM8l/w958-h539-no/DSC_0302.JPG&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglWNwVb-bvyc3abhGgKLBKA-49xutY5tFkaRgPj1PqeM9n2TdeyhuwT4v4oQOmobfg3Vlfa4CqL2xrKJTKaexu0GOXCB2tb8HK2OuvkCf2WUXKWx1HUh1t3-aAodZDQ_iCmK6yXaR1eM8l/w958-h539-no/DSC_0302.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
開啟ZEISS外殼後可以看到記憶體及microUSB連接孔及重新設置紐，記憶體部分支援microSDHC及sony自家M2記憶卡&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggT6qs3AAXbGJ9Lq36Bc4JtVt0HTbZA-cUKDYhsqxRLKTpFUwLxdJS9RA4PBn0nbBYL4zkGcJhQUg9mSZNfRHibRAmVaSW0lvdlRGakm4kBSqqZGtjtb4ocG_PCqHgkinuX2IFPNYzJUq1/w305-h542-no/DSC_0306.JPG&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggT6qs3AAXbGJ9Lq36Bc4JtVt0HTbZA-cUKDYhsqxRLKTpFUwLxdJS9RA4PBn0nbBYL4zkGcJhQUg9mSZNfRHibRAmVaSW0lvdlRGakm4kBSqqZGtjtb4ocG_PCqHgkinuX2IFPNYzJUq1/w305-h542-no/DSC_0306.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;305&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
如果使用NFC進行連線配對，若該手機尚未安裝PlayMemories軟體，則會自動帶你前往下載此APP，若已經完成安裝，程式會自動將配對訊息進行設定，並將相機開啟及PlayMemories軟體，開啟軟體後會新增QX100及自動連線&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAByl8Tu31bHhkvz2eOnjm1jCYcYZTkmgoQRVNm2QXGNvLGk9A_ZgzHFWbMuawaHPQyYMp-rCVRJ89aXVQk6EXk04Hd8GHqK2oBwD4a-GgrC90HBPyWko9gQ9l23VgNvXruDmePn-7dEG4/w330-h542-no/Screenshot_2013-11-06-17-40-44.jpg&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAByl8Tu31bHhkvz2eOnjm1jCYcYZTkmgoQRVNm2QXGNvLGk9A_ZgzHFWbMuawaHPQyYMp-rCVRJ89aXVQk6EXk04Hd8GHqK2oBwD4a-GgrC90HBPyWko9gQ9l23VgNvXruDmePn-7dEG4/w330-h542-no/Screenshot_2013-11-06-17-40-44.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;330&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
連線後相機畫面將會直接顯示在螢幕上面，目前軟體功能較為陽春，上面可以顯示目前的對焦方式(AF-S)，記憶體放置情況，拍攝畫素(18M)拍攝模式，放大縮小及拍照。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4YySOzlQm6NdBC0B8gEmuQ4RVG9_iT1saqxrVeZxfX5FAqeIIKOirjLOIzCdstviLK-6vqyawRQKhh5yZd371nN5cVsXngbaQVnf8uIg9vbkOl46AI9k47CoM6ezTEru2Gd3wIPrVB3_U/w958-h539-no/Screenshot_2013-11-06-17-41-32.png&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4YySOzlQm6NdBC0B8gEmuQ4RVG9_iT1saqxrVeZxfX5FAqeIIKOirjLOIzCdstviLK-6vqyawRQKhh5yZd371nN5cVsXngbaQVnf8uIg9vbkOl46AI9k47CoM6ezTEru2Gd3wIPrVB3_U/w958-h539-no/Screenshot_2013-11-06-17-41-32.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
拍照模式共分為智慧式自動、高級自動、P程式自動及光圈優先拍攝。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirQEy65liTGXQaHnPGcbSOpQZjzc3lE_74ckz8YLmJyrpuOJP0bB-BVdE9ncdcG79pLHuWfAOZqhbprDxaHJkVCqXqWRGS6FRXrX_zyB0VycuXx6Tkka-rJQI6KD3vD0iqnih0A8dqnbOY/w958-h539-no/Screenshot_2013-11-06-17-41-38.png&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirQEy65liTGXQaHnPGcbSOpQZjzc3lE_74ckz8YLmJyrpuOJP0bB-BVdE9ncdcG79pLHuWfAOZqhbprDxaHJkVCqXqWRGS6FRXrX_zyB0VycuXx6Tkka-rJQI6KD3vD0iqnih0A8dqnbOY/w958-h539-no/Screenshot_2013-11-06-17-41-38.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
程式自動可以依據曝光值進行調整&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHpI_Ed13f7022SVswGgi-pRcRlanNk-IQ58nbFtou9tB6OvdOV2Kzp0Yj0OTsf-ztzQNl6ezHbIxHe0BecNnWgldZ9dlgdDP3akc3cdp6LzMbwAJZdxOnfYrNS2fFb1bAbWgkRzssQJg/w958-h539-no/Screenshot_2013-11-06-17-42-16.png&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHpI_Ed13f7022SVswGgi-pRcRlanNk-IQ58nbFtou9tB6OvdOV2Kzp0Yj0OTsf-ztzQNl6ezHbIxHe0BecNnWgldZ9dlgdDP3akc3cdp6LzMbwAJZdxOnfYrNS2fFb1bAbWgkRzssQJg/w958-h539-no/Screenshot_2013-11-06-17-42-16.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
光圈優先模式則可以自訂光圈值。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkOZvALrd5uAD2XLWWg0AVEVvJ2CWUGiPi8oSBsp3rxBFk0FS4wKznexhI8yFCo_Z79BdCx55NsRKp2astEVjHkyFQLNCbiHbo7TpO0pM9DAhsw8Q595xZvDezoLADR7bg1Uaa9BGJUtNc/w958-h539-no/Screenshot_2013-11-06-17-42-32.png&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkOZvALrd5uAD2XLWWg0AVEVvJ2CWUGiPi8oSBsp3rxBFk0FS4wKznexhI8yFCo_Z79BdCx55NsRKp2astEVjHkyFQLNCbiHbo7TpO0pM9DAhsw8Q595xZvDezoLADR7bg1Uaa9BGJUtNc/w958-h539-no/Screenshot_2013-11-06-17-42-32.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
Mode模式中可以選擇要拍照還是錄影&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1jlDYA0E-QTvyFGOH_JlzHvS7QkfXMVWGZ95siXPzACcVOhmQZXrYlNnK163QsbG6IcsnpqXs-rw1D6LCGsm709hx9Jqn7uGPaCnk_tJwvL1459LybSxzXw09y3KYAzunXcT29IK5zvJz/w958-h539-no/Screenshot_2013-11-06-17-42-39.png&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1jlDYA0E-QTvyFGOH_JlzHvS7QkfXMVWGZ95siXPzACcVOhmQZXrYlNnK163QsbG6IcsnpqXs-rw1D6LCGsm709hx9Jqn7uGPaCnk_tJwvL1459LybSxzXw09y3KYAzunXcT29IK5zvJz/w958-h539-no/Screenshot_2013-11-06-17-42-39.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
其他設定如下，並可以關閉拍照聲音。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyBu2KdyRDbyeixCDM2Ql2EH2xpQCogy_2VNyLuF32qrEut3ICUnc-e9ALPqMrHIHnOn7EeucPRQ-CssBqdzx-7Uu_f5GxdumaoxW42_S8xtA7P2KuL_UW-oW0M5hFmna7XhYPwOkI9Dwx/w305-h542-no/Screenshot_2013-11-06-17-42-51.png&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyBu2KdyRDbyeixCDM2Ql2EH2xpQCogy_2VNyLuF32qrEut3ICUnc-e9ALPqMrHIHnOn7EeucPRQ-CssBqdzx-7Uu_f5GxdumaoxW42_S8xtA7P2KuL_UW-oW0M5hFmna7XhYPwOkI9Dwx/w305-h542-no/Screenshot_2013-11-06-17-42-51.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;305&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
拍攝完畢後會自動將檔案傳至手機中&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM1obMWSo9qWYTNXpKzchbn4_8rH5gj_laYQ_TiquqFjO__WXEA2JTsXKoSpwXhBqTM8So4PaGmMzruI16eYTO8Y4FBMip45vL0vFunv6FKo2rSV-tlqseomSfPwGgA7t5XxF55za0wByW/w958-h539-no/Screenshot_2013-11-06-17-43-06.png&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM1obMWSo9qWYTNXpKzchbn4_8rH5gj_laYQ_TiquqFjO__WXEA2JTsXKoSpwXhBqTM8So4PaGmMzruI16eYTO8Y4FBMip45vL0vFunv6FKo2rSV-tlqseomSfPwGgA7t5XxF55za0wByW/w958-h539-no/Screenshot_2013-11-06-17-43-06.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;575&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
以上實際拍攝還沒有進行測試。結論網路上面已經有很多了，這邊就不再多做加油添醋的動作了，只能說SONY改變了相機的方式(形狀)創造出一個新的拍攝方式，因此會熱買也是可預期的，但因為透過wifi進行畫面連接，所以偶爾還是會出現螢幕Lag的現象，但大致上都還可以接受。&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/3436816604904976321/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2013/11/sony-qx-100.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/3436816604904976321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/3436816604904976321'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2013/11/sony-qx-100.html' title='Sony QX-100開箱'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhATZ61QHtzi9AeljA9nY5LamJV6kMzoy6Muq3v47o9n8EBPZx2YtH4Wt3yd1rwML1aEltiwZ5xq4fkmg9U2LWYrF1GMRr3D6-7hM51MT92M-NJJvtifTGwW-WZUr35U44d3nj3zXAcon9q/s72-w958-h539-c-no/DSC_0291.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-2934843463387980397</id><published>2013-11-16T00:21:00.001-08:00</published><updated>2013-11-16T00:21:18.670-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sony"/><title type='text'>Sony WG-C20[紫色]開箱 測試</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
台灣進行開箱動作&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
還不太了解該樣商品的功用嗎?先看看官方宣傳的影片&lt;br /&gt;&lt;img class=&quot;mceItemMedia mceItemIframe&quot; data-mce-json=&quot;{&#39;video&#39;:{},&#39;params&#39;:{&#39;src&#39;:&#39;//www.youtube.com/embed/LQAgFYufDDE&#39;,&#39;allowfullscreen&#39;:&#39;&#39;,&#39;frameborder&#39;:&#39;0&#39;},&#39;hspace&#39;:null,&#39;vspace&#39;:null,&#39;align&#39;:null,&#39;bgcolor&#39;:null}&quot; height=&quot;390&quot; src=&quot;http://geoinfo.myds.me/wordpress/wp-includes/js/tinymce/themes/advanced/img/trans.gif&quot; style=&quot;background-color: #ffffcc; background-image: url(http://geoinfo.myds.me/wordpress/wp-includes/js/tinymce/themes/advanced/img/iframe.gif); background-position: 50% 50%; background-repeat: no-repeat no-repeat; border: 1px dotted rgb(204, 0, 0); cursor: default;&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;a data-mce-href=&quot;http://www.sony.jp/pwserver/use/index.html&quot; href=&quot;http://www.sony.jp/pwserver/use/index.html&quot; title=&quot;日本sony官方網站介紹&quot;&gt;日本sony官方網站介紹&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
主要功能有下列四項&lt;/div&gt;
&lt;ol style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;li&gt;Wi-Fi 行動伺服器&lt;/li&gt;
&lt;li&gt;DLAN媒體伺服器&lt;/li&gt;
&lt;li&gt;多媒體伺服器(可於手機上串Full HD影片)&lt;/li&gt;
&lt;li&gt;行動電源&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
該商品可以簡單做完區域網路內的檔案伺服器，用來交換檔案使用，並可支援手機、平板、筆記型電腦等資訊平台，WG-C20內建NFC感應，可透過NFC快速進行連線配對，並提供專屬android軟體File Manager軟體方便進行檔案管理。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
開箱了，首先我所購買的為紫色的版本，這次販賣共有黑、白及紫色，由於Z1也是購買紫色，所以這邊也選購紫色來進行搭配。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwCJnMA3DPSrzFLnBmqUxW9FOPEmruwxi9K8DbnNiAoKN7wAzg8AAqJcuoaKwmVH3ZuZzAh9z4ATCJ6yCkr6tvZwQh1Hg92JFxnaLBUXG-fliKFL6WA42BmBpY9KHyqirRwhyphenhyphenn2UxEq2_W/w826-h552-no/PICT_20131114_122104.JPG&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwCJnMA3DPSrzFLnBmqUxW9FOPEmruwxi9K8DbnNiAoKN7wAzg8AAqJcuoaKwmVH3ZuZzAh9z4ATCJ6yCkr6tvZwQh1Hg92JFxnaLBUXG-fliKFL6WA42BmBpY9KHyqirRwhyphenhyphenn2UxEq2_W/w826-h552-no/PICT_20131114_122104.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;496&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSbACyWqV_0-ZU8uXVlNOF9S5g54WZ3dYcyf6m8J5nNQEB6wV8uZQ5T0POwbAFve0jdtG7KEAivgDuXEjTW2dU0TkgY5XdWEl-XSeeArqRaCJqskG_iM3hNM6xliWAstX4gxidPhIFa4wO/w369-h552-no/PICT_20131114_122115.JPG&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSbACyWqV_0-ZU8uXVlNOF9S5g54WZ3dYcyf6m8J5nNQEB6wV8uZQ5T0POwbAFve0jdtG7KEAivgDuXEjTW2dU0TkgY5XdWEl-XSeeArqRaCJqskG_iM3hNM6xliWAstX4gxidPhIFa4wO/w369-h552-no/PICT_20131114_122115.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;369&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9j83j1RtsAJEK_nIavKPiUkX5pRCZgVchA6v3bYqeHjvDGYFjeV9mp5wUwHqIU986fu1O_FNM9VycJFNfNlVp8m1fqNDKVFZMh22gKOZT6ITCAfdTR7smkN7_lEgjd1zs28umqsUT2kk2/w369-h552-no/PICT_20131114_122131.JPG&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9j83j1RtsAJEK_nIavKPiUkX5pRCZgVchA6v3bYqeHjvDGYFjeV9mp5wUwHqIU986fu1O_FNM9VycJFNfNlVp8m1fqNDKVFZMh22gKOZT6ITCAfdTR7smkN7_lEgjd1zs28umqsUT2kk2/w369-h552-no/PICT_20131114_122131.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;369&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzq4GvY-5f5lzEd6Pqnlfcx1OgusmxaMUpWofbQYbj-I5jEBhLx1qwprz3cZlKkHGSjOkmpkOYUD-IVGPbucbH69kzCINrc_01jx2NcyLzWW5kvEQfA19N4lrVwo8xC6PCuYVbxvPD5GnO/w369-h552-no/PICT_20131114_122151.JPG&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzq4GvY-5f5lzEd6Pqnlfcx1OgusmxaMUpWofbQYbj-I5jEBhLx1qwprz3cZlKkHGSjOkmpkOYUD-IVGPbucbH69kzCINrc_01jx2NcyLzWW5kvEQfA19N4lrVwo8xC6PCuYVbxvPD5GnO/w369-h552-no/PICT_20131114_122151.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;369&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
包裝內容物包含保固書(在台灣就屬水貨了保固應該就無效了)，USB充電線、說明書、及WG-C20主體&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuGYI-HxXA6y4432n_BFw6uax_m0yM9b4FbKUHLy3q2kNAiuIMSYt3RBI7RRoT3KeNRef9V7FrGEYUuPqYO-N338bzgTFrHTk4wZueAWV3gXzVkSjZLtQFduJwmI0yJsJymTitosYX4z95/w762-h509-no/PICT_20131114_122349.JPG&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuGYI-HxXA6y4432n_BFw6uax_m0yM9b4FbKUHLy3q2kNAiuIMSYt3RBI7RRoT3KeNRef9V7FrGEYUuPqYO-N338bzgTFrHTk4wZueAWV3gXzVkSjZLtQFduJwmI0yJsJymTitosYX4z95/w762-h509-no/PICT_20131114_122349.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;457&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
正面，大大的SONY Logo及NFC感應標誌&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgci10js4fXZU_7p0nVsDSFQF8jBx6QAYrBKGlIvN5y94wx_qNY-DWoMQDtr1sLRoCBVO5kVGpI21TtX8snkUTOIl6VKAfuTTE65FIkN6MjecTdtgPTWDSf7uaEGBLP65Ws-Df-ub3Jtm-h/w762-h509-no/PICT_20131114_122424.JPG&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgci10js4fXZU_7p0nVsDSFQF8jBx6QAYrBKGlIvN5y94wx_qNY-DWoMQDtr1sLRoCBVO5kVGpI21TtX8snkUTOIl6VKAfuTTE65FIkN6MjecTdtgPTWDSf7uaEGBLP65Ws-Df-ub3Jtm-h/w762-h509-no/PICT_20131114_122424.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;457&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
上側包含一個USB介面用來連接隨身碟或是當作行動電源使用，Micro USB用來幫本身充電使用，及指示等(讀取燈wifi、連線指示燈及電源指示燈)&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicLUQAZJvbATpfHMRtYqx6JQ1Kkhv1MDY7QZ_BDnWOqsaVOG-7YcYMl34T5ePwgTAVIa4xfWvPTULxj1tMmJ5UsmWAaWsAURuK76JxxSZv_ZN0mDRAbKnC-s01F6d2ZD0hgPzYZCuSt9ud/w762-h509-no/PICT_20131114_122458.JPG&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicLUQAZJvbATpfHMRtYqx6JQ1Kkhv1MDY7QZ_BDnWOqsaVOG-7YcYMl34T5ePwgTAVIa4xfWvPTULxj1tMmJ5UsmWAaWsAURuK76JxxSZv_ZN0mDRAbKnC-s01F6d2ZD0hgPzYZCuSt9ud/w762-h509-no/PICT_20131114_122458.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;457&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
側面包含電源開關(長按開機、開機後長按3秒為行動電源模式、長按為關機)，及SD卡讀卡機&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_1JXsRfq6382HtPj424yMvhonwDovzy7FaukPqNW4J_7PUHkJqxWfnAv1lj06YVONHExItHyYNn94MH8b19HcTnGevcPoFw9jqUoQTwocXgIkkCWr2iSwdktDYVocNLYlVf81iO8aRkDG/w762-h509-no/PICT_20131114_122521.JPG&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_1JXsRfq6382HtPj424yMvhonwDovzy7FaukPqNW4J_7PUHkJqxWfnAv1lj06YVONHExItHyYNn94MH8b19HcTnGevcPoFw9jqUoQTwocXgIkkCWr2iSwdktDYVocNLYlVf81iO8aRkDG/w762-h509-no/PICT_20131114_122521.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;457&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
背面是本產品的敗筆，為何要在中間做一條分隔線呢??&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbesIIOJe1h_gAOmZkaSPGJu5N095DSUxghUXoQrsGEzLV0DtJYwd_WXSgoE9rETPykY-u1xyYpmk2QgcR_JR6lXV7HbJwqumrifMwJlxsVDuQLEYgIKi0bja3becZpOfLxKK6zToToi4/w762-h509-no/PICT_20131114_122537.JPG&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbesIIOJe1h_gAOmZkaSPGJu5N095DSUxghUXoQrsGEzLV0DtJYwd_WXSgoE9rETPykY-u1xyYpmk2QgcR_JR6lXV7HbJwqumrifMwJlxsVDuQLEYgIKi0bja3becZpOfLxKK6zToToi4/w762-h509-no/PICT_20131114_122537.JPG&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;457&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
外觀看完了，介紹一下軟體部分吧 ，首次連線可以透過NFC進行配對，因此如果你的手機無法支援NFC，這樣你將無法順利登入主機，並取得設定權限。當感應NFC之後手機會自動開啟File Manager軟體，如果沒有安裝會自動跳至Google Play進行下載，但本產品因為台灣尚未上市的關係，所以你會發現該軟體還沒有辦法在台灣下載使用，好吧只好透過翻牆軟體把apk下載來安裝了，不會翻牆的，可以直接使用下面網址下載sony File Manager&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
下載:&amp;nbsp;&lt;a data-mce-href=&quot;http://cht.tw/h/2qrva&quot; href=&quot;http://cht.tw/h/2qrva&quot; title=&quot;Sony File Manager&quot;&gt;http://cht.tw/h/2qrva&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGg_vNZJBH5Ty4emFiB1chp7IaMOibGEn6tjwBEHj1CxSOvKJM7DZaXhME6Z3sTXBb44US9qq05x8p3siLJRO6nFSCrmQTo_tn_fQxlPkTJ9j7P7Zn1GbbjCWiJvlia0mGG9zcwfyiZ-Q_/w336-h552-no/Screenshot_2013-11-14-20-31-15.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGg_vNZJBH5Ty4emFiB1chp7IaMOibGEn6tjwBEHj1CxSOvKJM7DZaXhME6Z3sTXBb44US9qq05x8p3siLJRO6nFSCrmQTo_tn_fQxlPkTJ9j7P7Zn1GbbjCWiJvlia0mGG9zcwfyiZ-Q_/w336-h552-no/Screenshot_2013-11-14-20-31-15.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
請使用上列所提供之網址下載安裝，再度使用NFC感應進行連線，PWS(WG-C20)主機將進行初始化，並設定成功後會自己重新開機，這個過程需要等比較久的時間，等初始化之後將可以正常使用。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA_PrkgNZGxl4DG5vQwk03uzPUri04SfW-S3Sb8D45LgtwPhD5rpE3IZLDcEe5jfr7o3WU38BDogOBoPYr_U5fHydAR9I38yUnM_mxk4k0imtuDwbgxVmj0MU8DFQ139Q_uU6ghNropI3K/w311-h552-no/Screenshot_2013-11-14-20-53-04.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA_PrkgNZGxl4DG5vQwk03uzPUri04SfW-S3Sb8D45LgtwPhD5rpE3IZLDcEe5jfr7o3WU38BDogOBoPYr_U5fHydAR9I38yUnM_mxk4k0imtuDwbgxVmj0MU8DFQ139Q_uU6ghNropI3K/w311-h552-no/Screenshot_2013-11-14-20-53-04.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
當設定完成後手機會自動重新連線，並顯示確定已完成設定&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj5E4VaLI_l4Dyz728SxuXrpp7-r-Eg3aduhyphenhyphenP5-Z3TmVj9cYzOr-z5KpVefZZ6A3-Zp3BZTfzpsJgHQRdDNrusbPIWp_vkyYHzQS1pn38qYq0yMGPUhMCdTn4ofLNl1noIBRynbROsLrb/w311-h552-no/Screenshot_2013-11-14-20-54-02.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj5E4VaLI_l4Dyz728SxuXrpp7-r-Eg3aduhyphenhyphenP5-Z3TmVj9cYzOr-z5KpVefZZ6A3-Zp3BZTfzpsJgHQRdDNrusbPIWp_vkyYHzQS1pn38qYq0yMGPUhMCdTn4ofLNl1noIBRynbROsLrb/w311-h552-no/Screenshot_2013-11-14-20-54-02.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
首次登入系統會警告目前的WIFI尚未進行加密動作，會有安全之疑慮，煩請進入設定，並設定WIFI加密方式與密碼&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA3CnEtJZvvORNelFT-UReQWcGaFxPIVf_cX1aEmtIR1HxYkZIPRVCfGBCz3jNWMBXg2ABUMsJ_hF9PdI_JC9tiVr2evjmjShMpZzeLg8Lmk78YGujjb_GJdmv7dXgOvndUvDnkJkmspmv/w311-h552-no/Screenshot_2013-11-14-20-54-26.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA3CnEtJZvvORNelFT-UReQWcGaFxPIVf_cX1aEmtIR1HxYkZIPRVCfGBCz3jNWMBXg2ABUMsJ_hF9PdI_JC9tiVr2evjmjShMpZzeLg8Lmk78YGujjb_GJdmv7dXgOvndUvDnkJkmspmv/w311-h552-no/Screenshot_2013-11-14-20-54-26.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
當初使畫完成後 File Manager軟體畫面如下，主要可以針對SD卡內容、USB內容及手機內容進行讀取複製等功能&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA3QPryXu4uG5UYXa499z3Xkx6o4eZwyZofV3y8SEyhcJ5g0u3145rRIXMLpztE1ak2F-pqvYSi2aRD6KsafQO-WRhJhxB6UkA74eaYj4QoJAnfWXFgApS1UGiVCb_j1EUnj4ei8Y6CaoF/w311-h552-no/Screenshot_2013-11-14-20-54-55.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA3QPryXu4uG5UYXa499z3Xkx6o4eZwyZofV3y8SEyhcJ5g0u3145rRIXMLpztE1ak2F-pqvYSi2aRD6KsafQO-WRhJhxB6UkA74eaYj4QoJAnfWXFgApS1UGiVCb_j1EUnj4ei8Y6CaoF/w311-h552-no/Screenshot_2013-11-14-20-54-55.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
點選右上較設定可以進行相關設定，可設定選項如下圖&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid5p6ugQkuwT5_0H8BuQ6ENwpjWGYDddER53VruoASS6h-z2Q3zdcOgF0CMX8GDgrfxdMOGlEtcWVxpmJOJUWBz8jwcSNNyT1ZYdho5Lt4RUFD2-txecIWfjOqKfIhMUpZrlGvjlzkFQrO/w311-h552-no/Screenshot_2013-11-14-20-55-09.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid5p6ugQkuwT5_0H8BuQ6ENwpjWGYDddER53VruoASS6h-z2Q3zdcOgF0CMX8GDgrfxdMOGlEtcWVxpmJOJUWBz8jwcSNNyT1ZYdho5Lt4RUFD2-txecIWfjOqKfIhMUpZrlGvjlzkFQrO/w311-h552-no/Screenshot_2013-11-14-20-55-09.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
1.安全性設定&lt;br /&gt;首先於安全性可以設定WIFI加密的方式，可以避免其他使用者輕鬆連入，安全性設定選擇WAP，軟體將可讓你自訂連線密碼。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg92lb_loKM-L2JtMJS9efOFh22Ap4ZYL-RewrCyjhBfS_gOJElIoAi_XZJFVeLpunNqVp7YyGgsrjQ9Tz5HrFCV51wq15SOjp7J4ZnBdGIjxuZWA6UkGYT_a_IS5prClKsqQfMmkTP-z9H/w311-h552-no/Screenshot_2013-11-14-20-55-27.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg92lb_loKM-L2JtMJS9efOFh22Ap4ZYL-RewrCyjhBfS_gOJElIoAi_XZJFVeLpunNqVp7YyGgsrjQ9Tz5HrFCV51wq15SOjp7J4ZnBdGIjxuZWA6UkGYT_a_IS5prClKsqQfMmkTP-z9H/w311-h552-no/Screenshot_2013-11-14-20-55-27.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
設定完成後系統會重新開機，重新開機後您必須使用上述密碼才能登入主WG-C20，但若使用NFC則可自動幫您輸入連線密碼。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
設定安全性之後會顯示目前為WPA2加密方式&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKj6eZrp7kAGNCJGfi3-Yamu8s1b-4TZByd4dvcgSsrBSennqNXETcHwLThftyGgNnwGUDLHAiIaLX5zCZaSi7d-gTQJpqhOvM80XCHGCJtD8NCP9jdJIMkdgn78vQ1EtHEJ6c8U75dLQv/w487-h865-no/Screenshot_2013-11-14-20-56-00.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKj6eZrp7kAGNCJGfi3-Yamu8s1b-4TZByd4dvcgSsrBSennqNXETcHwLThftyGgNnwGUDLHAiIaLX5zCZaSi7d-gTQJpqhOvM80XCHGCJtD8NCP9jdJIMkdgn78vQ1EtHEJ6c8U75dLQv/w487-h865-no/Screenshot_2013-11-14-20-56-00.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD_yVxfqAJN9CwKojHOciXJz6oIGT8nZPK4REoedB2d01GrEzcQFMovSPGmn7DThYIV7jGDG4odbvbnYtuAjfBu3zXF-PGnlaurNxKWH1dssEhEyxWXmXHDXcjKf9j2OvKa_zsOwe-noPC/w526-h865-no/Screenshot_2013-11-14-21-48-27.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD_yVxfqAJN9CwKojHOciXJz6oIGT8nZPK4REoedB2d01GrEzcQFMovSPGmn7DThYIV7jGDG4odbvbnYtuAjfBu3zXF-PGnlaurNxKWH1dssEhEyxWXmXHDXcjKf9j2OvKa_zsOwe-noPC/w526-h865-no/Screenshot_2013-11-14-21-48-27.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
2.網路設定&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
網路設定主要讓您的WG-C20主機與目前既有無線基地台進行連線，這樣的好處可以讓廉讓WG-C20的手機、平板電腦、電腦等裝置一樣可以有網路的功能，若無設定網路，用戶僅可以在WG-C20中存取檔案資料使用。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH1NE3PobzR9iRCARmwZc8_2YrDmpcBlDQyo_itHy7Ei8-pnD7UV4NhjoAaK6sYifJbJdr69gL_QqOFpIkye81KmLt7ngiq1nfqi4J3UG3_QjQjngxeDr1j62opuAnmlJpO5XJzeyjJh1T/w526-h865-no/Screenshot_2013-11-14-21-48-41.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH1NE3PobzR9iRCARmwZc8_2YrDmpcBlDQyo_itHy7Ei8-pnD7UV4NhjoAaK6sYifJbJdr69gL_QqOFpIkye81KmLt7ngiq1nfqi4J3UG3_QjQjngxeDr1j62opuAnmlJpO5XJzeyjJh1T/w526-h865-no/Screenshot_2013-11-14-21-48-41.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx2eg224dQqTimgZicJBo1SR1hxDhDDgRHdv_F-ogcx97ikWXm3LTzIO_EyvnfaBb-iKZmfttlbCGRF3XBUHCd6rT_6zKLN590y5YCdTCgHVMV0-gPgbk0rqegF2u4GTuEdp8G_vurV628/w526-h865-no/Screenshot_2013-11-14-21-49-07.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx2eg224dQqTimgZicJBo1SR1hxDhDDgRHdv_F-ogcx97ikWXm3LTzIO_EyvnfaBb-iKZmfttlbCGRF3XBUHCd6rT_6zKLN590y5YCdTCgHVMV0-gPgbk0rqegF2u4GTuEdp8G_vurV628/w526-h865-no/Screenshot_2013-11-14-21-49-07.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikKuo7jymLDGNuGK6FqmqwJPz7_bPyDlUhyphenhyphen6PscK_qui54mFTO1x2zMCBFbB0xaNzYOTqfQ9jVxTYFvgQNg57o52l0bZU4TkXzQtbBvYxroP3v0hj4mH9wuZC2g0YH5bLtzmId3nFAvpMY/w526-h865-no/Screenshot_2013-11-14-21-50-26.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikKuo7jymLDGNuGK6FqmqwJPz7_bPyDlUhyphenhyphen6PscK_qui54mFTO1x2zMCBFbB0xaNzYOTqfQ9jVxTYFvgQNg57o52l0bZU4TkXzQtbBvYxroP3v0hj4mH9wuZC2g0YH5bLtzmId3nFAvpMY/w526-h865-no/Screenshot_2013-11-14-21-50-26.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7eySMybIrtnc8DDHjOv6_75HC0Y3WJprAtMMfuZ1DVMPkxANBkFLvrF-UVNIawDzv-Y4C808MJvTvp74vDK15yN_4nOZ_bsxD3E-rhGKRvs1i4QXZL1nWzMl8JPMnEGi4-4qreIwe3CRV/w526-h865-no/Screenshot_2013-11-14-21-50-52.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7eySMybIrtnc8DDHjOv6_75HC0Y3WJprAtMMfuZ1DVMPkxANBkFLvrF-UVNIawDzv-Y4C808MJvTvp74vDK15yN_4nOZ_bsxD3E-rhGKRvs1i4QXZL1nWzMl8JPMnEGi4-4qreIwe3CRV/w526-h865-no/Screenshot_2013-11-14-21-50-52.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
3.存取控制&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
存取控制主要將WG-C20再開一個訪客無線網路連線的基地台，並可讓你設定新的密碼，以及訪客僅可以瀏覽的檔案位置，這樣用來簡單控管訪客來訪的資料夾。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj67tdKQk92QpAqeld37J_InixanN3_70AOmnkcjeJ6BJkiUI2gkJo9q8Plo0TyhmidhaQgVTXHakE8uQNdaOqtYqRirzm43MUe0pDYMNF6Yyceg4FAW0-qnwFn-e8mJ7AtWWir30wi1VQT/w526-h865-no/Screenshot_2013-11-14-21-52-27.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj67tdKQk92QpAqeld37J_InixanN3_70AOmnkcjeJ6BJkiUI2gkJo9q8Plo0TyhmidhaQgVTXHakE8uQNdaOqtYqRirzm43MUe0pDYMNF6Yyceg4FAW0-qnwFn-e8mJ7AtWWir30wi1VQT/w526-h865-no/Screenshot_2013-11-14-21-52-27.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX_5uEnYdiOqS8Bu2I0HGjZJoBSlspvg2N3vII926WSVKTtk6osHfh8KRrYW6Nx8E9VxH07novVi3Nu1VCZzL12VcW5vYPyB1j4ZbRYj8XfvHYjU70darRO-dCjOnz7DVZZDMzMAvB_wRi/w336-h552-no/Screenshot_2013-11-14-21-52-39.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX_5uEnYdiOqS8Bu2I0HGjZJoBSlspvg2N3vII926WSVKTtk6osHfh8KRrYW6Nx8E9VxH07novVi3Nu1VCZzL12VcW5vYPyB1j4ZbRYj8XfvHYjU70darRO-dCjOnz7DVZZDMzMAvB_wRi/w336-h552-no/Screenshot_2013-11-14-21-52-39.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsWwKigt3n3nLcadbcMVyb1hSM6_7GQR_BCHE_4XLCfNNAxyMjUDcYGqEcZGArrkzRnudMQ-8veT3cv-V3Iqe_KbuqC8dqkTDN8dfT2CWDZT5DrCXLUrtIp9F8WVo6ShdDIg2Vyj-4itji/w336-h552-no/Screenshot_2013-11-14-21-52-54.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsWwKigt3n3nLcadbcMVyb1hSM6_7GQR_BCHE_4XLCfNNAxyMjUDcYGqEcZGArrkzRnudMQ-8veT3cv-V3Iqe_KbuqC8dqkTDN8dfT2CWDZT5DrCXLUrtIp9F8WVo6ShdDIg2Vyj-4itji/w336-h552-no/Screenshot_2013-11-14-21-52-54.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcOdFfJ1vl0fzcLHYYdMnW1WeVwL4_CxJ31ExEHluWYqz52PohK2M3-zueaC3fd6WWObYi-hClWTJatsyGXgiufJ4x7-zjSL4OYfGDRspj-IICKPR_00vWM2oRCJIe53ZpDFNXqvFRSzaI/w336-h552-no/Screenshot_2013-11-14-21-53-06.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcOdFfJ1vl0fzcLHYYdMnW1WeVwL4_CxJ31ExEHluWYqz52PohK2M3-zueaC3fd6WWObYi-hClWTJatsyGXgiufJ4x7-zjSL4OYfGDRspj-IICKPR_00vWM2oRCJIe53ZpDFNXqvFRSzaI/w336-h552-no/Screenshot_2013-11-14-21-53-06.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGHL1pMVnU5KSh-yqUglROF6HU4hu1PJf52zRk3fKY7wZWnGNqVIPJB-AgUA0iUGwCizms2tmFmJC7Z3u4qGlu8gGMKGe1VeU5CjH4ZwTcYir2xedgVQfBI-MeEPURbr2ILWZuW0z52XcE/w336-h552-no/Screenshot_2013-11-14-21-53-25.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGHL1pMVnU5KSh-yqUglROF6HU4hu1PJf52zRk3fKY7wZWnGNqVIPJB-AgUA0iUGwCizms2tmFmJC7Z3u4qGlu8gGMKGe1VeU5CjH4ZwTcYir2xedgVQfBI-MeEPURbr2ILWZuW0z52XcE/w336-h552-no/Screenshot_2013-11-14-21-53-25.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrR_vQn0LZaeBT-3EX1fBgyt1O5070w64MlcGX-UJySsvCDftT9rOX1Mv2PptMGYq0OJR257Ih8Gqcs-ptbay1YZ81YHeX7abrm1xEjFkttz0tC3ifoafMExuz-eyt9jxs3ZqeOpYsg0cE/w336-h552-no/Screenshot_2013-11-14-21-53-47.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrR_vQn0LZaeBT-3EX1fBgyt1O5070w64MlcGX-UJySsvCDftT9rOX1Mv2PptMGYq0OJR257Ih8Gqcs-ptbay1YZ81YHeX7abrm1xEjFkttz0tC3ifoafMExuz-eyt9jxs3ZqeOpYsg0cE/w336-h552-no/Screenshot_2013-11-14-21-53-47.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7Y9j4_9JIivs8R8lN8QZiU5-aIUV_mhlHP0h-mFAQ3RqhM6JW8gExRcf9SZbnqe5OCK_7ddQA1Nc5Q9xHBxlitGiQ891wEeWyOv3eZ5VGpTcwSlzGzdgYO1N7-Ky8Rj6sTu08dV4lqTw-/w336-h552-no/Screenshot_2013-11-14-21-54-16.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7Y9j4_9JIivs8R8lN8QZiU5-aIUV_mhlHP0h-mFAQ3RqhM6JW8gExRcf9SZbnqe5OCK_7ddQA1Nc5Q9xHBxlitGiQ891wEeWyOv3eZ5VGpTcwSlzGzdgYO1N7-Ky8Rj6sTu08dV4lqTw-/w336-h552-no/Screenshot_2013-11-14-21-54-16.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
4.電力控制&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
電力控制用來顯示目前還有多少電力&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHvsHk5M0Jy0pZeyP7cqQ2VE3wOGumTp80ZrHUcJUn4PbvRk41HrBzaRJnYE0GHfyXEdZEc8p9-W-bj8tkmQsj3kM6vDsRTQABStqv9FwpES66KgwSSt9JC241tOZBcpGL8_lh_AF6wZIf/w336-h552-no/Screenshot_2013-11-14-21-54-24.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHvsHk5M0Jy0pZeyP7cqQ2VE3wOGumTp80ZrHUcJUn4PbvRk41HrBzaRJnYE0GHfyXEdZEc8p9-W-bj8tkmQsj3kM6vDsRTQABStqv9FwpES66KgwSSt9JC241tOZBcpGL8_lh_AF6wZIf/w336-h552-no/Screenshot_2013-11-14-21-54-24.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
5.WPS設定&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
這裡可以設定WPS相關資訊，包含名稱等，注意這邊WPS主機會在你第一台使用NFC進行連線時的那台裝置當作是管理員，只有這台裝置可以進入設定，因此如果要變更管理員，則必須重製PWS回原廠設定值再重新配對，或是按下主機上之reset按鈕進行重製&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzuzGKP_zOxXQKnk-Zj0w__H_16vE7L1u9EYwPdI9vvOpOHyJ3qjstiG-hCKNAQgUfBTR2aMzUWqW8XSVnFmpSeHqkBZCLktkuJdQMAZqT9OCQkOH1nlXQoDIxRC9D8aeM3VXQcLpeVD8/w336-h552-no/Screenshot_2013-11-14-21-54-41.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzuzGKP_zOxXQKnk-Zj0w__H_16vE7L1u9EYwPdI9vvOpOHyJ3qjstiG-hCKNAQgUfBTR2aMzUWqW8XSVnFmpSeHqkBZCLktkuJdQMAZqT9OCQkOH1nlXQoDIxRC9D8aeM3VXQcLpeVD8/w336-h552-no/Screenshot_2013-11-14-21-54-41.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
6.DLAN媒體伺服器&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
DLAN為新一代串流技術，可以透過只方式讓支援DLAN的主機進行連線，並取得影像或音樂等相關資料，因此當你放入新的多媒體檔案後，必須更新資料庫，或重建資料庫的動作，遠端主機才能夠正確讀取到媒體伺服器中之檔案。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij2mCyap2SXgStaWpIIfgDq_6-Eidi49fsV-5dKFXpWHIQU6dzUyIC_sXz9bEdmmPH1E8UHLZtjK2Qkjd5PtbDZ4df2snTQp5aOMBZ44lYm96FhJ89qm381neWgxGAeLL8If3XSNwBpnHN/w336-h552-no/Screenshot_2013-11-14-21-54-50.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij2mCyap2SXgStaWpIIfgDq_6-Eidi49fsV-5dKFXpWHIQU6dzUyIC_sXz9bEdmmPH1E8UHLZtjK2Qkjd5PtbDZ4df2snTQp5aOMBZ44lYm96FhJ89qm381neWgxGAeLL8If3XSNwBpnHN/w336-h552-no/Screenshot_2013-11-14-21-54-50.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
7.顯示&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
顯示功能用來讓媒體伺服器產生預覽圖示之使用，可以進行相關檔名之關聯，讓使用者可以輕鬆取得相關資料。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja5utW_-OzK525O4TMTaz4qrf3GnMs0Cg1nWGb0kNtan_6tyJAj29HljC4VvUpq84xx6bAjJYBLSFcB7E5mQ1CArJGS2oJG-ODpRJwm7_q6xdApPZJUmof-qJzFYApOd99amKnM_MUInZ4/w336-h552-no/Screenshot_2013-11-14-21-55-01.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja5utW_-OzK525O4TMTaz4qrf3GnMs0Cg1nWGb0kNtan_6tyJAj29HljC4VvUpq84xx6bAjJYBLSFcB7E5mQ1CArJGS2oJG-ODpRJwm7_q6xdApPZJUmof-qJzFYApOd99amKnM_MUInZ4/w336-h552-no/Screenshot_2013-11-14-21-55-01.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
8.系統資訊&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
系統資訊包含版本資料、韌體更新及相關授權說明。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVR0_2lk7nRDdfgFmw-TrZ0x4eyf6BbNFZ_yLYsQ620hMVoTVcSWSnRmwPHY-sF2YK6wvoOm2N5lkN3azPu5jprE5nLvyI5IHFqgphPeg_jKkaAg6yT3aTkY3AVvz96FpKc5VatURbKDgv/w336-h552-no/Screenshot_2013-11-14-21-55-18.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVR0_2lk7nRDdfgFmw-TrZ0x4eyf6BbNFZ_yLYsQ620hMVoTVcSWSnRmwPHY-sF2YK6wvoOm2N5lkN3azPu5jprE5nLvyI5IHFqgphPeg_jKkaAg6yT3aTkY3AVvz96FpKc5VatURbKDgv/w336-h552-no/Screenshot_2013-11-14-21-55-18.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
系統測試&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
手機File Manager APP 檔案複製&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
簡單要做檔案複製可以進入檔案瀏覽畫面，並在要複製之檔案上點擊停留兩秒鐘，將可以開啟複製功能&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoXEYqZhqieSG00yifWGCoAbmARy2MS2SFBxF7LHSjWQ-CRnYgeR_VK8TJSMPX921UUJwMO9084evtuZqT2-2s1DCt8ub3n6cb9plUDiYOAIkakqHUK-crGsZ_M0Qe1HUTdqP6cr2AltIF/w336-h552-no/Screenshot_2013-11-14-21-55-38.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoXEYqZhqieSG00yifWGCoAbmARy2MS2SFBxF7LHSjWQ-CRnYgeR_VK8TJSMPX921UUJwMO9084evtuZqT2-2s1DCt8ub3n6cb9plUDiYOAIkakqHUK-crGsZ_M0Qe1HUTdqP6cr2AltIF/w336-h552-no/Screenshot_2013-11-14-21-55-38.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
點選複製按鈕將可以自動開啟要複製至哪個位置之選項，因此可以做手機對USB複製，手機對SD卡，SD卡對USB等相關連複製。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoC9hYrqcBBDQmVvuzlSVBoHNpUWmXUpoWA8p6bMcaUo_59xK0ic4Wg6KAP_jIFJoi9-d4ExqzJHHAoI3EcV3knOrFBqtE19mqOnKbZJiJvBuh5oaJUyw_eXi-14-HqCWm_s0yRgpUBNnF/w336-h552-no/Screenshot_2013-11-14-21-55-46.jpg&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoC9hYrqcBBDQmVvuzlSVBoHNpUWmXUpoWA8p6bMcaUo_59xK0ic4Wg6KAP_jIFJoi9-d4ExqzJHHAoI3EcV3knOrFBqtE19mqOnKbZJiJvBuh5oaJUyw_eXi-14-HqCWm_s0yRgpUBNnF/w336-h552-no/Screenshot_2013-11-14-21-55-46.jpg&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;336&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
筆記型電腦連線測試&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
在筆記型電腦中你可以發現於無線網路中會連結到兩台WG-C20媒體伺服器，其中一台維Guest開頭，這代表訪客使用的媒體伺服器，建議兩個密碼設定不相同，以防止訪客存取較重要之資料，首先點選Guest-WG-C20進行連線,訪客模式進行測試。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieBaZKLc9tCp7MhKAk6aKVzqV_-gAesoKxdUsw5FuhjBd1gtmsWdDw7l-X4e1pHLzyJrNVlADLHxP-WI_oN1A4xh4KJ7RuhCZrdm5tu5t_sCrMAtM6mBtdbFNVbh0_-EPEbD-qPhaNU2gr/w290-h542-no/%25E5%259C%2596%25E7%2589%2587+001.png&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieBaZKLc9tCp7MhKAk6aKVzqV_-gAesoKxdUsw5FuhjBd1gtmsWdDw7l-X4e1pHLzyJrNVlADLHxP-WI_oN1A4xh4KJ7RuhCZrdm5tu5t_sCrMAtM6mBtdbFNVbh0_-EPEbD-qPhaNU2gr/w290-h542-no/%25E5%259C%2596%25E7%2589%2587+001.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;290&quot; /&gt;&amp;nbsp;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhONlEmKikOYCMDA_hv8uVKBoriKnJJ7EtzeDG9IWrYBEBVrQLLwEhgbE07pkGACqdTMAK274CGgE23qAqTuAQJI8WRMuooSxZxfWlt374wQOBq6hONh3ot0yyFYph4rFtEDzalZDK7YbWO/w346-h259-no/%25E5%259C%2596%25E7%2589%2587+002.png&quot; height=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhONlEmKikOYCMDA_hv8uVKBoriKnJJ7EtzeDG9IWrYBEBVrQLLwEhgbE07pkGACqdTMAK274CGgE23qAqTuAQJI8WRMuooSxZxfWlt374wQOBq6hONh3ot0yyFYph4rFtEDzalZDK7YbWO/w346-h259-no/%25E5%259C%2596%25E7%2589%2587+002.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;346&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
連線後於區域網路內會發現WG-C20這台網路空間可以使用&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc33gbX7wTJukjhmIDw6dsPHTIKh6cuKeKJQ_1JhezBMIpKK-zJ5HS36EbhbcyQD0Pqr2PHz2D2KuIHALMBhLVTM2KpUnJPKvrwpTX6ru7UqGuZMytI2Z3JlmhyZ0PASfQ3esQgBZnfVXv/w785-h552-no/%25E5%259C%2596%25E7%2589%2587+003.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc33gbX7wTJukjhmIDw6dsPHTIKh6cuKeKJQ_1JhezBMIpKK-zJ5HS36EbhbcyQD0Pqr2PHz2D2KuIHALMBhLVTM2KpUnJPKvrwpTX6ru7UqGuZMytI2Z3JlmhyZ0PASfQ3esQgBZnfVXv/w785-h552-no/%25E5%259C%2596%25E7%2589%2587+003.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;471&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
登入後將可以看到分享之資料夾，但由於是訪客模式的關係，你只可以瀏覽上面安全性設定的資料夾。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiho_-91zP4EU_jPob7DSt36C7dtAf3K6u8_VJCOkHD_xKPihaU42Wf7UNU3bVz9KfamKsf-BvtUPoSixguQOhTu5p_MY1L8KFCZT81QkqjfyJw0Bo2HECu5XbenzukBFJMpzvZyJTgmCcB/w785-h552-no/%25E5%259C%2596%25E7%2589%2587+004.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiho_-91zP4EU_jPob7DSt36C7dtAf3K6u8_VJCOkHD_xKPihaU42Wf7UNU3bVz9KfamKsf-BvtUPoSixguQOhTu5p_MY1L8KFCZT81QkqjfyJw0Bo2HECu5XbenzukBFJMpzvZyJTgmCcB/w785-h552-no/%25E5%259C%2596%25E7%2589%2587+004.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;471&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
安全性設定之共用資料夾如下，這邊可以讓訪客任意上傳及下載檔案&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgATd8ipo-CI0ihFpESuP-1LlOwVPL7ScdWyxLdluiGB0Bf4B1WvxDo2PyhjL5lsxFeWHVghKtbsb0oEGFO223a6k_abTqqPdDtkKcnEpgrXa84BDJ-I_BARhUXnRO8RHv7F0fQwOIm_Mc1/w788-h552-no/%25E5%259C%2596%25E7%2589%2587+005.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgATd8ipo-CI0ihFpESuP-1LlOwVPL7ScdWyxLdluiGB0Bf4B1WvxDo2PyhjL5lsxFeWHVghKtbsb0oEGFO223a6k_abTqqPdDtkKcnEpgrXa84BDJ-I_BARhUXnRO8RHv7F0fQwOIm_Mc1/w788-h552-no/%25E5%259C%2596%25E7%2589%2587+005.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;473&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlEQmVTP_aYXitmfF7T83n9trMkxqqB6nQvLCLmYrNsQoOuReYFYrUAp0FiR3q2PLv-soV4JlgNOeIiVtyzC5MrPkMLA8zCfLYz7qZj7briAXZYj7sucgk9whefJnOIwPShU07imMPubcm/w783-h552-no/%25E5%259C%2596%25E7%2589%2587+006.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlEQmVTP_aYXitmfF7T83n9trMkxqqB6nQvLCLmYrNsQoOuReYFYrUAp0FiR3q2PLv-soV4JlgNOeIiVtyzC5MrPkMLA8zCfLYz7qZj7briAXZYj7sucgk9whefJnOIwPShU07imMPubcm/w783-h552-no/%25E5%259C%2596%25E7%2589%2587+006.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;470&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
使用一般模式登入測試。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy0EWcgA0SgTchV3SobL12_fD3ktLUHj05DfwDiKiYHnVd179EhkTvaXjrpuNqnK2bQTg3Z21l7DDZaZthuA_HXsNruCJwNJ4gTkn7I8MilYgO7jm2h3KCQHh9Kwm_LJGOjZ-9Mgd2SLty/w283-h552-no/%25E5%259C%2596%25E7%2589%2587+007.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy0EWcgA0SgTchV3SobL12_fD3ktLUHj05DfwDiKiYHnVd179EhkTvaXjrpuNqnK2bQTg3Z21l7DDZaZthuA_HXsNruCJwNJ4gTkn7I8MilYgO7jm2h3KCQHh9Kwm_LJGOjZ-9Mgd2SLty/w283-h552-no/%25E5%259C%2596%25E7%2589%2587+007.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;283&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
使用一般模式登入將可以直接看到WG-C20中之SD卡及USB裝置之所有檔案，因此你可以對這兩個裝置中之檔案進行複製及刪除動作&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiajVu7Zn0tXbrSTavpuG0F-ZnlpR65iPm-bbeqsvpin0wCALZmurBTVeSiS7zxEnXDDlt4OCg3hFBLxL9puQWEet6x4YKiCwGOYh6Sv9hjWRUwAJPL8YNJkpwKsGNyvhNRAEvzTAMmiP_H/w786-h552-no/%25E5%259C%2596%25E7%2589%2587+008.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiajVu7Zn0tXbrSTavpuG0F-ZnlpR65iPm-bbeqsvpin0wCALZmurBTVeSiS7zxEnXDDlt4OCg3hFBLxL9puQWEet6x4YKiCwGOYh6Sv9hjWRUwAJPL8YNJkpwKsGNyvhNRAEvzTAMmiP_H/w786-h552-no/%25E5%259C%2596%25E7%2589%2587+008.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;472&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSF6ixxkBxf4ue1K8fD6fOqR0pCDRR8eEU4GtuNSFTDOeklVacrvojSzJP0e589ksp6N6jcNTVmxD51Mh3FK6FaKmdJJSn_ZcblQxuZ4b83ArT2D2_lpf82b5t9IWZma7KjnnqTae0Ojhx/w788-h552-no/%25E5%259C%2596%25E7%2589%2587+009.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSF6ixxkBxf4ue1K8fD6fOqR0pCDRR8eEU4GtuNSFTDOeklVacrvojSzJP0e589ksp6N6jcNTVmxD51Mh3FK6FaKmdJJSn_ZcblQxuZ4b83ArT2D2_lpf82b5t9IWZma7KjnnqTae0Ojhx/w788-h552-no/%25E5%259C%2596%25E7%2589%2587+009.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;473&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7G50kFcwQNeh4nfRgh-CpoINPy94og09QtkeKv_2o3U3RsIMGmRdOUlTCI2Pylxe61M48R9tA4DOs9StGO-LMZlUBgmHADf889b23MlrJuzInZDjHarKSpRB2Sa6UgbVFwnLZoeRxKJuy/w784-h552-no/%25E5%259C%2596%25E7%2589%2587+010.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7G50kFcwQNeh4nfRgh-CpoINPy94og09QtkeKv_2o3U3RsIMGmRdOUlTCI2Pylxe61M48R9tA4DOs9StGO-LMZlUBgmHADf889b23MlrJuzInZDjHarKSpRB2Sa6UgbVFwnLZoeRxKJuy/w784-h552-no/%25E5%259C%2596%25E7%2589%2587+010.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;470&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
另外因為支援DLAN之關係，該媒體伺服器將可以直接瀏覽上面之影像、影片及音樂資料。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQfZi7dBoEx9Q-UZ4VMX6qXMiVFBNu2InYDq5zN8kq3fYgPWBaz9_vTGpUJ6regefQam3oNj5m0jSnyEkJr_bbBN7GOR-UHMIk5KIEjplhao4h5ijPW7z0_IpkAO3p3HJIPW22tD9CDY30/w985-h552-no/%25E5%259C%2596%25E7%2589%2587+001.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQfZi7dBoEx9Q-UZ4VMX6qXMiVFBNu2InYDq5zN8kq3fYgPWBaz9_vTGpUJ6regefQam3oNj5m0jSnyEkJr_bbBN7GOR-UHMIk5KIEjplhao4h5ijPW7z0_IpkAO3p3HJIPW22tD9CDY30/w985-h552-no/%25E5%259C%2596%25E7%2589%2587+001.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;591&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
桌上型電腦測試&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
如果你在網路連線中有與家中之無線基地台做連線，這樣你的區域網路將可以讀取到該設備，但這邊Sony WG-C20安全性就做的沒有那麼好了，使用區域網路直接登入的就是一般使用者的權限，也就是說所有資料夾都可以進行讀寫的動作。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYF7DnLlPK0k3jHAa3sHCrdmdEGAz8JOMBa2hYteeXUMKrwtrJ91W4kFg4c3ISwtEupn80-_iNzL-KSoSsNuE3KEzWgOmLcxEA5UJsFv6uE3mRTZNOrRaLD_HZZmqsnnnl435uDB1RXW2r/w985-h552-no/%25E5%259C%2596%25E7%2589%2587+002.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYF7DnLlPK0k3jHAa3sHCrdmdEGAz8JOMBa2hYteeXUMKrwtrJ91W4kFg4c3ISwtEupn80-_iNzL-KSoSsNuE3KEzWgOmLcxEA5UJsFv6uE3mRTZNOrRaLD_HZZmqsnnnl435uDB1RXW2r/w985-h552-no/%25E5%259C%2596%25E7%2589%2587+002.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;591&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMEh1Oyb_l4SmDEbgB_ZGgxH6IpxaqN6W_E6hWkT1WIVeXQAC65urdJb_cdinu8lt_D1DWNfvQNKdPCTPMd6n_xMbGHZwSGmFlhU13G588bzYHYZ0OwijII_yZXw8B36s9qE24F6dxiNfV/w985-h552-no/%25E5%259C%2596%25E7%2589%2587+003.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMEh1Oyb_l4SmDEbgB_ZGgxH6IpxaqN6W_E6hWkT1WIVeXQAC65urdJb_cdinu8lt_D1DWNfvQNKdPCTPMd6n_xMbGHZwSGmFlhU13G588bzYHYZ0OwijII_yZXw8B36s9qE24F6dxiNfV/w985-h552-no/%25E5%259C%2596%25E7%2589%2587+003.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;591&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
當然連線後可以在網路位置上發現已經新增WG-C20這一台網路位置，可以直接點選進入&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKKd5oGy9g08p0uHM-LzHJz7RxE3TCSqgNuUdP1BLaJ5zUxkVUS8RZGfael3m0ebo6HRrJ1LGfTpu3U14Ist2M3XTiV0kMzdFZU2Qs3ZMHPmv8CoB41juYVyht-5I9sJPIXFj9xNmEvRmx/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+004.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKKd5oGy9g08p0uHM-LzHJz7RxE3TCSqgNuUdP1BLaJ5zUxkVUS8RZGfael3m0ebo6HRrJ1LGfTpu3U14Ist2M3XTiV0kMzdFZU2Qs3ZMHPmv8CoB41juYVyht-5I9sJPIXFj9xNmEvRmx/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+004.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;565&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
這邊較可惜的是因為這是日本公司貨，所以裡面預設的韌體都是日文，因此資料夾表示也是使用日文做表示，希望在台灣正式開賣後可以讓使用者更新韌體去更新為繁體中文。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm-8SISIx1shxRa2Gj20lgMyWSqj4eF76JzKC1UtwKeUFhG-tBfJa2EpzjGr0ptyV4rUjhYf4AqOjboVu3ABZCHoK3OM4z7c8yKtlXlajg0RDL3iWl9XTBKkJFyEBsXvdB5y6tJjAEVv55/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+005.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm-8SISIx1shxRa2Gj20lgMyWSqj4eF76JzKC1UtwKeUFhG-tBfJa2EpzjGr0ptyV4rUjhYf4AqOjboVu3ABZCHoK3OM4z7c8yKtlXlajg0RDL3iWl9XTBKkJFyEBsXvdB5y6tJjAEVv55/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+005.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;565&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRgRlS3iJmedJSN26-dZee-aQ3E-84J9kjjQ0OFqlFvZCoK6D3jEGcg86rYzCK9JVhC8Bdzf7GlCYZvBvBAaax3HO2JJSaFgXk4gAxQeWlC8p5_oAAeUYCGFI74NFywZMhHV7FVecmQTcY/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+006.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRgRlS3iJmedJSN26-dZee-aQ3E-84J9kjjQ0OFqlFvZCoK6D3jEGcg86rYzCK9JVhC8Bdzf7GlCYZvBvBAaax3HO2JJSaFgXk4gAxQeWlC8p5_oAAeUYCGFI74NFywZMhHV7FVecmQTcY/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+006.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;565&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRD4Qm3dqIm4A1PN7X5WeG8Uq2lgqHb6o532dQdZMBp8cAkns4FIlVB5maf37N6YmSe7J7Y54clVEX8DUnh20RH2b0zWdQBUooYWDRoPPIHO4UrnL2xGBXIvNSEMGRVfgREWEYlf_Wsvwx/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+007.png&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRD4Qm3dqIm4A1PN7X5WeG8Uq2lgqHb6o532dQdZMBp8cAkns4FIlVB5maf37N6YmSe7J7Y54clVEX8DUnh20RH2b0zWdQBUooYWDRoPPIHO4UrnL2xGBXIvNSEMGRVfgREWEYlf_Wsvwx/w941-h552-no/%25E5%259C%2596%25E7%2589%2587+007.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;565&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
手機連線訪客模式&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
如果手機連線所使用的是訪客模式，則出現的資料夾將是安全性設定之對應資料夾，相同的使用者也只可以在這邊進行檔案複製&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBVFr_SxdsJ-MNAKidI4GOxXYtck8QoPInyiM10JiCwhLn-wD353qM_zEhYziVpVcJyQ5h5ifJmmS4D9EKsd99jV19AFqsKzz1PrJWn96yuFM2qfdMyJG8gs9z0an5AvZcD-1Z-2HOFw6d/w311-h552-no/Screenshot_2013-11-15-05-16-29.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBVFr_SxdsJ-MNAKidI4GOxXYtck8QoPInyiM10JiCwhLn-wD353qM_zEhYziVpVcJyQ5h5ifJmmS4D9EKsd99jV19AFqsKzz1PrJWn96yuFM2qfdMyJG8gs9z0an5AvZcD-1Z-2HOFw6d/w311-h552-no/Screenshot_2013-11-15-05-16-29.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidi1l7tvYAB_1tOocWch4o-W8omagH_6R9vGzsFgL0Eh5LPgDxd81Gdilk-1L_gyFcWlsXdYHQZ7FdaRmfoXOEJYoY6Mf6cFB33zehijDVeKj6Y86JaC42OEYx7KotLd8AiFKi_-jotVtk/w311-h552-no/Screenshot_2013-11-15-05-16-49.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidi1l7tvYAB_1tOocWch4o-W8omagH_6R9vGzsFgL0Eh5LPgDxd81Gdilk-1L_gyFcWlsXdYHQZ7FdaRmfoXOEJYoY6Mf6cFB33zehijDVeKj6Y86JaC42OEYx7KotLd8AiFKi_-jotVtk/w311-h552-no/Screenshot_2013-11-15-05-16-49.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
另外WG-C20並非所以有一般使用者都可以進入設定畫面，如果你使用一般使用者登入，但非第一次所連線之手機，擬將不會出現設定之按鈕，也就是說你只可以看PWS的相關資訊，無權力進行相關設定，必須是第一次配對之裝置才可以進行所以有之設定&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-HrlYjrCs53g9LKAmfdVVnIkAovOJ5Cc6dNEBG-2so4snZjWbdUPeYZX-2wSLX4a0JxrxpSHd8oC1LsFwuMyuxMee97HvFhyphenhyphennPAJ09-oQqfZcuC7u8JNbsw3w7O7JjFsnjIndkhn5ZJwq/w311-h552-no/Screenshot_2013-11-15-06-16-57.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-HrlYjrCs53g9LKAmfdVVnIkAovOJ5Cc6dNEBG-2so4snZjWbdUPeYZX-2wSLX4a0JxrxpSHd8oC1LsFwuMyuxMee97HvFhyphenhyphennPAJ09-oQqfZcuC7u8JNbsw3w7O7JjFsnjIndkhn5ZJwq/w311-h552-no/Screenshot_2013-11-15-06-16-57.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone&quot; data-mce-src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGljKeW3iqUyOzLoVARciqe1BOJb_qwikKOOmSdOD2nn3sLWUxGpGLsRLmHf5bbXW0Kmc7Hy7yLM3sWwtOCW2xvy3wqwiynooPlkMtd0qTeNjaXrlV1FLp6lZ2bzIzMWQM6nYe8j0nX9Rk/w311-h552-no/Screenshot_2013-11-15-06-17-04.png&quot; height=&quot;552&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGljKeW3iqUyOzLoVARciqe1BOJb_qwikKOOmSdOD2nn3sLWUxGpGLsRLmHf5bbXW0Kmc7Hy7yLM3sWwtOCW2xvy3wqwiynooPlkMtd0qTeNjaXrlV1FLp6lZ2bzIzMWQM6nYe8j0nX9Rk/w311-h552-no/Screenshot_2013-11-15-06-17-04.png&quot; style=&quot;border: 0px; cursor: default;&quot; width=&quot;310&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
後記，為什麼會想買這個裝置呢?首先愛好攝影的我，通常會在攜帶一台android平板出門，住要可以透過SD卡及OTG裝置將檔案進行備份，而此裝置可以直接透過SD讀卡機與USB裝置進行讀取，可以省去要再多攜帶一台裝置出門之問題，而這台WG-C20雖然有USB孔，可以支援USB隨身碟，但如果要使用2.5吋硬碟目前測試上還是推不動，除非使用外掛式電源才有辦法進行讀取，另外USB隨身碟的檔案格式必須要為FAT32才有辦法進行掛載，後續會在使用較省電之2.5吋外接硬碟進行測試，到時候會在放上與大家分享。&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/2934843463387980397/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2013/11/sony-wg-c20.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/2934843463387980397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/2934843463387980397'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2013/11/sony-wg-c20.html' title='Sony WG-C20[紫色]開箱 測試'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwCJnMA3DPSrzFLnBmqUxW9FOPEmruwxi9K8DbnNiAoKN7wAzg8AAqJcuoaKwmVH3ZuZzAh9z4ATCJ6yCkr6tvZwQh1Hg92JFxnaLBUXG-fliKFL6WA42BmBpY9KHyqirRwhyphenhyphenn2UxEq2_W/s72-w826-h552-c-no/PICT_20131114_122104.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-4730247555092493481</id><published>2012-09-01T00:36:00.000-07:00</published><updated>2012-09-01T00:36:06.971-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Play Store大特價&quot;End of Summer Sale&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
最近Google Play Store又提供了一系列的付費遊戲軟體大降價了，Play Store 內有 16 個Apps/Games 推出減價，部份減幅更達 80%。如果下面遊戲是你正物色很久的，但遲遲尚未下手的，這次特價，就給他買回來了吧。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;background-color: #f9f9f9; border: 0px; color: #101010; font-family: sans-serif; font-size: 14px; line-height: 17px; margin: 0px 0px 12px 32px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.levelup.beautifulwidgets&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Beautiful Widgets&lt;/a&gt;(NT$25.87)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=mikado.bizcalpro&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Business Calendar&lt;/a&gt;
(NT$29.62)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.squareenix.android.crystaldefenders_r&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Crystal Defenders&lt;/a&gt;
(NT$37.69)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.chillingo.drawrace2gplay.android.aja&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Draw Race 2&lt;/a&gt;
(NT$29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.eamobile.life_na_wf&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;The Game of Life&lt;/a&gt;
(NT$
29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftG4HM&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Gangstar Rio: City of Saints&lt;/a&gt;
(里約熱內盧：聖徒之城 NT$
29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.godzilab.ibm2&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;iBlast Moki 2&lt;/a&gt;
(NT$&amp;nbsp;29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.oceanhouse_media.booklorax_app&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;The Lorax – Dr. Seuss&lt;/a&gt;
(NT$
29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.oceanhouse_media.booklcmetoo_app&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Me Too! – Little Critter&lt;/a&gt;
(NT$
29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftM3HM&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Modern Combat 3: Fallen Nation&lt;/a&gt;
(現代戰爭 3：墮落國度NT$
29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftN3HM&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;N.O.V.A. 3&lt;/a&gt;
(N.O.V.A. 3：近軌道先鋒聯盟NT$
29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.spacesofplay.spirits&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Spirits&lt;/a&gt;
(NT$25.87)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.escapistgames.starchart&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Star Chart&lt;/a&gt;
(NT$32.66)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.hg.dynamitefishing&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Super Dynamite Fishing (Premium)&lt;/a&gt;
(NT$25.87)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.touchtype.swiftkey&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;SwiftKey 3 Keyboard&lt;/a&gt;
(NT$32.66)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=uk.co.neilandtheresa.NewVignette&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Vignette&lt;/a&gt;
(NT$32.66)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=jp.co.sega.vtc&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Virtua Tennis Challenge&lt;/a&gt;
(NT$29.63)&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 4px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;https://play.google.com/store/apps/details?id=com.secretexit.zb2&amp;amp;feature=apps_promotion_2012_08_27_SeasonEndSale&quot; rel=&quot;nofollow&quot; style=&quot;color: #21759b; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Zen Bound 2&lt;/a&gt;
(NT$25.87)&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #101010; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17px;&quot;&gt;台灣如何購買請看上一篇文章&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://geoprograming.blogspot.tw/2012/09/bluestacksandroid.html&quot;&gt;http://geoprograming.blogspot.tw/2012/09/bluestacksandroid.html&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/4730247555092493481/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/09/play-storeend-of-summer-sale.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/4730247555092493481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/4730247555092493481'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/09/play-storeend-of-summer-sale.html' title='Play Store大特價&quot;End of Summer Sale&quot;'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-117109669801905302</id><published>2012-09-01T00:19:00.004-07:00</published><updated>2012-09-01T00:19:43.138-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>透過BlueStacks購買Android付費軟體</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
在台灣使用Android系統，因為台北市政府的關係，導致Google出走台灣已經一段時間了，我看目前要恢復付費功能，在短時間內應該沒有辦法了，山不轉路轉，今天教大家如何透過新增一台BlueStacks模擬器，讓你可以購買付費軟體，首先你必須先前往下載BlueStacks。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
官方網站:&lt;a href=&quot;http://bluestacks.com/&quot;&gt;http://bluestacks.com/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
點選Download Now進入下載頁面&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR7uKz0J0fi_sQeBz6-0F4ZyDfRVsqmIl5PCbSHo7SUTjVi1taNAiBhqwxMDkxwwlDxvUX4WPmLXbUUtYAmPxcWAWHMLNOFcG_75L83Ef7jZFGVnkgsvAjK0_lhUUxaS62Ut7XztOCQGHE/s1600/%E5%9C%96%E7%89%87+001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR7uKz0J0fi_sQeBz6-0F4ZyDfRVsqmIl5PCbSHo7SUTjVi1taNAiBhqwxMDkxwwlDxvUX4WPmLXbUUtYAmPxcWAWHMLNOFcG_75L83Ef7jZFGVnkgsvAjK0_lhUUxaS62Ut7XztOCQGHE/s400/%E5%9C%96%E7%89%87+001.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
安裝步驟很簡單，就不斷地點選下一步即可，安裝完成後你將可以在Windows環境下模擬出一台Android裝置，如下圖。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ1H4K7rYQxQphQsccsAa5yGyWO3LbxhcuvzvtBDTn9ENsQSIChJ2_J2kqOK6lBn8j6Y8O9juBfWQ8ABUaVS6P9TcKY_jqRZ3iIeAi4ZtQwUAowM-3vEAqbbCSKVgmntc5hpw_yw-jQOr4/s1600/%E5%9C%96%E7%89%87+3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ1H4K7rYQxQphQsccsAa5yGyWO3LbxhcuvzvtBDTn9ENsQSIChJ2_J2kqOK6lBn8j6Y8O9juBfWQ8ABUaVS6P9TcKY_jqRZ3iIeAi4ZtQwUAowM-3vEAqbbCSKVgmntc5hpw_yw-jQOr4/s400/%E5%9C%96%E7%89%87+3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
接下來需登入您的Google帳號已註冊你的Android裝置，點選右下角的設定，並點選Manage Accounts 登入你的Google帳號。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi42JdrtWS_2FL7fWEp8JrnVDMTV8OXic4xbU3VaTZRMkr1OtOpEyI__2Q0Ar1Liy04Znk8ollOoP7nDmS76in8xQOzNyz9hc3-3WRG3pV7fq257gxQ-tx5qdEewgS3vENvAdVn8wBZfSj2/s1600/%E5%9C%96%E7%89%87+4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi42JdrtWS_2FL7fWEp8JrnVDMTV8OXic4xbU3VaTZRMkr1OtOpEyI__2Q0Ar1Liy04Znk8ollOoP7nDmS76in8xQOzNyz9hc3-3WRG3pV7fq257gxQ-tx5qdEewgS3vENvAdVn8wBZfSj2/s400/%E5%9C%96%E7%89%87+4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCKJtWKbQOOcRPcbAlSYg0Ka3PTQ5nEHPWssHpMDJUIKoR8uKEcp0iAeWLdZMuMn1q-mRhAdWX8drz5GF-OYxMTgLdNbz1NLOY2jWFYDEyvnAZsnrAnKBdRfBxMRzlw2FzuPrSo7qBiIzG/s1600/%E5%9C%96%E7%89%87+5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCKJtWKbQOOcRPcbAlSYg0Ka3PTQ5nEHPWssHpMDJUIKoR8uKEcp0iAeWLdZMuMn1q-mRhAdWX8drz5GF-OYxMTgLdNbz1NLOY2jWFYDEyvnAZsnrAnKBdRfBxMRzlw2FzuPrSo7qBiIzG/s400/%E5%9C%96%E7%89%87+5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
完成此動作之後，請回到電腦中，利用瀏覽器開啟
&lt;a href=&quot;https://play.google.com/apps&quot;&gt;https://play.google.com/apps&lt;/a&gt;&amp;nbsp;進入Play商店中的我ANDROID應用程式，此時你將會發現新增了一台&quot;&lt;span style=&quot;background-color: white; color: #7b9726; font-family: &#39;Droid Sans&#39;, Arial, sans-serif; font-size: 21px;&quot;&gt;T-Mobile Samsung GT-N7000&lt;/span&gt;&quot;裝置，該裝置使用T-Mobile作為sim卡，所以你在台灣還是可以裡用他購買付費軟體。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5dhJ_c4IE4sFHGLSR1I3e0Avdz4oN-__B_EJfyqs3Q6eQrXJrr6ea4ByccTSgJRAhh3Qn7ScBGScuullxWbaoxOYjTltL8egb7HSwEAAd1bvo1xMFbfAoVV7ipjfyl-ne9sqAW6QVDRMz/s1600/%E5%9C%96%E7%89%87+6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5dhJ_c4IE4sFHGLSR1I3e0Avdz4oN-__B_EJfyqs3Q6eQrXJrr6ea4ByccTSgJRAhh3Qn7ScBGScuullxWbaoxOYjTltL8egb7HSwEAAd1bvo1xMFbfAoVV7ipjfyl-ne9sqAW6QVDRMz/s400/%E5%9C%96%E7%89%87+6.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
當你新增完成之後就快要接近可以購買付費軟體的動作了，接下來你要在Google新增你的信用卡資訊，請進入Google Wallet，Google電子錢包網站&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://wallet.google.com/manage/#transactions:&quot;&gt;https://wallet.google.com/manage/#transactions:&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
並於付款方式填入你的信用卡資訊&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgszdWzGvbXAv0moWVwQ1l9h1zJ3fh_oc-8M7sUSMUIig9_mvQz2vOANNjZNmuyUXecTSQrgdYDK2f0e0XXLkooO4ohZ31AED9qbf5Yqpf264TXP1P-rw9CrC_oUpk_9R0XaOJJgktoj0u2/s1600/%E5%9C%96%E7%89%87+7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgszdWzGvbXAv0moWVwQ1l9h1zJ3fh_oc-8M7sUSMUIig9_mvQz2vOANNjZNmuyUXecTSQrgdYDK2f0e0XXLkooO4ohZ31AED9qbf5Yqpf264TXP1P-rw9CrC_oUpk_9R0XaOJJgktoj0u2/s400/%E5%9C%96%E7%89%87+7.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
接下來你就可以購買一個付費軟體了，首先一樣使用Windows中之瀏覽器，並搜尋一付費軟體&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAblppSY_C_meRKJQ-NaZApnHo9sSYuge4xlMiiOLTONgPDNgoDykm23hfVUwoP7RGb9Qy_i_hhqYS6wS3OJPLZQBsOqY_2GJ1WXKxx-w4qPW9cMhAO6de_vGwKFJavINa3SadyQWliAOT/s1600/%E5%9C%96%E7%89%87+8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAblppSY_C_meRKJQ-NaZApnHo9sSYuge4xlMiiOLTONgPDNgoDykm23hfVUwoP7RGb9Qy_i_hhqYS6wS3OJPLZQBsOqY_2GJ1WXKxx-w4qPW9cMhAO6de_vGwKFJavINa3SadyQWliAOT/s400/%E5%9C%96%E7%89%87+8.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
此時你會發現購買的金額出現了，並且下面的相容性出現了可以購買的選項了&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTAU6eI4ByGN0YYiUoCaIeIQhn2rZW4Jb7gJzpphmpoE7vJfSThfpejIZlhW2p0neFfVId8rbhzjXKjV3ZT5LK3qTShUafMWcq3Xw3TE2f8SflZbHXiiCy6zG6udwXDy-vejBEc5w5hlL5/s1600/%E5%9C%96%E7%89%87+9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTAU6eI4ByGN0YYiUoCaIeIQhn2rZW4Jb7gJzpphmpoE7vJfSThfpejIZlhW2p0neFfVId8rbhzjXKjV3ZT5LK3qTShUafMWcq3Xw3TE2f8SflZbHXiiCy6zG6udwXDy-vejBEc5w5hlL5/s400/%E5%9C%96%E7%89%87+9.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
觀看詳細資訊，你會發現&quot;T-Mobile Samsung GT-N7000&quot;這個裝置是可以購買的，接下來你就可以點選購買進行軟體購買的動作了&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX0GM4wouZlc3_xModne-tLnR62WhsqJoOAPzBibM9XkWPdWAKN0HraJ9upnIZI1VnCfyEOsNCdiMCCWdMq0wfOAKv5oMoprghNR33HG8LFrVZckobJyoXSLM_NYYNMPj1E5fesSsjqXC8/s1600/%E5%9C%96%E7%89%87+10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX0GM4wouZlc3_xModne-tLnR62WhsqJoOAPzBibM9XkWPdWAKN0HraJ9upnIZI1VnCfyEOsNCdiMCCWdMq0wfOAKv5oMoprghNR33HG8LFrVZckobJyoXSLM_NYYNMPj1E5fesSsjqXC8/s400/%E5%9C%96%E7%89%87+10.png&quot; width=&quot;363&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
確認無誤請點選繼續進入購買&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTpc6Xw5GjZHX7oS5uFWowk1oHRbfItHYxp0RtwR9ALnSQdVeDF-qaTbNkq2kldJK59fzJNIENBNpqKGjLF_n-nxVMqXSm2rfRypQ2D5Vz-5GtgU7rFL5PZs6Et6z88oUrJhVfEDVgR5Bh/s1600/%E5%9C%96%E7%89%87+11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;342&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTpc6Xw5GjZHX7oS5uFWowk1oHRbfItHYxp0RtwR9ALnSQdVeDF-qaTbNkq2kldJK59fzJNIENBNpqKGjLF_n-nxVMqXSm2rfRypQ2D5Vz-5GtgU7rFL5PZs6Et6z88oUrJhVfEDVgR5Bh/s400/%E5%9C%96%E7%89%87+11.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
若你無出現Google Wallet訊息，代表你尚未新增任何信用卡，如果有將可以點選購買進入結帳&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4ie6_nERbKuvhN6b8rGsWEX1enF8GLxa1rkryOWZ6mLsvnYlQ0Pykp46pkT2u3Tc5-i2VUD7mHQC_8Ivy9XEUodUNLHwPihY4tmKjGCnMcDGWQZ70zBYaGxO9kMruZzSaCd1TUmXrjVYv/s1600/%E5%9C%96%E7%89%87+12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4ie6_nERbKuvhN6b8rGsWEX1enF8GLxa1rkryOWZ6mLsvnYlQ0Pykp46pkT2u3Tc5-i2VUD7mHQC_8Ivy9XEUodUNLHwPihY4tmKjGCnMcDGWQZ70zBYaGxO9kMruZzSaCd1TUmXrjVYv/s400/%E5%9C%96%E7%89%87+12.png&quot; width=&quot;383&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
看到這裡你已經順利購買成功了。並且於虛擬機中也已經順利安裝成功了&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJO5mooXM6cV1PUKovbkqCwOjoYpo4FqbMn1TDqqJrisdgHRFNHAd088MTsJVqHz4fNbuaHdRtJ5_pfvOpne9dTWu5_KcBuSgHPRnZ7qNP7N_ZVDrygSd3IVj0xdDLvn2NmbNAGoTKaNqU/s1600/%E5%9C%96%E7%89%87+13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJO5mooXM6cV1PUKovbkqCwOjoYpo4FqbMn1TDqqJrisdgHRFNHAd088MTsJVqHz4fNbuaHdRtJ5_pfvOpne9dTWu5_KcBuSgHPRnZ7qNP7N_ZVDrygSd3IVj0xdDLvn2NmbNAGoTKaNqU/s400/%E5%9C%96%E7%89%87+13.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
當在其他裝置購買之後，如何在真實的機器中進行安裝呢?首先進入Play Store，點選我的應用程式，再點選全部，此時你將可以看到你所購買的應用程式，並且會顯示已購買，若你的系統可以支援該軟體，將可以出現安裝的畫面。用這樣的方式購買到底有沒有風險，當然部分因為平板的關係，有些遊戲是不支援的，如果你出現下面畫面，代表你的裝置不支援該軟體，建議你直接點選退款，進入退款步驟。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV3pfdHU7oIjCDne7BgW5PWu24e2Cj53NwmxEaG2TPEdFiswIqeLDleJr8_QATlAKpcY2A3WRKX98lvXewyCNvHWf8f4_HIp0zidRUPDJMGEFL1oN9EFcQtwgzUIurTpJdh_YX9iZJhO4O/s1600/Screenshot_2012-09-01-14-45-16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV3pfdHU7oIjCDne7BgW5PWu24e2Cj53NwmxEaG2TPEdFiswIqeLDleJr8_QATlAKpcY2A3WRKX98lvXewyCNvHWf8f4_HIp0zidRUPDJMGEFL1oN9EFcQtwgzUIurTpJdh_YX9iZJhO4O/s400/Screenshot_2012-09-01-14-45-16.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Sony Tablet S無法支援該遊戲，那只好讓我的Xperia S玩了，利用上述相同的方式進入安裝&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5ulyEZrJAhA8nxVPGrWPuCVyg7jTj_zWeYFpqIjhW8AdTCdDqn2vqsRHh2gt9tEmNpIlW1i7Y8WNMyKBCIfjJtHfuBgFOjMJ3dtcwB3JiULBQUBt2IcZ-7Tw5lUl9epEvCA2HCmzK5QQq/s1600/Screenshot_2012-09-01-14-45-59.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5ulyEZrJAhA8nxVPGrWPuCVyg7jTj_zWeYFpqIjhW8AdTCdDqn2vqsRHh2gt9tEmNpIlW1i7Y8WNMyKBCIfjJtHfuBgFOjMJ3dtcwB3JiULBQUBt2IcZ-7Tw5lUl9epEvCA2HCmzK5QQq/s400/Screenshot_2012-09-01-14-45-59.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWCqiWrAL-Po6kG7tBUY8QVLrkMpJRrI-suNWHHo9LoJOb-ByTliNB223AMu3oDlSxRmKEsf4FY3vQ8r5yIC8c3d55c-qy3Il99ZFawMIkH7usvCW5H2cX0TmW-5eWFW-0rdZCezorjdUN/s1600/Screenshot_2012-09-01-14-46-07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWCqiWrAL-Po6kG7tBUY8QVLrkMpJRrI-suNWHHo9LoJOb-ByTliNB223AMu3oDlSxRmKEsf4FY3vQ8r5yIC8c3d55c-qy3Il99ZFawMIkH7usvCW5H2cX0TmW-5eWFW-0rdZCezorjdUN/s400/Screenshot_2012-09-01-14-46-07.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-SXhkqj_mEDHEJ6Kmv-whPIvY7-2Nk8x_yfonG20QrgCaKhJ5dRdd0-l6vhR-EWDBCqMIP7VfblEpPQxHisKdySu7vScQo34WYWqRzKOIOIPeOvllPHrFVdVS8Q_Y6Xjm6oExDZa_eqsl/s1600/Screenshot_2012-09-01-14-46-14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-SXhkqj_mEDHEJ6Kmv-whPIvY7-2Nk8x_yfonG20QrgCaKhJ5dRdd0-l6vhR-EWDBCqMIP7VfblEpPQxHisKdySu7vScQo34WYWqRzKOIOIPeOvllPHrFVdVS8Q_Y6Xjm6oExDZa_eqsl/s400/Screenshot_2012-09-01-14-46-14.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhk7VAtoSKMRGJQ-iGhjGOtQ5CoVvaVZbqeqoR5uXmZrQUh71GGYb3aw2A_CnrE15CD6UAEDTJ1KEZeKULRvSzs6WWK-sdiV-SiUF5WXNhvY_cmK8ZLkrIBFmOhOzSKqRsehUmo0UwRVjCP/s1600/Screenshot_2012-09-01-14-48-01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhk7VAtoSKMRGJQ-iGhjGOtQ5CoVvaVZbqeqoR5uXmZrQUh71GGYb3aw2A_CnrE15CD6UAEDTJ1KEZeKULRvSzs6WWK-sdiV-SiUF5WXNhvY_cmK8ZLkrIBFmOhOzSKqRsehUmo0UwRVjCP/s400/Screenshot_2012-09-01-14-48-01.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivKxPh52s6c0u7lDaujTLEgQTWfsmlttNbajO2YwLSjCog36V4kaAoUz74Db3ceGzkPiUAPV2FspKWWU6XKjqyUAkuMmIH8r_YaHre00pgvUArsTb2s2_aQxnpInzMxGTcH2uI-v8EdQ6T/s1600/Screenshot_2012-09-01-14-47-51.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivKxPh52s6c0u7lDaujTLEgQTWfsmlttNbajO2YwLSjCog36V4kaAoUz74Db3ceGzkPiUAPV2FspKWWU6XKjqyUAkuMmIH8r_YaHre00pgvUArsTb2s2_aQxnpInzMxGTcH2uI-v8EdQ6T/s400/Screenshot_2012-09-01-14-47-51.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNbRKn3f-Q2K3qi9V1bSXSwCh9KzHoxCSixWSP6hflrsDRVoa_PTO7PPvedz6lvexsPfhkIAK24tFN2orHXCj1mltfvnUiaP67WcMytyyMGH-IYNulNMG79aZvIxx3S96GQ8KUiNL0yFk7/s1600/Screenshot_2012-09-01-14-55-17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNbRKn3f-Q2K3qi9V1bSXSwCh9KzHoxCSixWSP6hflrsDRVoa_PTO7PPvedz6lvexsPfhkIAK24tFN2orHXCj1mltfvnUiaP67WcMytyyMGH-IYNulNMG79aZvIxx3S96GQ8KUiNL0yFk7/s400/Screenshot_2012-09-01-14-55-17.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAAv4nAg3EpVqzY7OPzyhUiF7O-Tpu-BRwYxeyK1r557kviJ7x74Pp7v0l1mSttrP6GGQAX-CkbxX4IT4GKvmyQGyHu8faHMsczZfVrl7DryVdXdE7TNiDMxGjLvMdkCyI_Pu39hI54l_/s1600/Screenshot_2012-09-01-15-04-12+(webhd@1346483505).png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAAv4nAg3EpVqzY7OPzyhUiF7O-Tpu-BRwYxeyK1r557kviJ7x74Pp7v0l1mSttrP6GGQAX-CkbxX4IT4GKvmyQGyHu8faHMsczZfVrl7DryVdXdE7TNiDMxGjLvMdkCyI_Pu39hI54l_/s400/Screenshot_2012-09-01-15-04-12+(webhd@1346483505).png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHWUQHB2vVX9Rmrle0RRIKb1PVsc8A0vxJLKtdveji_gunB1-gZVHeK2jOQsNYwJ_CtR-hAhZ3Wcu_SXaZK6HPxlev4YavT1SmY5oo6qNqX4D_LAZYqQIT7V6IQeuyX5Q1DYUA8_VRitbJ/s1600/Screenshot_2012-09-01-15-04-12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHWUQHB2vVX9Rmrle0RRIKb1PVsc8A0vxJLKtdveji_gunB1-gZVHeK2jOQsNYwJ_CtR-hAhZ3Wcu_SXaZK6HPxlev4YavT1SmY5oo6qNqX4D_LAZYqQIT7V6IQeuyX5Q1DYUA8_VRitbJ/s400/Screenshot_2012-09-01-15-04-12.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2BRD7F4NDHNYq0NPg5_X6dF7dv4v_an5F7ou-_lONgHYAZP_tPY57ukzRoU8C0lA4POS920UcHCM-x5yRlOQHdkr8q3XrnYVuQawk061MUePXWz-N6fBWRDXql_NBweIdJLVO5AwfxyO9/s1600/Screenshot_2012-09-01-15-04-56.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2BRD7F4NDHNYq0NPg5_X6dF7dv4v_an5F7ou-_lONgHYAZP_tPY57ukzRoU8C0lA4POS920UcHCM-x5yRlOQHdkr8q3XrnYVuQawk061MUePXWz-N6fBWRDXql_NBweIdJLVO5AwfxyO9/s400/Screenshot_2012-09-01-15-04-56.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
結論:&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
目前因為台北市政府與Google play Store的退費機制談不攏，導致Google放棄了台灣這個市場，利用這樣的方式可以讓你不需刷機，不需要root，也不需要使用國外的sim卡就可以購買，目前使用這樣的方式幾乎什麼軟體都可以進入購買，並且不會出現任何錯誤，或是不能交易的問題，但用此方式購買的軟體，如果有更新訊息，play Store將不會自動更新，你必須回到安裝的畫面，如果有提示更新，再進行更新的動作，目前大概就只有這一點較不方便，其餘該方式真的是一個不錯購買付費軟體的方式。&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/117109669801905302/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/09/bluestacksandroid.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/117109669801905302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/117109669801905302'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/09/bluestacksandroid.html' title='透過BlueStacks購買Android付費軟體'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR7uKz0J0fi_sQeBz6-0F4ZyDfRVsqmIl5PCbSHo7SUTjVi1taNAiBhqwxMDkxwwlDxvUX4WPmLXbUUtYAmPxcWAWHMLNOFcG_75L83Ef7jZFGVnkgsvAjK0_lhUUxaS62Ut7XztOCQGHE/s72-c/%E5%9C%96%E7%89%87+001.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-684881553313491250</id><published>2012-08-07T22:46:00.002-07:00</published><updated>2012-08-07T22:50:17.114-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>[Qt] - built-in 對話方塊</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;Qt內建了一些程式設計師常常會使用到的一些對話方塊，其中包含顏色選取檔案瀏覽等等。這些都屬於固定式的對話視窗，當你要使用時將可以直接使用Qt內建之對話方塊進行選取即可。本章捷將介紹Qt內建之(built-in)方塊。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Qt除了內建QMesseageBox訊息方塊外，Qt也提供了其他的內建方塊，其中包含&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QColorDialog：色彩選取工具。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QErrorMessage：顯示錯誤訊息視窗。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QFileDialog：檔案選取視窗。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QFontDialog：使用者選取字型工具。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QInputDialog：使用者簡單輸入工具。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QPageSetupDialog：配置印表機選項。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QProgressDialog：處理程序進度列。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QPrintDialog：印表機列印方塊&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step1.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;首先你要新增一個TextEdit及八個PushButton，相關Object名稱及屬性如下表所示，並將ui設計如下圖所示。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Label&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Object&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;ObjectName&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QTextEdit&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;displayTextEdit&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Color&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;QPushButton&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;color_B&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;Message&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QPushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Message_B&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;File&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QPushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;File_B&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;Font&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QPushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Font_B&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;Input&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QPushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Input_B&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;Page Setup&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QPushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;PageSetup_B&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;Progress&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QPushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Progress_B&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;Print&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;QPushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Print_B&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image.png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqKzdNfrp19VR__pmZQO8mBfwxktrkpbS3QpIlQEaURyZtkBRFM5kHE5dsUicy5Jld7mIul1CiyrtISvAOhAJ-3QPu2h3oqojxqRxqB-2L-S_BMTihNJw2t_FFkZFpv0RvHwydhtxNsL2V/s1600/1Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqKzdNfrp19VR__pmZQO8mBfwxktrkpbS3QpIlQEaURyZtkBRFM5kHE5dsUicy5Jld7mIul1CiyrtISvAOhAJ-3QPu2h3oqojxqRxqB-2L-S_BMTihNJw2t_FFkZFpv0RvHwydhtxNsL2V/s320/1Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;Step2.&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;include所需之檔案，於mainwindow.hpp中加入#include &amp;lt;QtGui/QDialog&amp;gt;，及mainwindow.cpp檔案中加入#include &amp;lt;QtGui/&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QtGui&amp;gt;。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;Step3.&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;於個別button中加入相關程式碼。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #e30000;&quot;&gt;&lt;b&gt;Color&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; QPalette palette = ui-&amp;gt;displayTextEdit-&amp;gt;palette();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; const QColor&amp;amp; color&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = QColorDialog::getColor(palette.color(QPalette::Base), this);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(color.isValid())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; palette.setColor(QPalette::Base, color);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;displayTextEdit-&amp;gt;setPalette(palette);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;執行結果如下圖所示。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(1).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(2).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibM1eb0OMDpHPOcJAeA9lEFe1TTksdmQUp0g9xWpgRWkA30-Tj0lejUEV89HYeUsjuyeCUNZEo0ow3oSv8Cwa_paA5zIUTiHXEJlhrtI_3zpO07J3_JYh-j22ZQ3d3WaTKpl_3BSrwLLJC/s1600/2Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibM1eb0OMDpHPOcJAeA9lEFe1TTksdmQUp0g9xWpgRWkA30-Tj0lejUEV89HYeUsjuyeCUNZEo0ow3oSv8Cwa_paA5zIUTiHXEJlhrtI_3zpO07J3_JYh-j22ZQ3d3WaTKpl_3BSrwLLJC/s320/2Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNesLiiAucSdP2WDun_T2zl3jSiiDD5QVOK1VPA2gKuD9LjcnGOr9BTGFEOg4gXMlonBN1Wq6ZzjMLYIFaE_sPhfSVxSERXY1G2DgZFGFM0DyNQQJNBmx-660SMC_-2P_Oyzzlubw1yO2u/s1600/3Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;281&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNesLiiAucSdP2WDun_T2zl3jSiiDD5QVOK1VPA2gKuD9LjcnGOr9BTGFEOg4gXMlonBN1Wq6ZzjMLYIFaE_sPhfSVxSERXY1G2DgZFGFM0DyNQQJNBmx-660SMC_-2P_Oyzzlubw1yO2u/s320/3Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Message&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; QErrorMessage box(this);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.setWindowTitle(tr(&quot;MessageBox&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.showMessage(tr(&quot;MessageBox xx));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.showMessage(tr(&quot;MessageBox xx));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.showMessage(tr(&quot;MessageBox xx));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.showMessage(tr(&quot;MessageBox yy));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.showMessage(tr(&quot;MessageBox zz));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.exec(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;執行結果如下圖所示。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(3).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8dGCzm9QWhczQ8FA9JnMjZNlMPfbm0QG9C_y6hutIgbBk8p1hImMkmLBkgnuSe5Fu_BNulkNcwXtPZIPa4Raty6s-D6os6biMJnGv4cT4KR4pHBoTA2qN7Z4vLjzpE2ZXnWmAJCJ9OCaq/s1600/4Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;182&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8dGCzm9QWhczQ8FA9JnMjZNlMPfbm0QG9C_y6hutIgbBk8p1hImMkmLBkgnuSe5Fu_BNulkNcwXtPZIPa4Raty6s-D6os6biMJnGv4cT4KR4pHBoTA2qN7Z4vLjzpE2ZXnWmAJCJ9OCaq/s320/4Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;File&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;color: black; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; QString fileName = QFileDialog::getOpenFileName(this,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tr(&quot;Open File&quot;),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/home/trong/&quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tr(&quot;Any File(*.*)&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;;;Text File(*.txt)&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;;;XML File(*.xml)&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;displayTextEdit-&amp;gt;setText(fileName); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;執行結果如下&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2-T0acQQqZfDroZZpVOKL6m9h6pOIGt5hUza1Yj3m7fBFbr7HDDSPIIgKeMTSSEMK0jhrvwL-Lgrx7Qj-ohulMnOyx4rHhp8mSy0zsoJ898HmAAE4VMuAWvdF6dvn7LSqGf3dn0rmaK-3/s1600/5Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;251&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2-T0acQQqZfDroZZpVOKL6m9h6pOIGt5hUza1Yj3m7fBFbr7HDDSPIIgKeMTSSEMK0jhrvwL-Lgrx7Qj-ohulMnOyx4rHhp8mSy0zsoJ898HmAAE4VMuAWvdF6dvn7LSqGf3dn0rmaK-3/s320/5Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHXGFB_9r019tsVvn8cMCOR2iIvTMbJwTc9qBmKfS7UXRsdRHtBv9PcWifD-CldQzPatdh9R81VQogentLV5JFB03h2UFZChTkJwZamS7376xmvJPzyy55UKCk1iNSfJOYHyY22gw_7LQy/s1600/6Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;281&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHXGFB_9r019tsVvn8cMCOR2iIvTMbJwTc9qBmKfS7UXRsdRHtBv9PcWifD-CldQzPatdh9R81VQogentLV5JFB03h2UFZChTkJwZamS7376xmvJPzyy55UKCk1iNSfJOYHyY22gw_7LQy/s320/6Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Font&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; bool ok;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; const QFont&amp;amp; font = QFontDialog::getFont(&amp;amp;ok,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;displayTextEdit-&amp;gt;font(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tr(&quot;Font Select box&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ok)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;displayTextEdit-&amp;gt;setFont(font);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;執行結果&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(6).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKL5y4b5NtB0Tl8oBW6o2-wtRUDSu1LpP55tatjJJ5Jb2U32RhpU0mURrRclv5pqusMLEg0bTL41Jg9F3zVn5qRYt5Okmmug1jE7aZplseMdgxgQpFC9br5w93plp1-q6LlCWaMUu068KS/s1600/7Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKL5y4b5NtB0Tl8oBW6o2-wtRUDSu1LpP55tatjJJ5Jb2U32RhpU0mURrRclv5pqusMLEg0bTL41Jg9F3zVn5qRYt5Okmmug1jE7aZplseMdgxgQpFC9br5w93plp1-q6LlCWaMUu068KS/s320/7Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Input&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;color: red; font-weight: bold; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; bool ok;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; QString text = QInputDialog::getText(this,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tr(&quot;Input&quot;),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tr(&quot;Input Text:&quot;),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QLineEdit::Normal,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QDir::home().dirName(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;ok);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ok &amp;amp;&amp;amp; !text.isEmpty())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;displayTextEdit-&amp;gt;setText(text); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;執行結果&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(7).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOOg7FHO4D2vzqoPIERQTTIjQMQVrNPyHQjSz0ErTVr4RNPOq5jnA6L51b3x3voTVLK7HUCv7iRY-cR58PvddmGV1Ur9mVKUpvIUiw7E1HRdwXFOURoTeSSty8AQMxEGzmcafe4H_CkchM/s1600/8Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOOg7FHO4D2vzqoPIERQTTIjQMQVrNPyHQjSz0ErTVr4RNPOq5jnA6L51b3x3voTVLK7HUCv7iRY-cR58PvddmGV1Ur9mVKUpvIUiw7E1HRdwXFOURoTeSSty8AQMxEGzmcafe4H_CkchM/s1600/8Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Page Setup&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; QPrinter printer;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; QPageSetupDialog dlg(&amp;amp;printer, this);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dlg.setWindowTitle(tr(&quot;Page Setup Box&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dlg.exec() == QDialog::Accepted)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // GO To Next process&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1ji3XC_nHkmt5Bf25CG5QPbG5kGeuI5zY_sMA-h6tVe5ldli_J9bPUtfLO1mzTCMMR3g0oI2InK2HfgA7W9MeFEDTpJQJloAnRMEOMBEI8FLNDi2PNhAmZVelYdeYj1SzkGJH3feKYlZ/s1600/9Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1ji3XC_nHkmt5Bf25CG5QPbG5kGeuI5zY_sMA-h6tVe5ldli_J9bPUtfLO1mzTCMMR3g0oI2InK2HfgA7W9MeFEDTpJQJloAnRMEOMBEI8FLNDi2PNhAmZVelYdeYj1SzkGJH3feKYlZ/s320/9Image.png&quot; width=&quot;302&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #464646;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #464646;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(8).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #464646;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Progress&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;color: #464646; font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; QProgressDialog progress(tr(&quot;Processing...&quot;), tr(&quot;Cancel&quot;), 0, 10000, this);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progress.setWindowModality(Qt::WindowModal);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progress.setWindowTitle(tr(&quot;Processing Box&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progress.show();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt; 10000; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; progress.setValue(i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qApp-&amp;gt;processEvents();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (progress.wasCanceled())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qDebug() &amp;lt;&amp;lt; i;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; progress.setValue(10000); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyJ9udeJ_iPbcx4CBlKxYPGfA_C7Nhz5PXME5H4Qeu_TeM-nP0LpMaMeX7UyBeUILizu9P1_aXoTGkecnyCJzC5SC2HwyOePAz4x0x4xO1fxAyxk69sXMppH8qoEXlpmFVtsA-F4-G3Qg2/s1600/10Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyJ9udeJ_iPbcx4CBlKxYPGfA_C7Nhz5PXME5H4Qeu_TeM-nP0LpMaMeX7UyBeUILizu9P1_aXoTGkecnyCJzC5SC2HwyOePAz4x0x4xO1fxAyxk69sXMppH8qoEXlpmFVtsA-F4-G3Qg2/s1600/10Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyJ9udeJ_iPbcx4CBlKxYPGfA_C7Nhz5PXME5H4Qeu_TeM-nP0LpMaMeX7UyBeUILizu9P1_aXoTGkecnyCJzC5SC2HwyOePAz4x0x4xO1fxAyxk69sXMppH8qoEXlpmFVtsA-F4-G3Qg2/s1600/10Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: #464646; font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style=&quot;color: #464646; font-size: 16px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #464646; font-size: 16px;&quot;&gt;
&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(9).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Print Page&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; QPrinter printer;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; QPrintDialog dlg(&amp;amp;printer, this);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dlg.setWindowTitle(tr(&quot;Print Box&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dlg.exec() == QDialog::Accepted)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // next processing&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #464646;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(10).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh-NJ_h6NxDvpGULv4DWScE1YqXwrVzO-BKl8TxZnPLvEBSepGei00eyMaehw26nRyEpfxvpxR0lSgM_HuAJXEBFOkaUrcwWlajO5p466Ob3thRjBKPeTXBGSjgKI1cVc7f-HaXqcpVaJ0/s1600/11Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh-NJ_h6NxDvpGULv4DWScE1YqXwrVzO-BKl8TxZnPLvEBSepGei00eyMaehw26nRyEpfxvpxR0lSgM_HuAJXEBFOkaUrcwWlajO5p466Ob3thRjBKPeTXBGSjgKI1cVc7f-HaXqcpVaJ0/s320/11Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;參考文獻:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #316500; font-family: Arial, Verdana, MingLiu, sans-serif; font-weight: bold; line-height: 20px;&quot;&gt;精通Qt4視窗介面程式開發與設計&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;a href=&quot;http://www.books.com.tw/exep/prod/booksfile.php?item=0010516429&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;http://www.books.com.tw/exep/prod/booksfile.php?item=0010516429&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #464646;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/684881553313491250/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-built-in.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/684881553313491250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/684881553313491250'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-built-in.html' title='[Qt] - built-in 對話方塊'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqKzdNfrp19VR__pmZQO8mBfwxktrkpbS3QpIlQEaURyZtkBRFM5kHE5dsUicy5Jld7mIul1CiyrtISvAOhAJ-3QPu2h3oqojxqRxqB-2L-S_BMTihNJw2t_FFkZFpv0RvHwydhtxNsL2V/s72-c/1Image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-6266400385805112624</id><published>2012-08-07T01:42:00.003-07:00</published><updated>2012-08-07T01:42:27.409-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>[Qt] -  Dialog 排版</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;在這個章節裡面，我們將教導你們如何去產生一個Dialog視窗，並且如何去做簡單的排版。首先先建立一個Qt GUI application專案，這邊與我們之前所建立之MainWindow方式有點不同，因為我們要建立一個Dialog專案，所以必須在Class infomation設定中，將Base class選擇QDialog，如下圖所示。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(37).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj4TBFmiALn8Oc7Vke1gYy2ToWHJx2y8MM4ZxaMArhtdgwsG-FtQEGfOkqv19h_msBfK5eiXR7IfzSn-rCfcvSiYysX3lj7ER6Hl2v1HXczTlaaYW54E9eVVucl2n3dJAXYxBqPTC3Rj3O/s1600/1Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj4TBFmiALn8Oc7Vke1gYy2ToWHJx2y8MM4ZxaMArhtdgwsG-FtQEGfOkqv19h_msBfK5eiXR7IfzSn-rCfcvSiYysX3lj7ER6Hl2v1HXczTlaaYW54E9eVVucl2n3dJAXYxBqPTC3Rj3O/s320/1Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來新增幾個ui物件。1.TexeLabel、2.Line Edit、3. Horizontal Spacer、4.pushButton。其排列方式如下。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNAaPExoXYd_MIDWxcJ5LsbBCqQeTUxK2QWzxElvvChx5rVVYW-hjds7JaStV4pPkBcPeoFwsBv-FHT2A14hmYj9ejQTHD8qt2quc_RkyD8sihb_8M11mw8w0Wa_K6k2OBvX9U-G0QpbJ2/s1600/2Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;246&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNAaPExoXYd_MIDWxcJ5LsbBCqQeTUxK2QWzxElvvChx5rVVYW-hjds7JaStV4pPkBcPeoFwsBv-FHT2A14hmYj9ejQTHD8qt2quc_RkyD8sihb_8M11mw8w0Wa_K6k2OBvX9U-G0QpbJ2/s320/2Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;ui物件相關屬性修改如下&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;ui物件&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;objectName&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;label&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;1.TexeLabel&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;label&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Cell Location:&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;2.Line Edit&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;lineEdit&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;3. Horizontal Spacer&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;4.pushButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;okButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;OK&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;5.pushButton&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;cancelButton&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Cancel&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(39).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3mUyGmOmdd__rMhns4pnH4CFmvPOZdreTa0yYC1xlvdes1PYNyQMpUY9WtqVSgxkHRc-YH-0gbr3AJN3Uv-pTeozr0gqw-95Fw7nOT5ekJZwX5ly34e0XD759xDUe0IS2SYxYQs2vKiyS/s1600/3Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3mUyGmOmdd__rMhns4pnH4CFmvPOZdreTa0yYC1xlvdes1PYNyQMpUY9WtqVSgxkHRc-YH-0gbr3AJN3Uv-pTeozr0gqw-95Fw7nOT5ekJZwX5ly34e0XD759xDUe0IS2SYxYQs2vKiyS/s1600/3Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;按住&quot;Ctrl&quot;並點選ui物件&quot;&quot;textLabel與LineEdit後，點選滑鼠右鍵開啟選單，點選Layout-&amp;gt;LayOut Horizontally進行水平排列，再利用相同方式點選&quot;Horizontal Spacer&quot;及兩個&quot;pushButton&quot;並利用相同方式進行水平排列，最後將兩個進行水平排列之物件，利用相同方式Layout-&amp;gt;LayOut Vertically 進行垂直排列，做完上述動作之後所有ui物件將完成較規則的排列方式。如果你覺得物件間的距離還不是很好，你可以再度點選Layout-&amp;gt;Adjust Size進行重新排列大小，其結果如下所示。&lt;/span&gt;&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(40).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij5v4UQpJskqsO4_fcxwjBJaCKQufaujvvGHACSry7zWK6WWGXoDlSOCWlBw7BZR4H4qMWSlpmZwTIV1q_4WtaL5RYRDgtaC-o-Amq0ypP5uj_bYdncVlAzLejTvomQD23604REgfpTjc-/s1600/4Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;348&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij5v4UQpJskqsO4_fcxwjBJaCKQufaujvvGHACSry7zWK6WWGXoDlSOCWlBw7BZR4H4qMWSlpmZwTIV1q_4WtaL5RYRDgtaC-o-Amq0ypP5uj_bYdncVlAzLejTvomQD23604REgfpTjc-/s400/4Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgHZhozGGUT5amOAIkGpHfV-hnoVcWqPVODNLfWMxftawC2gTBtH4LNQ8kE8BdFU4lUwCIIANC3pHGdO7bBRq-dGAcQDYAUynw94NMgMPzdv42MSAJg3trETD5Z4ICAKb_DW_26Mn1B0S/s1600/5Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgHZhozGGUT5amOAIkGpHfV-hnoVcWqPVODNLfWMxftawC2gTBtH4LNQ8kE8BdFU4lUwCIIANC3pHGdO7bBRq-dGAcQDYAUynw94NMgMPzdv42MSAJg3trETD5Z4ICAKb_DW_26Mn1B0S/s320/5Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(41).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;輸入表單中同常伴隨Tab按鍵進行物件間資切換，此時你可以編輯你的tab順序，點選Edit-&amp;gt;Edit Tab Order進入編輯畫面。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNIZ6Qu-8-39HOBGSEFf0c0bNQpL8aTFb9n3Xn-ItYO8GVLmX11wLY-466My_eQjJCvSgJev6l4noFz4rFV26pp30SZ3UF8TqdSQfM5RoVebIiX7Vdf_iIs-TJwsEYmiJdXra33_hk9GhO/s1600/6Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNIZ6Qu-8-39HOBGSEFf0c0bNQpL8aTFb9n3Xn-ItYO8GVLmX11wLY-466My_eQjJCvSgJev6l4noFz4rFV26pp30SZ3UF8TqdSQfM5RoVebIiX7Vdf_iIs-TJwsEYmiJdXra33_hk9GhO/s320/6Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(42).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;此時將出現tab編輯畫面，畫面中之1、2、3所代表的就是你點選tab按鈕時，所切換的順序，你可以點選你要的位置，進行編輯順序，編輯還成後點選&quot;F3&quot;恢復Edit Widgets介面。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(43).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOWKDja182iz-SjRyB-EX4Ytg7cZmcokpdjWaWasIpRxI_QXDBBbv26i9FznTGaxmrUREqOlqQHSCjK6aNsi5yOtcy-TSv-BbYSddtiVkqmHd7Y3tFT2S4N8RLpifz6i9BwnqI2YJcwV0h/s1600/7Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOWKDja182iz-SjRyB-EX4Ytg7cZmcokpdjWaWasIpRxI_QXDBBbv26i9FznTGaxmrUREqOlqQHSCjK6aNsi5yOtcy-TSv-BbYSddtiVkqmHd7Y3tFT2S4N8RLpifz6i9BwnqI2YJcwV0h/s1600/7Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;UI介面設計完成之後，如果你要先觀看該UI介面是否如你預期的結果，你可以點選Tools-&amp;gt;Form Editor-&amp;gt;Preview進行預覽。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(44).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio5u16ujwB8oVOzVTPH-fMN1KAWg9TaOTkJEAFg-HUViv_QM69p0p9SRXt6Fs2QljyLX8L7s-dF-4H67Zk1aZG1hDVlH0CRTTR6KUwtmx047QAx5FnyCcDTJRMJTzAfJCz6OvqkNtXFn1k/s1600/8Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio5u16ujwB8oVOzVTPH-fMN1KAWg9TaOTkJEAFg-HUViv_QM69p0p9SRXt6Fs2QljyLX8L7s-dF-4H67Zk1aZG1hDVlH0CRTTR6KUwtmx047QAx5FnyCcDTJRMJTzAfJCz6OvqkNtXFn1k/s320/8Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來建立幾個簡單上面建立之UI之基本動作，打開dialog.cpp檔案，假設我們預先設定lineEdit在未輸入文字的時候不可以按下ok按鈕，並且限定lineEdit中第一個字只可以輸入英文單字，第二三只可以輸入數字，且只能輸入這三個字，那要如何進行設計呢?&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrEwRtpwFXGZy6-IYxCtc9RXG_oqrQ6PaG9qAqmIIxz18jigXaIDxlHuTabG_yRygon_15gWzOxoXY0wxxmuVSdeHdbCxzgenGeMrX5VWTrdwoQtAcWpLcuoXEab0ulasoMeNujyr-FHTx/s1600/9Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrEwRtpwFXGZy6-IYxCtc9RXG_oqrQ6PaG9qAqmIIxz18jigXaIDxlHuTabG_yRygon_15gWzOxoXY0wxxmuVSdeHdbCxzgenGeMrX5VWTrdwoQtAcWpLcuoXEab0ulasoMeNujyr-FHTx/s320/9Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;於dialog.cpp檔案中新增下列程式碼。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #328712;&quot;&gt;//預先將okButton按鈕進行關閉動作&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ui-&amp;gt;okButton-&amp;gt;setEnabled(false);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #328712;&quot;&gt;//設定一regExp屬性，改屬性中限制，第一個單字[A-Za-z]也就是說只可以輸入英文單字，第二格[1-9]只能輸入數字1-9，第三個[0-9]只能輸入數字，最後{0,2}代表輸入字元由0-2也就是三個字元，並將該屬性設定給lineEdit使用&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; QRegExp regExp(&quot;[A-Za-z][1-9][0-9]{0,2}&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;lineEdit-&amp;gt;setValidator(new QRegExpValidator(regExp,this));&lt;br /&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #328712;&quot;&gt;//最後新增按鈕動作，下列方式均可以將Dialog進行關閉，而acceot(0將可於QDialog::Accept()回傳1，reject則回傳0，利用該方式可以進行動作傳遞&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; connect(ui-&amp;gt;okButton,SIGNAL(clicked()),this,SLOT(accept()));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; connect(ui-&amp;gt;cancelButton,SIGNAL(clicked()),this,SLOT(reject()));&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;最後於lineEdit ui上面點選右鍵，Go to slot，點選textChanged(QStrong)進行新增動作，該動作將於lineEdit輸入文字後啟動，該啟動內容主要判定lineEdit有輸入文字，且輸入文字都符合上面regExp規則的話，將okButton啟用，其程式碼如下所示。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;ui-&amp;gt;okButton-&amp;gt;setEnabled(ui-&amp;gt;lineEdit-&amp;gt;hasAcceptableInput());&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;執行結果如下&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/ScreenClip.png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ87_WwEZDlihGMOgPblJLj-izLrUgV9fTgk3q24BnmknFz_Hi-Y_RxX041206rN5D6VEBPnGa5R6LfhzoWGSjJYC3ITdUwu9lGdjyPpoM1vSIevN3RpBJhfo2ADfADRZ7dr2yTmCqmZu8/s1600/10ScreenClip.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ87_WwEZDlihGMOgPblJLj-izLrUgV9fTgk3q24BnmknFz_Hi-Y_RxX041206rN5D6VEBPnGa5R6LfhzoWGSjJYC3ITdUwu9lGdjyPpoM1vSIevN3RpBJhfo2ADfADRZ7dr2yTmCqmZu8/s1600/10ScreenClip.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(46).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9TX7qbPr_eHZA_iiUcYqqe0wkcBpb4j1fNaG-8EGsJZNze3DlT683RHu0FvRWa-k4Qpp-pRTxySPt5fWKQguYaFtpK5NCZYriuopXDtOOeDpxa1y5axm0P0lZnrdSu-gPFLcyKL_E-U9D/s1600/11Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9TX7qbPr_eHZA_iiUcYqqe0wkcBpb4j1fNaG-8EGsJZNze3DlT683RHu0FvRWa-k4Qpp-pRTxySPt5fWKQguYaFtpK5NCZYriuopXDtOOeDpxa1y5axm0P0lZnrdSu-gPFLcyKL_E-U9D/s1600/11Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來我們嘗試處理按鈕按下後的事件，按鈕按下的事件你可以使用點選右鍵的方式新增Go to slot的方式建立點擊事件，也可以如我上述所使用之方式，直接用SLOT的方式指定要執行的指令。我們在這邊預計讓你點選ok之後會出現一個MessageBox視窗，顯示OK訊息。點選Cancel按鈕之後會出現警告視窗，會出現警告視窗，問你是否關閉。首先在dialog.hpp檔案中include QMessageBox函式庫進來。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;#include &amp;lt;QMessageBox&amp;gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來在private:中加入&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(47).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt7xAuJ1oNe0PnJZA1EfxiT4EhXSV-UDi_-IsWd_BgHkNi1-WysFGAWZTBwKH-t2sUA6_01N8ABgMP5vjF_11C_JvjoG110OQA4eOc11CEMnzZjHni8_61bZiZ1VK-f1KOzt0wp92mWl94/s1600/12Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt7xAuJ1oNe0PnJZA1EfxiT4EhXSV-UDi_-IsWd_BgHkNi1-WysFGAWZTBwKH-t2sUA6_01N8ABgMP5vjF_11C_JvjoG110OQA4eOc11CEMnzZjHni8_61bZiZ1VK-f1KOzt0wp92mWl94/s1600/12Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; void accept();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; void reject();&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;再開啟dialog.cpp檔案，並於最下方輸入該兩個動作所要執行的內容，建立MessageBox的方式很簡單，你可以直接使用QMessageBox來建立QMessageBOX::後面所帶的屬性為MessageBox所顯示的圖示，其中包含about、aboutQt、infomation、question、warning、critical等。輸入屬性(QWidget *parent,const QString &amp;amp;title,const QString &amp;amp;text)，使用方式如下。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;//accept動作&lt;br /&gt;
void Dialog::accept()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #328712;&quot;&gt;QMessageBox::about(this,tr(&quot;ok&quot;),tr(&quot;ok&quot;));&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;&lt;br /&gt;
//reject動作&lt;br /&gt;
void Dialog::reject()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;span style=&quot;color: #328712;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QMessageBox box;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.setWindowTitle(tr(&quot;Exit!&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.setIcon(QMessageBox::Question);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.setText(tr(&quot;Are you sure want to cancel?&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.setStandardButtons(QMessageBox::Yes|QMessageBox::Cancel);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; box.setDetailedText(tr(&quot;test&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; switch(box.exec())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case QMessageBox::Yes:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QDialog::done(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case QMessageBox::No:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;第二個動作reject中，相同使用QMessageBox的方式建立，但比較不相同的地方在於我們直接設定相關屬性，該方式可以讓你針對該屬性一一進行設定，並於最後用switch的方式來判定所按下的按鈕，並執行想要執行的指令，其做法如上所示。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;MessageBox::about&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/ScreenClip(1).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHnPrEpFW-wGqde6sHlOtRkoGC-G5KLCupjaPQByDWmYAoOELL7_MHr8ydZ9WxNkdjVs15AS9bzboTkHpHlgA5E82C9ZyOJgRWSQnuCIK6lG2KQN3W4LNYWsKhSJWemS6qHGDmOgmp4pLZ/s1600/13ScreenClip.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHnPrEpFW-wGqde6sHlOtRkoGC-G5KLCupjaPQByDWmYAoOELL7_MHr8ydZ9WxNkdjVs15AS9bzboTkHpHlgA5E82C9ZyOJgRWSQnuCIK6lG2KQN3W4LNYWsKhSJWemS6qHGDmOgmp4pLZ/s1600/13ScreenClip.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;MessageBox::question&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(48).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI-h_Le_uhW-kEAz26HPc2zLxvlIXvzW2vMLe5rQj9bAKsQK155NtFNgOKs6kPe8CnbpyYPr918s636AHiTNKJxMToh3eo2kzOWqaZRHdSk14HwYM3SekyVM9XLYHhXj7JCyIFUftk5wW5/s1600/14Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI-h_Le_uhW-kEAz26HPc2zLxvlIXvzW2vMLe5rQj9bAKsQK155NtFNgOKs6kPe8CnbpyYPr918s636AHiTNKJxMToh3eo2kzOWqaZRHdSk14HwYM3SekyVM9XLYHhXj7JCyIFUftk5wW5/s1600/14Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;MessageBox::warrning&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(49).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCjb9ahm5va-qWCGDk8qRN_2Yc6BXd8NN7gCVd9bVBwZS6psk8qL7gVHq_P5CeVSp9E0GjpyzdiZ1hWlFy88XeNdgGfeGS6PopfktPluLIbGX6T7TAkYvI_LnyMwsWVgf-xIQIdHIr7K7v/s1600/15Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCjb9ahm5va-qWCGDk8qRN_2Yc6BXd8NN7gCVd9bVBwZS6psk8qL7gVHq_P5CeVSp9E0GjpyzdiZ1hWlFy88XeNdgGfeGS6PopfktPluLIbGX6T7TAkYvI_LnyMwsWVgf-xIQIdHIr7K7v/s1600/15Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;MessageBox::infomation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(50).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPs8LpcsCTalm20a4DuSWIi6BjQeVdVa4DExmzUFuagi6gJWn8EVeYhw3jBlzyUbqtcHTm5OHb9XoALeEwOszX3naYd_Lbzo9aRmIAsKMJmwdFgWrNOmcxmYtYfgFc-fOgJs6CGrKMixkP/s1600/16Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPs8LpcsCTalm20a4DuSWIi6BjQeVdVa4DExmzUFuagi6gJWn8EVeYhw3jBlzyUbqtcHTm5OHb9XoALeEwOszX3naYd_Lbzo9aRmIAsKMJmwdFgWrNOmcxmYtYfgFc-fOgJs6CGrKMixkP/s1600/16Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;MessageBox::critial&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(51).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZvDMHckzn6uiVmEJckTsE-Q6rzJlm7x6N7-2dQH6sfVL-AQ57LZzf0Hfz3qCt-XPvRH7vQFcb0WmxPkkQdscmdOdadZOd-6KLTwS6QDWNowffGwmTM08WcbgeFPEPoznpU7sruRenrn9X/s1600/17Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZvDMHckzn6uiVmEJckTsE-Q6rzJlm7x6N7-2dQH6sfVL-AQ57LZzf0Hfz3qCt-XPvRH7vQFcb0WmxPkkQdscmdOdadZOd-6KLTwS6QDWNowffGwmTM08WcbgeFPEPoznpU7sruRenrn9X/s1600/17Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
See also&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/signalsandslots.html&quot;&gt;connect&lt;/a&gt;、&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-4.8/QRegExp.html&quot;&gt;QRegExp&lt;/a&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-4.8/QMessageBox.html&quot;&gt;QMessageBOX&lt;/a&gt;、&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/6266400385805112624/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-dialog.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/6266400385805112624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/6266400385805112624'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-dialog.html' title='[Qt] -  Dialog 排版'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj4TBFmiALn8Oc7Vke1gYy2ToWHJx2y8MM4ZxaMArhtdgwsG-FtQEGfOkqv19h_msBfK5eiXR7IfzSn-rCfcvSiYysX3lj7ER6Hl2v1HXczTlaaYW54E9eVVucl2n3dJAXYxBqPTC3Rj3O/s72-c/1Image.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-5517108667603344232</id><published>2012-08-07T01:22:00.004-07:00</published><updated>2012-08-07T01:22:52.138-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>[Qt] - Create menu bar with QT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;在前幾個章節我們都用Button的方式來教導大家如何讓OpenCV去執行，該方式可以讓你們較快速的學習如何再QT裡面達成我們要的指令，那接下來我們必須使用比較正規的做法去編寫你的GUI介面了，再目前很多程式軟體裡面，通常你都會看到menu選單，讓你可以下拉去點選你要的動作，今天這個章節將利用menu的方式，讓你將你要的功能給編寫出來。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step1：建立一QT GUI Application&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;建立的方式與前幾個章節一樣，這邊將不再多做說明。開啟後一樣在pro檔案中將opencv函數進行include動作。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step2：開始進行menu建立&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;於QT中要建立menu選單之動作其實非常簡單，於Design畫面中你可以看到Type Here，於此點選滑鼠左鍵兩下將可進入編輯新增畫面，於此你可以輸入該選單的名稱，如下圖所示。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgGgUGDkRUkqYENPrk4RXzZuPfPAC_q0DrNedyyEdWMKLtd3JNYsRMK2QW0e6-Go-oQPIlpKMuxZaeXfZGd9TJBrkzLJlyc9JlwJpt-AjEHAN_-yOe3ukj4qJ8_oK37pkrvAEVKnMLoTY1/s1600/1Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;420&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgGgUGDkRUkqYENPrk4RXzZuPfPAC_q0DrNedyyEdWMKLtd3JNYsRMK2QW0e6-Go-oQPIlpKMuxZaeXfZGd9TJBrkzLJlyc9JlwJpt-AjEHAN_-yOe3ukj4qJ8_oK37pkrvAEVKnMLoTY1/s640/1Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;這裡於第一層輸入File&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJqyNlWYC_rJLQc76ZZjx35wWc620lXukMeuVnuCZCFS7hiFH6HYt6j8Wf0jnZVtnHPfkc7VurBxSz3GCYsYLtdOGVPjdEr4KLkokpvDyXUBpzXZq83JN9B_VKh2RMgvNuKWy8Dzs5qrDd/s1600/2Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;424&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJqyNlWYC_rJLQc76ZZjx35wWc620lXukMeuVnuCZCFS7hiFH6HYt6j8Wf0jnZVtnHPfkc7VurBxSz3GCYsYLtdOGVPjdEr4KLkokpvDyXUBpzXZq83JN9B_VKh2RMgvNuKWy8Dzs5qrDd/s640/2Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;第二層輸入Open File。並於Action Editor視窗中點選滑鼠右鍵，並點選Edit按鈕進行編輯。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpsq8shrUiKmxXLvEl_bNSq-gYuIYUBDE6btuX0xLDn2bm2J0o2RvRVVD-fkzqGspQZQLZL6qSY8h63mwSXyDWv-zpSwWsXZZXCs2A-xIGxBsXDeqzUxS_RiJhrjtkic8G5cABywGxwt1T/s1600/3Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpsq8shrUiKmxXLvEl_bNSq-gYuIYUBDE6btuX0xLDn2bm2J0o2RvRVVD-fkzqGspQZQLZL6qSY8h63mwSXyDWv-zpSwWsXZZXCs2A-xIGxBsXDeqzUxS_RiJhrjtkic8G5cABywGxwt1T/s640/3Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;進入Edit Action介面之後，你將可以看到Text：顯示的文字、Object name：物件名稱等等，比較特別的就是Shortcut：這是你將可以使用熱鍵的方式進行該按鈕動作，本按鈕為開啟檔案，所以我將它設定為&quot;Ctrl&quot;+&quot;O&quot;。編輯完畢點選OK離開。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(22).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-w741ZELunBcM3xIQEtK-oGaPJZ1KuJAPSFJ_-medbCScMeUrvKIS54yg6C5MQB4p-bvmIA2FRaf97AiDXVnJzdlJh-7MWJZOE-_A2pCdZnedVrIkfMJKmJyAa4qhyphenhyphenO7oAyqBkeOPide8/s1600/4Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-w741ZELunBcM3xIQEtK-oGaPJZ1KuJAPSFJ_-medbCScMeUrvKIS54yg6C5MQB4p-bvmIA2FRaf97AiDXVnJzdlJh-7MWJZOE-_A2pCdZnedVrIkfMJKmJyAa4qhyphenhyphenO7oAyqBkeOPide8/s400/4Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;編輯該按鈕動作，你可以點選右鍵，並點選Go To Slot進入。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(23).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJnPmN7sdHGVpx1ImYRrvG0qlW-8aCokMRZNEyCYYHwod1z2fWS_cqXFGZ4dJPv5fAq8joD6LS29YrT8kZZ88yRL32k7tk1DKyeUbYHjVFCrAAfaw4kqzaZDZcn8C7ZtWFLDmEMOWdkqXG/s1600/5Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJnPmN7sdHGVpx1ImYRrvG0qlW-8aCokMRZNEyCYYHwod1z2fWS_cqXFGZ4dJPv5fAq8joD6LS29YrT8kZZ88yRL32k7tk1DKyeUbYHjVFCrAAfaw4kqzaZDZcn8C7ZtWFLDmEMOWdkqXG/s400/5Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;按鈕動作選取triggered()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis0oWMbmwmE7TgUjZx7xlp2BwKBVpIdQ0kIv6FXOb5sREpfjQOKiToE3c56YmYpqIz0vd8s3vHk_opbOv8ywKQm0NndvCHi1eLlu7UOlOk-zgik-ZZ4Jd2TJHdFc6D21xr2Y6OQO5JC8VB/s1600/6Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;165&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis0oWMbmwmE7TgUjZx7xlp2BwKBVpIdQ0kIv6FXOb5sREpfjQOKiToE3c56YmYpqIz0vd8s3vHk_opbOv8ywKQm0NndvCHi1eLlu7UOlOk-zgik-ZZ4Jd2TJHdFc6D21xr2Y6OQO5JC8VB/s400/6Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(24).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;新增之後你將可以在on_actionOpen_File_triggered()，中新增你要的動作&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;注意：下列程式碼當中使用第二課中所用到之開啟檔案方式，因此相關include與UpdateImage及table標籤要記得加入才可以執行。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE7ocmJuIyF3BzcNw9Ng083riTbbUJ7wwlVsOnQhKEzM3BEXjwY2nTV-7L3Fr9mLAfAHr8hzAEKN9lab_s5cX4BNjcc6Cl8hvBiazZ7lYRsWTRQPFNSgm7sj-ofmO1F81_4285KKbXAuGD/s1600/7Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE7ocmJuIyF3BzcNw9Ng083riTbbUJ7wwlVsOnQhKEzM3BEXjwY2nTV-7L3Fr9mLAfAHr8hzAEKN9lab_s5cX4BNjcc6Cl8hvBiazZ7lYRsWTRQPFNSgm7sj-ofmO1F81_4285KKbXAuGD/s640/7Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;相關程式碼如下&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&amp;nbsp; &amp;nbsp; QString fileName = QFileDialog::getOpenFileName(this,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tr(&quot;Open Image&quot;),&quot;.&quot;,tr(&quot;Image File (*.png *.jpge *.jpg *.bmp&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; image = cv::imread(fileName.toAscii().data());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=image;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(image.data){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::cvtColor(result,result,CV_BGR2RGB);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;Step3：簡單測試&lt;/span&gt;&lt;/span&gt;&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;執行後畫面如下，利用&quot;Ctrl&quot;+&quot;O&quot;，將可以順利開啟該影像。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(26).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLH8LuOagUrKat9Kux6hNfFwykFdJFylBrIs9idRt3oNx-TaDJfJXVRHm5Wa8yHJX17OaNWKpLnLN_ktyU6xQabZ9iBvjW92QIW69QZ5UHXcMKJeAYbjyHmXYCHY7Ih4MkkrcvaAtdqAoT/s1600/8Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;327&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLH8LuOagUrKat9Kux6hNfFwykFdJFylBrIs9idRt3oNx-TaDJfJXVRHm5Wa8yHJX17OaNWKpLnLN_ktyU6xQabZ9iBvjW92QIW69QZ5UHXcMKJeAYbjyHmXYCHY7Ih4MkkrcvaAtdqAoT/s400/8Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;結果如下。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(27).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUddBTWPnBYLBaQIrRm593_qf7uRXo_Ds7gZxKQv2w0OKE0X9MPTkazDYlVuR2b52qEud9jdyBoFJuxLcRh2TajRVDMtcLntZGUTedcO9lHsfOY_8OuG_NBQIrbXDrNE0LSNXgWbnrHeD/s1600/9Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;332&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUddBTWPnBYLBaQIrRm593_qf7uRXo_Ds7gZxKQv2w0OKE0X9MPTkazDYlVuR2b52qEud9jdyBoFJuxLcRh2TajRVDMtcLntZGUTedcO9lHsfOY_8OuG_NBQIrbXDrNE0LSNXgWbnrHeD/s400/9Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;視窗標題&quot;MainWindow&quot;要如何修改呢?請直接修改windowTitle之值，如OpenCV With QT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzrygF8smqE8Pd4OqIxAgGCIdUxquS9J_KGCVgGlV51KqMEdeW96giCaQ7xkuXwaDEANv_2i6KMQOJf5ErYJcSzqu23Si1Mm6Y7J8hQUAp05VA7rPPmzys6LcVtOSP9SZKagy7VLQeTOI2/s1600/10Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;449&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzrygF8smqE8Pd4OqIxAgGCIdUxquS9J_KGCVgGlV51KqMEdeW96giCaQ7xkuXwaDEANv_2i6KMQOJf5ErYJcSzqu23Si1Mm6Y7J8hQUAp05VA7rPPmzys6LcVtOSP9SZKagy7VLQeTOI2/s640/10Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step4：將已經編寫好的檔頭及程式碼載入&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;在第三課我們已經介紹如何簡單編寫一些屬於我們自己的程式庫了，那在新的專案裡面要如何直接將他載入呢?首先將那兩個檔案複製到新專案之src資料夾當中&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuiDWwKcc1SRihKLuCVxBmcCSYL7LixtcWGZL2QbNLoGV6v7DJ3WJVh_YjTGiQQm1RgjXS6KZzI88Wh95XB6KTQdmeawz04Mjp4nO1zDXf1zv_st8RQyM4oMKipm2N3yypEFeUhjeDWBWb/s1600/11Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuiDWwKcc1SRihKLuCVxBmcCSYL7LixtcWGZL2QbNLoGV6v7DJ3WJVh_YjTGiQQm1RgjXS6KZzI88Wh95XB6KTQdmeawz04Mjp4nO1zDXf1zv_st8RQyM4oMKipm2N3yypEFeUhjeDWBWb/s640/11Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;在Headers與Sources中點選右鍵，點選&quot;Add Existing Files...&quot;。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(30).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJq_0wSHu-FKK6lsySikIaPHVdxpzllSrbZpJ6mru4jwpwjySQz01Qs0nt1PkZB2NCaKMYBcmbOtsFCONI2y4qDmflHug-ukuvFQY_FBL-6tOF4FGjfRs2hBB5eO3hwDQT44N4_ZlxqqXa/s1600/12Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJq_0wSHu-FKK6lsySikIaPHVdxpzllSrbZpJ6mru4jwpwjySQz01Qs0nt1PkZB2NCaKMYBcmbOtsFCONI2y4qDmflHug-ukuvFQY_FBL-6tOF4FGjfRs2hBB5eO3hwDQT44N4_ZlxqqXa/s320/12Image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;並分別加入cvcore.h及cvcore.cpp兩個檔案，加入後如下圖所示將會出現那兩個檔案。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL-o8ofpTvTuuVM61yAwSQyZPRFdW18JyjqxEYrDHVsZKQNIMih774T5cmp6WMdYQh3QyQkvmQiAAarEmOivtvEKTfnAzEovGxMsv6RfTWYL4X_pOARjCx-QGYVWR_WkdRvuqY3aV9nRkm/s1600/13Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL-o8ofpTvTuuVM61yAwSQyZPRFdW18JyjqxEYrDHVsZKQNIMih774T5cmp6WMdYQh3QyQkvmQiAAarEmOivtvEKTfnAzEovGxMsv6RfTWYL4X_pOARjCx-QGYVWR_WkdRvuqY3aV9nRkm/s1600/13Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(31).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;此時會到QT_GUI_Opencv.pro檔案，將可發現QT已經自動幫你加入此兩個檔案到SOURCES及HEADERS裡面了。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTO6y1VAJyBSwTiEqGABk_zeDatuPVw1UIIbsMnA7NasReuyS_YkW54CWqrO2CmayxgSkk17WbNNtMHDh06VXudmQFpnzwV-eDju8_pKMzHwBBQ4Zbe9bS7rPO5-GV-r5JS1HhxzkylV6N/s1600/14Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTO6y1VAJyBSwTiEqGABk_zeDatuPVw1UIIbsMnA7NasReuyS_YkW54CWqrO2CmayxgSkk17WbNNtMHDh06VXudmQFpnzwV-eDju8_pKMzHwBBQ4Zbe9bS7rPO5-GV-r5JS1HhxzkylV6N/s640/14Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;要使用此函式庫當然要將他include進來，回到mainwindow.hpp檔案裡面，新加入#include &quot;cvcore.h&quot;，這樣你就已經將此函式庫成功加入了。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;Step5：新增其他影像處理之menu&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;使用上述所教新增menu之方式，再度新增Process，及第二層Flip選單。相同新增一個triggered動作&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsdzBn-ngC0xbxg1fHF30NzE2sTkugd6ln_2CQ2Bt-NDI2aWatbuiaN2_pPu-iCMCsCATkH0dO-8ZCq0OCDvLt-xHo49VZsbSYuyvwxAYB1Aen0T0jc_Ga0XYSVG2qersxY2tUgHFh2gmy/s1600/15Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsdzBn-ngC0xbxg1fHF30NzE2sTkugd6ln_2CQ2Bt-NDI2aWatbuiaN2_pPu-iCMCsCATkH0dO-8ZCq0OCDvLt-xHo49VZsbSYuyvwxAYB1Aen0T0jc_Ga0XYSVG2qersxY2tUgHFh2gmy/s640/15Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;執行結果如下&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKEoFr-GNjyeakmeP0qTdfdWtKsoZaVkJkq1-0-a-oxYr3Ul6tAvP6I45VbyUZyId60h6E4OUkCrleXnw5lGlVB-MV8fz7LHePUdUpRn6oR0jwgiFYS54Tvq_yg0bOE_rbybTxSMN51S95/s1600/16Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKEoFr-GNjyeakmeP0qTdfdWtKsoZaVkJkq1-0-a-oxYr3Ul6tAvP6I45VbyUZyId60h6E4OUkCrleXnw5lGlVB-MV8fz7LHePUdUpRn6oR0jwgiFYS54Tvq_yg0bOE_rbybTxSMN51S95/s640/16Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step6：開始建立自己的按鈕動作(edit)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;在step5中我們只是示範要如何將函數給放到menu上面去執行，從這邊開始將介紹依序建立一些你所要的功能。首先我們編輯edit，並在裡面新增Restore Origional image、Flip horizontally、Flip Upside Down及Contrast Brightness，四個動作。並分別對這些動作賦予所對應之動作。&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2A5gW1W7Edg-XA6KiISGsZQp4F6bmGu85QqSTs_wWz5oZeu7Nkr1gnoYBF__2id7-Tv3RYYS9D1Pi7kYJsq8SfN6cdMjqOMIVJURsDzvXDpdHaF7DPpXeTdEbJ4iA79FFH25m78fDUQXj/s1600/17Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2A5gW1W7Edg-XA6KiISGsZQp4F6bmGu85QqSTs_wWz5oZeu7Nkr1gnoYBF__2id7-Tv3RYYS9D1Pi7kYJsq8SfN6cdMjqOMIVJURsDzvXDpdHaF7DPpXeTdEbJ4iA79FFH25m78fDUQXj/s640/17Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
相關使用函數如下：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Restore Origional image&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;該動作將原始影像回復，新增按鈕triggered之後在裡面編輯如下。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;void MainWindow::on_actionRestore_Origional_Image_triggered()&lt;br /&gt;
{&lt;br /&gt;&lt;span style=&quot;color: #2d4fc9;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result=image;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;/span&gt;&lt;br /&gt;
}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Flip horizontally&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;水平翻轉&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;void MainWindow::on_actionFlip_Horizontally_triggered()&lt;br /&gt;
{&lt;br /&gt;&lt;span style=&quot;color: #2d4fc9;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.flip(result,1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;/span&gt;&lt;br /&gt;
}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;Flip Upside Down&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;垂直翻轉&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;void MainWindow::on_actionFlip_Upside_Down_triggered()&lt;br /&gt;
{&lt;br /&gt;&lt;span style=&quot;color: #2d4fc9;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.flip(result,-1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;/span&gt;&lt;br /&gt;
}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;Contrast Brightness&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;亮度/對比色彩調整&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;上面水平翻轉功能，我們已經於cvcore中已經新增過了，所以不需要在新增，而Contrast Brightness在本程式中屬於位定義之函式，所以我們要在cvcore.h及cvcore.cpp中加入處裡的程式碼，其程式碼如下表所示&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #328712;&quot;&gt;&lt;b&gt;cvcore.h&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;// Contrast &amp;amp; brightness adjustment&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat contast_brightness(const cv::Mat &amp;amp;image, const double &amp;amp;alpha, const int &amp;amp;beta);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat contast_brightness(const cv::Mat &amp;amp;image);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div style=&quot;color: #222222; line-height: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #328712; font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;cvcore.cpp&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;cv::Mat CVCore::contast_brightness(const cv::Mat &amp;amp;image, const double &amp;amp;alpha, const int &amp;amp;beta) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; image.convertTo(result, -1,alpha,beta);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #328712; font-family: 微軟正黑體; font-size: small;&quot;&gt;&lt;b&gt;mainwindow.cpp&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 16px;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;void MainWindow::on_actionContrast_Brightness_triggered()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.contast_brightness(result,1.5,100);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;按照上述方式，將可以成功完成四個動作。&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: medium;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;Step7：建立Filtering menu&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;接下來再新增幾項opencv處裡影像的方式，其新增內容如下所式&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;color: black; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Filtrting -&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Sharpen&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;Customeringed Filt&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;Smoothing-&amp;gt;Homogeneous Blur&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;Gaussian Blur&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;Median Blur&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;Bilateral Filter&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Sharpen&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;銳利化影像&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #328712;&quot;&gt;&lt;b&gt;cvcore.h&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;// Sharpen image&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat sharpen(const cv::Mat &amp;amp;image);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat CVCore::sharpen(const cv::Mat &amp;amp;image) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat kern = (cv::Mat_&amp;lt;char&amp;gt;(3,3) &amp;lt;&amp;lt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,-1,0,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1, 5,-1,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,-1,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; filter2D(image, result, image.depth(), kern);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;mainwindow.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;void MainWindow::on_actionSharpen_triggered()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.sharpen(result);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Customeringed Filt&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;自行定義一個濾鏡&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.h&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;color: black; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat filtering(const cv::Mat &amp;amp;image, const cv::Mat &amp;amp;kern);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat CVCore::filtering(const cv::Mat &amp;amp;image, const cv::Mat &amp;amp;kern) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; filter2D(image, result, image.depth(), kern);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;mainwindow.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;void MainWindow::on_actionCustomeringed_Filt_triggered()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat kern =(cv::Mat_&amp;lt;char&amp;gt;(3,3)&amp;lt;&amp;lt; 0,-1,0,-1,5,-1,0,-1,0);&lt;br /&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.filtering(result,kern);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Homogeneous Blur&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;同質模糊&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.h&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;color: black; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;// Homogenous Blur Filter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat HomogenousBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat CVCore::HomogenousBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::blur(image,result,cv::Size(MaxKern,MaxKern),cv::Point(-1,-1));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;mainwindow.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;void MainWindow::on_actionHomogeneous_Blur_triggered()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.HomogenousBlur(result,5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Gaussian Blur&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;高斯模糊&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.h&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;color: black; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;// Gaussian Blur Filter&lt;br /&gt;
&amp;nbsp; &amp;nbsp;cv::Mat myGaussianBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat CVCore::myGaussianBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::GaussianBlur(image,result,cv::Size(MaxKern,MaxKern),0,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;mainwindow.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;void MainWindow::on_actionGaussian_Blur_triggered()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.myGaussianBlur(result,5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Median Blur&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;中質模糊&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #328712;&quot;&gt;&lt;b&gt;cvcore.h&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;// Median Blur Filter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat MedianBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern);&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat CVCore::MedianBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::medianBlur(image,result,MaxKern);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;mainwindow.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;void MainWindow::on_actionMedian_Blur_triggered()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.MedianBlur(result,5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;b&gt;Bilateral Filter&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: medium;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; font-size: small; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #328712;&quot;&gt;&lt;b&gt;cvcore.h&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;// Gaussian Blur Filter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat BilateralBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;cvcore.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat CVCore::BilateralBlur(const cv::Mat &amp;amp;image, const int &amp;amp;MaxKern) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::bilateralFilter(image,result,MaxKern,MaxKern*2,MaxKern/2);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #328712;&quot;&gt;mainwindow.cpp&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; font-size: large; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-family: 微軟正黑體; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;void MainWindow::on_actionBilateral_Filter_triggered()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result=IPtool.BilateralBlur(result,5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;這樣上述的影像處理步驟就已經結束了，其中每個函式中都有不同的參數，該參數之設置方式差異，將引響影像處理後的結果，因此要如何給定這些參數，將可使用horizontalSlider的方式來解決&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;filter2D&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Convolves an image with the kernel.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;filter2D&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;InputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, OutputArray&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ddepth&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, InputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;kernel&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, Point&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;anchor&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=Point(-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 34mm; margin-right: 36mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;1,-1), double&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;delta&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=0, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;borderType&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=BORDER_DEFAULT&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 1.07mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;filter2D&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, ddepth, kernel&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dst&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, anchor&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, delta&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, borderType&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;] ] ] ]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ dst&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvFilter2D&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const CvArr*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, CvArr*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, const CvMat*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;kernel&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, CvPoint&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;anchor&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=cvPoint(-1, -1)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;Filter2D&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, dst, kernel, anchor=(-1, -1)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 125mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 102mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Source image.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 13mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Destination image of the same size and the same number of channels as&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ddepth&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Desired depth of the destination image. If it is negative, it will be the same as&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 109mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src.depth()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;kernel&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Convolution kernel (or rather a correlation&amp;nbsp; kernel), a single-channel floating&amp;nbsp; point matrix. If you want to apply different kernels to different&amp;nbsp; channels, split the image into separate color planes using&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;split()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;and process them individually.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.07mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 30mm; margin-right: 9mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;anchor&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Anchor of the kernel that indicates the relative position of a filtered point within the kernel. The anchor should lie within the kernel. The special default value (-1,-1) means that the anchor is at the kernel center.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 30mm; margin-right: 27mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;delta&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Optional value added to the filtered pixels before storing them in&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;dst&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 30mm; margin-right: 20mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;borderType&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Pixel extrapolation method. See&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;borderInterpolate()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;for details.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;blur&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Smoothes an image using the normalized box filter.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 28mm; margin-right: 10mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;blur&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;InputArray&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&amp;nbsp; OutputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, Size&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ksize&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, Point&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;anchor&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=Point(-1,-1),&amp;nbsp; int&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;border- Type&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=BORDER_DEFAULT&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.91mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;blur&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, ksize&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dst&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, anchor&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, borderType&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;] ] ]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ dst&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 19mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Source image.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Destination image of the same size and type as&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ksize&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Smoothing kernel size.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 9mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;anchor&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Anchor point. The default value&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;Point(-1,-1)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;means that the anchor is at the kernel center.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 20px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 31mm; margin-top: 0mm; text-indent: 29mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;borderType&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Border mode used to extrapolate pixels outside of the image. The function&amp;nbsp; smoothes an image using the kernel:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(36).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0.44mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The call&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;blur(src, dst, ksize, anchor, borderType)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;is equivalent to&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;boxFilter(src, dst, src.type(), anchor, true,&amp;nbsp; borderType)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;boxFilter()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;bilateralFilter()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;GaussianBlur()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;medianBlur()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;GaussianBlur&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Smoothes an image using a Gaussian filter.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 42mm; margin-right: 3mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;GaussianBlur&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;InputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, OutputArray&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, Size&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ksize&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, double&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaX&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, double&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaY&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=0, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;borderType&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=BORDER_DEFAULT&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.91mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;GaussianBlur&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, ksize, sigma1&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dst&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, sigma2&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, borderType&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;] ] ]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ dst&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 102mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Source image.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 48mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Destination image of the same size and type as&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ksize&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Gaussian kernel size.&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize.width&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;and&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize.height&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;can differ but they both must be positive and odd. Or, they can be zero’s and then they are computed from&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigma&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 45mm; margin-top: 1.67mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaX&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Gaussian kernel standard deviation in X direction.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaY&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Gaussian kernel standard deviation in Y direction. If&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaY&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;is zero, it is set to be equal to&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaX&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;. If both sigmas are zeros, they are computed from&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize.width&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;and&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize.height&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, respectively.&amp;nbsp; See&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;getGaussianKernel()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;for details. To fully control the result regardless of possible future modifications of all this semantics, it is recommended to specify all of&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaX&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, and&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaY&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 20px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 8mm; margin-top: 0mm; text-indent: 29mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;borderType&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Pixel extrapolation method. See&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;borderInterpolate()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;for details. The function convolves the source image with the specified Gaussian kernel. In-place filtering&amp;nbsp; is supported.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.05mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sepFilter2D()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;filter2D()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;blur()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;boxFilter()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;bilateralFilter()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;medianBlur()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;medianBlur&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Smoothes an image using the median filter.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;medianBlur&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;InputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, OutputArray&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ksize&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.93mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;medianBlur&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, ksize&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dst&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ dst&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Source 1-, 3-, or 4-channel image. When&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;is 3 or 5, the image depth should be&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;sub&gt;CV&lt;/sub&gt;&amp;nbsp;&lt;sup&gt;_&lt;/sup&gt;&lt;sub&gt;8U , CV&lt;/sub&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;sub&gt;16U , or CV&lt;/sub&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;sub&gt;32F . For larger aperture sizes, it can only be CV&lt;/sub&gt;&amp;nbsp;&lt;sup&gt;_&lt;/sup&gt;&lt;sub&gt;8U .&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Destination array of the same size and type as&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;ksize&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Aperture linear size. It must be odd and greater than 1, for example: 3, 5, 7 ...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function&amp;nbsp; smoothes an image using the median filter with the&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;×&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;ksize&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;aperture. Each channel of a multi-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;channel image is processed independently.&amp;nbsp; In-place operation is supported.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.76mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;bilateralFilter()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;blur()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;boxFilter()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;GaussianBlur()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;bilateralFilter&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Applies the bilateral filter to an image.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 47mm; margin-right: 3mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;bilateralFilter&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;InputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, OutputArray&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;d&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, double&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaColor&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, double&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaS- pace&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;borderType&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=BORDER_DEFAULT&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.91mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;bilateralFilter&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, d, sigmaColor, sigmaSpace&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dst&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, borderType&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;] ]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ dst&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 37mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Source 8-bit or floating-point, 1-channel or 3-channel image.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 48mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Destination image of the same size and type as&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;d&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaSpace&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaColor&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Filter sigma in the color space.&amp;nbsp; A larger value of the parameter means that farther colors within the pixel neighborhood&amp;nbsp; (see&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaSpace&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;) will be mixed together, resulting in larger areas of semi-equal color.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 2mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;sigmaSpace&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Filter sigma in the coordinate space. A larger value of the parameter means that farther pixels will influence&amp;nbsp; each other as long as their colors&amp;nbsp; are close enough (see&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaColor&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;). When&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;d&amp;gt;0&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, it specifies the neighborhood size regardless of&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaSpace&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;. Otherwise,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;d&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;is proportional to&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;sigmaSpace&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 1.69mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function applies bilateral filtering to the input image, as described in&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.dai.ed.ac.uk/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html&quot;&gt;&lt;span style=&quot;color: #376f62; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;http://www.dai.ed.ac.uk/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;bilateralFilter&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;can reduce unwanted noise very well while keeping edges fairly sharp. However, it is very slow compared to most filters.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;Sigma values&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;: For simplicity, you can set the 2 sigma values to be the same. If they are small (&amp;lt; 10), the filter will not have much effect, whereas if they are large (&amp;gt; 150), they will have a very strong effect, making the image look “cartoonish”.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;Filter size&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;: Large filters (d &amp;gt; 5) are very slow, so it is recommended to use d=5 for real-time applications, and perhaps d=9 for offline&amp;nbsp; applications that need heavy noise filtering.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/5517108667603344232/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-create-menu-bar-with-qt.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/5517108667603344232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/5517108667603344232'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-create-menu-bar-with-qt.html' title='[Qt] - Create menu bar with QT'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgGgUGDkRUkqYENPrk4RXzZuPfPAC_q0DrNedyyEdWMKLtd3JNYsRMK2QW0e6-Go-oQPIlpKMuxZaeXfZGd9TJBrkzLJlyc9JlwJpt-AjEHAN_-yOe3ukj4qJ8_oK37pkrvAEVKnMLoTY1/s72-c/1Image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-461945644553765457</id><published>2012-08-06T21:23:00.000-07:00</published><updated>2012-08-06T21:23:01.591-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>[Qt] - 建立自己的class</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;border-collapse: separate; border-spacing: 0px; font-size: 21px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;建立自己的class&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;span style=&quot;color: #e30000; font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;Part 1&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;延續上一個章節，我們可以開始組自己的class程式，並將該class放置在自己建立的檔案當中，如果未還有其他程式需要用到，那就可以直接include 這個檔案，就可以再度使用這個class了。這邊假設我們要建立一個新的檔案，該檔案必須要有一個檔頭檔(.hpp)與程式碼(cpp)這兩個檔案，新增方式如下圖&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffTSQTnWd4W6CbKLSlIpboxrbDOiO4tLZWcL0vWSxMTD4vRIT8OqntGseG0ZfWCx_GlTNHaI9ESvUqdsMcO7m3jHgfMw3YB2S_OjiAA8m-3OpEbQsv7tEcIU93n6XMZlZdVBL6uMYZPni/s1600/1.Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffTSQTnWd4W6CbKLSlIpboxrbDOiO4tLZWcL0vWSxMTD4vRIT8OqntGseG0ZfWCx_GlTNHaI9ESvUqdsMcO7m3jHgfMw3YB2S_OjiAA8m-3OpEbQsv7tEcIU93n6XMZlZdVBL6uMYZPni/s400/1.Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image.png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Haders右鍵，點選Add New...，並選擇C++ ，C++ Header File，如下圖所示&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfPGLN6SOUOAjcyhs6AVUJYsscW-kJgPrRrKZtQSA_4rB1RKaqjDOqHbtCE9M64X3xC8jkQ-TtYY9qEKL0OPE0VdC02XSB4uMrKwI_3AK3HlsS7cr9e5rLj996O_gxLzHw-u4ZQhmrCaGU/s1600/2Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;348&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfPGLN6SOUOAjcyhs6AVUJYsscW-kJgPrRrKZtQSA_4rB1RKaqjDOqHbtCE9M64X3xC8jkQ-TtYY9qEKL0OPE0VdC02XSB4uMrKwI_3AK3HlsS7cr9e5rLj996O_gxLzHw-u4ZQhmrCaGU/s400/2Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(1).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Name地方輸入你要的檔頭名稱&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihMyYQmdwhFReSkEZWPvA5F6UPLVVZOYHKr6gJt_TMwKm67JzED227_vxqTsSuuMA2nV63KNSIDJCn_nrT0qquVO30oRxV88St3wAO5iM2A66C_7_TvhXZgDTSMQfy_JJsoBUus77ba7D0/s1600/3Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihMyYQmdwhFReSkEZWPvA5F6UPLVVZOYHKr6gJt_TMwKm67JzED227_vxqTsSuuMA2nV63KNSIDJCn_nrT0qquVO30oRxV88St3wAO5iM2A66C_7_TvhXZgDTSMQfy_JJsoBUus77ba7D0/s400/3Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(2).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;點選Finish結束新增&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1sEoM77cmGWGpccyeyoBopD8YfVLrnQ6hXa6eT6DNXX8vDRvyihZ5Igl8FC8kOow1_Ki0DiQDiZ7JACmu3uS-M-WIjUZH-vpfIl7YE-91PE4SVY5k5JXwOOGIY3jS70b3F78Lx3ii9lnw/s1600/4Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;268&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1sEoM77cmGWGpccyeyoBopD8YfVLrnQ6hXa6eT6DNXX8vDRvyihZ5Igl8FC8kOow1_Ki0DiQDiZ7JACmu3uS-M-WIjUZH-vpfIl7YE-91PE4SVY5k5JXwOOGIY3jS70b3F78Lx3ii9lnw/s400/4Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(3).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;回到mainwindiw.hpp檔案中，我們必須將檔投給include進來，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC-T8VZ7Q6rjdj_W3bh_YUToNW5E_zSpbGUBY0QZHMBwSpUHgbcqA4T68B8m_8fJfR_-7CzDcAuEWLAaKGaUKPyxhSrRa-_LD5usxPSGbmTMaqeom_YR2xwOwRGTKba-FnwsdnLtG5-3TG/s1600/5Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC-T8VZ7Q6rjdj_W3bh_YUToNW5E_zSpbGUBY0QZHMBwSpUHgbcqA4T68B8m_8fJfR_-7CzDcAuEWLAaKGaUKPyxhSrRa-_LD5usxPSGbmTMaqeom_YR2xwOwRGTKba-FnwsdnLtG5-3TG/s640/5Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(4).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;打開剛剛所新增的檔案cvcore.h，並開示進行檔頭編寫動作，其空白檔頭只會有下面這幾行字，我們必須在這幾行字中進行編寫。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(5).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnpYGBpimgadtwcsp2WWqtJB83Jyrad3ODpvkzeQ2egvBf_3SYxHctvefhVNPfutAa4MYNbscyhCqi1m8bgokFO8YYQxiv4rbNtj4TuJk9C7uqdAq6S3i0X5NvOAbdQAq4ldQs06_JDhuE/s1600/6Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnpYGBpimgadtwcsp2WWqtJB83Jyrad3ODpvkzeQ2egvBf_3SYxHctvefhVNPfutAa4MYNbscyhCqi1m8bgokFO8YYQxiv4rbNtj4TuJk9C7uqdAq6S3i0X5NvOAbdQAq4ldQs06_JDhuE/s400/6Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來我們新增一個最簡單的Filp應用，其相關程式如下圖所示，其中包含我們要建立的Class ，該Class名稱為CVCore。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR4FEwxop7hOKuXLx_3SeyE8ynnNsy_sN7tlwTgiunQAqdggNFZqoZK7IGly0xiUjekI5TiJrp76tOP_dX0L50zz21g37AEtsCbaQSVdTxN9MPqVw8-0tQLD4AV3aS0qvFuxv6eofC__fu/s1600/7Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;444&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR4FEwxop7hOKuXLx_3SeyE8ynnNsy_sN7tlwTgiunQAqdggNFZqoZK7IGly0xiUjekI5TiJrp76tOP_dX0L50zz21g37AEtsCbaQSVdTxN9MPqVw8-0tQLD4AV3aS0qvFuxv6eofC__fu/s640/7Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(6).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;cvcore.h&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;#ifndef CVCORE_H&lt;br /&gt;
#define CVCORE_H&lt;br /&gt;&lt;br /&gt;
#include &amp;lt;opencv2/core/core.hpp&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
#include &amp;lt;opencv2/imgproc/imgproc.hpp&amp;gt;&lt;br /&gt;&lt;br /&gt;
//建立我們自己的class 名稱為CVCore&lt;br /&gt;
class CVCore &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
{&lt;br /&gt;
//於該私有變數裡面，新增result變數，該變數屬於cv::Mat類別&lt;br /&gt;
private:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // image containing resulting image.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat result;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
public:&lt;br /&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Flip an image.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat flip(const cv::Mat &amp;amp;image);&lt;br /&gt;&lt;br /&gt;
};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
#endif // CVCORE_H&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來要加入原始碼.cpp檔案於Sources點右鍵，新增C++ Sources File檔案，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(7).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg5qLz6n1ZLGKv0aMZmA59RqRvG0P_aJ_Gw3nKInMK8QiXUGaNdwWs5D_qqzpKy371VDU3m2AXV3SmPpvJhLKskmM4hS_aTtAdKfB7KLLeFqFuiXXiiqwfvdC0FvWCnwP8QE_fqbp8Q2kA/s1600/8Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg5qLz6n1ZLGKv0aMZmA59RqRvG0P_aJ_Gw3nKInMK8QiXUGaNdwWs5D_qqzpKy371VDU3m2AXV3SmPpvJhLKskmM4hS_aTtAdKfB7KLLeFqFuiXXiiqwfvdC0FvWCnwP8QE_fqbp8Q2kA/s640/8Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;檔名為cvcore.cpp&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(8).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUo0xWUzOGRX6lGZ3esTHMSBk_WMWFWfociOYkHbC6esDXboE53BMj5mnAxnLY82wabFLTo6RMPOgufTAjeAZvBJ9rDbHghU4SPBxmyb8jYFAqTXs37EjWlfAdyd7wXFrDmPOP1UiU7gBC/s1600/9Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;268&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUo0xWUzOGRX6lGZ3esTHMSBk_WMWFWfociOYkHbC6esDXboE53BMj5mnAxnLY82wabFLTo6RMPOgufTAjeAZvBJ9rDbHghU4SPBxmyb8jYFAqTXs37EjWlfAdyd7wXFrDmPOP1UiU7gBC/s400/9Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;以下我們建立一個最簡單的flip的class，其程式碼如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheI9w3s88Wkxte_uHNa__5pgURUW2Mo77WIpIZHoDkyKvFicE98i5PtxWCzTKXwGtwBaEzNKVI5wvj8e-hRlay0kODho1y8BBfxFAQlc8rE1AhLoDqm8EzZRgsjHs12OVO8bZ4j-ORCPON/s1600/10Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;444&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheI9w3s88Wkxte_uHNa__5pgURUW2Mo77WIpIZHoDkyKvFicE98i5PtxWCzTKXwGtwBaEzNKVI5wvj8e-hRlay0kODho1y8BBfxFAQlc8rE1AhLoDqm8EzZRgsjHs12OVO8bZ4j-ORCPON/s640/10Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(9).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;#include &quot;cvcore.h&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
cv::Mat CVCore::flip(const cv::Mat &amp;amp;image) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::flip(image,result,1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;最後我們必須修改mainwindow.hpp檔案，並加入一個字定義變數來承接CVCore 這個class類別，如下圖所示，利用該方式，以後輸入IPTool，及代表CVCore物件。利用IPTool變數來代表CVCore有個好處，那就是未來程式不怎麼修改，你知需要在檔頭部分，將IPTool修改成我們要的Class類別，這樣就可以輕鬆轉換了，不需要再到程式碼裡面去進行修改。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(10).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3ThL2Xw0z_wW_gMQoaXWNKc8NL0sB9J7_qZuDs41pjfPPw7j62kgDJ4bplU4c4BOUE2c2Ae5_GEhJEbONrYAzfEn85p6tbKX9OvZTJ50RxEEWu2J03_lGq8XgdI6dYGJEixQtwHtMeBEn/s1600/11Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;444&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3ThL2Xw0z_wW_gMQoaXWNKc8NL0sB9J7_qZuDs41pjfPPw7j62kgDJ4bplU4c4BOUE2c2Ae5_GEhJEbONrYAzfEn85p6tbKX9OvZTJ50RxEEWu2J03_lGq8XgdI6dYGJEixQtwHtMeBEn/s640/11Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;當上述動作都做完之後，我們就可以開始使用我們所建立的class了，請打開mainwindow.cpp，並編輯process image按鈕動作，將該動作改成&quot;result=IPtool.flip(result);&quot;，這樣就可以簡單輕鬆使用我們的程式碼了。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(11).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5OY1ONXJlAs3pHqfcFoq6A7AnjWYi9qzjjBJuFw76q7MV_MdBnYv2K8cgx2iWlhyphenhyphens3egUKTePR_fbDBpXg4vsfOFOzQKX9uhyTnO4Lihopecx4Zwpp6t6yktuiph2liaUbxdVf9T_61AD/s1600/12Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;446&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5OY1ONXJlAs3pHqfcFoq6A7AnjWYi9qzjjBJuFw76q7MV_MdBnYv2K8cgx2iWlhyphenhyphens3egUKTePR_fbDBpXg4vsfOFOzQKX9uhyTnO4Lihopecx4Zwpp6t6yktuiph2liaUbxdVf9T_61AD/s640/12Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;Part2&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;於上述動作中，其實Flip動作中可以讓使用這自訂Flip翻轉的參數設定，那我們要怎麼在自定義變數中增加一個資料結構，並使用這個資料結構中之變數來讓Flip執行不同翻轉的動作呢?首先你必須在cvcore.h檔案中之public變數中加入該資料結構的宣告，假設我們這邊自定義一個資料結構稱之為CVCore，那你將可以利用CVCore();進行資料結構宣告，並將會使用到之變數於private中進行宣告，這邊我們宣告一個FlipCode，作為動作判斷之變數，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0nyc8ZuyQ1vrQ1VbTHMFTOvW9WIsuijzo3ImK-9hm30gZNS8INGxM3OzAjbL3tO5tg7twPCT0SgSWYAqQK3TmZMcOiEUugSZ7KMaDucCREnKJEIHEpa9ZlBkTRNxvDoMIv3YZSPbSgu-S/s1600/13Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0nyc8ZuyQ1vrQ1VbTHMFTOvW9WIsuijzo3ImK-9hm30gZNS8INGxM3OzAjbL3tO5tg7twPCT0SgSWYAqQK3TmZMcOiEUugSZ7KMaDucCREnKJEIHEpa9ZlBkTRNxvDoMIv3YZSPbSgu-S/s640/13Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(12).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來開啟cvcore.cpp檔案，並將資料結構CVCore::CVCore之相關變數輸入，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiURWS0AR93B4UQDBxbAZGMnSU0p_gtynRp_Uzz5x-eysRmK7_O-cjUPe8G8GdRR5Kx4WwiNnpbCUeXGlhnUoPjc_HNx_QQbrMVPqR5xVykE12shMgWyW3RPZSZ-HvczizplI_k3t7LE_hr/s1600/14Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiURWS0AR93B4UQDBxbAZGMnSU0p_gtynRp_Uzz5x-eysRmK7_O-cjUPe8G8GdRR5Kx4WwiNnpbCUeXGlhnUoPjc_HNx_QQbrMVPqR5xVykE12shMgWyW3RPZSZ-HvczizplI_k3t7LE_hr/s640/14Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(13).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
接下來可以加入該class，於cvcore.h中加入檔頭屬性，如下圖所示。&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(14).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZVPC-mtwMj9B4k9jPzuREG_0-CC7fOttUo_WxihzWjmhSAVjHJuKZxHVz7hUAcachbPVTmCsfaVRKBQgm-fezHGnLfL4fUvXAiMzgfgT0M89WjFZi8tOnmh_YmhxmwYhglmFjwPHJnCbF/s1600/15Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZVPC-mtwMj9B4k9jPzuREG_0-CC7fOttUo_WxihzWjmhSAVjHJuKZxHVz7hUAcachbPVTmCsfaVRKBQgm-fezHGnLfL4fUvXAiMzgfgT0M89WjFZi8tOnmh_YmhxmwYhglmFjwPHJnCbF/s640/15Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;// Flip an image with FlipCode.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat flip(const cv::Mat &amp;amp;image, const int &amp;amp;FlipCode);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
接下來可以在你的程式碼檔案中編寫該class動作了，開啟cvcore.cpp檔案，並加入程式碼如下圖所示。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHPh9f9-2sSpnqqIZtwDqUFLDe0GXhtX1Rj3IBKWCel-5f-KpdEghVXzotZ2eh9_06ej9BE2Eox9Df1qpIonKYebcswrmKW8Xf6qM8oWkG5XSUElDKu0q0up2TPXwWzJl1FXEQ1sDItAGo/s1600/16Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHPh9f9-2sSpnqqIZtwDqUFLDe0GXhtX1Rj3IBKWCel-5f-KpdEghVXzotZ2eh9_06ej9BE2Eox9Df1qpIonKYebcswrmKW8Xf6qM8oWkG5XSUElDKu0q0up2TPXwWzJl1FXEQ1sDItAGo/s640/16Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(15).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;cv::Mat CVCore::flip(const cv::Mat &amp;amp;image, const int &amp;amp;FlipCode) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::flip(image,result,FlipCode);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
程式碼都完成後，我們再新增另外一個按鈕，按鈕名稱為Button_Flip_Down，並新增按鈕動作，於程式碼中輸入上述程式指令，如下圖所示。&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(16).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW6rrnChNZ69YynEFTX7ztWujDmBxE9ddLVdNGtfY1mz_dzoJt1ZNvYmoHXO5VFy169UcxfOr0xnCyl-FN9ZAFx3Nd8Ds6bBPOL6W2jSlRl5fuNqKJ5aOMLiUs3M5GGVpS15TpSJhyphenhyphenLW-y/s1600/17Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW6rrnChNZ69YynEFTX7ztWujDmBxE9ddLVdNGtfY1mz_dzoJt1ZNvYmoHXO5VFy169UcxfOr0xnCyl-FN9ZAFx3Nd8Ds6bBPOL6W2jSlRl5fuNqKJ5aOMLiUs3M5GGVpS15TpSJhyphenhyphenLW-y/s640/17Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 16px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp; &amp;nbsp; result=IPtool.flip(result,-1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(result);&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;color: red; font-size: 21px;&quot;&gt;&lt;b&gt;結果&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-size: 21px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
原始&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs2fR8EYG9_YJp66Td_pBsRrVp4K8z6kDHL_Ab5LxY3BgX8gtAfksbqWvUygFVeZnN1xv_-UHOYiBB9zdKydKGq1YTgU9d_9hNn9G2050kXDhYcd1lHzAqElIy5F3mQ4WwH0ifEZlXRt3m/s1600/18Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;410&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs2fR8EYG9_YJp66Td_pBsRrVp4K8z6kDHL_Ab5LxY3BgX8gtAfksbqWvUygFVeZnN1xv_-UHOYiBB9zdKydKGq1YTgU9d_9hNn9G2050kXDhYcd1lHzAqElIy5F3mQ4WwH0ifEZlXRt3m/s640/18Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(17).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Flip Down&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVmp3-MwOyt8VKC2rzB8tUy1GCnUidvOJmp1cyWii-uRGeUu2x54Urb6TWVXFXkguDB9U7CpA9cqf2CGtrB0y1Rxd0U0ayj0DhPt6uFih2UO_3JE9jVAFXfiOS18S5lb7n6TcgJBpdd6Zg/s1600/19Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;410&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVmp3-MwOyt8VKC2rzB8tUy1GCnUidvOJmp1cyWii-uRGeUu2x54Urb6TWVXFXkguDB9U7CpA9cqf2CGtrB0y1Rxd0U0ayj0DhPt6uFih2UO_3JE9jVAFXfiOS18S5lb7n6TcgJBpdd6Zg/s640/19Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;img src=&quot;file:///C:/Users/Roger/AppData/Local/Temp/enhtmlclip/Image(18).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/461945644553765457/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-class.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/461945644553765457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/461945644553765457'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/08/qt-class.html' title='[Qt] - 建立自己的class'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffTSQTnWd4W6CbKLSlIpboxrbDOiO4tLZWcL0vWSxMTD4vRIT8OqntGseG0ZfWCx_GlTNHaI9ESvUqdsMcO7m3jHgfMw3YB2S_OjiAA8m-3OpEbQsv7tEcIU93n6XMZlZdVBL6uMYZPni/s72-c/1.Image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-2465442539836318170</id><published>2012-06-24T06:30:00.002-07:00</published><updated>2012-06-24T06:31:47.961-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sony Tablet S"/><category scheme="http://www.blogger.com/atom/ns#" term="Sony Xperia S"/><category scheme="http://www.blogger.com/atom/ns#" term="USB-OTG"/><title type='text'>Sony Xperia S USB OTG大挑戰</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
最近Sony Xperia S開始升級 Android ICS 4.0.4了，所以想說做一些簡單的USB OTG測試(其實之前2.3.7的版本就有了)，為什麼想要做這個測試呢?簡單來說，目前單眼相機拍照檔案都非常大，那如果出門在外好幾天，記憶卡又不夠用，又沒有攜帶筆記型電腦出門，該怎麼辦呢?所以以下做了一些測試，住要想把記憶卡裡面的資料全部複製到隨身碟(2.5吋)裡面。&lt;br /&gt;
&lt;br /&gt;
主角登場 Sony Xperia S&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj53-VfJW38kdRvs7yzkTFaODmDMzBJQNXSuyNjRAGUy3pIQkNvpyve60IVYSmGvk0xzMay9gUg1SYF3v1gvB5sclGtARHyNdSBCUiKo_ODMp_i4YQGQsbriiYfJwGpadZOJ4xaZnjfhPPU/s1600/DSC06951.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj53-VfJW38kdRvs7yzkTFaODmDMzBJQNXSuyNjRAGUy3pIQkNvpyve60IVYSmGvk0xzMay9gUg1SYF3v1gvB5sclGtARHyNdSBCUiKo_ODMp_i4YQGQsbriiYfJwGpadZOJ4xaZnjfhPPU/s320/DSC06951.JPG&quot; width=&quot;179&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
看一下目前的版本Android ICS 4.0.4 版本號碼6.1.A.0.425&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicCIb3mCeSYGqVNXrMTucPB6Nsni2o9ozyFfZZLRUIsVrbm8hEFMkI30vJUcFizYwtYEZZf7iqwhvnDVP_GN7BT7jATPfjGR4pyIeb902wRECstDGWGMVg1RWXOcQC1i5d8UVF3sBIFRVU/s1600/Screenshot_2012-06-24-19-30-22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicCIb3mCeSYGqVNXrMTucPB6Nsni2o9ozyFfZZLRUIsVrbm8hEFMkI30vJUcFizYwtYEZZf7iqwhvnDVP_GN7BT7jATPfjGR4pyIeb902wRECstDGWGMVg1RWXOcQC1i5d8UVF3sBIFRVU/s320/Screenshot_2012-06-24-19-30-22.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
首先要準備甚麼東西呢?&lt;br /&gt;
1.USB-OTG線&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhssYkdZNnYjOUEJqMOljofcYODI9H6hrxWOgAa-0rrDiVhZqkyXf5ELDBGGP1BNvrA5Kjb0q_1M6SxQ9IcwlT4OdGtvEpadLOYbjGuNHuhbjc8lmqUPl0mt7pNC1gjY8_VmIBaT9rgYzex/s1600/DSC06952.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhssYkdZNnYjOUEJqMOljofcYODI9H6hrxWOgAa-0rrDiVhZqkyXf5ELDBGGP1BNvrA5Kjb0q_1M6SxQ9IcwlT4OdGtvEpadLOYbjGuNHuhbjc8lmqUPl0mt7pNC1gjY8_VmIBaT9rgYzex/s320/DSC06952.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
2.各式USB隨身碟(USB2.0、USB3.0) SD記憶卡&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCN-R1Pr-SCdPz_MqxdTK1rHMep9xgMQ2I4cdYLjMjHjXmWINSGmD6vsHNoQ1oC1xYWyBJCmG_CKu6Tfh4Zf3QpUQeciG7UzUp7hVecffhvBJ5sSzHk4X12vOEDGWr31QW0Y5I3Im1eaeH/s1600/DSC06953.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCN-R1Pr-SCdPz_MqxdTK1rHMep9xgMQ2I4cdYLjMjHjXmWINSGmD6vsHNoQ1oC1xYWyBJCmG_CKu6Tfh4Zf3QpUQeciG7UzUp7hVecffhvBJ5sSzHk4X12vOEDGWr31QW0Y5I3Im1eaeH/s320/DSC06953.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
3.行動電源(Power BankII 5000mAh)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCgH1Iz-Jh7BaMRFm7Qt-Ch__DXS86r0hXNj-hwXOoZV8NRhkbxLUlKg_45pic1MdpBMI16HZUOoZbh7tzRRZmjvWMiUoV4JvFxzwg4x59oVxeiXjU4ZZN1RuGwP6CeOKiuLYajMeZj01Q/s1600/DSC06950.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCgH1Iz-Jh7BaMRFm7Qt-Ch__DXS86r0hXNj-hwXOoZV8NRhkbxLUlKg_45pic1MdpBMI16HZUOoZbh7tzRRZmjvWMiUoV4JvFxzwg4x59oVxeiXjU4ZZN1RuGwP6CeOKiuLYajMeZj01Q/s320/DSC06950.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
4.2.5吋外接式硬碟(VANTEC NexStar3 200GB)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTqpk7GyerCpWhjf8qD_vlG4LLhnISZ7a2KER67wzIJFIyX4hTQFgq7wQanLqSIvX-BpJFN3OP3XFITkQXxr0nEzQKxx-aJk0EV_dg8Bg6icfxWLePeB53xkZL_-MWd7UB6DWHAwePxiMb/s1600/DSC06964.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTqpk7GyerCpWhjf8qD_vlG4LLhnISZ7a2KER67wzIJFIyX4hTQFgq7wQanLqSIvX-BpJFN3OP3XFITkQXxr0nEzQKxx-aJk0EV_dg8Bg6icfxWLePeB53xkZL_-MWd7UB6DWHAwePxiMb/s320/DSC06964.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
5.各式讀卡機(USB3.0&amp;amp;USB2.0)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvLUzId_vgXj5YkqnSBaPLIycwqy_yTCsYWXgIm6LP6Hshd3sPdVIYTcqr6syA5Y7VvFHC6jGiwhNWnYlAbbC-PhkS7_wNdYAveP3t0H7NzskytvUu38lMci4OTEfnJNmOmd_yLd7rdOJg/s1600/DSC06954.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvLUzId_vgXj5YkqnSBaPLIycwqy_yTCsYWXgIm6LP6Hshd3sPdVIYTcqr6syA5Y7VvFHC6jGiwhNWnYlAbbC-PhkS7_wNdYAveP3t0H7NzskytvUu38lMci4OTEfnJNmOmd_yLd7rdOJg/s320/DSC06954.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
6.USB2.0 HUB&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv19z_vPC5TQVc1dR1AjcVD-V2lYIq-R0AH__qLQIuuYVz8RXb33Os9Lt4UFA6vrlvoxexh7aIu42trWv0XyTQv-vHNQti41iO2isMj2wm1p9rvWZ_XqMUNNYmvh0wuNlrpXFzXc0iK3Rd/s1600/DSC06958.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv19z_vPC5TQVc1dR1AjcVD-V2lYIq-R0AH__qLQIuuYVz8RXb33Os9Lt4UFA6vrlvoxexh7aIu42trWv0XyTQv-vHNQti41iO2isMj2wm1p9rvWZ_XqMUNNYmvh0wuNlrpXFzXc0iK3Rd/s320/DSC06958.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
7.HUB擴充電源線&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrI0VF5rSyTaeVkL92Dz1vgfswYwTJqWScDRkEkTHp3d1NzccLQ5JdbmnXk0-O3DIDSL1_KIdIhRSJwUWi3wSz0BgB080zRTzPVFhMLxQ4ekvLboG8yavU4TPiRpjT9JB1pgfcbD5_vLl1/s1600/DSC06948.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrI0VF5rSyTaeVkL92Dz1vgfswYwTJqWScDRkEkTHp3d1NzccLQ5JdbmnXk0-O3DIDSL1_KIdIhRSJwUWi3wSz0BgB080zRTzPVFhMLxQ4ekvLboG8yavU4TPiRpjT9JB1pgfcbD5_vLl1/s320/DSC06948.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
先說明一下，因為Android架構為Linux為基礎的系統，所以目前對NTFS檔案格式還是無法支援，所以這邊所有的隨身碟、記憶卡均為FAT32檔案格式，測試開始&lt;br /&gt;
&lt;br /&gt;
Test1.Xperia S 讀取Sony USB2.0 8G隨身碟讀取&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSwqYtMYv9TdjP_23xq41iBezVN5vdZ9yvEx_YWAOW8XsW5RhIA2QclVLfVOdfKuh4iKtF4U35pH8V2fBTFlZZhJI9EM7BwLckA6k-zYdDteL_ifk9HHh1S9RISylDRjo0bDlIJj7C4HtD/s1600/DSC06956.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSwqYtMYv9TdjP_23xq41iBezVN5vdZ9yvEx_YWAOW8XsW5RhIA2QclVLfVOdfKuh4iKtF4U35pH8V2fBTFlZZhJI9EM7BwLckA6k-zYdDteL_ifk9HHh1S9RISylDRjo0bDlIJj7C4HtD/s320/DSC06956.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
這個組合當然可以正常被讀取成功，簡單讀取裡面的內容如下&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPLdNfxt7WtBbiLiPz3bxkHyxzCWjgHwwHLb4o0DYdoGjNSqo2B0nrpPkc9RWN0B4dg5Ewhd_KNx7XYNg5x2SwBxWlMtiupuMBGCPdTJ-MUQyrrUskGIsefQ9HVa4XPp5I_ZmllqG7yUWe/s1600/Screenshot_2012-06-24-19-43-30.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPLdNfxt7WtBbiLiPz3bxkHyxzCWjgHwwHLb4o0DYdoGjNSqo2B0nrpPkc9RWN0B4dg5Ewhd_KNx7XYNg5x2SwBxWlMtiupuMBGCPdTJ-MUQyrrUskGIsefQ9HVa4XPp5I_ZmllqG7yUWe/s320/Screenshot_2012-06-24-19-43-30.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Test2.Xperia S讀取ADATA USB3.0 32GB隨身碟&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiElCRs6jY8fqKWKbkCIQsOe_MKB7pxhngCLmjXQvWynQMxrJp-W98DGwmLl3x2hka0gZmhWgsuaYYJmYh5B55U1XRicxbUGigxLljs8FMbUhj82QiW8E7YEIdvQQJNF3rwwDTgze3uGOfP/s1600/DSC06957.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiElCRs6jY8fqKWKbkCIQsOe_MKB7pxhngCLmjXQvWynQMxrJp-W98DGwmLl3x2hka0gZmhWgsuaYYJmYh5B55U1XRicxbUGigxLljs8FMbUhj82QiW8E7YEIdvQQJNF3rwwDTgze3uGOfP/s320/DSC06957.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
首先因為USB3.0的耗電量比較大，USB電力耗費錯誤的錯誤訊息，如下圖所示。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7102JkvrS40vG9LKPFWUITnxM-SmXJL2qcd4TnalyW1yDIAf_aG2Xkr-Nn8y0cNjGxBCYuJC-m3g2npoiNzPsmEpPOh_pry9zbOh7O3pczbL5iMfp0q-eInbJAvsv_xCmTphhxTcQdHcU/s1600/Screenshot_2012-06-24-19-44-18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7102JkvrS40vG9LKPFWUITnxM-SmXJL2qcd4TnalyW1yDIAf_aG2Xkr-Nn8y0cNjGxBCYuJC-m3g2npoiNzPsmEpPOh_pry9zbOh7O3pczbL5iMfp0q-eInbJAvsv_xCmTphhxTcQdHcU/s320/Screenshot_2012-06-24-19-44-18.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
遇到這個問題要如何解決呢?其實你可以使用USB 2.0HUB就可以解決電力的問題，將USB3,0向下相容於2.0，這樣就可以將電力得到解決。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSSX8ENr4C3IQkgRTt-3t4TFLg91kWnAWeaCefcmI_CyfiLcWmQ_wOAUQGxH99qzDJ0AO_d9DIAsIlNli4WTNpe8hSIHTDTldJvS-0mX_JwUuphaddEmgYuy6Eg4JYRkafpfp1FExRE3tD/s1600/DSC06959.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSSX8ENr4C3IQkgRTt-3t4TFLg91kWnAWeaCefcmI_CyfiLcWmQ_wOAUQGxH99qzDJ0AO_d9DIAsIlNli4WTNpe8hSIHTDTldJvS-0mX_JwUuphaddEmgYuy6Eg4JYRkafpfp1FExRE3tD/s320/DSC06959.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
經過上面轉接，這樣就可以正常讀取到隨身碟裡面的資料了。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgkKJENnrkBaRoIGID4jtV34PAxdxu9CEsnvCLrMHNqxtXGdn64nwaLJtK1ZzymWqHFdmBNMFphPfck8hJ2474WcMoQm9J79ReBcGn8uMeywNkyBL6Xd731K1IoXr8lWdphggPiAxYSQAp/s1600/Screenshot_2012-06-24-19-46-25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgkKJENnrkBaRoIGID4jtV34PAxdxu9CEsnvCLrMHNqxtXGdn64nwaLJtK1ZzymWqHFdmBNMFphPfck8hJ2474WcMoQm9J79ReBcGn8uMeywNkyBL6Xd731K1IoXr8lWdphggPiAxYSQAp/s320/Screenshot_2012-06-24-19-46-25.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Test3.多台讀卡機測試&lt;br /&gt;
1.Transcend USB3.0讀卡機測試(記憶卡使用Transcend SDHC C10 32G、&lt;span style=&quot;background-color: white;&quot;&gt;Transcend SDHC C10 16G、Sony SDHC C4 16G、TOSHIBA SDHC C6 16G)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlqshmH0BSG230qZQBVoFzaJs-Ae8dtDqsxA6kRoWRF0Fg6-ZOOTTTd-oQTCtMwtnLYXeClrjz652fJ6g0gl4vaVxf7PW1ZP_f0SlBFcOxiFVRXZrS87l2efvlnvhMWc-SKpQu8SSSNbf1/s1600/DSC06960.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlqshmH0BSG230qZQBVoFzaJs-Ae8dtDqsxA6kRoWRF0Fg6-ZOOTTTd-oQTCtMwtnLYXeClrjz652fJ6g0gl4vaVxf7PW1ZP_f0SlBFcOxiFVRXZrS87l2efvlnvhMWc-SKpQu8SSSNbf1/s320/DSC06960.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
測試結果失敗，均無法順利被讀取，他會出現USB儲存裝置已損壞。點選他可以進行格式化，但是格式化完成後還是無法使用。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyaf1YLoqBbXm61o_-KYda4tqFaiCeEK6GmcKzlOhyphenhyphen5C1MYAu-p2ysAdXTDY6iab2LL2sa5DvBN_cbrF9iaEsXR63XNaQL4Fu_3V0WnVantbRvl4UDCCIIgseDskW6vrTuolksIkrxCHWI/s1600/Screenshot_2012-06-24-19-49-15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyaf1YLoqBbXm61o_-KYda4tqFaiCeEK6GmcKzlOhyphenhyphen5C1MYAu-p2ysAdXTDY6iab2LL2sa5DvBN_cbrF9iaEsXR63XNaQL4Fu_3V0WnVantbRvl4UDCCIIgseDskW6vrTuolksIkrxCHWI/s320/Screenshot_2012-06-24-19-49-15.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2.ADR-18U2BL USB2.0 8in1讀卡機&lt;span style=&quot;background-color: white;&quot;&gt;(記憶卡使用Transcend SDHC C10 32G、&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Transcend SDHC C10 16G、Sony SDHC C4 16G、TOSHIBA SDHC C6 16G)&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsh86ucQ975OgQb3e5qdXO8mAZ85fOKHlr80tLPrGtjH1PQNEsvGsPfACICvRRm_vMbKC2ff8_-9eEWWAnp1LFxQerar_abz7izV8IxZh7X0EiKnIc-O4KZIkZtM7kQniYMEmknm1uCXuF/s1600/DSC06961.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsh86ucQ975OgQb3e5qdXO8mAZ85fOKHlr80tLPrGtjH1PQNEsvGsPfACICvRRm_vMbKC2ff8_-9eEWWAnp1LFxQerar_abz7izV8IxZh7X0EiKnIc-O4KZIkZtM7kQniYMEmknm1uCXuF/s320/DSC06961.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
測試結果依然失敗，錯誤訊息跟上面出現的相同&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpVuUQ-FLHJnK-gaGShLvebxc40Onpa16FPEfXFoElpXE7n-mrkshDhz4Q9QRw9oktwfCEQ_z52J1umSiG-R5GdzjdBoYWaBqI__sahFjUsvZUOZiqKT1Vwze1pOQELmd_Q2SERldH4TYU/s1600/Screenshot_2012-06-24-19-50-48.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpVuUQ-FLHJnK-gaGShLvebxc40Onpa16FPEfXFoElpXE7n-mrkshDhz4Q9QRw9oktwfCEQ_z52J1umSiG-R5GdzjdBoYWaBqI__sahFjUsvZUOZiqKT1Vwze1pOQELmd_Q2SERldH4TYU/s320/Screenshot_2012-06-24-19-50-48.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
3.EasyATM口袋機 晶片多合一讀卡機(USB2.0)&lt;span style=&quot;background-color: white;&quot;&gt;(記憶卡使用Transcend SDHC C10 32G、&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Transcend SDHC C10 16G、Sony SDHC C4 16G、TOSHIBA SDHC C6 16G)&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix9OmKl03dVDvYSt65fCwDE082kHuMJQs9vDsukGUj8NCMX_HONFZSAdsaFW1SBeP9jdJByttUpWDI7erym7G6ufGfNGATe0JN2H0q5kR0tuCCP4Z7pptLFPxsy-XsbLNiOEGYPxVg9bl-/s1600/DSC06962.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix9OmKl03dVDvYSt65fCwDE082kHuMJQs9vDsukGUj8NCMX_HONFZSAdsaFW1SBeP9jdJByttUpWDI7erym7G6ufGfNGATe0JN2H0q5kR0tuCCP4Z7pptLFPxsy-XsbLNiOEGYPxVg9bl-/s320/DSC06962.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
這台讀卡機終於可以被讀取到了&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirS7bOE8Tb9IkvzfSiO4AUd1s9QCyJ-2AjRF69CBUdgb-_8TsrTluWygCHf8QJCHF2PZ-vb5GYF-qVNgi2Q0Wn8yeXutVaBJQQVVH3CKGz6Ghty3hRLq1Gk5RcLQclOrBIwSrWhcXEDkGq/s1600/Screenshot_2012-06-24-19-51-14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirS7bOE8Tb9IkvzfSiO4AUd1s9QCyJ-2AjRF69CBUdgb-_8TsrTluWygCHf8QJCHF2PZ-vb5GYF-qVNgi2Q0Wn8yeXutVaBJQQVVH3CKGz6Ghty3hRLq1Gk5RcLQclOrBIwSrWhcXEDkGq/s320/Screenshot_2012-06-24-19-51-14.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
測試了三台讀卡機，目前只有這台可以正常被使用。&lt;br /&gt;
&lt;br /&gt;
Test4.USB 2.0 2.5吋外接式隨身碟&lt;br /&gt;
使用這類型的隨身碟，最大的問題就是手機無法提供足夠的電量讓硬碟運作，所以要借助行動電源，並使用USB2.0電源線，讓USB HUB有足夠的電力。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-oFa-vIxKc3b7GjtNVsokCMpc7YfHKeMZY1Tu-773kl-kV_SwhPqvA53RC9_5J1q5Nez_WN6GT7zjCIP1OqEwQ_IbeJaEv0T95PXskcGI_Xdaft1sE5cAwiYTJvS22zkLjdBwyVD9yizS/s1600/DSC06965.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-oFa-vIxKc3b7GjtNVsokCMpc7YfHKeMZY1Tu-773kl-kV_SwhPqvA53RC9_5J1q5Nez_WN6GT7zjCIP1OqEwQ_IbeJaEv0T95PXskcGI_Xdaft1sE5cAwiYTJvS22zkLjdBwyVD9yizS/s320/DSC06965.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
畫面有點混亂，簡單來說接法語讀卡機相同，但唯一不同的地方就是增加了一條HUB電源線，並連接至行動電源上，而隨身碟必須使用雙頭USB接頭的線，將其中一條線插上HUB上，另外一端接到行動電源上面，這樣就可以順利被讀取到了。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguTIvbYbX9BlkkUg4Zkas9vTRC3FV_EDOOuihg9yPWpePycI8c8Kma1xb34kzuBB-p5v3NrVGOpsuqnmFWAs_b_lnvDzsWCr89mb-Y4Ac9D69Z-IrjeytUWEoTkvL1hg4fruoZuQydbs2B/s1600/Screenshot_2012-06-24-19-58-32.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguTIvbYbX9BlkkUg4Zkas9vTRC3FV_EDOOuihg9yPWpePycI8c8Kma1xb34kzuBB-p5v3NrVGOpsuqnmFWAs_b_lnvDzsWCr89mb-Y4Ac9D69Z-IrjeytUWEoTkvL1hg4fruoZuQydbs2B/s320/Screenshot_2012-06-24-19-58-32.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Test5.於HUB上面接上多顆USB隨身碟，這次主要要測試如果用讀卡機，並接上USB隨身碟，在Xperia S上到底可不可以支援多顆外接裝置，如下圖所示。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhQs2lqMd8zrjcKhqf_yfwsQSzGWqasFzU1oTF7oQtcH9OSaJOaeM6z4JBxhExRrckYQG-51-PwLdNbYO3mlqPrdziiQvAH1iOuhSWvqclRLXEZohPoAniDLx0pS6-nYIY0NG5G5dUsKbN/s1600/DSC06966.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhQs2lqMd8zrjcKhqf_yfwsQSzGWqasFzU1oTF7oQtcH9OSaJOaeM6z4JBxhExRrckYQG-51-PwLdNbYO3mlqPrdziiQvAH1iOuhSWvqclRLXEZohPoAniDLx0pS6-nYIY0NG5G5dUsKbN/s320/DSC06966.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
結果無論怎麼測試，Xperia S只可以讀取到第一顆插上去的外接裝置，第二顆是無法被加入的，因此如果要進行備份的工作，必須將檔案複製到手機裡面，再由手機複製出來。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisMW6l3FIsDhqKsJJZfsfUpAaEgqZZ-IIt6mrCwEHehM2xCtaaiJZ7O53FxxRISy3RuRdu3tSsa-k29zFcbz5YQtc-sQXNeJzdFUz1k4Sb1NXa3PR2GrI1s79ETV5-o5JY84CnCPqmNtyL/s1600/Screenshot_2012-06-24-19-59-37.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisMW6l3FIsDhqKsJJZfsfUpAaEgqZZ-IIt6mrCwEHehM2xCtaaiJZ7O53FxxRISy3RuRdu3tSsa-k29zFcbz5YQtc-sQXNeJzdFUz1k4Sb1NXa3PR2GrI1s79ETV5-o5JY84CnCPqmNtyL/s320/Screenshot_2012-06-24-19-59-37.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
所以上述實驗主要想知道USB-OTG到底可不可以讓我不需要攜帶筆記型電腦出門呢?結論是可以的，但是無法同時支援多顆USB裝置，這樣要先複製到手機再複製出來有些麻煩，接下來做最後的測試，那就是Sony的平板電腦 Sony Tablet S 32G Wifi版。&lt;br /&gt;
&lt;br /&gt;
Test6.Sony Tablet S USB-OTG測試，在這邊的測試我就不多做一一貼圖的動作了，簡單做個結論，Sony Tablet S 可以直接接上Usb 2,0的隨身碟，USB3,0也是可以，且不需透過USB HUB來進行向下相容，且上面所測試無法讀取的兩台讀卡機，在它上面卻都可以正常被讀取，最終我將所有USB隨身碟都給接上去，包含2.5吋隨身碟、USB3.0、USB 2.0隨身碟及讀卡機，如下圖所示。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigwXsEFuiLK_Oz0GJLHgddMJCjytOXw9fxuNSf6cXsuOlbUbX6HF98lSqpbqtf8W_bd4k9RxdLhaP-hqKOH9o_tx_8sotdePSoWvYby8TnZ4SLl4JKaj6JFki_sYpVCjgPJAORz4unc0R1/s1600/DSC06967.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigwXsEFuiLK_Oz0GJLHgddMJCjytOXw9fxuNSf6cXsuOlbUbX6HF98lSqpbqtf8W_bd4k9RxdLhaP-hqKOH9o_tx_8sotdePSoWvYby8TnZ4SLl4JKaj6JFki_sYpVCjgPJAORz4unc0R1/s320/DSC06967.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDsLEcLjNQ___QU7v1fvwlSRguxD7UHH7YekhhRciZlDpNkv43qgAdYh6rwy6PSUjbItn2t48JDnB9mtRWywejpDbMcHvcCLOaJQTGiL4d1BQ1zEFZj9fARnpypWTObERJuCL8SiSvkSyG/s1600/DSC06968.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDsLEcLjNQ___QU7v1fvwlSRguxD7UHH7YekhhRciZlDpNkv43qgAdYh6rwy6PSUjbItn2t48JDnB9mtRWywejpDbMcHvcCLOaJQTGiL4d1BQ1zEFZj9fARnpypWTObERJuCL8SiSvkSyG/s320/DSC06968.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
結果出來了，證明Sony Tablet S可以讀取多個外接裝置，並且可以在這些外接裝置上進行複製等檔案操作。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3h0I69lxwRoKXaDSQAVmfhD5oqpWRdeag5yhydN7hyphenhyphenzn0BTkyPzl33IHKcBKmZLqIbi9Jt60ud7nEH3bIolo8rdmncbXub_M11j5RFpZJwfkfQU__PxQzbP66sr12ubjMTIROb45CO2CY/s1600/Screenshot_2012-06-24-20-04-46.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3h0I69lxwRoKXaDSQAVmfhD5oqpWRdeag5yhydN7hyphenhyphenzn0BTkyPzl33IHKcBKmZLqIbi9Jt60ud7nEH3bIolo8rdmncbXub_M11j5RFpZJwfkfQU__PxQzbP66sr12ubjMTIROb45CO2CY/s320/Screenshot_2012-06-24-20-04-46.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
做個小結論，Android手機或是平板電腦，只有有USB-OTG功能，簡單來講應該都支援外接的USB隨身碟裝置，而本次測試主要要了解這些外接的隨身碟或讀卡機要如何在此平台上正常運作，最終手機還是手機，它可以做最簡單的單一外接裝置讀取，如果真的要複製檔案，我覺得Sony Tablet S可以讓我們免去攜帶厚重的筆記型電腦出門的這個問題。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/2465442539836318170/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/06/sony-xperia-s-usb-otg.html#comment-form' title='3 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/2465442539836318170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/2465442539836318170'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/06/sony-xperia-s-usb-otg.html' title='Sony Xperia S USB OTG大挑戰'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj53-VfJW38kdRvs7yzkTFaODmDMzBJQNXSuyNjRAGUy3pIQkNvpyve60IVYSmGvk0xzMay9gUg1SYF3v1gvB5sclGtARHyNdSBCUiKo_ODMp_i4YQGQsbriiYfJwGpadZOJ4xaZnjfhPPU/s72-c/DSC06951.JPG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-6805004546329930351</id><published>2012-05-13T07:37:00.001-07:00</published><updated>2012-05-13T07:38:41.475-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>[Qt] - Creating a CUI application using Qt</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=8148923058404809644&quot; name=&quot;1001&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Tahoma; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;-webkit-line-break: after-white-space; -webkit-nbsp-mode: space; word-wrap: break-word;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;在第一篇教學中，已經簡單介紹如何使用QT如何建立一個簡單的OpenCV應用程式了，本範例將介紹如何使用QT GUI建立OpenCV應用程式。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step1：&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;首先一樣開啟QT Creator軟體介面，如下圖所示，並點選Create Project按鈕。&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbKVgMG_BYKbTzYrB0m-GISqcEqvbFzFEYAWm5GM0lgsJk4bLSLEifZ0ak4fkwUXz8WDQ75jr3tOtbcnf7v5B6Z5sveeyl1xYrQGQaGRpHbdgGBcukjcMg2vfKSeXmhyF-3FXMeXStH828/s1600/Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbKVgMG_BYKbTzYrB0m-GISqcEqvbFzFEYAWm5GM0lgsJk4bLSLEifZ0ak4fkwUXz8WDQ75jr3tOtbcnf7v5B6Z5sveeyl1xYrQGQaGRpHbdgGBcukjcMg2vfKSeXmhyF-3FXMeXStH828/s1600/Image.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step2：&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;點選建立Qt C++ Project，並點選QT Gui Application，選取完畢之後點選choose，進行建立，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcIjFPZYQvv4QnIGQxzpi8lBQufzPg4Srw9goiAPXh7XuLM1svEdoMYaLguZ22P4BpwuHSgMeYWCdiP0zeiTh74ip_nBWcAtPIr5lE_2tq4_m3Sduy8hcEZB5vtsuhq9Ku3l7pwzocYwN2/s1600/Image+%5B1%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcIjFPZYQvv4QnIGQxzpi8lBQufzPg4Srw9goiAPXh7XuLM1svEdoMYaLguZ22P4BpwuHSgMeYWCdiP0zeiTh74ip_nBWcAtPIr5lE_2tq4_m3Sduy8hcEZB5vtsuhq9Ku3l7pwzocYwN2/s1600/Image+%5B1%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step3：建立專案&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;建立專案可以使用自己喜歡之名稱，並如下圖方式輸入。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLF9XUT9zxjrudZgycdcWRRYgy9PvOiu_bF7OYjGIXvp2TnuleptO8F5f58zcNW-lOZziIeaPrUzoYLUGghem5_4UxAFxLSz50dajr3cyn3QHUxoZv6HlfFqlrQRcQsBb0SRS9HIfMjNvL/s1600/Image+%5B2%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLF9XUT9zxjrudZgycdcWRRYgy9PvOiu_bF7OYjGIXvp2TnuleptO8F5f58zcNW-lOZziIeaPrUzoYLUGghem5_4UxAFxLSz50dajr3cyn3QHUxoZv6HlfFqlrQRcQsBb0SRS9HIfMjNvL/s1600/Image+%5B2%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;補充說明:目前QT的資料管理方式為debug或是release資料夾必須與src平行，不得放於src資料夾當中，所以我們要建立一個資料夾，其中包含src、release、Debug。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Name：&amp;nbsp;QT_GUI_opencv&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Create in ：/home/trong/QT/QT_GUI_opencv&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Src位於 ：/home/trong/QT/QT_GUI_opencv/QT_GUI_opencv&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;release資料夾：/home/trong/QT/QT_GUI_opencv/QT_GUI_opencv_release&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;debug資料夾：/home/trong/QT/QT_GUI_opencv/QT_GUI_opencv_debug&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;如下圖所示:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2fVC0HD2Viz6EPatIT1cesK9A5PTFGOU6JrOONML1R7RoAp3WQ_SCr76YKLGYwq-pXYCi5qcOc7SDtbg-oNFDTDXiYrgIQsW0su3sMZqaGi5trXNVEhE4OT-Qlo9SNdcLyCS8bAe6wqEF/s1600/Image+%5B3%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2fVC0HD2Viz6EPatIT1cesK9A5PTFGOU6JrOONML1R7RoAp3WQ_SCr76YKLGYwq-pXYCi5qcOc7SDtbg-oNFDTDXiYrgIQsW0su3sMZqaGi5trXNVEhE4OT-Qlo9SNdcLyCS8bAe6wqEF/s1600/Image+%5B3%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;可自行輸入Class name及相關檔頭名稱&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTZa2RIo4yclSrIswQ9dmaA0GGzvgNvG32bo9tYt1OwsS4n7Zr0R3TG4muqMLcCFc-g3I3mw123lSHkSp7KK-Zx2BWu5sjO391sdlqZ1eos9uZ1M8WsiygJRnvhDzWOwNHqMgUFenRve60/s1600/Image+%5B4%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTZa2RIo4yclSrIswQ9dmaA0GGzvgNvG32bo9tYt1OwsS4n7Zr0R3TG4muqMLcCFc-g3I3mw123lSHkSp7KK-Zx2BWu5sjO391sdlqZ1eos9uZ1M8WsiygJRnvhDzWOwNHqMgUFenRve60/s1600/Image+%5B4%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;最後可管理該專案相關位置與設定，如下圖。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcocPEjQ_L6eDtSFKGYUUfFSRmx58I6VFHMSDwRAPtvWUej7eCRlBrlKgLwkUl9_P9tAy6A-b-2_sboVEOcmp5uDiZlhg5Ug2M55COXmvZ5bRRvTP-8XeqgrlYp4S4tTph5clHL5sxIN6h/s1600/Image+%5B5%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcocPEjQ_L6eDtSFKGYUUfFSRmx58I6VFHMSDwRAPtvWUej7eCRlBrlKgLwkUl9_P9tAy6A-b-2_sboVEOcmp5uDiZlhg5Ug2M55COXmvZ5bRRvTP-8XeqgrlYp4S4tTph5clHL5sxIN6h/s1600/Image+%5B5%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 21px;&quot;&gt;Step4：建立GUI介面&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 16px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;當建立好專案之後，其畫面如下圖所示，你可使用左手編織相關ui元件進行UI建立。&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7Iy51-dS5hkmLc7EaNRMzIWAlEx3rJ1xnuPSRZEG9JXMD7YrM23Csh1zxsOkufDLDWjlBIO_JFnSkkAjVIkBBACbxKaS8AHJEBygtppcHCrrLFTfSP2M73rKJaFbokrzlsiPLNiD-RP40/s1600/Image+%5B6%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7Iy51-dS5hkmLc7EaNRMzIWAlEx3rJ1xnuPSRZEG9JXMD7YrM23Csh1zxsOkufDLDWjlBIO_JFnSkkAjVIkBBACbxKaS8AHJEBygtppcHCrrLFTfSP2M73rKJaFbokrzlsiPLNiD-RP40/s1600/Image+%5B6%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;首先我們必須加入OpenCV相關include設定，方法與第一章相同，如下圖所示&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxH2n6RhVWQrgB5fNxgEilSbJVDK1IzHIaJlAktmYy1l2FWkeYnkuex3AQK4_Pha36Q6DKcgewccWVUrW-G4CrsJCbu8uBYLWTAvPIRiWI_nQ3hMvZw_06PsrRg0j2-rS3yUbEVwfhaB14/s1600/Image+%5B7%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxH2n6RhVWQrgB5fNxgEilSbJVDK1IzHIaJlAktmYy1l2FWkeYnkuex3AQK4_Pha36Q6DKcgewccWVUrW-G4CrsJCbu8uBYLWTAvPIRiWI_nQ3hMvZw_06PsrRg0j2-rS3yUbEVwfhaB14/s1600/Image+%5B7%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;CONFIG += link_pkgconfig&lt;br clear=&quot;none&quot; /&gt;PKGCONFIG += opencv&lt;br clear=&quot;none&quot; /&gt;INCLUDEPATH += /usr/local/opencv/include&lt;br clear=&quot;none&quot; /&gt;LIBS += -L/usr/local/opencv/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann -lopencv_gpu&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;建立最簡單的方式PushButton按鈕，如下圖所示，可於PushButton中，拖拉的方式將PushButton拉至Dialog上，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgul80jZPngoxsz9H8-B5h4SoA8u9UUMfEvny4vum8z7NYrZJ8QGR8yVNM1XeBTyJbGC9wFg5mVGX8-YHWflACuyyVsO_xZ-7779k9uMX6iigFTIRxPNZanRdkoXT7qwtanybtcI9OOuzb2/s1600/Image+%5B8%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgul80jZPngoxsz9H8-B5h4SoA8u9UUMfEvny4vum8z7NYrZJ8QGR8yVNM1XeBTyJbGC9wFg5mVGX8-YHWflACuyyVsO_xZ-7779k9uMX6iigFTIRxPNZanRdkoXT7qwtanybtcI9OOuzb2/s1600/Image+%5B8%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;欲修改Button名稱，可點擊Button兩下，進入編輯畫面&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdY4PBaSQdSIziTMYhj8wiRJErPJmB5w7GVR1GOombj8FnJ3Ii7bXGQ-pHTo45IdQktLbU05pBIf6Yt65zwCthk-LJXUUv1rwzavHEcCT3O3TNSxNoqJvWO4sixm54Sb8bSp64mFvee6-H/s1600/Image+%5B9%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdY4PBaSQdSIziTMYhj8wiRJErPJmB5w7GVR1GOombj8FnJ3Ii7bXGQ-pHTo45IdQktLbU05pBIf6Yt65zwCthk-LJXUUv1rwzavHEcCT3O3TNSxNoqJvWO4sixm54Sb8bSp64mFvee6-H/s1600/Image+%5B9%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;編輯後畫面如下圖所示&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh64j2C1JCXlc1sQHX1b91yBO1iJn6eEzU87EC42jk8iBKEMpUl0GLJogsUP2CqAMEGV3O0eTc_zSCuuqbQedZV1qbiA138LI3ygz9m5CxUfQZHfde2coOMT90eU4WmylzOmWDKC4YXympt/s1600/Image+%5B10%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh64j2C1JCXlc1sQHX1b91yBO1iJn6eEzU87EC42jk8iBKEMpUl0GLJogsUP2CqAMEGV3O0eTc_zSCuuqbQedZV1qbiA138LI3ygz9m5CxUfQZHfde2coOMT90eU4WmylzOmWDKC4YXympt/s1600/Image+%5B10%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;每個PushButton均有一個ObjectName，你可透過下圖方式進行變更。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgftNx0D-YRnB8NGyOfbQoQSihK9NIs_pFU6izpLK-C8vSlSqk02d3HmGDh91Vlp7qQr9U1O_aykdu2cSDpgmUQA7pM6tWaHpeypa1DUB7qcYUY54N_4us5wxVze-R547CcTLlM7-8Pg9OG/s1600/Image+%5B11%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgftNx0D-YRnB8NGyOfbQoQSihK9NIs_pFU6izpLK-C8vSlSqk02d3HmGDh91Vlp7qQr9U1O_aykdu2cSDpgmUQA7pM6tWaHpeypa1DUB7qcYUY54N_4us5wxVze-R547CcTLlM7-8Pg9OG/s1600/Image+%5B11%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;當編輯完畢之後你會發現在Mainwindow下之centralWidget中之兩個名稱也已經更改了。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY3g7pZ83XLdZ0YG_t__1QoeDfDlZogxdJXLa4ZRe0EOzurFG3vauTyx2RxmubyPGH6GFNYC0QFKdz1jF7WJhi9WqmFDi0mhcXP9d2K6ZF0f6YSoTTn_Z5dfLowZOwlnt-qBtaJWDrlV5i/s1600/Image+%5B12%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY3g7pZ83XLdZ0YG_t__1QoeDfDlZogxdJXLa4ZRe0EOzurFG3vauTyx2RxmubyPGH6GFNYC0QFKdz1jF7WJhi9WqmFDi0mhcXP9d2K6ZF0f6YSoTTn_Z5dfLowZOwlnt-qBtaJWDrlV5i/s1600/Image+%5B12%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;接下來要加入按鍵點擊之動作，點選Button並點選右鍵開啟選單，並點選Go to slot進行程式碼編輯。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj26ZFUxjhgOlfw-UKSleD-uhJHaGJVejBQxiuEwab6gKXHIk36KcgqvGpabCrzm3Je78gnIn0hlxs1qSNVJqyK7RiBRbdBLLodSdk_-owS5P_Rd1w0vlzigMFB7LUsCw8GfZlto-b7xyPJ/s1600/Image+%5B13%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj26ZFUxjhgOlfw-UKSleD-uhJHaGJVejBQxiuEwab6gKXHIk36KcgqvGpabCrzm3Je78gnIn0hlxs1qSNVJqyK7RiBRbdBLLodSdk_-owS5P_Rd1w0vlzigMFB7LUsCw8GfZlto-b7xyPJ/s1600/Image+%5B13%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;要新增點擊動作，請點選Clicked並點選OK進行新增。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzA_aSEIfE42Gyn4NhWCtDl9jnrOCmDMBswyS3WQN8yFp_uo_UHnUItuk1s_vS4P5XBNlf1FCYVIQUTwNS_cHx5fsahOWe3bjPbOejTJfOnfOS43nlrDXkCPsex3SKgVRf9pIxffluNM8K/s1600/Image+%5B14%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzA_aSEIfE42Gyn4NhWCtDl9jnrOCmDMBswyS3WQN8yFp_uo_UHnUItuk1s_vS4P5XBNlf1FCYVIQUTwNS_cHx5fsahOWe3bjPbOejTJfOnfOS43nlrDXkCPsex3SKgVRf9pIxffluNM8K/s1600/Image+%5B14%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;開啟後畫面如下圖所示，你將可在Clicked()進行程式碼編輯，於該區域編輯之程式碼將於點即時開啟。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCZbOwDG0fkUwEa_xjmm-e4lug2xI0jpSxbdH85tpcgR_Qi3zk_b6f_wZfXcdfEu_Vi84FEB63XOKvJLEUvhuPJ8OyW1G8lnOuGCT2WK7crznNAJD0VRlH54jNegAbZGDRx4mndxbxXyQ/s1600/Image+%5B15%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCZbOwDG0fkUwEa_xjmm-e4lug2xI0jpSxbdH85tpcgR_Qi3zk_b6f_wZfXcdfEu_Vi84FEB63XOKvJLEUvhuPJ8OyW1G8lnOuGCT2WK7crznNAJD0VRlH54jNegAbZGDRx4mndxbxXyQ/s1600/Image+%5B15%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;請再點選mainwindow.hpp進行Opencv加入，及相關函數設定，新增項目如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqH9LOCf6GHfyVghonHEbz8Z-ffQVTi3mm2BXP3sEq6zCdNtHTlFyrcPWny3qchiRAzMg4MsibTGG4k12XGJ4T-1zDkvpmAR0ioiNunOgqh145D_a17JtYbnlAkdQ1XOTovtHhTRYSldhi/s1600/Image+%5B16%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqH9LOCf6GHfyVghonHEbz8Z-ffQVTi3mm2BXP3sEq6zCdNtHTlFyrcPWny3qchiRAzMg4MsibTGG4k12XGJ4T-1zDkvpmAR0ioiNunOgqh145D_a17JtYbnlAkdQ1XOTovtHhTRYSldhi/s1600/Image+%5B16%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#ifndef MAINWINDOW_HPP&lt;br clear=&quot;none&quot; /&gt;#define MAINWINDOW_HPP&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#include &amp;lt;QMainWindow&amp;gt;&lt;br clear=&quot;none&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;#include &amp;lt;QFileDialog&amp;gt;&lt;/span&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;#include &amp;lt;opencv2/core/core.hpp&amp;gt;&lt;/span&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;#include &amp;lt;opencv2/highgui/highgui.hpp&amp;gt;&lt;/span&gt;&lt;br clear=&quot;none&quot; /&gt;namespace Ui {&lt;br clear=&quot;none&quot; /&gt;class MainWindow;&lt;br clear=&quot;none&quot; /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;class MainWindow : public QMainWindow&lt;br clear=&quot;none&quot; /&gt;{&lt;br clear=&quot;none&quot; /&gt;Q_OBJECT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;public:&lt;br clear=&quot;none&quot; /&gt;explicit MainWindow(QWidget *parent = 0);&lt;br clear=&quot;none&quot; /&gt;~MainWindow();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;private:&lt;br clear=&quot;none&quot; /&gt;Ui::MainWindow *ui;&lt;br clear=&quot;none&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;cv::Mat image;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;private slots:&lt;br clear=&quot;none&quot; /&gt;void on_Button_process_clicked();&lt;br clear=&quot;none&quot; /&gt;void on_Button_Open_image_clicked();&lt;br clear=&quot;none&quot; /&gt;};&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#endif // MAINWINDOW_HPP&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;當加入Opencv相關hpp檔案之後，請再開啟mainwindow.cpp檔案，並於click按鈕屬性中加入下圖之程式碼。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYuyu9_LXjpjhyphenhyphenqfBZEvORxb6MELWmj6qlbmLO1Yj0_ect1lQhe4D4H5W09Tn0uzCZ9Cw_n6GS3pwfiO-ONs-dTrpdCZjoaoEQQ1SCIU_gO0cawfIW5UnAzq8qXUqxSWf2sKbUhXJ6c_US/s1600/Image+%5B17%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYuyu9_LXjpjhyphenhyphenqfBZEvORxb6MELWmj6qlbmLO1Yj0_ect1lQhe4D4H5W09Tn0uzCZ9Cw_n6GS3pwfiO-ONs-dTrpdCZjoaoEQQ1SCIU_gO0cawfIW5UnAzq8qXUqxSWf2sKbUhXJ6c_US/s1600/Image+%5B17%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QString fileName = QFileDialog::getOpenFileName(this,tr(&quot;Open Image&quot;),&quot;.&quot;,tr(&quot;Image File (*.png *.jpge *.jpg *.bmp&quot;));&lt;br clear=&quot;none&quot; /&gt;image = cv::imread(fileName.toAscii().data());&lt;br clear=&quot;none&quot; /&gt;cv::namedWindow(&quot;Original Image&quot;);&lt;br clear=&quot;none&quot; /&gt;cv::imshow(&quot;Original Image&quot;, image);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;再度加入Process按鈕動作。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiKe78TO0lGMFw-BxhNTvW4NPa9qluTXoXPEi8xKFRnFRH1b6FtpjHq587kh007s625koQf9sBbhOsUm4BI8B9wn9C-9nHMdCGJBir8iHivLkE3LScCpU-fluQOnxhkoCkeLrCsBHHZal9/s1600/Image+%5B18%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiKe78TO0lGMFw-BxhNTvW4NPa9qluTXoXPEi8xKFRnFRH1b6FtpjHq587kh007s625koQf9sBbhOsUm4BI8B9wn9C-9nHMdCGJBir8iHivLkE3LScCpU-fluQOnxhkoCkeLrCsBHHZal9/s1600/Image+%5B18%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;其相關處裡程式碼如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR90JCkIF_oFh_rli6EO6OLgRxOKX2h6QF-py8isYDkZG823qQ46JRpTjX00OHOEdzhiROfesqlXZVXdvz9Cywq8I-xG1dLj8VkyGsblHCVGUI-4ZWU54HfA4q30SOBxjiiLD9re5uYjGU/s1600/Image+%5B19%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR90JCkIF_oFh_rli6EO6OLgRxOKX2h6QF-py8isYDkZG823qQ46JRpTjX00OHOEdzhiROfesqlXZVXdvz9Cywq8I-xG1dLj8VkyGsblHCVGUI-4ZWU54HfA4q30SOBxjiiLD9re5uYjGU/s1600/Image+%5B19%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 30px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;cv::flip(image,image,1);&lt;br clear=&quot;none&quot; /&gt;cv::namedWindow(&quot;Outout Image&quot;);&lt;br clear=&quot;none&quot; /&gt;cv::imshow(&quot;Output Image&quot;,image);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;當確認無誤之後將可進行編譯動作，請點選下圖Debug按鈕進行編譯。&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZgEJXgZO5skYx7AkFHZA4sx1vC5ZDPLkVrVfq-2pvho58H2t52jwdmFA_MNxkydVcjE8Ph70Ay99eWLrJ6sTjulSjNUdzrXTSzCaPW0GN_ESGZ1u-gCHphJI3avcGQ56cItZOKOjxLuFl/s1600/Image+%5B20%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZgEJXgZO5skYx7AkFHZA4sx1vC5ZDPLkVrVfq-2pvho58H2t52jwdmFA_MNxkydVcjE8Ph70Ay99eWLrJ6sTjulSjNUdzrXTSzCaPW0GN_ESGZ1u-gCHphJI3avcGQ56cItZOKOjxLuFl/s1600/Image+%5B20%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step5：測試專案&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;到此你可利用編譯完成之程式碼進行程式動作，程式介面如下圖所示，並點選Open Image開啟影像，定點選Process進行影像水平翻轉。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT5MWS8C6C3J6syRdaQvEhLRGK9J8t8up16a6QRbmDqtg1xx3kUkjgA25B59R2izv8M7vxv7QSBPwEqYziE2K1n6IC31iSl4n_c-sAtqxafpQ_YK0qwQB5o3QFV8kigKuLegmlQVcu_KX0/s1600/Image+%5B21%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT5MWS8C6C3J6syRdaQvEhLRGK9J8t8up16a6QRbmDqtg1xx3kUkjgA25B59R2izv8M7vxv7QSBPwEqYziE2K1n6IC31iSl4n_c-sAtqxafpQ_YK0qwQB5o3QFV8kigKuLegmlQVcu_KX0/s1600/Image+%5B21%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step6：進階設計&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: large;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QT GUI介面都依賴MainWindow進行執行，若我們需要在未開啟影像時，將Process按鈕進行禁止按下的動作時，我們可以在mainwindow.cpp中之MainWindow::MainWindow中加入下圖指令，並於Open image button加入指令，如下圖所示。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijH3soOc2AtpUVYOJcLed4tBD6hV0yE2vKO_x72SutnExbLRsMqRtLLhQNGUoaCtNh_U0-BglUWOgJIZSGjHetbBOwX5pEMks6_plljsFdrnJD7rcXtcqz1zF_bB2tNyWsCzGPtR3bIzUC/s1600/Image+%5B22%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijH3soOc2AtpUVYOJcLed4tBD6hV0yE2vKO_x72SutnExbLRsMqRtLLhQNGUoaCtNh_U0-BglUWOgJIZSGjHetbBOwX5pEMks6_plljsFdrnJD7rcXtcqz1zF_bB2tNyWsCzGPtR3bIzUC/s1600/Image+%5B22%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;關閉按鈕&lt;br clear=&quot;none&quot; /&gt;ui-&amp;gt;Button_process-&amp;gt;setEnabled(false);&lt;br clear=&quot;none&quot; /&gt;&lt;br clear=&quot;none&quot; /&gt;開啟按鈕&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;ui-&amp;gt;Button_process-&amp;gt;setEnabled(true);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 21px;&quot;&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step7：測試&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;再度進行編譯，並執行該編譯後的執行檔，在此可發現，若你尚未點選Open Image時，Process按鈕式反白的，此時無法點選。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiykgWzMs90HLTm0cR1fcxjCJihyZ9Vx61KFQad6Az3idlUwZRJnRtjG6ZJw_XUmq-XHUck_L20ojca6Vr4jH6MdqBimrO8BSp1S06pInkmN9P6BnDFTWZeube2TjhgEsHYbCxugGGyhEiZ/s1600/Image+%5B23%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiykgWzMs90HLTm0cR1fcxjCJihyZ9Vx61KFQad6Az3idlUwZRJnRtjG6ZJw_XUmq-XHUck_L20ojca6Vr4jH6MdqBimrO8BSp1S06pInkmN9P6BnDFTWZeube2TjhgEsHYbCxugGGyhEiZ/s1600/Image+%5B23%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;再點選Open Image之後，Process按鈕恢復正常，可點選並執行所設計之指令。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGe6AexRcoGLGUAq-Iq4eXzK7LS5jkI2nXtZu8jtQ0CXJhraXwG1PaenFts-H9zZEcybgciFsDgjCmXWmImeUtjjrqXGwEa5ZUSc14Xnu0PdluKA7OM1HKUIUdX4GcTE1wqK2qU6W2v5Wz/s1600/Image+%5B24%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGe6AexRcoGLGUAq-Iq4eXzK7LS5jkI2nXtZu8jtQ0CXJhraXwG1PaenFts-H9zZEcybgciFsDgjCmXWmImeUtjjrqXGwEa5ZUSc14Xnu0PdluKA7OM1HKUIUdX4GcTE1wqK2qU6W2v5Wz/s1600/Image+%5B24%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 21px;&quot;&gt;Step8：將影像顯示在QT視窗上&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;下面範例要用到cv::cvtColor，這個函數，因此需要再mainwindow.hpp中加入&quot;#include &amp;lt;opencv2/opencv.hpp&amp;gt;&quot;。QImage可以顯示在TexeLabel上面，因此我們先利用拖拉的方式將TextLbel新增至Dialog當中，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjguC16xAPjgPU9TC5sF04diqx4eY0331IXGqddaHsD0k96qU-VVlCh9eZMwUrwZd0onQkD13Td6Kk7cwYNNdvBUSGPSts934mwSRdZ05PtD4qfBPU-PrX7W7MIRKl_wvNT0jUsHN20WU1G/s1600/Image+%5B25%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjguC16xAPjgPU9TC5sF04diqx4eY0331IXGqddaHsD0k96qU-VVlCh9eZMwUrwZd0onQkD13Td6Kk7cwYNNdvBUSGPSts934mwSRdZ05PtD4qfBPU-PrX7W7MIRKl_wvNT0jUsHN20WU1G/s1600/Image+%5B25%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;並可點選TexeLabel兩下，進行編輯文字，這邊要顯示影像，因此將文字給刪除。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgzBQU8XcYav4iaWPPnyG9tBz6VxYuhubhYsZWdkupMFjMmUCigK0U3OWIAVslCp8wLHyIFmuKbchcGYhilzeX8VJB4hclUUjk30ZQXCupxfOWTK0Z_Sk5J3l4ICf2qAtuaVY3iQMeZfxJ/s1600/Image+%5B26%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgzBQU8XcYav4iaWPPnyG9tBz6VxYuhubhYsZWdkupMFjMmUCigK0U3OWIAVslCp8wLHyIFmuKbchcGYhilzeX8VJB4hclUUjk30ZQXCupxfOWTK0Z_Sk5J3l4ICf2qAtuaVY3iQMeZfxJ/s1600/Image+%5B26%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;新增顯示於Label之方法，請開啟mainwindow.cpp檔案，並在Button_Process_clicked()函數中加入下列程式碼。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqe-OWL_yQBOAUwJbviqyP96l0_KJng6_CYuTtED-aj9dcLJiTNEmaG3VoU7yssa7V8yvq8LFGunU72IifqwADHKm-5aN8oIxZwDJiax1nxZDhyoniU1x93U9wldwrYGmraL-nKC9XRrI-/s1600/Image+%5B27%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqe-OWL_yQBOAUwJbviqyP96l0_KJng6_CYuTtED-aj9dcLJiTNEmaG3VoU7yssa7V8yvq8LFGunU72IifqwADHKm-5aN8oIxZwDJiax1nxZDhyoniU1x93U9wldwrYGmraL-nKC9XRrI-/s1600/Image+%5B27%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;pre&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;cv::cvtColor(image,image,CV_BGR2RGB);&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QImage img=QImage((const unsigned char*)(image.data),//Qtimagestructure&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;image.cols,image.rows,QImage::Format_RGB888);&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;ui-&amp;gt;label-&amp;gt;setPixmap(QPixmap::fromImage(img));//displayonlabel&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;ui-&amp;gt;label-&amp;gt;resize(ui-&amp;gt;label-&amp;gt;pixmap()-&amp;gt;size());//resizethelabeltofittheimage&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 21px;&quot;&gt;Step9：進行測試&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;相同你可以點選Open Image進行檔案開啟動作，並點選Process按鈕進行影像水平旋轉及顯示於QT視窗當中，其結果如下所示。&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi43jC4AyBHbmJRHaerh04OTT36RUhcqtO3haBCGq8vnKioB7cSQpGmgym6p_XSBmEtwan74SlTrSgtbMSVQ_IlZ9-5FT3KLZbPPfYZKHiBtcowNRP8dJQFWkZidgxph2ZXx4MpxBayPKjw/s1600/Image+%255B28%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi43jC4AyBHbmJRHaerh04OTT36RUhcqtO3haBCGq8vnKioB7cSQpGmgym6p_XSBmEtwan74SlTrSgtbMSVQ_IlZ9-5FT3KLZbPPfYZKHiBtcowNRP8dJQFWkZidgxph2ZXx4MpxBayPKjw/s1600/Image+%255B28%255D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 21px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;進階應用：Function&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 8px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;在我們已經成功將影像呼叫出來，並且使用opencv進行影像處理之後，我們都要透過QImage的方式，將影像再度轉換回QT上面做顯示，這邊我們可以寫一個小小的class來管理這個轉換，讓我們有其他程式也想使用該class時，不需要再度寫一次相同的程式。首先我們開啟mainwindow.hpp檔案，並加入&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 8px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 8px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 11px;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;void UpdateQImage(const cv::Mat &amp;amp;cvimg);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-size: 8px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;也就是說我們建立一個UpdateQImage的一個class，其中要放入的函數類型為&lt;/span&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;const cv::Mat &amp;amp;cvimg&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&quot;，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 8px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijj2SIHgUkbsGBCODJ-QMGdBUsDiX7cQr6v2LsNIqULqX5d4T6_HdhqBvvgvhLTH-0-FOnDn_IG-LLIOpDbkJt4DlgrJyq2C1GW8-6T6uhj3uO-RtYxwNJ3pUi-SILttT8rySN_QdxaV4C/s1600/Image+%5B29%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijj2SIHgUkbsGBCODJ-QMGdBUsDiX7cQr6v2LsNIqULqX5d4T6_HdhqBvvgvhLTH-0-FOnDn_IG-LLIOpDbkJt4DlgrJyq2C1GW8-6T6uhj3uO-RtYxwNJ3pUi-SILttT8rySN_QdxaV4C/s1600/Image+%5B29%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;再回到mainwindow.cpp檔案加入&quot;&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;void MainWindow::UpdateQImage(const cv::Mat &amp;amp;cvimg)&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&quot;程式，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggKTImXq3afVRb_rHQJUyD0Hdyapg-_C8REZeBXN4KheCctXkTUYFYMroN53gFGwrCOVBgX3TY3WL6QDK1IPUvPf3HZ8h29aJnsE4ymC0c-unZFXGmoCRgpRSImr8jyF4QJluM0K86trIU/s1600/Image+%5B30%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggKTImXq3afVRb_rHQJUyD0Hdyapg-_C8REZeBXN4KheCctXkTUYFYMroN53gFGwrCOVBgX3TY3WL6QDK1IPUvPf3HZ8h29aJnsE4ymC0c-unZFXGmoCRgpRSImr8jyF4QJluM0K86trIU/s1600/Image+%5B30%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;相關程式碼如下:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;// Convert OpenCV image to QImage.&lt;br /&gt;
void MainWindow::UpdateQImage(const cv::Mat &amp;amp;cvimg){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; QImage qimg=QImage((const unsigned char*)(cvimg.data),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cvimg.cols,cvimg.rows,QImage::Format_RGB888);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;label-&amp;gt;setPixmap(QPixmap::fromImage(qimg));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ui-&amp;gt;label-&amp;gt;resize(ui-&amp;gt;label-&amp;gt;pixmap()-&amp;gt;size());&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;並將&quot;void MainWindow::on_Button_process_clicked()&quot;中之程式修改成&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;void MainWindow::on_Button_process_clicked()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::flip(image,image,1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::cvtColor(image,image,CV_BGR2RGB);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateQImage(image);&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;如此一來，只要你點選Process按鈕將會去執行filp動作，並將結果傳回UpdateQImage函數中進行顯示。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 21px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;私有變數使用&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: medium;&quot;&gt;上面幾個小程式中，其實我們已經使用了非常多變數了，這些變數如果你只是呼叫一次，那每次都進行宣告是無所謂的，但是如果該變數要使用非常多次呢?每次都要開一個變數來存放他嗎?&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;其實上半部，步驟三我們就已經有定義了一個私有變數&quot;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: 微軟正黑體; font-size: small;&quot;&gt;cv::Mat image;&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&quot;我們將它放在&quot;&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: small;&quot;&gt;private:&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&quot;當中，定義image為cv::Mat類別之變數，這樣你只要在這個程式中使用image，你就可以去使用這個變數了。這邊簡單來說如果我們要去處理一張影像，當每次處理完之後都要再去開一個變數來存放他，這樣有再大的記憶體也不構放，因此我們在定義一個cv::Mat類別的變數，用來承接我們運算後的影像結果，請開啟檔案&quot;mainwindow.h&quot;，並於&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;private:加入變數cv::Mat result;，如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9r3MkROjuMYkzxydIJH_JuzT0eo-Tdmlh0Bayrx0uHiq36qfpoJqhGd84CSu0SIFVDX31-JDz2_XN5C_A_cpanwqruTSxOfsfAExJIAQZlNpR7fcsZwpAS7q6RbhBkNTJOybl2OtRTulU/s1600/Image+%5B31%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9r3MkROjuMYkzxydIJH_JuzT0eo-Tdmlh0Bayrx0uHiq36qfpoJqhGd84CSu0SIFVDX31-JDz2_XN5C_A_cpanwqruTSxOfsfAExJIAQZlNpR7fcsZwpAS7q6RbhBkNTJOybl2OtRTulU/s1600/Image+%5B31%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;加入之後，將可進行Open image button的動作修改，請開啟檔案&quot;mainwindow.cpp&quot;，修改function&quot;on_Button_Open_image_clicked()&quot;，將result等於原本讀取完畢的image，並利用UpdateQImage(result);來更新顯示視窗。如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSm9SYE1Ra0F8VUTZ58ln8qmU_g1JO2mnZqtdYuMiLwRoGLmWUtlulpmpqR-5TH00mJnxL0_Wb8r-4j696BbU5_HzbZCbQVLhfMi6T424aMAw3WqoOtnIWGsLZI_uZQ1X32IrVcGmYiUCd/s1600/Image+%5B32%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSm9SYE1Ra0F8VUTZ58ln8qmU_g1JO2mnZqtdYuMiLwRoGLmWUtlulpmpqR-5TH00mJnxL0_Wb8r-4j696BbU5_HzbZCbQVLhfMi6T424aMAw3WqoOtnIWGsLZI_uZQ1X32IrVcGmYiUCd/s1600/Image+%5B32%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;那接下來要去修改&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;並將Button Process click指令中修改成result=IPtool.flip(result,1);，這樣的方式，以後如果有其他的影像處理方式，就可以直接沿用這個架構去執行。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 21px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 21px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;本次OpenCV所使用的相關函數&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;Mat&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;class&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Mat&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;OpenCV C++ n-dimensional dense array class&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #007121;&quot;&gt;&lt;b&gt;class&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0d85b6;&quot;&gt;&lt;b&gt;CV_EXPORTS&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;Mat&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #007121;&quot;&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;// ... a lot of methods ...&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;/*! includes several bit-fields:&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;- the magic signature&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;- continuity flag&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;- depth&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;- number of channels&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;*/&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #8f2100;&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;flags;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;//! the array dimensionality, &amp;gt;= 2&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #8f2100;&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;dims;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;//! the number of rows and columns or (-1, -1) when the array has more than 2 dimensions&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #8f2100;&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;rows, cols;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;//! pointer to the data&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;uchar&lt;span style=&quot;color: #666666;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;data;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;//! pointer to the reference counter;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;// when array points to user-allocated data, the pointer is NULL&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #8f2100;&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;refcount;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;color: #40808f; font-family: 微軟正黑體;&quot;&gt;&lt;i&gt;// other members&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: #20435c; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;cvtColor&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;Converts an image from one color space to another.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 52mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvtColor&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;InputArray&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, OutputArray&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;code&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dstCn&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=0&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 82mm; margin-top: 0.93mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvtColor&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, code&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dst&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dstCn&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;] ]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ dst&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 77mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvCvtColor&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const CvArr*&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, CvArr*&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;code&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 98mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;CvtColor&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, dst, code&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 132mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.12mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 9mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Source image:&amp;nbsp; 8-bit unsigned, 16-bit unsigned (&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;16UC...&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;), or single-precision floating-point.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Destination image of the same size and depth as&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;code&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Color&amp;nbsp; space conversion&amp;nbsp; code. See the description below.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 9mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dstCn&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Number of channels in the destination image. If the parameter is 0, the number of the channels is derived automatically from&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;and&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;code&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function converts an input image from one color space to another. In case of a transformation to-from RGB color space, the order of the channels should be specified explicitly (RGB or BGR). Note that the default color format in OpenCV is often referred to as RGB but it is actually BGR (the bytes are reversed).&amp;nbsp; So the first byte in a standard (24-bit) color image will be an 8-bit Blue component, the second byte will be Green, and the third byte will be Red. The fourth, fifth, and sixth bytes would then be the second pixel (Blue, then Green, then Red), and so on.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 82mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The conventional ranges for R, G, and B channel values are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.12mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 7mm; margin-right: 120mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• 0 to 255 for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;8U&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;images&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.12mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• 0 to 65535 for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;16U&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;images&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.12mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 7mm; margin-right: 122mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• 0 to 1 for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;32F&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;images&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;In case of linear transformations, the range does not matter. But in case of a non-linear transformation, an input RGB image should be normalized to the proper value range to get the correct results, for example, for RGB → L*u*v* transformation. For example, if you have a 32-bit floating-point&amp;nbsp; image directly converted from an 8-bit image without any scaling, then it will have the 0..255 value range instead of 0..1 assumed by the function. So, before calling&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cvtColor&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, you need first to scale the image down:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: 微軟正黑體; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 144mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;color: #010101;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;img&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #217f4f;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;1.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #217f4f;&quot;&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 7pt;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 116mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;sub&gt;cvtColor(img,&amp;nbsp; img, CV&lt;/sub&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;sub&gt;BGR2Luv);&lt;/sub&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.33mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;If you use&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cvtColor&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;with 8-bit images, the conversion will have some information&amp;nbsp; lost. For many applications, this will not be noticeable but it is recommended to use 32-bit images in applications that need the full range of colors or that convert an image before an operation and then convert back.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.26mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function can do the following transformations:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 21px;&quot;&gt;&lt;span style=&quot;color: red; font-family: 微軟正黑體;&quot;&gt;QT使用指令&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 21px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h1 style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #363534; font-size: 18px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 1.2; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 5px; padding-top: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;

&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QFileDialog Class&lt;/span&gt;&lt;/h1&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #363534; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;The QFileDialog class provides a dialog that allow users to select files or directories.&amp;nbsp;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/qfiledialog.html#details&quot; style=&quot;color: #00732f; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;More...&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f6f6f6; border-bottom-color: rgb(230, 230, 230); border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: separate; border-image: initial; border-left-color: rgb(230, 230, 230); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(230, 230, 230); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(230, 230, 230); border-top-left-radius: 7px; border-top-right-radius: 7px; border-top-style: solid; border-top-width: 1px; color: #363534; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; overflow-x: auto; padding-bottom: 14px; padding-left: 14px; padding-right: 14px; padding-top: 14px; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt; &lt;span style=&quot;color: #404040; margin: 0px; padding: 0px;&quot;&gt;#include &amp;lt;QFileDialog&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h2 style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #363534; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 600; letter-spacing: normal; line-height: 1.2; margin-bottom: 7px; margin-left: 0px; margin-right: 0px; margin-top: 20px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; width: 926px; word-spacing: 0px;&quot;&gt;

&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Static Public Members&lt;/span&gt;&lt;/h2&gt;
&lt;table style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f6f6f6; border-bottom-color: rgb(230, 230, 230); border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: separate; border-color: initial; border-left-color: rgb(230, 230, 230); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(230, 230, 230); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(230, 230, 230); border-top-left-radius: 7px; border-top-right-radius: 7px; border-top-style: solid; border-top-width: 1px; color: #363534; empty-cells: show; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 5px; padding-left: 10px; padding-right: 5px; padding-top: 5px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;tbody style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;tr style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: right; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QString&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/qfiledialog.html#getExistingDirectory&quot; style=&quot;color: #00732f; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;getExistingDirectory&lt;/a&gt;&lt;/b&gt;(QWidget *&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;parent&lt;/i&gt;&amp;nbsp;= 0, const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;caption&lt;/i&gt;&amp;nbsp;= QString(), const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;dir&lt;/i&gt;&amp;nbsp;= QString(), Options&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;options&lt;/i&gt;&amp;nbsp;= ShowDirsOnly)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: right; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QString&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/qfiledialog.html#getOpenFileName&quot; style=&quot;color: #00732f; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;getOpenFileName&lt;/a&gt;&lt;/b&gt;(QWidget *&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;parent&lt;/i&gt;&amp;nbsp;= 0, const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;caption&lt;/i&gt;&amp;nbsp;= QString(), const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;dir&lt;/i&gt;&amp;nbsp;= QString(), const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;filter&lt;/i&gt;&amp;nbsp;= QString(), QString *&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;selectedFilter&lt;/i&gt;&amp;nbsp;= 0, Options&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;options&lt;/i&gt;&amp;nbsp;= 0)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: right; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QStringList&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/qfiledialog.html#getOpenFileNames&quot; style=&quot;color: #00732f; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;getOpenFileNames&lt;/a&gt;&lt;/b&gt;(QWidget *&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;parent&lt;/i&gt;&amp;nbsp;= 0, const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;caption&lt;/i&gt;&amp;nbsp;= QString(), const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;dir&lt;/i&gt;&amp;nbsp;= QString(), const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;filter&lt;/i&gt;&amp;nbsp;= QString(), QString *&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;selectedFilter&lt;/i&gt;&amp;nbsp;= 0, Options&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;options&lt;/i&gt;&amp;nbsp;= 0)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: right; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;QString&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;font-family: Tahoma; font-size: 10pt; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 10px; padding-right: 10px; padding-top: 3px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/qfiledialog.html#getSaveFileName&quot; style=&quot;color: #00732f; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;getSaveFileName&lt;/a&gt;&lt;/b&gt;(QWidget *&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;parent&lt;/i&gt;&amp;nbsp;= 0, const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;caption&lt;/i&gt;&amp;nbsp;= QString(), const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;dir&lt;/i&gt;&amp;nbsp;= QString(), const QString &amp;amp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;filter&lt;/i&gt;&amp;nbsp;= QString(), QString *&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;selectedFilter&lt;/i&gt;&amp;nbsp;= 0, Options&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;options&lt;/i&gt;&amp;nbsp;= 0)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;example&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f6f6f6; border-bottom-color: rgb(230, 230, 230); border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: separate; border-image: initial; border-left-color: rgb(230, 230, 230); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(230, 230, 230); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(230, 230, 230); border-top-left-radius: 7px; border-top-right-radius: 7px; border-top-style: solid; border-top-width: 1px; color: #363534; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; overflow-x: auto; padding-bottom: 14px; padding-left: 14px; padding-right: 14px; padding-top: 14px; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt; fileName &lt;span style=&quot;color: #202020; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;QFileDialog&lt;/span&gt;&lt;span style=&quot;color: #202020; margin: 0px; padding: 0px;&quot;&gt;::&lt;/span&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/qfiledialog.html#getOpenFileName&quot; style=&quot;color: #00732f; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;getOpenFileName&lt;/a&gt;(&lt;span style=&quot;color: #840000; margin: 0px; padding: 0px;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #202020; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;
     tr(&lt;span style=&quot;color: #000084; margin: 0px; padding: 0px;&quot;&gt;&quot;Open Image&quot;&lt;/span&gt;)&lt;span style=&quot;color: #202020; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #000084; margin: 0px; padding: 0px;&quot;&gt;&quot;/home/jana&quot;&lt;/span&gt;&lt;span style=&quot;color: #202020; margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; tr(&lt;span style=&quot;color: #000084; margin: 0px; padding: 0px;&quot;&gt;&quot;Image Files (*.png *.jpg *.bmp)&quot;&lt;/span&gt;));
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #363534; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;If you want to use multiple filters, separate each one with&amp;nbsp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;two&lt;/i&gt;&amp;nbsp;semicolons. For example:&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f6f6f6; border-bottom-color: rgb(230, 230, 230); border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: separate; border-image: initial; border-left-color: rgb(230, 230, 230); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(230, 230, 230); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(230, 230, 230); border-top-left-radius: 7px; border-top-right-radius: 7px; border-top-style: solid; border-top-width: 1px; color: #363534; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; overflow-x: auto; padding-bottom: 14px; padding-left: 14px; padding-right: 14px; padding-top: 14px; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt; &lt;span style=&quot;color: #000084; margin: 0px; padding: 0px;&quot;&gt;&quot;Images (*.png *.xpm *.jpg);;Text files (*.txt);;XML files (*.xml)&quot;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;border-collapse: separate; color: black; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;a href=&quot;http://qt-project.org/doc/qt-5.0/qfiledialog.html&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;http://qt-project.org/doc/qt-5.0/qfiledialog.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;color: red; font-size: 21px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/6805004546329930351/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/05/qt-creating-cui-application-using-qt.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/6805004546329930351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/6805004546329930351'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/05/qt-creating-cui-application-using-qt.html' title='[Qt] - Creating a CUI application using Qt'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbKVgMG_BYKbTzYrB0m-GISqcEqvbFzFEYAWm5GM0lgsJk4bLSLEifZ0ak4fkwUXz8WDQ75jr3tOtbcnf7v5B6Z5sveeyl1xYrQGQaGRpHbdgGBcukjcMg2vfKSeXmhyF-3FXMeXStH828/s72-c/Image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-3815026379081659926</id><published>2012-05-12T07:27:00.000-07:00</published><updated>2012-05-12T07:27:33.333-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>[Qt]Creating a OpenCV 2.3.1 application using QT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;b&gt;Creating a OpenCV 2.3.1 application using QT&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;1.本次環境選用 Ubuntu 10.10、OpenCV 2.3.1 、cuda 4.0、QT 4.6&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
首先開啟QT介面&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixyDRvBzqPutysFj5eoh7Q66SrvuhoR-5iakpgwuxOLgagGJ_XbfjGNQtzN1rYPw0mZzqpKBTiojWaVGJv_GKCGSp-a3I-8_hcxBUztfDBRh3f839ct2eVSWKCWorLGaAv7xOtdQrVBbkr/s1600/Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixyDRvBzqPutysFj5eoh7Q66SrvuhoR-5iakpgwuxOLgagGJ_XbfjGNQtzN1rYPw0mZzqpKBTiojWaVGJv_GKCGSp-a3I-8_hcxBUztfDBRh3f839ct2eVSWKCWorLGaAv7xOtdQrVBbkr/s640/Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;2.利用QT開啟新專案&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
File-&amp;gt;New File or Project&lt;/blockquote&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(16).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOu6WwYEbJLWPGz2KaW52EIisKLq4gnSnmvceQB6NDj60Ndpu9pMJvYuDWo6C3mwz89Fb6wgA8VrW46sBR2eEtgc_jx07VL2dkh-7mM3Gra8lpVeCwSgHJxdzpmN9WRdAdVFPyl1u8yvlR/s1600/Image+%5B1%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOu6WwYEbJLWPGz2KaW52EIisKLq4gnSnmvceQB6NDj60Ndpu9pMJvYuDWo6C3mwz89Fb6wgA8VrW46sBR2eEtgc_jx07VL2dkh-7mM3Gra8lpVeCwSgHJxdzpmN9WRdAdVFPyl1u8yvlR/s400/Image+%5B1%5D.png&quot; width=&quot;251&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;3.建立QT Console Application&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
在新建視窗中點選QT C++ Project，再點選建立QT Console Application&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUiY1K36jaeRGCQOcQC8F23HUZtK1VR6UWhqA2k38jCuW0qu4YsFe7K4JrxIWPKOeRIzdbGMAAbtfNGVJ04ywOgi1pfLgK-d-ZFCWMhlKx74K-QTP680Q0rGsfW5VyYHZEcd-sZLcwVUDg/s1600/Image+%255B2%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;556&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUiY1K36jaeRGCQOcQC8F23HUZtK1VR6UWhqA2k38jCuW0qu4YsFe7K4JrxIWPKOeRIzdbGMAAbtfNGVJ04ywOgi1pfLgK-d-ZFCWMhlKx74K-QTP680Q0rGsfW5VyYHZEcd-sZLcwVUDg/s640/Image+%255B2%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;4.建立專案名稱及存放路徑&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-K63UfAj5H99mZBEx1ROGji6RI5BHb_zBZaklGG0UXet1_8FQV5SvW7T3JZAA8xgdCe4Da27u_BQB5PhNUkSfWckDC4_plOPJuX_cvfKfC_v8EawsUVyV27lPKCYiB6Enk5_Kac4gLYwX/s1600/Image+%255B3%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;404&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-K63UfAj5H99mZBEx1ROGji6RI5BHb_zBZaklGG0UXet1_8FQV5SvW7T3JZAA8xgdCe4Da27u_BQB5PhNUkSfWckDC4_plOPJuX_cvfKfC_v8EawsUVyV27lPKCYiB6Enk5_Kac4gLYwX/s640/Image+%255B3%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;在這裡建議建立下面三個資料夾&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: #e30000;&quot;&gt;/home/trong/QT/QT_opencv_test/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #e30000;&quot;&gt;/home/trong/QT/QT_opencv_test/&lt;span style=&quot;font-family: arial, sans-serif; line-height: 15px;&quot;&gt;QT_opencv_release&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #e30000;&quot;&gt;/home/trong/QT/QT_opencv_test/&lt;span style=&quot;font-family: arial, sans-serif; line-height: 15px;&quot;&gt;QT_openccv_debug&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #e30000;&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif; line-height: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #e30000; font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 15px;&quot;&gt;並將上面位置修改成&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;Name: QT_opencv_test&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;Create in: /home/trong/QT/QT_opencv_test&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;color: #e30000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;5.專案設置部分在此先不設立，直接點選Finish完成&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi08NwQt0GMBrslH9yK3WnIxeibZVy8COgRR48uWeOiYiwGTuYwpMgPH_W8iJ2ub4U58hCY-r0lPxisXYB2f6b7zys_slckmatY7Yiv3NShazqCNn4iwKMVXCvNo_7RL-fHGKwDRAVs4OKC/s1600/Image+%5B4%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;404&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi08NwQt0GMBrslH9yK3WnIxeibZVy8COgRR48uWeOiYiwGTuYwpMgPH_W8iJ2ub4U58hCY-r0lPxisXYB2f6b7zys_slckmatY7Yiv3NShazqCNn4iwKMVXCvNo_7RL-fHGKwDRAVs4OKC/s640/Image+%5B4%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;6.在QT中設置開發環境&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
當建立專案檔之後，其環境設定檔將為&quot;檔名.pro&quot;檔案，你必須要此設立相關include路徑，及lib路徑等，在opencv教學文件中提到，只要設輸入下列兩行，將可自動呼叫系統變數，並將需要使用之函數加入，但不知該版本的問題還是哪邊設定出了錯，依然無法使用該方式加入，因此只好手動將需要之include路徑及lib路徑輸入，如下圖所示。&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;CONFIG += link_pkgconfig&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;PKGCONFIG += opencv&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH0c6ohIo8oinAipxvduQFo5XuPscek3wJ-B5brr-eobys-xBksDtlPsoMNTLmeUnOABs9IlKqNqcFlFXy4_H6IuCx0uF7Tvxmn9sDFbZQY4JxwckVrm_FUJSHbpNMaw0maWz6hsRhyDEa/s1600/Image+%5B5%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;374&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH0c6ohIo8oinAipxvduQFo5XuPscek3wJ-B5brr-eobys-xBksDtlPsoMNTLmeUnOABs9IlKqNqcFlFXy4_H6IuCx0uF7Tvxmn9sDFbZQY4JxwckVrm_FUJSHbpNMaw0maWz6hsRhyDEa/s640/Image+%5B5%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
上述設定如下表所示&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;CONFIG += link_pkgconfig&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;PKGCONFIG += opencv&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;INCLUDEPATH += /usr/local/opencv/include&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;LIBS += -L/usr/local/opencv/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann -lopencv_gpu&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;7.利用Opencv 讀取影像開啟影像之動作&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrU5sy9IWHZzsL4qhXTHkjp4jVyBGy_TSe_RMZeZn766NoZmw1o1thfm-mtn2qh6fmPdk8tT8pEWUl8XD5K8nIVzxwowjU8WmWfFI8rbKtJQ59cIxBepoDU3qDg12qLPHUKzS7TtSZpV_w/s1600/Image+%5B6%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;374&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrU5sy9IWHZzsL4qhXTHkjp4jVyBGy_TSe_RMZeZn766NoZmw1o1thfm-mtn2qh6fmPdk8tT8pEWUl8XD5K8nIVzxwowjU8WmWfFI8rbKtJQ59cIxBepoDU3qDg12qLPHUKzS7TtSZpV_w/s640/Image+%5B6%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
上述程式碼如下表&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;#include &amp;lt;opencv2/opencv.hpp&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;#include &amp;lt;opencv2/core/core.hpp&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;#include &amp;lt;opencv2/highgui/highgui.hpp&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;int main()&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// read an image&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::Mat image= cv::imread(&quot;beach.jpg&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// create image window named &quot;My Image&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::namedWindow(&quot;My Image&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// show the image on window&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::imshow(&quot;My Image&quot;, image);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// wait key for 5000 ms&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::Mat result;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::flip(image,result,1);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::namedWindow(&quot;result image&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::imshow(&quot;result image&quot;,result);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cv::waitKey(5000);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;return 1;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;8.在QT中建立Build資料夾&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
QT中你必須設定一個Build的資料夾，這個資料夾位置不可與專案檔在一起，因此自行建立一個資料夾供該Build使用&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiTivj_3llXEcNADEP5EbCsLJs7tzJexnimzue-bksgm-fx94YfLF37S8Y4mwoJSbg0gM_uLAK0WySCEDX-GX48AwMoaThmy_WkJ_lFcgP-UBwB6i-3efAgOr7Aq6u73Zi9SdrM8rmJ4Jp/s1600/Image+%5B7%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;374&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiTivj_3llXEcNADEP5EbCsLJs7tzJexnimzue-bksgm-fx94YfLF37S8Y4mwoJSbg0gM_uLAK0WySCEDX-GX48AwMoaThmy_WkJ_lFcgP-UBwB6i-3efAgOr7Aq6u73Zi9SdrM8rmJ4Jp/s640/Image+%5B7%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Build directory&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Release：&lt;/span&gt;&lt;span style=&quot;color: #e30000;&quot;&gt;/home/trong/QT/QT_opencv_test/&lt;span style=&quot;font-family: arial, sans-serif; line-height: 15px;&quot;&gt;QT_opencv_release&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;color: #e30000;&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif; line-height: 15px;&quot;&gt;Debug：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #e30000;&quot;&gt;/home/trong/QT/QT_opencv_test/&lt;span style=&quot;font-family: arial, sans-serif; line-height: 15px;&quot;&gt;QT_openccv_debug&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;9.Build C++ 程式&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
當編寫好程式碼之後發現無任何錯誤，可使用下圖進行Build動作&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1GnQ7ubF3y83xoE5FkOdCA5J1YiIJimL6z9D3cB48ggjP97FL6nDNW66FlZxAOP6pDwoZWmAGPrZtoYKQNoj4WiSgQzGdodb3708-1PtKrFWkk0YGkr0Syw5Y6YRts6CKJV8RstJCGF8P/s1600/Image+%5B8%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1GnQ7ubF3y83xoE5FkOdCA5J1YiIJimL6z9D3cB48ggjP97FL6nDNW66FlZxAOP6pDwoZWmAGPrZtoYKQNoj4WiSgQzGdodb3708-1PtKrFWkk0YGkr0Syw5Y6YRts6CKJV8RstJCGF8P/s1600/Image+%5B8%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpa2C-LhwrCsK1nDz6ilRZ8EQirqnBB3yDkHLldrbJ92b2NET7FSlpiUIMNs9nLzBaWq9EiNe5lYjewYpZDKwqSVCX8l81vYDuZ81Ea78Gg1ED0BNMSmlZMZ8SO3h_ysKNluGEHjGyWL9W/s1600/Image+%5B9%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;144&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpa2C-LhwrCsK1nDz6ilRZ8EQirqnBB3yDkHLldrbJ92b2NET7FSlpiUIMNs9nLzBaWq9EiNe5lYjewYpZDKwqSVCX8l81vYDuZ81Ea78Gg1ED0BNMSmlZMZ8SO3h_ysKNluGEHjGyWL9W/s640/Image+%5B9%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(23).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijI9yy97pjm3xeD1PuPA_lKIjMI4RPIuJFyhuOFlPMOSZmd3eqZK2c-W2dbZZV7aLXq54YCSNhyVAYa-OTy_bfR4rxvQAfk5PGZjQUjcjsVG03uvPPOWLO-W-HDzATP3UuOe1n6CdFnu0O/s1600/Image+%5B10%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;建立好的檔案如下圖所示&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijI9yy97pjm3xeD1PuPA_lKIjMI4RPIuJFyhuOFlPMOSZmd3eqZK2c-W2dbZZV7aLXq54YCSNhyVAYa-OTy_bfR4rxvQAfk5PGZjQUjcjsVG03uvPPOWLO-W-HDzATP3UuOe1n6CdFnu0O/s1600/Image+%5B10%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;460&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijI9yy97pjm3xeD1PuPA_lKIjMI4RPIuJFyhuOFlPMOSZmd3eqZK2c-W2dbZZV7aLXq54YCSNhyVAYa-OTy_bfR4rxvQAfk5PGZjQUjcjsVG03uvPPOWLO-W-HDzATP3UuOe1n6CdFnu0O/s640/Image+%5B10%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;10.執行該程式&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;你可以直接點選該執行檔進行檔案執行，執行結果如下圖所示&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6HjyxfwXzQQDbcL0kHQDX3zMpl4lh9nmdbqGhj4tv1T4QxmrXtCbVcefqWbvVWiu_JLHnd4VjJxyGvtZFbBxlDobxcm6jYKY7VM_r9snmEXHwwz7OlA7xPH1VCKaRQcEU3cVRtDsrCHBO/s1600/Image+%5B11%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;254&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6HjyxfwXzQQDbcL0kHQDX3zMpl4lh9nmdbqGhj4tv1T4QxmrXtCbVcefqWbvVWiu_JLHnd4VjJxyGvtZFbBxlDobxcm6jYKY7VM_r9snmEXHwwz7OlA7xPH1VCKaRQcEU3cVRtDsrCHBO/s640/Image+%5B11%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;11.本次OpenCV所使用的相關函數&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;imread&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Loads an image from a file.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Mat&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;imread&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const string&amp;amp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;filename&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flags&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=1&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.93mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;imread&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;filename&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, flags&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ retval&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 20px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 33mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;IplImage*&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvLoadImage&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const char*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;filename&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flags&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=CV_LOAD_IMAGE_COLOR&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;CvMat*&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvLoadImageM&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const char*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;filename&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flags&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=CV_LOAD_IMAGE_COLOR&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;LoadImage&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;filename, flags=CV_LOAD_IMAGE_COLOR&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.05mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;LoadImageM&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;filename, flags=CV_LOAD_IMAGE_COLOR&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 19mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;filename&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Name of file to be loaded.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flags&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Flags specifying the color type of a loaded image:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;– &amp;gt;0&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Return a 3-channel color image&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;– =0&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Return a grayscale image&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 35mm; margin-right: 9mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;– &amp;lt;0&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Return the loaded&amp;nbsp; image&amp;nbsp; as is.&amp;nbsp; Note that in the current implementation the alpha channel, if any, is stripped from the output image. For example,&amp;nbsp; a 4-channel RGBA image is loaded as RGB if flags&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;≥&lt;/i&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;0 .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;imread&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;loads an image from the specified file and returns it.&amp;nbsp;&amp;nbsp; If&amp;nbsp; the image cannot be read (be- cause of missing file, improper permissions, unsupported or invalid format), the function returns an empty matrix (&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;Mat::data==NULL&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;). Currently, the following file formats are supported:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Windows bitmaps -&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.bmp,&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.dib&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;(always supported)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.09mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• JPEG files -&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.jpeg,&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.jpg,&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.jpe&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;(see the&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;Notes&lt;/i&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;section)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.09mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• JPEG 2000 files -&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.jp2&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;(see the&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;Notes&lt;/i&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;section)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.09mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Portable Network Graphics -&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.png&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;(see the&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;Notes&lt;/i&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;section)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.09mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Portable image format -&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.pbm,&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.pgm,&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.ppm&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;(always supported)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.09mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Sun rasters -&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.sr,&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.ras&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;(always supported)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.09mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• TIFF files -&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.tiff,&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sub&gt;*&lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;.tif&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;(see the&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;Notes&lt;/i&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;section)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 4mm; margin-right: 0mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• The function determines the type of an image by the content, not by the file extension.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 6mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• On Microsoft&amp;nbsp; Windows*&amp;nbsp; OS and MacOSX*,&amp;nbsp; the codecs shipped with an OpenCV image (libjpeg, libpng, libtiff, and libjasper)&amp;nbsp; are used by default. So, OpenCV can always read JPEGs, PNGs, and TIFFs. On MacOSX,&amp;nbsp; there is also an option to use native MacOSX&amp;nbsp; image readers. But beware that currently&amp;nbsp; these native image loaders give images with different pixel values because of the color management embedded into MacOSX.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 6mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• On Linux*, BSD flavors and other Unix-like open-source operating systems, OpenCV looks for codecs supplied with an OS image. Install the relevant packages (do not forget the development files, for example, “libjpeg-dev”, in Debian* and Ubuntu*) to get the codec support or turn on the&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;OPENCV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;BUILD&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;3RDPARTY&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;LIBS&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;flag in CMake.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: black; font-family: Tahoma; font-size: 19px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 137mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;namedWindow&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 141mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Creates a window.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 79mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;namedWindow&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const string&amp;amp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;winname&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flags&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 84mm; margin-top: 0.93mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;namedWindow&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;winname&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, flags&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 91mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvNamedWindow&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const char*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;name&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flags&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 52mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;NamedWindow&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;name, flags=CV_WINDOW_AUTOSIZE&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;name&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Name of the window in the window&amp;nbsp; caption that may be used as a window identifier.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.12mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flags&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Flags of the window. Currently the only supported flag is&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;AUTOSIZE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;. If this is set, the window size is automatically&amp;nbsp; adjusted to fit the displayed&amp;nbsp; image (see&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;imshow()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;), and you cannot change the window&amp;nbsp; size manually.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 19px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;namedWindow&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;creates a window that can be used as a placeholder&amp;nbsp; for images and trackbars.&amp;nbsp; Created windows are referred to by their names.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 62mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;If a window&amp;nbsp; with the same name already exists, the function&amp;nbsp; does nothing.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 19px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;You can call&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;destroyWindow()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;or&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;destroyAllWindows()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;to close the window&amp;nbsp; and de-allocate any associated mem- ory usage. For a simple program, you do not really have to call these functions&amp;nbsp; because all the resources and windows of the application are closed automatically by the operating system upon exit.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.44mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Qt backend supports additional flags:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.12mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 19px; margin-bottom: 0mm; margin-left: 11mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;•&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;CV_WINDOW_NORMAL or CV_WINDOW_AUTOSIZE:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;NORMAL&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;enables you to resize the window,&amp;nbsp; whereas&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;AUTOSIZE&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;adjusts automatically&amp;nbsp; the window&amp;nbsp; size to fit the displayed image (see&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;imshow()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;), and you cannot change the window&amp;nbsp; size manually.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 11mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;•&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;CV_WINDOW_FREERATIO or CV_WINDOW_KEEPRATIO:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;FREERATIO&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;adjusts the image with no respect to its ratio, whereas&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;KEEPRATIO&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;keeps the image ratio.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 11mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;•&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;CV_GUI_NORMAL or CV_GUI_EXPANDED:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;GUI&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;NORMAL&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;is the old way to draw the window without&amp;nbsp; statusbar and toolbar, whereas&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;GUI&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;EXPANDED&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;is a new enhanced GUI.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;By default,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;flags ==&amp;nbsp; CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;AUTOSIZE&amp;nbsp; | CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;KEEPRATIO&amp;nbsp; | CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;GUI&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;EXPANDED&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.9mm; text-indent: 0mm;&quot;&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: 19px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;imshow&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 105mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Displays an image in the specified window.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 74mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;imshow&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const string&amp;amp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;winname&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, InputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;image&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 95mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;imshow&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;winname, image&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 69mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvShowImage&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const char*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;winname&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, const CvArr*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;image&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 91mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;ShowImage&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;winname, image&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;winname&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Name of the window.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;image&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Image to be shown.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;imshow&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;displays an image in&amp;nbsp; the specified window.&amp;nbsp;&amp;nbsp;&amp;nbsp; If&amp;nbsp; the window was&amp;nbsp; created&amp;nbsp; with&amp;nbsp; the&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;CV&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;WINDOW&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;sup&gt;_&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;AUTOSIZE&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;flag, the image is shown with its original&amp;nbsp; size. Otherwise, the image is scaled to fit the window. The function may scale the image, depending on its depth:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.26mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;• If the image is 8-bit unsigned, it is displayed&amp;nbsp; as is.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.26mm; text-indent: 0mm;&quot;&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• If the image is 16-bit unsigned or 32-bit integer, the pixels are divided by 256.&amp;nbsp; That is, the value range&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 4mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;[0,255*256] is mapped to [0,255].&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• If the image is 32-bit floating-point,&amp;nbsp; the pixel values are multiplied by 255. That is, the value range [0,1] is&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;mapped to [0,255].&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.26mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;waitKey&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 133mm; margin-top: 0.63mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Waits for a pressed key.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 120mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;waitKey&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;delay&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 104mm; margin-top: 0.93mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;waitKey&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;delay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ retval&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 119mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvWaitKey&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;delay&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=0&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 110mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;WaitKey&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;delay=0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ int&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 18mm; margin-right: 132mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 31mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;delay&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Delay in milliseconds. 0 is the special value that means “forever”.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 2mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;waitKey&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;waits for a key event infinitely (when&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;delay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;i&gt;≤&lt;/i&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;0 ) or for&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;delay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;milliseconds, when it is positive.&amp;nbsp; Since the OS has a minimum&amp;nbsp; time between switching&amp;nbsp; threads, the function will not wait exactly&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;delay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;ms, it will wait at least&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;delay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;ms, depending on what else is running on your computer at that time. It returns the code of the pressed key or -1 if no key was pressed before the specified time had elapsed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;the pressed key or -1 if no key was pressed before the specified time had elapsed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Note:&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;This function is the only method in HighGUI that can fetch and handle&amp;nbsp; events, so it needs to be called&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 13px; margin-bottom: 0mm; margin-left: 1mm; margin-right: 1mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;periodically for normal&amp;nbsp; event processing unless HighGUI is used within an environment that takes care of event processing.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0.44mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function only works if there is at least one HighGUI window created and the window&amp;nbsp; is active. If there are&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;several HighGUI windows, any of them can be active.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0mm; margin-left: 1mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #20435c; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;flip&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 1.69mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Flips a 2D array around vertical, horizontal, or both axes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C++:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;flip&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;InputArray&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, OutputArray&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flipCode&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0.93mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv2.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;flip&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, flipCode&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, dst&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ dst&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.04mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;C:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;cvFlip&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;const CvArr*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;, CvArr*&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=NULL, int&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flipMode&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;=0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Python:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;cv.&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;b&gt;Flip&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;src, dst=None, flipMode=0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;→ None&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.07mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 19mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 31mm; margin-right: 111mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;src&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Source array.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 31mm; margin-right: 57mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;dst&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Destination array of the same size and type as&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;src&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; line-height: 13px; margin-bottom: 0mm; margin-left: 31mm; margin-right: 9mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;flipCode&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: 10pt;&quot;&gt;– Flag to specify how to flip the array. 0 means flipping around the x-axis. Positive value (for example, 1) means flipping around y-axis. Negative value (for example, -1) means flipping around both axes. See the discussion below for the formulas.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The function&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;flip&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;flips the array in one of three different ways (row and column indices are 0-based):&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 53mm; margin-right: 0mm; margin-top: 0.51mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 0mm; margin-left: 53mm; margin-right: 0mm; margin-top: 0.51mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;img height=&quot;106&quot; src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(27).png&quot; style=&quot;cursor: default;&quot; width=&quot;585&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The example scenarios of using the function are the following:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; line-height: 13px; margin-bottom: 0mm; margin-left: 11mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Vertical flipping of the image (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;flipCode&amp;nbsp; ==&amp;nbsp; 0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;) to switch between top-left and bottom-left&amp;nbsp; image origin. This is a typical operation in video processing on Microsoft&amp;nbsp; Windows*&amp;nbsp; OS.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; line-height: 13px; margin-bottom: 0mm; margin-left: 11mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Horizontal flipping of the image with the subsequent horizontal shift and absolute difference calculation to check for a vertical-axis&amp;nbsp; symmetry (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;flipCode&amp;nbsp; &amp;gt;&amp;nbsp; 0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; line-height: 13px; margin-bottom: 0mm; margin-left: 11mm; margin-right: 1mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Simultaneous horizontal and vertical flipping of the image with the subsequent shift and absolute difference calculation to check for a central symmetry (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;flipCode&amp;nbsp; &amp;lt;&amp;nbsp; 0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.18mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 8mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;• Reversing the order of point arrays (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;flipCode&amp;nbsp; &amp;gt;&amp;nbsp; 0&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;or&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;flipCode ==&amp;nbsp; 0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 0mm; margin-right: 0mm; margin-top: 0.16mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 10pt; margin-bottom: 0mm; margin-left: 2mm; margin-right: 0mm; margin-top: 0mm; text-indent: 0mm;&quot;&gt;
&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;transpose()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;repeat()&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #010101; font-family: Arial; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;completeSymm()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/3815026379081659926/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/05/creating-opencv-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/3815026379081659926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/3815026379081659926'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/05/creating-opencv-2.html' title='[Qt]Creating a OpenCV 2.3.1 application using QT'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixyDRvBzqPutysFj5eoh7Q66SrvuhoR-5iakpgwuxOLgagGJ_XbfjGNQtzN1rYPw0mZzqpKBTiojWaVGJv_GKCGSp-a3I-8_hcxBUztfDBRh3f839ct2eVSWKCWorLGaAv7xOtdQrVBbkr/s72-c/Image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-7274960284023488160</id><published>2012-05-07T08:01:00.002-07:00</published><updated>2012-08-06T21:28:11.119-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CUDA"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to install CUDA 4.0 12.2 on Ubuntu 10.10</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small; text-align: -webkit-auto; white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;目前測試Ubuntu 10.10版本安裝CUAD，其主要原因是OpenCV 2.3.1所使用的CUDA toolkit版本為4.0.17，而nvidia所以提供的Cuda toolkit 4.0.17版本號僅支援ububtu 10.10，因此先拿10.10做測試，如果測試OK未來將使用11.10版本進行測試安裝
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small; text-align: -webkit-auto; white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small; text-align: -webkit-auto; white-space: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step1.首先安裝ubuntu&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;注意:OpenCV_2.3.1使用的CUDA Toolkit 為CUDA 4.0版本，所以ToolKit 與SDK版本均要下載4.0版本，不然Make將會出錯
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;下載檔案如下
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 19px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;NVIDIA-Linux-x86_64-285.05.33.run&lt;br /&gt;
cudatoolkit_4.0.17_linux_64_ubuntu10.10.run&lt;br /&gt;
gpucomputingsdk_4.0.17_linux.run&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step2.安裝Cuda&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;a.安裝CUDA時須先離開xwindow,
&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;ubuntu 10.10離開方式&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;hr /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#sudo stop gdm
&lt;b&gt;ubuntu 11.04離開方式&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;hr /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#sudo stop lightdm&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;b.安裝Nvidia 驅動程式&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;#sudo ./&lt;/span&gt;NVIDIA-Linux-x86_64-285.05.33.run&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;c.安裝Nvidia Cuda toolkit 4.0&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#sudo&amp;nbsp;cudatoolkit_4.0.17_linux_64_ubuntu10.10.run&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;非常注意，這邊使用的OpenCV2.3.1一定要對應Toolkit 4.0版本&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;d.安裝CUDA SDK 4.0&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#sudo&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;gpucomputingsdk_4.0.17_linux.run&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;e.設定相關系統path&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#sudo vi /etc/bash.bashrc&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;於最下面加入&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;font-size: 19px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate;&quot;&gt;export PATH=/usr/local/cuda/bin:$PATH&lt;br clear=&quot;none&quot; /&gt;
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/lib:$LD_LIBRARY_PATH&lt;br clear=&quot;none&quot; /&gt;&lt;br clear=&quot;none&quot; /&gt;
# The following line should on the last line of this file.&lt;br clear=&quot;none&quot; /&gt;
export PATH=.:$PATH&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;f.安裝編譯相關程式&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;#sudo apt-get install build-essential gcc-4.4 g++-4.4 libxi-dev libxmu-dev freeglut3-dev&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;g.將SDK進行編譯測試&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;預設SDK安裝於&#39;/home/&lt;span style=&quot;color: red;&quot;&gt;user&lt;/span&gt;/NVIDIA_GPU_Computing_SDK&#39;資料夾當中，user為你的使用者名稱。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;#cd&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 19px;&quot;&gt;NVIDIA_GPU_Computing_SDK/C/&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 19px;&quot;&gt;#make&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體; font-size: 19px;&quot;&gt;若編譯過程中無出現任何錯誤，將可編譯出下列執行檔。&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDip0U2z7UaNeAAAW_ZXfBKwvx9fee3HWGTLC2bZMZ3bvHdKdQ1BqzEhv8AM0_ME1n6gxNxklXiStMNa7tRDmR8_xuyoc6WT0gGdN9wG2rc3QL6H900KofCtnkIwLR4SqMdWK_jtV-mc39/s1600/Image.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;464&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDip0U2z7UaNeAAAW_ZXfBKwvx9fee3HWGTLC2bZMZ3bvHdKdQ1BqzEhv8AM0_ME1n6gxNxklXiStMNa7tRDmR8_xuyoc6WT0gGdN9wG2rc3QL6H900KofCtnkIwLR4SqMdWK_jtV-mc39/s640/Image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;測試編譯的執行檔。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;#./deviceQuery&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;若出現下列訊息，表示該平台可以正常運作CUDA&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWV5K9tSGiVeKxZbuFV5c0lQnbG3q_WYWM-VpTJuWLiyJSvqkqkBH3nDwij5U7PhaY3pd9M6Q10wrMzNY8wfvtBu3IZWGXayUZmCkHZaKPwek9tyTrkQZD_MT4vQ01Dult_YjVI3s7UT3J/s1600/Image+%5B1%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWV5K9tSGiVeKxZbuFV5c0lQnbG3q_WYWM-VpTJuWLiyJSvqkqkBH3nDwij5U7PhaY3pd9M6Q10wrMzNY8wfvtBu3IZWGXayUZmCkHZaKPwek9tyTrkQZD_MT4vQ01Dult_YjVI3s7UT3J/s640/Image+%5B1%5D.png&quot; width=&quot;586&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(1).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&amp;nbsp;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;Step3.安裝OpenCV 2.3.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; text-align: -webkit-auto;&quot;&gt;&lt;strong&gt;至官方網站下載OpenCV tar套件&lt;span style=&quot;color: #e30000;&quot;&gt;OpenCV-2.3.1a.tar.bz2&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;Step a.安裝相關有用之lib庫&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;strong&gt;#&lt;/strong&gt;sudo apt-get install cmake-gui libjpeg62 libjpeg62-dev libgtk2.0-0 libgtk2.0-dev libjpeg62-dev libtiff4-dev libjasper-dev libopenexr-dev cmake python-dev python-numpy libtbb-dev libeigen2-dev yasm libfaac-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev libtbb-dev&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;strong style=&quot;font-size: 19px;&quot;&gt;Step b.安裝OpenCV&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;建立opencv安裝目錄&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#mkdir /usr/local/opencv2.3.1&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#ln -s /usr/local/opencv2.3.1 /usr/local/opencv&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;background-color: lightgrey; color: #000088; font-family: 新細明體, serif; font-size: 15px; font-weight: bold; text-align: left;&quot;&gt;Symbolic Link (符號連結，亦即是捷徑)&lt;/span&gt;&lt;span style=&quot;background-color: lightgrey; font-family: 新細明體, &#39;Times New Roman&#39;, serif; font-size: 15px; text-align: left;&quot;&gt;相對於 hard link ， Symbolic link 可就好理解多了，基本上，&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: lightgrey; color: #000088; font-family: 新細明體, serif; font-size: 15px; text-align: left;&quot;&gt;Symbolic link 就是在建立一個獨立的檔案，而這個檔案會讓資料的讀取指向他 link 的那個檔案的檔名&lt;/span&gt;&lt;span style=&quot;background-color: lightgrey; font-family: 新細明體, &#39;Times New Roman&#39;, serif; font-size: 15px; text-align: left;&quot;&gt;！由於只是利用檔案來做為指向的動作， 所以，&lt;/span&gt;&lt;span style=&quot;background-color: lightgrey; color: #000088; font-family: 新細明體, serif; font-size: 15px; text-align: left;&quot;&gt;當來源檔被刪除之後，symbolic link 的檔案會『開不了』&lt;/span&gt;&lt;span style=&quot;background-color: lightgrey; font-family: 新細明體, &#39;Times New Roman&#39;, serif; font-size: 15px; text-align: left;&quot;&gt;， 會一直說『無法開啟某檔案！』。實際上就是找不到原始『檔名』而已啦！&lt;/span&gt;&lt;br /&gt;
ln指令：連結檔案或目錄&lt;br /&gt;
語法:ln -[可選參數] 原始檔案/目錄 目的檔案/目錄&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;color: blue;&quot;&gt;參數說明：&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;不加&lt;/span&gt;：預設值；只限於相同檔案系統間的連結，且不能連結目錄&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;s&lt;/span&gt;：可作不同檔案系統間的連結，且能連結目錄&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;f&lt;/span&gt;：如果要連結成的檔案已存在，則砍掉這個已存在的檔案&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;n&lt;/span&gt;：如果要連結成的檔案已存在，則停止連結，不會砍掉該檔案&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;上述動作於/usr/local/資料夾中建立opencv資料夾，在將opencv2.3.1指向 opencv資料夾，可以有效管理安裝的資料夾，若需更改其他版本，請直接指向另外一個版本之資料夾，將可以不需更改PATH資料夾。&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;b&gt;Step c.使用cmake-gui 建立 makefile&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#cd ~/opencv_2.3.1/&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#mkdir release&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#cd release/&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#cmake-gui ../&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRRh7k4Bm1Lr6ru9R4xph68O3869hrio-Q5d_HgGbqR7kVFAKEO4AeeL2KRFAJ5AmPCn8AD1vEYeBbOB1Pa6ItCWyociVno8UiD5-2O61d-WpbHWp2Tk9Ge8igzkuEO1pnVm2qo2E6GXmS/s1600/Image+%5B2%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;540&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRRh7k4Bm1Lr6ru9R4xph68O3869hrio-Q5d_HgGbqR7kVFAKEO4AeeL2KRFAJ5AmPCn8AD1vEYeBbOB1Pa6ItCWyociVno8UiD5-2O61d-WpbHWp2Tk9Ge8igzkuEO1pnVm2qo2E6GXmS/s640/Image+%5B2%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(192, 192, 192); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(192, 192, 192); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; font-size: 16px; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; text-align: -webkit-auto; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;CMAKE_BUILD_TYPE=RELEASE&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqW-vIKRgvI93-t2uFU2OE7FQglEeY84tzIzuAcm8Y013yqh64kReqa6iepQkiizHmtsRoYV4R1rob__nVcrxtBQEOKquEAlKbr6erdHIVctnc7r1172XCCsf9Tde3FzCy3pPCfqtKWRnJ/s1600/Image+%5B3%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;540&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqW-vIKRgvI93-t2uFU2OE7FQglEeY84tzIzuAcm8Y013yqh64kReqa6iepQkiizHmtsRoYV4R1rob__nVcrxtBQEOKquEAlKbr6erdHIVctnc7r1172XCCsf9Tde3FzCy3pPCfqtKWRnJ/s640/Image+%5B3%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(192, 192, 192); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(192, 192, 192); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; font-size: 16px; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; text-align: -webkit-auto; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;CMAKE_INSTALL_PREFIX=/usr/local/opencv&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(4).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLo-jgqRB63Qt8Y8LnIfYAHvwXoCtBvgQcCnoQDUaVbcSzTyJ9CVBUHwTWH9_1u1JW_Raq-WsQRHh1Gtn9SMw5mS6Ya1HqvMBWrCoxrG01nAZ4s5svkSOl8nij0DHGdhy6MPJEAaysu8tI/s1600/Image+%5B4%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLo-jgqRB63Qt8Y8LnIfYAHvwXoCtBvgQcCnoQDUaVbcSzTyJ9CVBUHwTWH9_1u1JW_Raq-WsQRHh1Gtn9SMw5mS6Ya1HqvMBWrCoxrG01nAZ4s5svkSOl8nij0DHGdhy6MPJEAaysu8tI/s400/Image+%5B4%5D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(192, 192, 192); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(192, 192, 192); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; font-size: 16px; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; text-align: -webkit-auto; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;WITH_CUDA=1&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(5).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf4Z7dc0BonZu3XHAvcrBN79ft6fp3r7nmK0BflKuiuQ1wdPW8HbfQxnqjtEsVGTwtJ7tNqchGuby-PW1ovCKOsTZvRWoXjxxW5ZyXmIFqDYdt09NAccOVamsrQwkbv6jCnh3LvYsOHzbU/s1600/Image+%5B5%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf4Z7dc0BonZu3XHAvcrBN79ft6fp3r7nmK0BflKuiuQ1wdPW8HbfQxnqjtEsVGTwtJ7tNqchGuby-PW1ovCKOsTZvRWoXjxxW5ZyXmIFqDYdt09NAccOVamsrQwkbv6jCnh3LvYsOHzbU/s400/Image+%5B5%5D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;點選configure進行設定,這邊我們先手動啟動一些設定值，還有安裝的目錄很重要。&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCTnOihNSEruyh4LGbWenrvOWrObvnZEB2W9wr4UuP4r74xAsMy5laPVlhbMWP5HX7UEl_dUx3LKIL06QB9S2uQ2aZHCIT8AElrF08USsuNDKsNuJGeOoc06bG5luuOao4_A4ZZe1PRxAE/s1600/Image+%5B6%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCTnOihNSEruyh4LGbWenrvOWrObvnZEB2W9wr4UuP4r74xAsMy5laPVlhbMWP5HX7UEl_dUx3LKIL06QB9S2uQ2aZHCIT8AElrF08USsuNDKsNuJGeOoc06bG5luuOao4_A4ZZe1PRxAE/s640/Image+%5B6%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;使用預設的compilers進行編譯&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(7).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJOoM5vPA1RtXYnCkON-8_6tTbeLc2LjhfmXmBQmoliBXPGDDFhd_MU7kKwhXXkC0sa6af8Ud_v2JFt_yeTYLDtgp8YcXK587q33sN4A29aPTxgWRH7qhOdzTU46SlPnCbZu2lPfaax9Qb/s1600/Image+%5B7%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;311&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJOoM5vPA1RtXYnCkON-8_6tTbeLc2LjhfmXmBQmoliBXPGDDFhd_MU7kKwhXXkC0sa6af8Ud_v2JFt_yeTYLDtgp8YcXK587q33sN4A29aPTxgWRH7qhOdzTU46SlPnCbZu2lPfaax9Qb/s400/Image+%5B7%5D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;當點選Finish 之後會進行初步設定，此時有一個值要手動建立Path for CUDA_SDK_ROOT_DIR，請用瀏覽的方式，將該設定值設定為你所安裝SDK的位置，如下圖所示。&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSgClDDGd_sDxs48xq81tpb3ZJPpImKTdpjK05q7x3lzLNqaTv9024AJOFMbJgXox5NHwZH8716ZwoLmi78reOQ-QmFkrGLzBBa-aAE8THDaZnKTGVD4lB3VKg6iZbtpEjYSoG4fCtICq4/s1600/Image+%5B8%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSgClDDGd_sDxs48xq81tpb3ZJPpImKTdpjK05q7x3lzLNqaTv9024AJOFMbJgXox5NHwZH8716ZwoLmi78reOQ-QmFkrGLzBBa-aAE8THDaZnKTGVD4lB3VKg6iZbtpEjYSoG4fCtICq4/s400/Image+%5B8%5D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;再度點選Configure若無出現錯誤，將可點選Generate進行建立該MakeFile檔案&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWV5K9tSGiVeKxZbuFV5c0lQnbG3q_WYWM-VpTJuWLiyJSvqkqkBH3nDwij5U7PhaY3pd9M6Q10wrMzNY8wfvtBu3IZWGXayUZmCkHZaKPwek9tyTrkQZD_MT4vQ01Dult_YjVI3s7UT3J/s1600/Image+%255B1%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWV5K9tSGiVeKxZbuFV5c0lQnbG3q_WYWM-VpTJuWLiyJSvqkqkBH3nDwij5U7PhaY3pd9M6Q10wrMzNY8wfvtBu3IZWGXayUZmCkHZaKPwek9tyTrkQZD_MT4vQ01Dult_YjVI3s7UT3J/s400/Image+%255B1%255D.png&quot; width=&quot;366&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEPlD1efeohzC3PhZwbub6YaKoB7M81RgmDlaryKhzETlHtSGUQgZAiPY9JBtGEK3g9vKHF7rrhelQxYFMn7Es_wByLn4G2aS_medQzoPYRCqf22BlBgG2MYNi-BMvTWRhG1QHwaYjsYGu/s1600/Image+%5B9%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;539&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEPlD1efeohzC3PhZwbub6YaKoB7M81RgmDlaryKhzETlHtSGUQgZAiPY9JBtGEK3g9vKHF7rrhelQxYFMn7Es_wByLn4G2aS_medQzoPYRCqf22BlBgG2MYNi-BMvTWRhG1QHwaYjsYGu/s640/Image+%5B9%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#make&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;若安裝過程中無出現錯誤，代表所有設定值與安裝之lib未出現錯誤，此時將可進行install動作&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#sudo make install&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;注意:
&lt;/span&gt;&lt;/pre&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 19px;&quot; valign=&quot;top&quot;&gt;cmake-gui中設定opencv安裝目錄&quot;CMAKE_INSTALL_PREFIX=/usr/local/opencv&quot;，若make install後發現並無安裝置/usr/local/opencv中，可檢查MakeFile.cmake檔案，並修改INSTALL_PRFIX路徑位置&lt;br /&gt;
&lt;br /&gt;
#gedit cmake_install.cmake&lt;br /&gt;
修改CMAKE_INSTALL_PREFIX=&quot;/use/local&quot; 為 &quot;/usr/local/opencv&quot;&lt;br /&gt;
&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(10).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKa8EA2KntGWO75wQ6jzczYPWUTWEHQjjVuRg1hfoSqBHg5VkYKfgYob4hwauQ6udz2SOT3q6RaYBlob3KU_feG8HDYy0qwOSKz9xt08DzyjK61ByOTNPo67om_3elU_krASsKilk9hNoO/s1600/Image+%5B10%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;font-size: medium; margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;520&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKa8EA2KntGWO75wQ6jzczYPWUTWEHQjjVuRg1hfoSqBHg5VkYKfgYob4hwauQ6udz2SOT3q6RaYBlob3KU_feG8HDYy0qwOSKz9xt08DzyjK61ByOTNPo67om_3elU_krASsKilk9hNoO/s640/Image+%5B10%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
修改設定檔&lt;br /&gt;
因為安裝路徑有修改，所以prefix=/usr/local將改成/usr/local/opencv&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6zdGiWZTHk0sSI7K7PCvUqChKuyhSjgrUwdMZ_wR0Wk8BmrTh0OFwk2rdioaX-pd42x6SsnHXjFfsAi9dxc79x2uvCZ3-_1pVDqARd8ehG6xOZD9MZLEXcp9C2ujlQfcsyRg8Z-nU_qG3/s1600/Image+%5B11%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;font-size: medium; margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;468&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6zdGiWZTHk0sSI7K7PCvUqChKuyhSjgrUwdMZ_wR0Wk8BmrTh0OFwk2rdioaX-pd42x6SsnHXjFfsAi9dxc79x2uvCZ3-_1pVDqARd8ehG6xOZD9MZLEXcp9C2ujlQfcsyRg8Z-nU_qG3/s640/Image+%5B11%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;並加-lopencv_gpu加入引用程式庫。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFcwGxTbRJPa-XZ2w8pEa58O7VnotjyJ9FfnKnj4P1u4thS2UTV5Y-CeQqunMnpLy90nenV-THuXPYw2LJPSSVTRTXP8BCalK7p19pQs2vCCD6K1vpXRsMKtT9yr6rLW6kmt3xa6n61fBG/s1600/Image+%5B12%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;467&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFcwGxTbRJPa-XZ2w8pEa58O7VnotjyJ9FfnKnj4P1u4thS2UTV5Y-CeQqunMnpLy90nenV-THuXPYw2LJPSSVTRTXP8BCalK7p19pQs2vCCD6K1vpXRsMKtT9yr6rLW6kmt3xa6n61fBG/s640/Image+%5B12%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;Step d. 修改系統變數&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;#sudo gedit /etc/bash.bashrc&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;加入下列紅色字串。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;export PATH=/usr/local/cuda/bin:&lt;/span&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;/usr/local/opencv/bin:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;$PATH&lt;br clear=&quot;none&quot; /&gt;
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/lib:&lt;/span&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;/usr/local/opencv/lib:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;$LD_LIBRARY_PATH&lt;br clear=&quot;none&quot; /&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;export PKG_CONFIG_PATH=/usr/local/opencv/lib/pkgconfig:${PKG_CONFIG_PATH}&lt;/span&gt;&lt;br clear=&quot;none&quot; /&gt;&lt;br clear=&quot;none&quot; /&gt;
# The following line should on the last line of this file.&lt;br clear=&quot;none&quot; /&gt;
export PATH=.:$PATH&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;Step e. 加入動態連結管理員&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;請於/etc/ld.so.conf.d/資料夾當中新增opencv.conf檔案，檔案內容&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 16px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;/usr/local/opencv/lib&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;新增後重新啟動ldconfig即可&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;#sudo ldconfig&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 19px;&quot;&gt;&lt;b&gt;Step4. OpenCV 2.3.1 with CUDA test&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 19px;&quot;&gt;a.建立簡單應用gpu開啟影像並做基本處裡，原始碼如下圖所示，檔名為main.cpp。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;opencv2/opencv.hpp&amp;gt;&lt;br /&gt;
#include &amp;lt;opencv2/gpu/gpu.hpp&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main (int argc, char* argv[])&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int num_device=cv::gpu::getCudaEnabledDeviceCount();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout&amp;lt;&amp;lt; &quot;Number of GPU device &quot; &amp;lt;&amp;lt; num_device&amp;lt;&amp;lt;std::endl;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat src_host = cv::imread(&quot;beach.jpg&quot;,CV_LOAD_IMAGE_GRAYSCALE);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::gpu::GpuMat dst, src;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; src.upload(src_host);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::gpu::threshold(src, dst, 128.0, 255.0, CV_THRESH_BINARY);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::Mat result_host = dst;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::imshow(&quot;Result&quot;, result_host);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::waitKey();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(const cv::Exception&amp;amp; ex)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; &quot;Error: &quot; &amp;lt;&amp;lt; ex.what() &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;編譯c++&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;#g++ main.cpp -o gpu_test `pkg-config --cflags --libs opencv`&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;執行如下圖所示。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre style=&quot;font-size: 19px;&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKa0S7OnaSUw4Z8Rrp2nWKaFEEH8qwgjjuw8rMiZZsVKRfksAUxmBZT6WYwTQ9CLxS88vyv-WSlcr75mkpW3bOUQcNs_8rW_qYgaBbFHNewJHcgjoULAXtEF851pZleQfT7t4oh9sksDrU/s1600/Image+%5B13%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;149&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKa0S7OnaSUw4Z8Rrp2nWKaFEEH8qwgjjuw8rMiZZsVKRfksAUxmBZT6WYwTQ9CLxS88vyv-WSlcr75mkpW3bOUQcNs_8rW_qYgaBbFHNewJHcgjoULAXtEF851pZleQfT7t4oh9sksDrU/s320/Image+%5B13%5D.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: 微軟正黑體; font-size: 19px;&quot;&gt;b.GPU Device info&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;#include &amp;lt;opencv2/opencv.hpp&amp;gt;&lt;br /&gt;
#include &amp;lt;opencv2/gpu/gpu.hpp&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int num_device= cv::gpu::getCudaEnabledDeviceCount();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; &quot;Number of CUDA device: &quot; &amp;lt;&amp;lt; num_device &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (num_device&amp;gt;0) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int dev_id=cv::gpu::getDevice();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cv::gpu::DeviceInfo dev_info;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dev_info=cv::gpu::DeviceInfo::DeviceInfo(dev_id);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; &quot;Device information&quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; &quot;Device name: &quot; &amp;lt;&amp;lt; dev_info.name() &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; &quot;Number of Processor: &quot; &amp;lt;&amp;lt; dev_info.multiProcessorCount() &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; &quot;Total Memory: &quot; &amp;lt;&amp;lt; dev_info.totalMemory()/1024 &amp;lt;&amp;lt; &quot; (Mb)&quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;br /&gt;
}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; text-align: -webkit-auto;&quot;&gt;&lt;img src=&quot;file:///C:/Users/TRong/AppData/Local/Temp/enhtmlclip/Image(14).png&quot; style=&quot;cursor: default;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaDYUuOZuUr4d8BHwu3sCHswq7kqMb2OcolvPphkT2NakWP6BUAVqMPF0tTEF5bD1uJOiiNdyPJBPHTpJGWim4Zg2lkkPbuecioFGtarhonY49tGPnlsC5GIlUC3DsLfSsddlgygsXhaLW/s1600/Image+%5B14%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaDYUuOZuUr4d8BHwu3sCHswq7kqMb2OcolvPphkT2NakWP6BUAVqMPF0tTEF5bD1uJOiiNdyPJBPHTpJGWim4Zg2lkkPbuecioFGtarhonY49tGPnlsC5GIlUC3DsLfSsddlgygsXhaLW/s400/Image+%5B14%5D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/7274960284023488160/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/05/how-to-install-cuda-40-122-on-ubuntu.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/7274960284023488160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/7274960284023488160'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/05/how-to-install-cuda-40-122-on-ubuntu.html' title='How to install CUDA 4.0 12.2 on Ubuntu 10.10'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDip0U2z7UaNeAAAW_ZXfBKwvx9fee3HWGTLC2bZMZ3bvHdKdQ1BqzEhv8AM0_ME1n6gxNxklXiStMNa7tRDmR8_xuyoc6WT0gGdN9wG2rc3QL6H900KofCtnkIwLR4SqMdWK_jtV-mc39/s72-c/Image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-4677132050250093376</id><published>2012-05-06T09:11:00.001-07:00</published><updated>2012-05-07T05:57:53.199-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio"/><title type='text'>OpenCV 2.3.1 with Visual Studio 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
雖然OpenCV 2.4已經正式釋出了，這邊還是先做2.3.1的介紹，安裝步驟如下。&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;Step1.下載OpenCV-2.3.1-win-superpack.exe&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBaMbrdAelMyJjxAP0KBgmVYNSkbL4G2pG5nblXJBUjmSd0pFvGZ8arlxLTtvrZJDzp0T5uMG0N-3pJDTtnJj4n_8UrdBBJjBW9I5fvM-HdVx_E3Df0KGjBpzMzDG8bRcdfAqKFGS7XC0X/s1600/Image+%5B2%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBaMbrdAelMyJjxAP0KBgmVYNSkbL4G2pG5nblXJBUjmSd0pFvGZ8arlxLTtvrZJDzp0T5uMG0N-3pJDTtnJj4n_8UrdBBJjBW9I5fvM-HdVx_E3Df0KGjBpzMzDG8bRcdfAqKFGS7XC0X/s640/Image+%5B2%5D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;Step2.將下載之Superpack進行解壓縮&lt;/b&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 19px; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div&gt;
該解壓縮位置非常重要，是接下來path等相關環境變數所要設定的位置。本範例解壓縮至&quot;C:\OpenCV_2.3.1\&quot;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdxnlB7wd88aC25nBd5tWQWmPk0jqYI0dGlSOpnzFeFTnR5q8mc3N5u6-WQdbe4clQ5SsaRJk7IL-bjJP74ugsusToSEOcrh-JluPf_EIgOCc9QtB2kMUEoqJ8if7OhUtwvb39GM16MYtg/s1600/ScreenClip.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;130&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdxnlB7wd88aC25nBd5tWQWmPk0jqYI0dGlSOpnzFeFTnR5q8mc3N5u6-WQdbe4clQ5SsaRJk7IL-bjJP74ugsusToSEOcrh-JluPf_EIgOCc9QtB2kMUEoqJ8if7OhUtwvb39GM16MYtg/s400/ScreenClip.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;Step3.設定Window 環境變數&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
a.新增系統變數OPENCV_DIR=C:\OpenCV_2.3.1&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9_-q4NCVzN1flOYaV0TbUqpPCo9NzIpll414O0QUq29HTVI9_3YFbms7cKWbFwC1leoTQfFpC1BG7m71tQxVFer-9pxevE5ISVk9KeRxSIpNoJpb0ouekNXPY3Cr4kotp04xvophInqrK/s1600/Image+%255B3%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;129&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9_-q4NCVzN1flOYaV0TbUqpPCo9NzIpll414O0QUq29HTVI9_3YFbms7cKWbFwC1leoTQfFpC1BG7m71tQxVFer-9pxevE5ISVk9KeRxSIpNoJpb0ouekNXPY3Cr4kotp04xvophInqrK/s320/Image+%255B3%255D.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;b.查看是否有新增成功&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpLqEWbYo6d-viG4o433MAsrgmd31tOwx6oV22LAXStnTsxwW1oftgfGdp5Zkaq1wolBpcRYgGp1dZh9gpCUhgTZb0PAqsKfhlunOVZMwo3UwV13eROi-ALPaI3X2kn4FYuoIFsLbrQzSC/s1600/Image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpLqEWbYo6d-viG4o433MAsrgmd31tOwx6oV22LAXStnTsxwW1oftgfGdp5Zkaq1wolBpcRYgGp1dZh9gpCUhgTZb0PAqsKfhlunOVZMwo3UwV13eROi-ALPaI3X2kn4FYuoIFsLbrQzSC/s400/Image.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;c.修改Path環境變數，&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;加入OpenCV bin位置&quot;%OPENCV_DIR%\build\x64\vc10\bin&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;補充:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 19px;&quot; valign=&quot;top&quot;&gt;如果要加入GPU計算(CUDA)，PATH路徑%OPENCV_DIR%\build\gpu\x64\bin，兩個不可以同時加入，因為bin裡面的資料都相同，系統將無法判別要使用哪個dll檔案。&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;加入TBB bin 位置&quot;%OPENCV_DIR%\build\common\tbb\intel64\vc10&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcLTuXi6HrBrWGlsbR8VWI4tnbseoMMD70rZCufQx3w5tTB9901eO9A0fNC7tL9sweSL-XIDO1pW_Q7X6lzn9wSuHNEDh4W87Rm74Ky2fEIIyxlorT3Vqc2uzbEUDp9YwiFJjbovooJe4r/s1600/Image+%255B4%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcLTuXi6HrBrWGlsbR8VWI4tnbseoMMD70rZCufQx3w5tTB9901eO9A0fNC7tL9sweSL-XIDO1pW_Q7X6lzn9wSuHNEDh4W87Rm74Ky2fEIIyxlorT3Vqc2uzbEUDp9YwiFJjbovooJe4r/s400/Image+%255B4%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;d.查看是否新增成功&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrIiT__8K1fDqfK7y6oQxt6KkGfVu8rVPNu_YRFekf3EJ8J4bsPexpqvY6KcNqwzCEAMArF2aFZ30J2DF7cJ2k-3tTtzhG89XDYhuv5IETrzwSGyfOGyPfjdUi6byffC32oydRLc-NW7oQ/s1600/Image+%255B5%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrIiT__8K1fDqfK7y6oQxt6KkGfVu8rVPNu_YRFekf3EJ8J4bsPexpqvY6KcNqwzCEAMArF2aFZ30J2DF7cJ2k-3tTtzhG89XDYhuv5IETrzwSGyfOGyPfjdUi6byffC32oydRLc-NW7oQ/s400/Image+%255B5%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;Step4: Visual Studio 2010 設置屬性&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
a.於Visual Studio 2010中，新增win32主控台應用程式&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC1Lb68wet8SMPuC8roEAzfshuKCsSxnZ-8hMU9lBPwubHFKcFgdGGHpDe8KTfiTYa_rgCw9yRUM8yOPJLtoGt5LATwI9UpXl7ndcDcZ8L_s3TA9M4V-L-5MMxjaNgyLxJisYE-4HYyqK3/s1600/Image+%255B9%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;444&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC1Lb68wet8SMPuC8roEAzfshuKCsSxnZ-8hMU9lBPwubHFKcFgdGGHpDe8KTfiTYa_rgCw9yRUM8yOPJLtoGt5LATwI9UpXl7ndcDcZ8L_s3TA9M4V-L-5MMxjaNgyLxJisYE-4HYyqK3/s640/Image+%255B9%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;b.Win32應用程式精靈&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghwKxCXdtaLwTyJKLzS5fGHTmP9S2EF7DrIbgngKQFfmlb-y9WcyerUOtjvollbtsyzeZXg8FZ8brhfElcjF2F6vqgdwvhagsM75mgsBmjvBNCqIi-70TVrUS0inCtufMbYN46HLGaxEYy/s1600/Image+%255B7%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;506&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghwKxCXdtaLwTyJKLzS5fGHTmP9S2EF7DrIbgngKQFfmlb-y9WcyerUOtjvollbtsyzeZXg8FZ8brhfElcjF2F6vqgdwvhagsM75mgsBmjvBNCqIi-70TVrUS0inCtufMbYN46HLGaxEYy/s640/Image+%255B7%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;點選建立空專案並且點選完成。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju16HtX11gfPjozyqMcsdYcj-hy50yiCSW7vtp1YdoGyAl3WKQVor6yN2Sf1RHUeiUxSHbk_85BcF_lkom1-HwcJzKNuYD3W-QJ9paOVpag032BUNqaXRy3cCv66PbrklpJvTNZ7AVreEf/s1600/Image+%255B8%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;510&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju16HtX11gfPjozyqMcsdYcj-hy50yiCSW7vtp1YdoGyAl3WKQVor6yN2Sf1RHUeiUxSHbk_85BcF_lkom1-HwcJzKNuYD3W-QJ9paOVpag032BUNqaXRy3cCv66PbrklpJvTNZ7AVreEf/s640/Image+%255B8%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;c.建立x64應用程式專案&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;這次的目標是要建立x64版本的OpenCV程式，如下圖所示&lt;/span&gt;點選組態管理員&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjQKATpwKY17rSjB8QU4GLUrv0KU5sGI0FaBmqwuOs8r7pNtq8_MzHQmLoqhrsce23nr9goRIIlbib4Uq3-yPRSS5xU2DbYKjZVJt7_fUqem-TzKe0-BdkN7iM31RPjuCYrG_Ivo5jqs0s/s1600/Image+%255B11%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;144&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjQKATpwKY17rSjB8QU4GLUrv0KU5sGI0FaBmqwuOs8r7pNtq8_MzHQmLoqhrsce23nr9goRIIlbib4Uq3-yPRSS5xU2DbYKjZVJt7_fUqem-TzKe0-BdkN7iM31RPjuCYrG_Ivo5jqs0s/s640/Image+%255B11%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;於平台選單中點選新增&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Z0yLQj4fjGxZTaVES_TQDfnK0zRgDPh2Hzl2QG-uGxKRap6N-aCJY2FxnychLLGLOQ6gkBqyjKNsi92QWK1N2iuBbBAgLZKnUIPcP8nkHbcbinPCiYTbB4WmI0v4ydUqz-PBmdn9p-UN/s1600/Image+%255B10%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;424&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Z0yLQj4fjGxZTaVES_TQDfnK0zRgDPh2Hzl2QG-uGxKRap6N-aCJY2FxnychLLGLOQ6gkBqyjKNsi92QWK1N2iuBbBAgLZKnUIPcP8nkHbcbinPCiYTbB4WmI0v4ydUqz-PBmdn9p-UN/s640/Image+%255B10%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;並新增新平台為x64&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-OaJAaIsMQ7BprWuPkoa-N24zD5D-L6xdAh9myadMODuoLw7gqykeNHBIpDLy4KMdL9s1BR4G4OPH5984r-aa5bgam5F33X7eWoGWAY18GiMenNxtydJHUeiQ4SOhOCHKRjK-3EvTrHk6/s1600/Image+%255B12%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-OaJAaIsMQ7BprWuPkoa-N24zD5D-L6xdAh9myadMODuoLw7gqykeNHBIpDLy4KMdL9s1BR4G4OPH5984r-aa5bgam5F33X7eWoGWAY18GiMenNxtydJHUeiQ4SOhOCHKRjK-3EvTrHk6/s320/Image+%255B12%255D.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;新增後組態管理員將出現Debug | x64 與 Release | x64專案屬性&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlJ40N9nNcbjiA9aILXHODrPXRREUk0dNfyiiUxu5BCWPyHY6vCoItFey-Fhivi4wiBOC59dP4_eRIWMkDfKnLn7osNFEewTUWbLdNfRLmt3ONUU11VXRlcC35Ur7yuB4i3e76EFWvGWq5/s1600/ScreenClip+%255B4%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlJ40N9nNcbjiA9aILXHODrPXRREUk0dNfyiiUxu5BCWPyHY6vCoItFey-Fhivi4wiBOC59dP4_eRIWMkDfKnLn7osNFEewTUWbLdNfRLmt3ONUU11VXRlcC35Ur7yuB4i3e76EFWvGWq5/s400/ScreenClip+%255B4%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;若無需建立Win32版本，可由此案右鍵將組態給移除。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQCKXfg8CckMrLppODt6BYzfiQ7DUeBTMlD84hZUnpJnovgPDPMpOWAnDm1R6X3pszMtAi3D9Dwtnrw1bEkendMnKw5oHOetKDqNe5hbmmdG-8Us3KjWEvi4r8cBwIEUQOE6GkwUT32iYV/s1600/Image+%255B15%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQCKXfg8CckMrLppODt6BYzfiQ7DUeBTMlD84hZUnpJnovgPDPMpOWAnDm1R6X3pszMtAi3D9Dwtnrw1bEkendMnKw5oHOetKDqNe5hbmmdG-8Us3KjWEvi4r8cBwIEUQOE6GkwUT32iYV/s400/Image+%255B15%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
於此可用Visual Studio 2010之新功能，先建立專案屬性，利用該專案屬性功能先建立預設值，未來將可直接在入該檔案，無須每次進行下列設定。於Debug | x64 按右鍵，並點選加入新的專案屬性工作表。如下圖所示。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCjir-Kj2z286JlcZ5sQ_QpjSNP2SACNJEcLS2M1vzmXbn2CbcWIQrt-fvTWBF9MuOfwcPP-RrnyqgxVmPFhFDUrmQRdHocxR_VuzvSfYc5WfglOCVhQp_I3kC21L7lsoOyHT9p3y02Jol/s1600/Image+%255B13%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCjir-Kj2z286JlcZ5sQ_QpjSNP2SACNJEcLS2M1vzmXbn2CbcWIQrt-fvTWBF9MuOfwcPP-RrnyqgxVmPFhFDUrmQRdHocxR_VuzvSfYc5WfglOCVhQp_I3kC21L7lsoOyHT9p3y02Jol/s400/Image+%255B13%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
建立該屬性名稱，輸入名稱OpenCVProject，並點選新增。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-2WUWhIHAjuEt1QcuATepmyMv0jJJEbXqqMqKb29jaJLUEKC3oLG6OVep0oSmk0iFtxAAQB69yPedR0dYaH-0B9fLBvR9Lu5uV9TXo5KeQrczjYj_n-61Aae_NJpP1z-BJMwc0qiPoD4x/s1600/ScreenClip+%255B3%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;441&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-2WUWhIHAjuEt1QcuATepmyMv0jJJEbXqqMqKb29jaJLUEKC3oLG6OVep0oSmk0iFtxAAQB69yPedR0dYaH-0B9fLBvR9Lu5uV9TXo5KeQrczjYj_n-61Aae_NJpP1z-BJMwc0qiPoD4x/s640/ScreenClip+%255B3%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;建立屬性工作表之後，請於屬性工作表裏面進行編輯，點選OpenCVProject兩下開啟OpenCVProject屬性。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX3PFYciwMHCE_K7KVD63kmdtKqAJtwQid1dhPTqqBcy_bzt1HyDGDcMR95bg19obCKguLiz8cXGbLIaJuK4KoR-qRVhAeNda2vCiZBkV385gRgA79UChzvKcAI1Xp2aANmLEfsIiSMD6y/s1600/Image+%255B14%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;321&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX3PFYciwMHCE_K7KVD63kmdtKqAJtwQid1dhPTqqBcy_bzt1HyDGDcMR95bg19obCKguLiz8cXGbLIaJuK4KoR-qRVhAeNda2vCiZBkV385gRgA79UChzvKcAI1Xp2aANmLEfsIiSMD6y/s640/Image+%255B14%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
加入OpenCV Include目錄。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwecxiY9_O24HawhvW6bx5xDP8WUSrgUPDjsHXVmNeMLKnXCY54FE-jesin0TKwm4p6PapTJNikxQXcFsQALo7agLWB14bCCfxcgZkelg3icA-kVLLQChqKDu0ZxbZDqIBbu7WzFeewqw5/s1600/Image+%255B20%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;435&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwecxiY9_O24HawhvW6bx5xDP8WUSrgUPDjsHXVmNeMLKnXCY54FE-jesin0TKwm4p6PapTJNikxQXcFsQALo7agLWB14bCCfxcgZkelg3icA-kVLLQChqKDu0ZxbZDqIBbu7WzFeewqw5/s640/Image+%255B20%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;加入&quot;$(OPENCV_DIR)\build\include&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;注意&lt;/span&gt;$(OPENCV_DIR)為windows環境變數，於Step3.時加入，相對應資料夾為C:\OpenCV_2.3.1&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7T8fvlPj1Ld09rkED_OG0pV9M7Nk1qsxn5tsrJuDgZwFuyPboltrxrOwZABo4WKsuSZdt4qe52Z1UVvyhGH6BuMvnhLyJkeyqoRz-J0K2u0Yw9HcU0zCit87pfXsG5tGOBpujT4kXDtE0/s1600/Image+%255B6%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;355&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7T8fvlPj1Ld09rkED_OG0pV9M7Nk1qsxn5tsrJuDgZwFuyPboltrxrOwZABo4WKsuSZdt4qe52Z1UVvyhGH6BuMvnhLyJkeyqoRz-J0K2u0Yw9HcU0zCit87pfXsG5tGOBpujT4kXDtE0/s400/Image+%255B6%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;加入程式庫目錄&quot;$(OPENCV_DIR)\build\x86\vc10\lib&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;補充&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 19px;&quot; valign=&quot;top&quot;&gt;如果使用的是GPU加速版本，要將lib庫指向 $(OPENCV_DIR)\build\gpu\x64\lib&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGK48_kD44BTEoe9xcyMWIB1AHpykP1gOb3OptYBFmla5mVkLX4JPSxJFl-IjMy8FNiBOQIs7VUaORoureKRLwWOXxUNrznRhYAfw2snKFk9SrWsgYPRyDfiW36NwoLzQCCW8C5EU5vK6S/s1600/ScreenClip+%255B2%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;352&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGK48_kD44BTEoe9xcyMWIB1AHpykP1gOb3OptYBFmla5mVkLX4JPSxJFl-IjMy8FNiBOQIs7VUaORoureKRLwWOXxUNrznRhYAfw2snKFk9SrWsgYPRyDfiW36NwoLzQCCW8C5EU5vK6S/s400/ScreenClip+%255B2%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;修改後如下&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYo29G9U-U4B0FDOs6oFuYaDCj9VlNbn-gAf6EpU_nS3e0t5FmeFPGnT5tOshX7CsnJjmC9Rnkqc6-CbfKyQAD4_rGvhjdnZQO6Vlx-7xEtycg9oOX3d7vGJlISXqGyacVJDZBExZ6pNlX/s1600/Image+%255B16%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;432&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYo29G9U-U4B0FDOs6oFuYaDCj9VlNbn-gAf6EpU_nS3e0t5FmeFPGnT5tOshX7CsnJjmC9Rnkqc6-CbfKyQAD4_rGvhjdnZQO6Vlx-7xEtycg9oOX3d7vGJlISXqGyacVJDZBExZ6pNlX/s640/Image+%255B16%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
新增上述兩個目錄之後將OpenCVProject儲存，如下圖所示。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1FiFrdo9w9V5z4TqRB1d0b0QnMevKzE8cFeG5ilqy_8iC6ON5IXSKEVBkctRb5j3EWZAr798E_QOqCY4OR1HTkSSA-aUbZMYCXbbCRThlA4QMlulPc241Pi6cTSHfeIOq-mIGKRFXWFlT/s1600/Image+%255B19%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;261&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1FiFrdo9w9V5z4TqRB1d0b0QnMevKzE8cFeG5ilqy_8iC6ON5IXSKEVBkctRb5j3EWZAr798E_QOqCY4OR1HTkSSA-aUbZMYCXbbCRThlA4QMlulPc241Pi6cTSHfeIOq-mIGKRFXWFlT/s400/Image+%255B19%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
Release項將可直接加入該屬性工作表即可。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeSCTITJ2M40phm0PM6VKXKTNzVZzNU-XAgCvnIhlgZ0oGr_ZYa_9o4tzzUK8CxVZ0SuX-0cyxQEC4hyphenhyphengELRti4PL9rtSIh_TwiW4KBWev2PHKC31wLO_7IZ1QKpmXLukOwFZ6KGxUKMC/s1600/Image+%255B28%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzeSCTITJ2M40phm0PM6VKXKTNzVZzNU-XAgCvnIhlgZ0oGr_ZYa_9o4tzzUK8CxVZ0SuX-0cyxQEC4hyphenhyphengELRti4PL9rtSIh_TwiW4KBWev2PHKC31wLO_7IZ1QKpmXLukOwFZ6KGxUKMC/s400/Image+%255B28%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX8xsmoB_3vuozVt5tFIkFgH-9Q2pmFDZ1LoKg2FN3tygNPQOrFv9DRp93wgftgajqF_fWOzQMiabueOftNvUGHjr6L-kgVZSqDJPfxsXxIM6jEr_Vxdmy_hpVO0C02M9o0N4S8dyZ9bQn/s1600/Image+%255B27%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;371&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX8xsmoB_3vuozVt5tFIkFgH-9Q2pmFDZ1LoKg2FN3tygNPQOrFv9DRp93wgftgajqF_fWOzQMiabueOftNvUGHjr6L-kgVZSqDJPfxsXxIM6jEr_Vxdmy_hpVO0C02M9o0N4S8dyZ9bQn/s400/Image+%255B27%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
最後要新增C++裡面的其他相依性，於Debug | x64 上點選右鍵&quot;屬性&quot;，並於&quot;輸入&quot;之其他相依性加入OpenCV之lib檔案&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSHpW1zIuRfAIkkX5HtjdyunLYLj6CeO0ChiTeHEul9IzxKoI40c8qOXlf2wimxWZAc5J-1ritJ7-PHzHBnuMbw3Z8jpmZfp3Jw6Y-Nm3h2cVF95tfgeShskTGsafbhUFNyxGZNTukqOE-/s1600/Image+%255B18%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;321&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSHpW1zIuRfAIkkX5HtjdyunLYLj6CeO0ChiTeHEul9IzxKoI40c8qOXlf2wimxWZAc5J-1ritJ7-PHzHBnuMbw3Z8jpmZfp3Jw6Y-Nm3h2cVF95tfgeShskTGsafbhUFNyxGZNTukqOE-/s640/Image+%255B18%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg20SqRGGQgF75qp78IVYeBG3fnGB83y47JS4WMxM1winS2-lswe7TE0jQ6vnkRUPWPkkK8_Pji0frAdjTvmQFTz-LXd0d_0otFGoB2exoVxR8t_pWXNWI2vyljhk9tOMIOvql1JzkWSv0l/s1600/Image+%255B22%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;350&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg20SqRGGQgF75qp78IVYeBG3fnGB83y47JS4WMxM1winS2-lswe7TE0jQ6vnkRUPWPkkK8_Pji0frAdjTvmQFTz-LXd0d_0otFGoB2exoVxR8t_pWXNWI2vyljhk9tOMIOvql1JzkWSv0l/s400/Image+%255B22%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
Release | x64也須做相同的動作，下面列出相關lib輸入值，該相依性可依據該專案進行新增，若該專案用不到該lib將可不需填入。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
如何使用DOS指令將所有lib進行List&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;DOS指令&lt;br /&gt;
Release列表&lt;br /&gt;
dir/b *231.lib &amp;gt; release_list.txt&lt;br /&gt;
Debug列表&lt;br /&gt;
dir/b *231d.lib &amp;gt; debug_list.txt&lt;br /&gt;
&lt;br /&gt;
輸出結果&lt;br /&gt;
release&lt;br /&gt;
opencv_calib3d231.lib&lt;br /&gt;
opencv_contrib231.lib&lt;br /&gt;
opencv_core231.lib&lt;br /&gt;
opencv_features2d231.lib&lt;br /&gt;
opencv_flann231.lib&lt;br /&gt;
opencv_gpu231.lib&lt;br /&gt;
opencv_highgui231.lib&lt;br /&gt;
opencv_imgproc231.lib&lt;br /&gt;
opencv_legacy231.lib&lt;br /&gt;
opencv_ml231.lib&lt;br /&gt;
opencv_objdetect231.lib&lt;br /&gt;
opencv_ts231.lib&lt;br /&gt;
opencv_video231.lib&lt;br /&gt;
&lt;br /&gt;
debug&lt;br /&gt;
opencv_calib3d231d.lib&lt;br /&gt;
opencv_contrib231d.lib&lt;br /&gt;
opencv_core231d.lib&lt;br /&gt;
opencv_features2d231d.lib&lt;br /&gt;
opencv_flann231d.lib&lt;br /&gt;
opencv_gpu231d.lib&lt;br /&gt;
opencv_highgui231d.lib&lt;br /&gt;
opencv_imgproc231d.lib&lt;br /&gt;
opencv_legacy231d.lib&lt;br /&gt;
opencv_ml231d.lib&lt;br /&gt;
opencv_objdetect231d.lib&lt;br /&gt;
opencv_ts231d.lib&lt;br /&gt;
opencv_video231d.lib &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Debug&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
opencv_core231d.lib&lt;br /&gt;
opencv_imgproc231d.lib&lt;br /&gt;
opencv_highgui231d.lib&lt;br /&gt;
opencv_ml231d.lib&lt;br /&gt;
opencv_video231d.lib&lt;br /&gt;
opencv_features2d231d.lib&lt;br /&gt;
opencv_calib3d231d.lib&lt;br /&gt;
opencv_objdetect231d.lib&lt;br /&gt;
opencv_contrib231d.lib&lt;br /&gt;
opencv_legacy231d.lib&lt;br /&gt;
opencv_flann231d.lib&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Release&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
opencv_core231.lib&lt;br /&gt;
opencv_imgproc231.lib&lt;br /&gt;
opencv_highgui231.lib&lt;br /&gt;
opencv_ml231.lib&lt;br /&gt;
opencv_video231.lib&lt;br /&gt;
opencv_features2d231.lib&lt;br /&gt;
opencv_calib3d231.lib&lt;br /&gt;
opencv_objdetect231.lib&lt;br /&gt;
opencv_contrib231.lib&lt;br /&gt;
opencv_legacy231.lib&lt;br /&gt;
opencv_flann231.lib&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Step5: OpenCV Hello World&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;建立簡單OpenCV顯示圖片程式&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;於原始程式檔中加入一新增項目。如下圖所示。&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitIxFidf27KjfcbydtYbvpUFQA-5M6kVY0DN5CzgyKuvloGLazFXjmY_kjVzKRinoMcIkUofbxcZoh-c9l8gtSK8r5ZNoPj3g2peUdkz-z_iBi8pQv9w_CaFLSsHGL9Kw2jZtKDkvvIk5S/s1600/Image+%255B25%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitIxFidf27KjfcbydtYbvpUFQA-5M6kVY0DN5CzgyKuvloGLazFXjmY_kjVzKRinoMcIkUofbxcZoh-c9l8gtSK8r5ZNoPj3g2peUdkz-z_iBi8pQv9w_CaFLSsHGL9Kw2jZtKDkvvIk5S/s640/Image+%255B25%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
新增C++檔案，檔名為main.cpp&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-left: 5px; margin-right: 5px; margin-top: 5px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit80_nzNusvqB7VUz-Qfrw0Ybdq9iK7g2C260oGCW33SnKaXJnVFa6ICL_fpB6xriI73zX-p62om1_B-61ms2VCkkkrQgNbMWNzd1ckuplphfCFVy0gJiEm2PJCRmpg6oU9co0n9mZp6wE/s1600/ScreenClip+%255B5%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;440&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit80_nzNusvqB7VUz-Qfrw0Ybdq9iK7g2C260oGCW33SnKaXJnVFa6ICL_fpB6xriI73zX-p62om1_B-61ms2VCkkkrQgNbMWNzd1ckuplphfCFVy0gJiEm2PJCRmpg6oU9co0n9mZp6wE/s640/ScreenClip+%255B5%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
貼上測試程式碼。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFB_BUy2BsueU83SiW_TiYC_6xLPvq1tYymPGYwtFVfBY2P1ZhkTQ4yPlaunkkkFUKUdox0aib5k9EQZHtUuMaqkYsNuSyRMNGv_Ar5OfY55jFrNJ-6-60huDRb7Fsya77Y_eFq6rhB-6o/s1600/Image+%255B23%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFB_BUy2BsueU83SiW_TiYC_6xLPvq1tYymPGYwtFVfBY2P1ZhkTQ4yPlaunkkkFUKUdox0aib5k9EQZHtUuMaqkYsNuSyRMNGv_Ar5OfY55jFrNJ-6-60huDRb7Fsya77Y_eFq6rhB-6o/s640/Image+%255B23%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
如何驗證你所建立的專案與OpenCV lib有成功連結，你可以簡單輸入cv::，如果有出現下圖相關程式，代表該專案已經成功與OpenCV連結。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb2_Za0kSUkFlr4isQPI5-h8ozGsYMXxyW3icgVVBRsiNYe8dirhPaCDcJQbegGscZnIT4-Iis2LnVkmxNXN30mbvOzrJUR2Cd-AMPUBM1EmF5jTYjOwQlu0k1-G99JXoB6rXLiCdyQLF-/s1600/Image+%255B26%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb2_Za0kSUkFlr4isQPI5-h8ozGsYMXxyW3icgVVBRsiNYe8dirhPaCDcJQbegGscZnIT4-Iis2LnVkmxNXN30mbvOzrJUR2Cd-AMPUBM1EmF5jTYjOwQlu0k1-G99JXoB6rXLiCdyQLF-/s1600/Image+%255B26%255D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
測試專案是否可以常運作&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8D3ra6fIF3R-puQqBINo8tv0zch7s1qg03hOfrFhI27Y2tH9AVNqjC4Vk-34e_nKs0XngZc04KeiyvkYcTc7iqhpCHTVRBHvVC0Ovo7e6PiZrIRdqmUr2lsdxMrQG71Jzao31Ay2DpuBV/s1600/Image+%255B21%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8D3ra6fIF3R-puQqBINo8tv0zch7s1qg03hOfrFhI27Y2tH9AVNqjC4Vk-34e_nKs0XngZc04KeiyvkYcTc7iqhpCHTVRBHvVC0Ovo7e6PiZrIRdqmUr2lsdxMrQG71Jzao31Ay2DpuBV/s1600/Image+%255B21%255D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
如果出現下圖，無任何錯誤發生，代表該執行檔已經成功被Compiled&lt;/div&gt;
&lt;span style=&quot;color: #333333; font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoFYK0FRha1eSu6yO2QVug5QGDWa-jgTtsnyXqEg9auCfQnlugf5UqegeAwHzOcm8WzygFczQxmh0YvWHSBwve-GWULVE-dkzzvQ-xmw_FNxgwAbxRghF1g97EZGFtu_hyphenhyphenfUXBQVDJo7TQ/s1600/Image+%255B17%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoFYK0FRha1eSu6yO2QVug5QGDWa-jgTtsnyXqEg9auCfQnlugf5UqegeAwHzOcm8WzygFczQxmh0YvWHSBwve-GWULVE-dkzzvQ-xmw_FNxgwAbxRghF1g97EZGFtu_hyphenhyphenfUXBQVDJo7TQ/s400/Image+%255B17%255D.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
成功Compil出一個OpenCV程式了。&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI-stM_z8TXuQyu6yuPOrifUfUtuLnFyNtzgoLLhuorz8RTl5QyGl2ihbQWJsRcbRdX-TO1WN-XOeIdoWWOjJ35pJuswCMjKOKU2h7yAUUmGJ4MybYg5y-cdIqCVsR9EGAWtVg6YcHDFtu/s1600/Image+%255B24%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;584&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI-stM_z8TXuQyu6yuPOrifUfUtuLnFyNtzgoLLhuorz8RTl5QyGl2ihbQWJsRcbRdX-TO1WN-XOeIdoWWOjJ35pJuswCMjKOKU2h7yAUUmGJ4MybYg5y-cdIqCVsR9EGAWtVg6YcHDFtu/s640/Image+%255B24%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;Step5: OpenCV whith cuda Hello World&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;上述安裝步驟中如果你需要啟動CUDA平行運算，可以參考補充部分，將path及Lib dll庫的位置設定為GPU用，這樣您將可以使用OpenCV上的CUDA運算。&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;回顧:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;1.環境變數修改成:&lt;span style=&quot;color: red;&quot;&gt;%OPENCV_DIR%\build\gpu\x64\bin&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;2.Visual Studio 2010中C++ lib 庫路徑指向&amp;nbsp;&lt;span style=&quot;color: #e30000;&quot;&gt;$(OPENCV_DIR)\build\gpu\x64\lib&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;3.OpenCV with 需要硬體與驅動程式部分&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;a.支援CUDA平行運算之NVIDIA顯示卡&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;b.安裝nvidia驅動程式。4.0以上，版範例安裝&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;devdriver_4.1_winvista-win7_64_286.19_general.exe&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;c.安裝CUDA ToolKit。OpenCV 2.3.1 Release 時所使用的版本為4.0.17 所以要安裝&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;cudatoolkit_4.0.17_win_64.msi&lt;/span&gt;，若已經安裝cudatoolkit_4.1.28_win_64.msi，可在下載安裝4.0.17版即可，ToolKit可以共存不同版本，因此不須將新舊版本進行移除。&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;d.安裝CUDA SDK 。本範例安裝&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;gpucomputingsdk_4.1.28_win_64.exe。&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 40px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;4.OpenCV 2.3.1 With CUDA Test&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;使用OpenCV所提供的範例如下。&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg45tuEYEOKktHi9jRxMwr59DlmMxUAmgDKAWzxXz8p1zZvCq3J163jLNZvzAForfUOHXB7KEOoBF8IwaDinH0UEsi3rVFOuHooaaWglyIsuGKaH3NvyF5AeT47ex3Ibas5JRhcop0Llj9/s1600/Image+%255B29%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;610&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg45tuEYEOKktHi9jRxMwr59DlmMxUAmgDKAWzxXz8p1zZvCq3J163jLNZvzAForfUOHXB7KEOoBF8IwaDinH0UEsi3rVFOuHooaaWglyIsuGKaH3NvyF5AeT47ex3Ibas5JRhcop0Llj9/s640/Image+%255B29%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;span style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: Tahoma;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 19px;&quot;&gt;
&lt;b&gt;輸出結果，範例中顯示本電腦有一個GPU device，並且可以使用他進行編譯及執行。&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmz0XELtzx-V4fwbNjNHW1-Xk6icLAv389mrT4h5KEVyoW3MpcvEGqOi59vt5xmTfvAec2vkwPPRp0i6y1qWIHLaJZDmiEAO4h5AGn3YRbnqtbQmyf-5ZZA15fgNgWZ86NtRnLv78NX9Zk/s1600/ScreenClip+%255B6%255D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;416&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmz0XELtzx-V4fwbNjNHW1-Xk6icLAv389mrT4h5KEVyoW3MpcvEGqOi59vt5xmTfvAec2vkwPPRp0i6y1qWIHLaJZDmiEAO4h5AGn3YRbnqtbQmyf-5ZZA15fgNgWZ86NtRnLv78NX9Zk/s640/ScreenClip+%255B6%255D.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-size: 19px; text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/4677132050250093376/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/05/opencv-231-with-visual-studio-2010.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/4677132050250093376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/4677132050250093376'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/05/opencv-231-with-visual-studio-2010.html' title='OpenCV 2.3.1 with Visual Studio 2010'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBaMbrdAelMyJjxAP0KBgmVYNSkbL4G2pG5nblXJBUjmSd0pFvGZ8arlxLTtvrZJDzp0T5uMG0N-3pJDTtnJj4n_8UrdBBJjBW9I5fvM-HdVx_E3Df0KGjBpzMzDG8bRcdfAqKFGS7XC0X/s72-c/Image+%5B2%5D.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8148923058404809644.post-5252232552420423716</id><published>2012-05-06T08:04:00.002-07:00</published><updated>2012-05-06T08:04:23.597-07:00</updated><title type='text'>文章測試</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
很久沒有建立自己的網誌了，這個小地方，分享一些程式設計的點點滴滴，希望你會喜歡。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geoprograming.blogspot.com/feeds/5252232552420423716/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://geoprograming.blogspot.com/2012/05/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/5252232552420423716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8148923058404809644/posts/default/5252232552420423716'/><link rel='alternate' type='text/html' href='http://geoprograming.blogspot.com/2012/05/blog-post.html' title='文章測試'/><author><name>Ting-Jung</name><uri>http://www.blogger.com/profile/11771985308369467511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>