隨著科技的日新月異造成的進步,電子產品的功能也越來越強大。在過去需要透過掃描機才能取得的高解析度文字影像,在現代卻往往只要透過一個普通的數位相機便能夠取得,相較起來更具有可攜性與便利性。受此影響,文字辨識的範圍也不再侷限於過往的平面文字影像,而延伸到了更生活化的三維立體影像中。 而在文字影像不再屬於單純的平面以後,對於文字影像辨識也帶來了更多問題。其中最主要的問題是文字所屬平面帶來的文字變形。在圓柱影像中,位於圓柱兩側的文字在影像中會因相機並非完全水平面對文字而呈現傾斜,除了文字變形外,也造成原來水平的文字行變形成一條曲線,也進而導致了文字辨識的困難。 本研究提供了一個有效正確的圓柱文字影像校正方法,利用影像前處理包含全域二值化、文字區塊標記來擷取欲分析之影像資料。其次將利用本研究中所提出之連通元件將文字字元進行正確的外型標記。而後將連通元件連結成曲線文字行,在以迴歸分析分析出曲線方程式後,將曲線文字行校正為直線,並可將此正確之校正結果提供後續的切割與辨識系統之用。 Due to the rapid development of scientific technology, electronic products becomes more advanced functions. It used to use scanner to get high resolution 2D image, but now we can do that by using ordinary digital cameras. Portability and convenience of using digital cameras. Character recognition is no longer limited by recognizing 2D characters. It can also be extended to recognize 3D characters because of the inherent characteristic of digital cameras. Since the images and texts are no longer planes, the recognition of them has brings in many problems. The major problem is that the plane to which the texts belong causes the sphere change of texts. When it formed the images of cylinder, the texts locate on both sides of the cylinder will slant because the camera is not totally horizontal in the images. In addition to the change of texts, the texts horizontal will be transformed into a curve which increases the difficulty in recognizing the texts. In this thesis, we present an effective method to correct the text images of cylinder sphere. Firstly, image preprocessing is performed including global binarization and connected-component labeling to extract the image information. Next, a modified connected-component labeling is employed to will correct the labeling characters, and link these components to a curved text line. After the using of regression analysis to analyze the curve function, we will correct the curved text line to a horizontal line. The result can be used to facilitate later segmentation and recognition system.