| The stone industry has a broad market and development space.The booming development of the building materials market in recent years has promoted the stone industry to an unprecedented peak.Now that technology is developing day by day,higher requirements have been placed on the intelligence and automation of the stone production process.Vision measurement technology has been gradually applied to various types of intelligent detection equipment,which has greatly improved the detection efficiency and production efficiency.Therefore,combined with the application and requirements of stone processing,this paper has carried out research on the measurement of stone cutting workpiece size and panel surface height based on visual measurement technology.The major contents of the thesis are shown as below:In this paper,a solution of cutting workpiece size measurement based on monocular vision is presented.Aiming at the characteristics and detection requirements of the cut stone workpiece,an adaptive image segmentation algorithm for the workpiece is proposed.Firstly,the contrast linear stretching algorithm is adopted,which effectively solves the influence of the thickness of the stone workpiece.Then,through the two steps of global coarse segmentation and local partial block fine segmentation,the reliability and accuracy of segmenting the workpiece target is improved.Subsequently,the workpiece contour is extracted and tracked.Finally,the DXF file is output to realize the full-scale measurement requirements of the workpiece in the CAD software environment.A visual measurement scheme for the surface height of large stone panels is proposed.A visual measurement scheme for the surface height of large stone panels is proposed,which uses binocular structured light to solve the problem of lack of characteristics of panels.For the calculation method of the phase of structured light,this paper discusses two phase expansion algorithms,and proposes a method for verifying the accuracy of phase expansion based on marked points.The algorithm flow is as follows.First,the improved marker can be used to quickly and accurately extract the center of the marker.Secondly,the accuracy of the phase expansion is verified by interpolation conversion between the coordinates of the center of the marker point and the phase-coordinate.Finally,the phase-based linear interpolation matching method is used to achieve sub-pixel stereo matching,and the three-dimensional coordinates of the matching points are obtained in combination with the binocular measurement principle to achieve the full range height measurement of the panel surface.At the end of the thesis,the hardware platform of the vision measurement system was built,and the corresponding software design and development were completed.Based on the above studies and tools such as MFC,OpenCV,and PCL,monocular vision two-dimensional measurement software and stereo vision three-dimensional measurement software have been developed,which have functions such as acquisition,calculation,and display,and respectively implement corresponding visual measurement functions.In the laboratory environment,relevant measurement experiments have been carried out.The experimental results show that the measurement scheme proposed in this paper is effective.The final software can implement the entire measurement process,and has high measurement efficiency and measurement accuracy. |