看板 Programming 關於我們 聯絡資訊
各位大大, 想請教目前opencv2.1和sse的關係 小弟在一篇文章上提到 OpenCV was released on 6th May. This time the development team did not release pre-built library for MinGW. They only released that for MSVC . There was only one pre-built release library uploaded by other user but SSEs were disabled. 然後小弟在網路上下載這個檔案OpenCV-2.1.0-win32-vs2008.exe 的確像opencv1.0一樣,直接安裝就可以用了 但是執行程式時,效能卻沒有提昇 所以想說,應該是這個版本的程式庫並沒有enable sse library. 然後目前使用cmake和opencv2.1.0去重新compile 但是卻沒有發現enable sse的選項 所以想請教各位大大,如何enable Opencv裡面的sse指令集呢 謝謝大大指教 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.96.76.143
wa120:在cvinternal.h裡 預設enable 60.250.69.208 12/02 13:46
wang71:謝謝大大的指教~~我有加入__SSE2__去 140.96.76.143 12/03 16:28
wang71:compile了,可是好像還是沒有變快的跡象>"< 140.96.76.143 12/03 16:29
wa120:在Visual C++底下 灰色代表disable XD 111.240.64.87 12/06 00:08
wa120:#if defined __SSE__ || MSC_VER >1300 111.240.64.87 12/06 00:25
wa120: ^^ 這是OR 111.240.64.87 12/06 00:25