»ùÓÚOpenCVµÄ³µÁ¾¼ì²âÂÛÎÄ - ͼÎÄ ÏÂÔر¾ÎÄ

´óÁ¬½»Í¨´óѧ2015½ì±¾¿ÆÉú±ÏÒµÂÛÎÄ

µÚÒ»Õ Ð÷ÂÛ

1.1 ¿ÎÌâ±³¾°ºÍÑо¿ÒâÒå

Ëæ×ŵ±½ñ¾­¼ÃµÄ¸ßËÙ·¢Õ¹£¬»ú¶¯³µµÄ±£ÓÐÁ¿Ñ¸ËÙÔö¼Ó£¬µ¼Ö½»Í¨×´¿öµÄ²»¶Ï¶ñ»¯¡£ÏÖÔÚÎÞÂÛÄĸö¹ú¼Ò¶¼ºÁÎÞÀýÍâµÄÊܵ½²»Í¬³Ì¶ÈµÄ½»Í¨ÎÊÌâµÄÀ§ÈÅ£¬ÔÚÖйú£¬ÕâÖÖÇé¿öÓÈΪͻ³ö²¢ÑÏÖØÓ°ÏìÁËÈËÀàÉú»îµÄÖÊÁ¿£¬¸ø»·¾³¡¢¾­¼ÃºÍÉç»á´øÀ´ÁËÑÏÖصĺó¹û¡£Îª´Ó¸ù±¾ÉϽâ¾ö½»Í¨Óµ¼·¶ÂÈûµÄÎÊÌ⣬ÈËÃÇ¿ªÊ¼ÔËÓø÷ÖÖм¼Êõ£¬ÈçÐÅÏ¢¼¼Êõ¡¢¼ÆËã»ú¼¼Êõ¡¢Í¨Ðż¼Êõ¡¢¿ØÖƼ¼ÊõµÈ£¬½«ÈË¡¢³µ¡¢Â·½ôÃÜÁªÏµÆðÀ´£¬²»½öÓÐЧµØ½â¾öÁ˽»Í¨×èÈûÎÊÌ⣬¶øÇÒ¶Ô½»Í¨Ê¹ʵÄÓ¦¼±´¦Àí¡¢»·¾³µÄ±£»¤¡¢ÄÜÔ´µÄ½ÚÔ¼¶¼ÓÐÁËÏÔÖøµÄЧ¹û¡£

»ùÓÚÊÓƵµÄÔ˶¯³µÁ¾¼ì²âÊÇ×Ô¶¯½»Í¨Ê¼þ¼ì²âϵͳµÄÊ×Òª²½Öè¼°ÖØÒª×é³É²¿·Ö£¬ËüΪºóÐøµÄ³µÁ¾¼ì²â£¬³µÁ¾¸ú×ÙÓëͳ¼ÆÌṩ±£Ö¤¡£¶Ô½»Í¨°²È«ºÍ½»Í¨¿ØÖƾßÓзdz£ÖØÒªµÄÀíÂÛÒâÒåºÍʵÓüÛÖµ£¬ÊÇ»ùÓÚÊÓƵÖÇÄܽ»Í¨ÏµÍ³µÄ»ù´¡¡£ ÊÓƵ¼ì²â¼¼ÊõÔÚ´«Í³µÄµçÊÓ¼àÊÓϵͳ»ù´¡ÉϽ«¼ÆËã»úÊÓ¾õÒýÈëµ½½»Í¨ÐÅÏ¢ ¼ì²âÖ®ÖУ¬Í¨¹ý¼ÆËã»ú´ÓÊý×ÖͼÏñÖÐÌáÈ¡³ö¸ß¼¶½»Í¨ÐÅÏ¢£¬Í¬Ê±ÓÖÏñÆäËü³µÁ¾¼ì ²âÆ÷Ò»ÑùÄÜÏò½»Í¨¼à¿ØÖÐÐÄÌṩͼÏñºÍ½»Í¨²ÎÊýÈç³µËÙ¡¢³µÁ÷Á¿µÈ¡£ÒÑÓÐµÄ³É ÊìµÄÉÌÓÃÊÓƵ³µÁ¾¼ì²âϵͳÖ÷ÒªÓÐAutoscope£¬TraficonÒÔ¼°PeekµÈ¡£

ÊÓƵÐòÁÐͼÏñÔ˶¯Ä¿±ê·ÖÎöµÄ»ù±¾ÄÚÈÝÊÇÀûÓóÉÏñϵͳ»òÏÖÓÐÎļþ£¬´ÓÁ¬Ðø µÄÊÓƵÐòÁÐͼÏñÖÐÌáÈ¡³öÔ˶¯Ä¿±ê£¬Í¬Ê±¶ÔÌáÈ¡³öµÄÔ˶¯Ä¿±ê½øÐÐʶ±ðºÍ¸ú×Ù£¬ ²¢¶ÔÆäÐÐΪ½øÐÐÀí½âºÍÃèÊö¡£ÊÓƵͼÏñµÄÔ˶¯·ÖÎöÒÔÊý×ÖͼÏñ´¦ÀíΪ»ù´¡£¬ÄÚÈÝ Éæ¼°Êý×ÖͼÏñ´¦Àí¡¢Ä£Ê½Ê¶±ð¡¢¼ÆËã»úÊÓ¾õ¡¢È˹¤ÖÇÄܵÈÖî¶àÁìÓòºÍѧ¿Æ¡£Ä¿Ç°£¬ ¿ª·¢ÊÓƵÐòÁÐͼÏñÔ˶¯Ä¿±ê·ÖÎöϵͳ²»µ«ÔÚʵʱÐÔ¡¢Â³°ôÐÔÉÏÓкܸߵÄÒªÇó£¬Ò² Öð²½ÖØÊÓÆäͨÓÃÐԺͿÉÒÆÖ²ÐÔ£¬ÕâЩ¶¼¸øÊÓƵÔ˶¯·ÖÎö´øÀ´ÁËÌôÕ½¡£

ËüÏà¶Ô´«Í³³µÁ¾¼ì²â¼¼Êõ¾ßÓÐÈçÏÂÓŵ㣺°²×°Î¬»¤·½±ã£¬ÉãÏñÍ·¼ÜÉèÔÚ·±ß£¬°²×°Î¬»¤²»ÐèÒª·â±ÕµÀ·£¬ÍÚ¾ò·Ã棬²»»áÓ°ÏìÕý³£½»Í¨£»Ò»¸öÆÕͨµÄCCDÉãÏñÍ·¾Í¿ÉÒÔ¼ì²â¼¸°ÙÃ×ÄڵĶ೵µÀ½»Í¨ÐÅÏ¢£¬Æù½ñΪֹ»¹Ã»ÓÐÒ»ÖÖ´«¸Ð×°ÖÃÄܹ»Ïñ»ùÓÚ¼ÆËã»úÊÓ¾õ´¦ÀíÄÇÑùÌṩÈç´ËÖ±¹Û¡¢ÏêϸµÄ½»Í¨ÐÅÏ¢²ÎÊý(È羫ȷµÄ³µÁ¾ÐÐʻ·Ïß¡¢³µÐÍ¡¢³µÁ¾³ß´çÒÔ¼°³µÁ¾ÑÕÉ«µÈµÈ)£»¿ÉÒÔ¶Ô½»Í¨ÏÖ³¡Â¼Ïñ£¬¹©ÒÔºó²éѯ£»Í¬Ê±ÊÓ¾õϵͳҲÊÇÒ»¸ö±»¶¯µÄ¸Ð֪ϵͳ£¬Ëü¶ÔÓÚÖÜΧµÄ»·¾³¼¸ºõûÓÐÓ°Ï죬¼´Ê¹ÏàͬµÄÊÓ¾õϵͳ֮¼äÒ²²»»á·¢Éú¸ÉÈÅ¡£

»ùÓÚÉÏÊöµÄÓÅÔ½ÐÔ£¬»ùÓÚÊÓƵͼÏñµÄ³µÁ¾¼ì²â¼¼Êõ¶ÔÓÚÖÇÄܽ»Í¨ÏµÍ³µÄ·¢ Õ¹Óо޴óµÄÍƶ¯×÷Ó㬶ÔÓÚÈÕ³£Éú»îºÍ¹ú¼ÒµÄ¾­¼Ã·¢Õ¹¶¼ÓкܴóµÄʵ¼ÊÒâÒå¡£

1.2 ¹úÄÚÍâÑо¿ÏÖ×´

Ëæ׿ÆËã»úÊÓ¾õ¼¼ÊõµÄÅ·¢Õ¹£¬×÷ΪÆäÖеÄÒ»¸öÖØÒª·ÖÖ§-Ô˶¯ÎïÌåµÄ¼ì

1

´óÁ¬½»Í¨´óѧ2015½ì±¾¿ÆÉú±ÏÒµÂÛÎÄ

²âÓë¸ú×Ù¼¼ÊõÒ²ÎüÒýÁ˹úÄÚÍâר¼ÒѧÕßµÄÇ¿ÁÒÐËȤ¡£ÆäÔ­ÀíÊǶÔÊÓ³¡ÄÚµÄÔ˶¯Ä¿±ê½øÐÐʵʱµÄͼÏñ²É¼¯£¬²¢ÔÚ´Ë»ù´¡ÉÏÔËÓÃͼÏñ´¦ÀíµÄÏà¹Ø¼¼Êõ¶Ô¹Û²â¶ÔÏó½øÐÐÐÐΪ·ÖÎö£¬×Ô¶¯µÃµ½¹Û²â½á¹û¡£³µÁ¾ÊÓƵ¼ì²â×÷ΪÆäÖеÄÒ»¸öÖØÒªÔËÓã¬ÎüÒýÁ˺ܶàÖøÃû¹«Ë¾ºÍÑо¿»ú¹¹²ÎÓëÆäÖС£

¹úÍâµÄÊÓƵ¼ì²â¼¼ÊõÑо¿¿ªÊ¼µÄ½ÏÔ磬¾­¹ýÊ®¼¸ÄêµÄ·¢Õ¹£¬¼¼Êõ¼º¾­Ï൱³É Ê죬ÊÓƵ¼ì²âÓëÏßȦ¼ì²â¼¼ÊõÏà±È¾ßÓеÄÓÅÔ½ÐԺ͸ßÐԼ۱ȼºµÃµ½ÒµÄÚÈËÊ¿µÄ¹« ÈÏ£¬´ú±íÁËδÀ´³µÁ¾¼ì²âÁìÓòµÄ·¢Õ¹ºÍÓ¦Ó÷½Ïò¡£ÃÀ¹úISS¹«Ë¾µÄAUTOSCOPE£¬ ÊÇÒ»¸ö½ÏΪ³É¹¦µÄÉÌҵϵͳ£¬¾ßÓÐʵʱ¼ì²â½»Í¨²ÎÊýµÄÄÜÁ¦£¬Êǹú¼ÊÉϽ»Í¨ÐÅÏ¢ ²É¼¯ÖÐ×î¾ß¾ºÕùÁ¦µÄÊÓƵ¼ì²âϵͳ֮һ¡£ÁíÍâ¹úÍ⻹ÓÐһЩ¹«Ë¾ÔÚÕâ·½ÃæÒ²´ÓÊ ÁËÓ¦ÓÃÑо¿ºÍ¿ª·¢¹¤×÷£¬Ò²ÍƳöÁ˸÷×Ô³ÉÊìµÄϵͳ¼¶²úÆ·¡£±ÈÈçITERIS¹«Ë¾VantageϵÁÐÊÓƵ¼ì²â´¦Àíµ¥ÔªµÄ×îÐÂÊÓƵ¼ì²âÆ÷²úÆ·£ºVantage Edge2£¬±ÈÀûʱTmficon¹«Ë¾ÍƳöµÄMonitorϵÁеȡ£

ÃÀ¹ú¡¢ÈÕ±¾µÈ¹ú¼ÒÔÚ³µÁ¾ÊÓƵ¼ì²â·½ÃæÕ¹¿ªÁË´óÁ¿µÄÑо¿¡£ÔçÔÚ1982Ä꣬¶«¾©´óѧ½ÌÊÚS.TakabµÈ¾ÍÌá³öÑù±¾µãµÄ·½·¨À´¼ì²â³µÁ¾£¬´Ëϵͳʵ¼ÊÓ¦ÓÃʱµÄ³µÁ¾¼ÆÊýÎó²îСÓÚ5%£¬ËÙ¶ÈÎó²îСÓÚ10%¡£T.Abramczuk½ÌÊÚÔòÔÚ1984ÄêÌá³öÒ»ÖÖÓ¦ÓÃͼÏñÖ¡²îµÄ·½·¨À´¼ì²â³µÁ¾£¬ÆäÔ­ÀíÊÇÔÚÿһÌõµÀ·ÉϾùÉèÖÃÒ»ÌõÓëµÀ·ÏàƽÐеļì²âÏߣ¬Í¨¹ý³µÁ¾ÑسµµÀµÄ·½Ïò·Ö¸î³öÔ˶¯³µÁ¾£¬´Ë·½·¨ÔËÓÃÓÚÈðµä»Ê¼Ò¼¼ÊõÔºÑÐÖƵĵÀ·¼à¿ØϵͳÖÐÈ¡µÃÁËÁ¼ºÃµÄЧ¹û¡£

ÊÓƵ³µÁ¾¼ì²â¼¼ÊõËäÈ»ÔÚ¹úÄÚÑо¿Æ𲽱ȽÏÍí£¬µ«¾­¹ýÕâЩÄêµÄѸËÙ·¢Õ¹£¬ ҲȡµÃÁ˺ܶàÑо¿³É¹û£¬ÈçÖйú¿ÆѧԺ×Ô¶¯»¯Ñо¿Ëùģʽʶ±ð¹ú¼ÒÖصãʵÑéÊÒÌ·ÌúÅ£Ñо¿Ô±´Ó20ÊÀ¼Í90Äê´ú³õ¾Í¿ªÊ¼Ñо¿»ùÓÚÈýάģÐ͵ÄÖÇÄÜÊÓ¾õ¼à¿Øϵͳ£¬Áìµ¼ÊÓ¾õ¼à¿ØС×飬Õë¶ÔϵͳÖÐÈô¸É¹Ø¼üÐÔÎÊÌâÏñ³µÁ¾¼ì²â¡¢¸ú×ÙÒÔ¼°³µÁ¾»ùÓÚOpenCVµÄÊÓƵµÀ·³µÁ¾¼ì²â¼°¸ú×ÙÐÐΪ·ÖÎö£¬½øÐÐÁËÉîÈëµÄÑо¿ºÍ̽ÌÖ£¬Ìá³öÁË×Ô¼ºµÄ¼û½âºÍÖ÷ÕÅ£¬È¡µÃÁËһϵÁеÄÑо¿³É¹û¡£

ͬʱҲÓв»ÉÙ¹«Ë¾ÔÚÕâ·½Ãæ×÷ÁËÐí¶àŬÁ¦£¬ÈçÇ廪×ϹâÓëÇ廪´óѧºÏ×÷¿ª·¢µÄÐÂÒ»´úÊÓƵ½»Í¨Á÷Á¿¼ì²âϵͳVS3001£¬¹þ¶û±õ¹¤Òµ´óѧµÄVTD2000ϵÁÐÊÓƵ½»Í¨¶¯Ì¬ÐÅÏ¢²É¼¯ÏµÍ³£¬ÑÇÖÞÊÓ¾õ¹«Ë¾µÄ·¶Î½»Í¨ÐÅϢϵͳµÈµÈ¡£ÕâЩ²úÆ·´ó¶àÊý¹¦Äܶ¼±È½Ïµ¥Ò»£¬Ëä˵ÓеÄÒ²±È½ÏºÃµÄʵÏÖÁËÊÓƵ¼ì²âµÄ¹¦ÄÜ£¬µ«ÔÚʵ¼ÊµÄÍƹ㵱ÖÐЧ¹û²¢²»Ã÷ÏÔ£¬»¹Ô¶Ô¶Ã»Óдﵽʵ¼ÊÓ¦ÓõÄÒªÇó£¬Í¬¹úÍâµÄ²úÆ·Ïà±È»¹ÓÐÏ൱µÄ²î¾à¡£Òò´Ë£¬ÎÒ¹úÔÚÕâ·½ÃæµÄÑо¿»¹Òª¼ÌÐø¼ÓÇ¿£¬²»¶Ï¿ª·¢ºÍÍêÉƼ¼Êõ£¬ÕæÕýÍƳöÊʺÏÓÚ¹úÇéµÄ½»Í¨ÊÓƵ¼ì²â²úÆ·¡£

1.3 OpenCV¸ÅÊö OpenCV£¬È«ÃûΪOpen Source Computer Vision Library£¬ÊÇIntel¹«Ë¾×ÊÖúµÄ

¿ªÔ´¼ÆËã»úÊÓ¾õ¿â¡£ËüÓÉһϵÁÐCº¯ÊýºÍÉÙÁ¿C++À๹³É£¬ÌṩÁËÕë¶Ô¸÷ÖÖÐÎʽ

2

´óÁ¬½»Í¨´óѧ2015½ì±¾¿ÆÉú±ÏÒµÂÛÎÄ

µÄͼÏñºÍÊÓƵԴÎļþ(È磺bitmapͼÏñ£¬videoÎļþºÍʵʱÉãÏñ»ú)µÄÖ¡ÌáÈ¡º¯ÊýºÍºÜ¶à±ê×¼µÄͼÏñ´¦Àíº¯Êý£¬ÊµÏÖÁËͼÏñ´¦ÀíºÍ¼ÆËã»úÊÓ¾õ·½ÃæµÄºÜ¶àͨÓÃËã·¨¡£

ÆäÖØÒªÌØÐÔ°üÀ¨£º

£¨1£©ÓµÓаüÀ¨300¶à¸öCº¯ÊýµÄ¿çƽ̨µÄÖС¢¸ß²ãAPI¡£Ëü²»ÒÀÀµÓÚÆäËüµÄÍⲿ¿âÒ»¾¡¹ÜÒ²¿ÉÒÔʹÓÃijЩÍⲿ¿â¡£ £¨2£©¶Ô·ÇÉÌÒµÓ¦ÓúÍÉÌÒµÓ¦Óö¼ÊÇÃâ·ÑµÄ¡£

£¨3£©ÎªIntegrated Performance Primitives(IPP)ÌṩÁË͸Ã÷½Ó¿Ú¡£ÕâÒâζ×ÅÈç¹ûÓÐΪÌض¨´¦ÀíÆ÷ÓÅ»¯µÄµÄIPP¿â£¬OpenCV½«ÔÚÔËÐÐʱ×Ô¶¯¼ÓÔØÕâЩ¿â¡£ ÒÔÍù´«Í³µÄ¿ª·¢·½·¨ÒªÇ󹤳ÌÈËÔ±ÔÚÍê³ÉµÄÓ²¼þÉè¼ÆµÄͬʱ£¬×Ô¼º±àÂëʵÏÖËùÓеײãµÄËã·¨£¬ËùÓеÄͼÏñ´¦Àíº¯Êý¶¼Òª´ÓÍ·±àд£¬¼ÈÔì³Éʱ¼äºÍ¾«Á¦ÉϵÄÀË·Ñ£¬ÓÖÄÑÒÔ±£Ö¤Îȶ¨ÐÔ¡¢ÊµÓÃÐÔºÍͨÓÃÐÔ£¬Ô½À´Ô½ÄÑÒÔÂú×ãÏÖʵµÄÐèÇó¡£ÎªÁ˽â¾öÀíÂÛµ½Ó¦ÓõÄÄÑÌ⣬³öÏÖÁËÖÚ¶àµÄ¼ÆËã»úÊÓ¾õºÍͼÏñ´¦ÀíÈí¼þ°ü¡£ÀýÈ磬TargetJr¼°ÆäºóÐø°æ±¾VXL(the Vision something Libraries)¾ÍÊÇÕâÑùÒ»¸öC¿âµÄ¼¯ºÏ£¬ÔÚÂú×ãСÐÍ¡¢¿ìËÙºÍÎȹ̵Äϵͳ¿ª·¢ÒªÇóµÄͬʱÌṩÁ˶àƽ̨ÒÆÖ²ÐÔ¡£GandalfÌṩÁ˼ÆËã»úÊÓ¾õºÍÊýÖµ¼ÆËã¿â£¬ÊʺÏÓÚ¿ÉÒÆֲƽ̨µÄÊÓ¾õÓ¦ÓÃÈí¼þµÄ¿ª·¢¡£Delft¿ÆѧͼÏñ´¦Àí¿âDIPlibÊÇÁíÒ»¸ö¿ÆѧͼÏñ´¦ÀíC³ÌÐò¿â£¬°üº¬ÁËÐí¶àͼÏñÊý¾Ý¶àά·ÖÎöºÍ´¦Àíº¯Êý¡£Í¬Ê±Ðí¶àÉÌÓÃͼÏñ´¦ÀíºÍ¼ÆËã»úÊÓ¾õÈí¼þ°üÒ²µÃµ½ÏàÓ¦¿ª·¢¡£MVTec¹«Ë¾¿ª·¢µÄHALCONÊÇÆäÖÐÖ®Ò»£¬Ëü°üº¬ÁËC£¯C++´úÂëµÄͼÏñ´¦Àí¿â¡£LabViewÔÚNIͼÏñ´¦ÀíÓ²¼þµÄÖ§³ÖÏÂÄܼÓËÙͼÏñ´¦Àí¡£ÓÉ΢Èí¹«Ë¾¿ª·¢µÄSDKÊÇÒ»¸öµ×²ãµÄͼÏñ²Ù×÷·ÖÎöµÄC++¿â¡£ÔÚMatlabÖеÄͼÏñ´¦Àí¹¤¾ß°üÒÔ¼°ÔÚMathematicaÖеÄÊý×ÖͼÏñ´¦ÀíÈí¼þ°ü¶¼ÊǽÏΪǿ´óµÄͼÏñ´¦Àí¹¤¾ß£¬Í¬Ê±ÕâÁ½¸öÈí¼þ°ü¼æÓÐÐí¶à¸ß¼¶Êýѧ¼ÆË㹦ÄÜ¡£ÓÉAurora¹«Ë¾¿ª·¢µÄLEADTOOLSÊÇÒ»Ì×ÉÌÓû¯¼ÆËã»úÊÓ¾õ°ü£¬Ëü°üÀ¨ÁËͼÏñ´¦Àí·þÎñÆ÷¿ª·¢¹¤¾ß£¬ÔÊÐíÓû§´´½¨¸÷ÖÖ»ùÓÚÍøÂçµÄͼÏñ´¦Àí·þÎñ³ÌÐò¡£

ÕâЩÈí¼þ°üΪ¼ÆËã»úͼÏñ·ÖÎöºÍ»úÆ÷ÊÓ¾õÌṩÁ˼«´óµÄ±ãÀû£¬µ«Ò²´æÔÚһЩ ²»×ãÖ®´¦£º

£¨1£©´ó¶àÊýÈí¼þ°üûÓи߼¶Êýѧ¼ÆË㺯Êý¡£²¢ÇÒÕâЩÈí¼þ°ü¶¼²»°üÀ¨ÈçÄ¿±ê¸ú×Ù¡¢ÉãÏñ»ú±ê¶¨¡¢×Ë̬ʶ±ð¡¢Á³Æ×ʶ±ðºÍÈýάÖؽ¨µÈ¸ß²ãº¯Êý¡£

£¨2£©MatlabÊǹ¦ÄܽÏΪǿ´óµÄ¿Æѧ¼ÆËãºÍ·ÖÎöƽ̨£¬ËüÌṩÁËͼÏñ´¦Àí¹¤¾ß°ü£¬Ò²ÌṩÁ˽ÏΪ·á¸»µÄÊýѧ¼ÆË㺯Êý£¬µ«ÔÚMatlab»·¾³ÏµÄÔËÐÐËÙ¶ÈÁîÈ˵£ÓÇ¡£ËäÈ»Matlab¿ÉÒÔͨ¹ý±àÒëÆ÷½«mÎļþת»¯ÎªC´úÂë¡£µ«ÊÇת»»ºóµÄC´úÂëµÄÖ´ÐÐЧÂʺͿɶÁÐÔ´æÔڽϴóÎÊÌâ¡£

£¨3£©³ýMatlabºÍLEADTOOLS¡£´ó²¿·ÖÈí¼þ°ü²»Ö§³ÖÍøÂç·þÎñÆ÷½á¹¹µÄÓ¦

3

´óÁ¬½»Í¨´óѧ2015½ì±¾¿ÆÉú±ÏÒµÂÛÎÄ

ÓóÌÐòµÄ¿ª·¢£»MmlabµÄÍøÂç½Ó¿Ú»úÖƽÏΪ¸´ÔÓ£¬ÇÒͬÑù´æÔÚÔËÐÐЧÂʵÄÎÊÌâ¡£¾ø´ó¶àÊýÈí¼þ°ü²»Ö§³Ö¿ÉǶÈëÐÔ¡£

±¾ÎÄÑ¡È¡OpenCV½øÐÐÊÓƵÐòÁÐͼÏñÔ˶¯·ÖÎö£¬ÓëÉÏÊöÈí¼þ°üÏà±È£¬OpenCV µÄÓÅÊÆÔÚÓÚ£º

£¨1£©C´úÂ룬Դ´úÂ뿪·Å¡£

£¨2£©·á¸»µÄº¯Êý¹¦ÄÜ£¬Ç¿´óµÄͼÏñºÍ¾ØÕóÔËËãÄÜÁ¦£ºOpenCVÌṩÁËÊý×é¡¢ÐòÁС¢¾ØÕó¡¢Ê÷µÈ»ù±¾½á¹¹£¬Ò²°üº¬Á˲î·Ö·½³ÌÇó½â¡¢¸µÁ¢Ò¶·ÖÎö¡¢»ý·ÖÔËËã¡¢ÌØÊ⺯ÊýµÈÖÚ¶à¸ß¼¶Êýѧ¼ÆË㺯Êý£¬ÒÔ¼°¸÷ÖÖͼÏñ´¦Àí²Ù×÷ºÍÄ¿±ê¸ú×Ù¡¢ÉãÏñ»úУ׼¡¢ÈýάÖؽ¨µÈ¸ß¼¶ÊÓ¾õº¯Êý¡£

£¨3£©Æ½Ì¨ÎÞ¹ØÐÔ¡£»ùÓÚOpenCV¿ª·¢µÄ³ÌÐò¿ÉÒÔÖ±½ÓÔÚWindows£¬Unix£¬Linux£¬MacOS X£¬Solaris£¬HPµÈƽ̨֮¼äÏ໥ÒÆÖ²£¬ÎÞÐè¶Ô´úÂë½øÐÐÈκÎÐ޸ġ£ £¨4£©·½±ãÁé»îµÄÓû§½Ó¿Ú¡£OpenCV×÷Ϊһ¸ö¿ª·ÅµÄ¼ÆËã»úÊÓ¾õº¯Êý¿âÔÚʹÓÃÉϱØȻûÓÐMatlabÄÇÑù½âÊÍÖ´ÐÐÀ´µÃ·½±ã£¬¶øSoftlmegration½«CHºÍOpenCV°ó¶¨ÆðÀ´ÍƳöµÄCH OpenCV£¬½â¾öÁËÕâһʹÓÃÉϵÄÆ¿¾±¡£

£¨5£©¿ÉǶÈëÐÔ£ºÓëC£¯CÒ»±àÒëÆ÷²»Í¬¡£ChÄÜǶÔÚC£¯C++Ó¦ÓóÌÐòºÍÓ²¼þµÄ»úÆ÷½Å±¾ÖС£ËüΪÓû§¼õÇáÁËØ¢·¢Î¬»¤Ó¦ÓóÌÐòÅÓ´ó»úÆ÷´úÂëµÄ³ÁÖظºµ£¡£Í³Ò»µÄ½á¹¹ºÍ¹¦Äܶ¨Ò壬»ùÓÚIntel´¦ÀíÆ÷Ö¸Á¿ª·¢µÄÓÅ»¯´úÂë¡£¿É¼û£¬×÷Ϊһ¸ö»ù±¾µÄͼÏñ´¦Àí¡¢¼ÆËã»úÊÓ¾õºÍģʽʶ±ðµÄ¿ªÔ´ÏîÄ¿£¬OpenCV¿ÉÒÔÖ±½ÓÓ¦ÓÃÓںܶàÁìÓò£¬×÷Ϊ¶þ´Î¿ª·¢µÄÀíÏ빤¾ß¡£

OpenCV¿ª·¢Æ½Ì¨µÄ´î½¨ºÜ¼òµ¥£¬Ê×ÏÈ°²×°ÏÂÔصõ½µÄOpenCVÓ¦ÓóÌÐò£¬È»ºóÔÚVisual Studio 2008ϱàÒëËùÒªµÄ¾²Ì¬ºÍ¶¯Ì¬Á´½Ó¿âÎļþ£¬°üÀ¨1ib·¾¶µÄÉèÖá¢include files·¾¶µÄÌîд£¬ÔÙ½øÐй¤³ÌÏîÄ¿µÄÁ´½ÓÉèÖþͿÉÒÔÁË¡£ ÔÚVS2008Öн¨Á¢Ð¹¤³ÌÒÔºó£¬ÔÚ¹¤³ÌÉèÖÃÀïÌí¼ÓÐèÒªµÄOpenCV¿â£¬²¢ÔÚ³ÌÐòÎļþÖаüº¬OpenCVµÄÍ·Îļþ£¬¾Í¿ÉÒÔÔÚWindowsÏÂÃæÀûÓÃVS2008½øÐлùÓÚOpenCVµÄͼÏñ³ÌÐò¿ª·¢ÁË¡£

1.4 ±¾ÎÄÑо¿ÄÚÈÝ

Ëæ×ÅÉç»áµÄ·¢Õ¹¼°Æû³µµÄÆÕ¼°£¬½»Í¨Óµ¼·ÈÕÒæ¼Ó¾ç¡¢½»Í¨»·¾³¶ñ»¯µÈÎÊÌâÒ²±äµÃÈÕÇ÷ÑÏÖØ¡£½üÄêÀ´,ÖÇÄܽ»Í¨ÏµÍ³µÄÓ¦Óøø½»Í¨ÔËÊäÒµ´øÀ´Á˾޴óµÄ¾­¼ÃЧÒæºÍ»·¾³Ð§Òæ, ÆäÖУ¬»ùÓÚÊÓƵµÄ³µÁ¾¼ì²â¼¼ÊõÔÚÖÇÄܽ»Í¨ÏµÍ³ÖÐÕ¼ÓкÜÖØÒªµÄµØ룬ÒѾ­³ÉΪÖÇÄܽ»Í¨ÏµÍ³µÄÖØÒªÑо¿¿ÎÌâ¡£Ó봫ͳµÄ³µÁ¾¼ì²â·½·¨Ïà±È£¬»ùÓÚÊÓƵµÄ³µÁ¾¼ì²â¼¼Êõ¾ßÓа²×°Î¬»¤±ã½ÝÇÒ·ÑÓýϵ͡¢¿É¼àÊÓ·¶Î§¹ãµÈÐí¶àÓŵ㣬¾ßÓйãÀ«µÄÑо¿ºÍÓ¦ÓÃÇ°¾°¡£

±¾ÎÄÒÔ½»Í¨µÀ·ÊÓƵΪÑо¿¶ÔÏó£¬Ö÷Òª¶Ô³µÁ¾¼ì²â¼¼Êõ½øÐÐÑо¿¡£Ñо¿ÁËÈçºÎ׼ȷµÄÔÚÊÓƵÖмì²â³µÁ¾£¬Éè¼ÆËã·¨²¢½øÐвâÊÔ·ÖÎö¡£

4