Labeling information in a complex irregular region is a useful procedure occurring frequently in sheet metal and the furniture industry which will be beneficial in parts management.A fast code-based labeler(FCBL) is proposed to accomplish this objective in this paper.The region is first discretized,and then encoded by the Freeman encoding technique for providing the 2D regional information by 1D codes with redundancies omitted.We enhance the encoding scheme to make it more suitable for our complex problem.Based on the codes,searching algorithms are designed and can be extended with customized constraints.In addition,by introducing a smart optimal direction estimation,the labeling speed and accuracy of FCBL are significantly improved.Experiments with a large range of real data gained from industrial factories demonstrate the stability and millisecond-level speed of FCBL.The proposed method has been integrated into a shipbuilding CAD system,and plays a very important role in ship parts labeling process.
One major goal of mesh parameterization is to minimize the conformal distortion. Measured boundary parameteri-zations focus on lowering the distortion by setting the boundary free with the help of distance from a center vertex to all the boundary vertices. Hence these parameterizations strongly depend on the determination of the center vertex. In this paper,we introduce two methods to determine the center vertex automatically. Both of them can be used as necessary supplements to the existing measured boundary methods to minimize the common artifacts as a result of the obscure choice of the center vertex. In addition,we propose a simple and fast measured boundary parameterization method based on the Poisson's equation. Our new approach generates less conformal distortion than the fixed boundary methods. It also generates more regular domain boundaries than other measured boundary methods. Moreover,it offers a good tradeoff between computation costs and conformal distortion compared with the fast and robust angle based flattening (ABF++).