Visual C++ 6.0 ʵÏÖ³µÂÖÇã½Ç¼ì²â_±¾¿Æ±ÏÒµÂÛÎÄ·¶ÎÄ
·¢²¼Ê±¼ä£º
2015-03-09
À´Ô´£º
ÈË´ó¾¼ÃÂÛ̳
±¾¿Æ±ÏÒµÂÛÎÄ·¶ÎÄ
ÕªÒª
³µÂÖÇã½Ç¼ì²âÊÇÆû³µÇ°ÂÖ¶¨Î»ÖеĹؼü£¬Ëü¶ÔÓÚ¸÷Ïî²ÎÊýµÄ¼ì²â¾«È·¶ÈºÍЧÂʶ¼ÓкܸߵÄÒªÇó£¬ÕâÊÇÊÖ¹¤²âÁ¿²»ÄÜʵÏֵġ£±¾ÎÄÔËÓÃÊý×ÖͼÏó´¦Àí¼¼Êõ£¬ÊµÏÖÆû³µÇã½ÇµÄ¼ì²â£¬¿Ë·þ´«Í³µÄÈ˹¤¼ì²âµÄ±×¶Ë×÷ΪĿ±ê£¬¿ªÕ¹ÃæÏòÇã½Ç¼ì²âµÄ»úÆ÷ÊÓ¾õϵͳµÄÑо¿¹¤×÷¡£´ÓÓ¦ÓýǶÈÀ´½²£¬¿ÉÒÔÊÂÏÈÔÚ³µÂÖÉÏ´¹Ö±°²ÖÃÒ»¿éÌØÊâµÄ»æÓÐËĸöÔ²ÐÎͼ°¸µÄ¾ØÐÎÄ£°å£¬Í¨¹ýCCDÕýÃæ²É¼¯Í¼Ïñ£¬ÔÚ´Ë»ù´¡ÉÏÀûÓÃÌÝÐλû±äУÕý·¨(ÓÖÃûÁ½²½Í¶Ó°·¨)£¬ÔÚÒ»¶¨µÄ½Ç¶È·¶Î§ÄÚ£¬¶Ô¾¹ýÔ¤´¦ÀíµÄͼÏñ½øÐнǶÈУÕý£¬×îºóÀûÓÃHoughÔ²¼ì²â¼¼ÊõʵÏÖÌØÕ÷µãÌáÈ¡²¢½øÐÐÔ²ÐÎÅжϵÄÔÀíʵÏÖÆû³µÇã½ÇµÄ²âÁ¿¡£
¹Ø¼ü´Ê£º³µÂÖÇã½Ç¼ì²â£¬ÌÝÐλû±äУÕý£¬HoughÔ²¼ì²â
Abstract
Wheel Inclination Detection is the Key of Front-wheel Orientation. The high precision and efficiency are required in this detection, but it's impossible by manual way. This article develops an Inclination Detection System which avoids the defects of manual detection and achieves the goal of the Inclination Detection by using the digital image processing technology. From the application perspective, we can get a special rectangular template, which has four circles on it, then put it on the wheel vertically. Collect a picture with a CCD which parallels the horizontal line. After a picture pretreatment, Trapezoid Distortion Correction Method (which also known as Two Steps Projection Method) is used to correct the picture in inclination range. Then extract characters and check the figure in the picture by Hough Round Check. If the figure is a circle, it can be sure the inclination is found.
Keywords: Wheel Inclination Detection£¬Trapezoid Distortion Correction Method, Hough Round Check
Ŀ ¼
ÕªÒªI
AbstractII
Ŀ ¼III
µÚ1ÕÂ ÒýÑÔ1
1.1±³¾°1
1.2 ֪ʶ±³¾°3
1.3 Ñо¿ÄÚÈÝ3
1.4 ±¾ÕÂС½á3
µÚ2Õ ¿ª·¢¹¤¾ßºÍÊý×ÖͼÏñ»ù´¡ÖªÊ¶4
2.1 Visual C++6.0¼ò½é4
2.1.1¹¤¾ß¼ò½é4
2.1.2 MFC¼ò½é5
2.2 Êý×ÖͼÏñ»ù±¾¸ÅÄî6
2.2.1 Êý×ÖͼÏñµÄ±íʾ6
2.2.2λͼÎļþ½á¹¹6
2.2.3¶þÖµ»¯´¦Àí9
2.2.4ͼÏñµÄÐýת9
2.3 ±¾ÕÂС½á10
µÚ3Õ Çã½Ç¼ì²âÏà¹ØËã·¨11
3.1 »û±ä½ÃÕýÔÀí11
3.2ÓÉÕæʵCCDÉϵĵãͶӰµ½µØÃæ11
3.2.1 ʵ¼ÊCCDµÄ´¹Ö±·½Ïò£¨Y1·½Ïò£©ÔÚµØÃæÉϵÄͶӰ12
3.2.2¡¡Êµ¼ÊCCDµÄˮƽ·½Ïò£¨X1·½Ïò£©ÔÚµØÃæÉϵÄͶӰ12
3.3 ÓɵØÃæÉϵĵãͶӰµ½ÐéÄâCCDÉÏ14
3.3.1 ÐéÄâCCDƽÃæ¸ß¶ÈµÄÈ·¶¨14
3.3.2 µØÃæY2·½ÏòµÄ³¤¶ÈͶӰµ½ÐéÄâCCDƽÃæ14
3.3.3 µØÃæV2·½ÏòµÄ³¤¶ÈͶӰµ½ÐéÄâCCDƽÃæ15
3.4 HOUGH±ä»»Ô²¼ì²â15
3.4.1 HOUGH±ä»»ÔÀí15
3.4.2±ä»»Ç°Ô¤´¦Àí17
3.4.3 HOUGH񄯯19
3.5 Çã½Ç²âÁ¿Ëã·¨ÔÀí(Ò»)20
3.5.1Ëã·¨µÄÁ÷³Ìͼ20
3.5.2ͼÏñÔ¤´¦Àí½×¶Î21
3.5.3Çã½ÇÖµ¼ì²â½×¶Î21
3.6 Çã½Ç²âÁ¿Ëã·¨ÔÀí(¶þ)22
3.6.1ͼÏñÔ¤´¦Àí½×¶Î22
3.6.2Çã½ÇÖµ¼ì²â½×¶Î22
3.7 ±¾ÕÂС½á22
µÚ4Õ ³ÌÐò½á¹ûÓë·ÖÎö23
4.1Ëã·¨Ò»µÄ²âÁ¿½á¹û23
4.2Á½ÖÖËã·¨½á¹û¶Ô±È25
4.3 ±¾ÕÂС½á26
µÚ5Õ ×ܽáºÍÕ¹Íû27
µÚ6Õ ÖÂл28
µÚ7Õ ²Î¿¼ÎÄÏ×29
¸½Â¼ Ô´´úÂë30