TWI396099B - The typographical method of video text file - Google Patents

The typographical method of video text file Download PDF

Info

Publication number
TWI396099B
TWI396099B TW099104337A TW99104337A TWI396099B TW I396099 B TWI396099 B TW I396099B TW 099104337 A TW099104337 A TW 099104337A TW 99104337 A TW99104337 A TW 99104337A TW I396099 B TWI396099 B TW I396099B
Authority
TW
Taiwan
Prior art keywords
image
character
text file
height
text
Prior art date
Application number
TW099104337A
Other languages
Chinese (zh)
Other versions
TW201128412A (en
Inventor
Jieh Hsiang
Original Assignee
Jieh Hsiang
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jieh Hsiang filed Critical Jieh Hsiang
Priority to TW099104337A priority Critical patent/TWI396099B/en
Publication of TW201128412A publication Critical patent/TW201128412A/en
Application granted granted Critical
Publication of TWI396099B publication Critical patent/TWI396099B/en

Links

Description

影像文字檔的活字排版方法 Typesetting method for video text files

本案係為一種影像文字檔的活字排版方法,特別是指一種可因應不同載具之閱讀介面尺寸而自動排版並換行之影像文字檔的活字排版方法。 The present invention is a typesetting method for a typeface of an image text file, in particular, a typesetting method for a typeface image file that can be automatically typeset and lined up according to the size of the reading interface of different vehicles.

電子書(e-books或electronic books)係指電子書閱讀器(e-reader)以及其數位內容的一個統稱,是近年來資訊載具(information loader)的趨勢,並逐漸替代傳統的紙面圖書。根據牛津字典(Oxford Dictionary)的定義,所謂的「電子書」係指「可供於個人電腦或者手持(hand-held)型儀器上閱讀之電子版本之印刷書」。上述之硬體閱讀介面一般稱為「電子書閱讀器」,個人電腦以及某些攜帶電話亦可使用為電子書閱讀器。因電子書可以以不同型式之電子書閱讀器(或前稱載具)所讀取,因此於數位出版上,製作出數位檔案,並可因應不同電子書閱讀器之閱讀乃成為一個重要的關鍵。 E-books or electronic books refer to e-readers and a collective term for their digital content. They are the trend of information loaders in recent years and gradually replace traditional paper books. According to the definition of the Oxford Dictionary, the so-called "e-book" refers to "a printed book of electronic versions that can be read on a personal computer or a hand-held instrument." The above-mentioned hardware reading interface is generally called an "e-book reader", and a personal computer and some mobile phones can also be used as an e-book reader. Because e-books can be read by different types of e-book readers (or formerly known as vehicles), digital files are produced in digital publishing, and reading in different e-book readers becomes an important key. .

於過去的圖書管理,因處於電腦發展之初,因此大多數的舊有圖書仍然使用油墨的紙面印刷方式,未有對應之可編輯電子檔案格式以提供載入閱讀。對於這些舊有圖書,目前的一般方法是以掃描手段將圖書轉成影像檔後載入使用。惟,該等掃描檔案如直接載入電子閱讀器而顯示,無法依據閱讀介面的尺寸調整而自動換行,因此須經常使用到上下或左右同時捲軸(scrolls)功能抑或是變更檢視尺寸功能,方可達到閱讀整個頁面之目的,是故閱讀不便且耗時。 In the past, book management, because at the beginning of the development of the computer, most of the old books still use the ink printing method of the ink, there is no corresponding editable electronic file format to provide loading and reading. For these old books, the current general method is to scan the book into an image file and then load it. However, if the scanned files are directly loaded into the e-reader and cannot be automatically changed according to the size adjustment of the reading interface, it is necessary to frequently use the scrolling function of the up and down or left and right scrolls or change the viewing size function. The purpose of reading the entire page is that it is inconvenient and time consuming to read.

為解決該等問題,習用技術將該些掃描檔案經電子轉譯為可編輯之電子檔案格式,製作出數位檔案以供編輯,再行載入閱讀。所述電子轉譯技術是配合光學字符識別(optical character recognition,簡稱OCR),將掃描機所截取之文字影像,電子翻譯(electronically translate)為可供編輯之檔案,可編輯檔案則可根據閱讀介面尺寸而調整換行。 In order to solve these problems, the conventional technology converts the scanned files into an editable electronic file format, and creates a digital file for editing, and then loads and reads. The electronic translation technology is combined with optical character recognition (OCR), and the text image captured by the scanner is electronically translated into an editable file, and the editable file can be read according to the size of the reading interface. And adjust the line break.

較佳的光學字符識別系統須有類似人類的閱讀,對不同印刷字體具良好的辨識度。一般而言,於英文辨識上,因英文字母以及文字符號數量有限,光學字符識別系統的對排版後產生之文字檔之辨識效果較佳,可預期達到近百分之百。然,對於表意文字(ideographic languages)或者區塊文字(block languages),例如繁簡體中文、日文、韓文等,因文字資料庫大且字體型態複雜,光學字符識別系統的電子翻譯效能皆差強人意,若要達到可閱讀的正確率,則須以人工方式校對。於目前舊有圖書數量龐大的情況下,如須將每一書籍掃描並電子翻譯為可編輯檔案,之後校正電子翻譯的結果,須花費相當多的時間以及費用。再者,如需求上僅為單純閱讀需要,無須進行檔案編輯的情況下,該等電子辨識並不符合現有需要。 A preferred optical character recognition system must have human-like reading and good recognition of different printed fonts. Generally speaking, in English identification, due to the limited number of English letters and text symbols, the optical character recognition system has better recognition effect on the text files generated after typesetting, and can be expected to reach nearly 100%. However, for ideographic languages or block languages, such as traditional Chinese, Japanese, Korean, etc., the electronic translation performance of the optical character recognition system is unsatisfactory due to the large text database and complex font style. To achieve a readable correct rate, it must be proofed manually. In the case of a large number of old books, it takes a considerable amount of time and expense to scan and electronically translate each book into an editable file and then correct the results of the electronic translation. Moreover, if the demand is only for reading, and the file editing is not required, the electronic identification does not meet the existing needs.

爰上,本發明提供一種影像文字檔的活字排版方法,其之一目的在於提供一種可因應不同載具之閱讀介面尺寸而自動排版換行的影像文字檔的活字排版。 In summary, the present invention provides a movable typesetting method for an image text file, and an object of the present invention is to provide a movable typesetting of an image text file that can be automatically typeset and lined according to the reading interface size of different carriers.

本發明提供一種影像文字檔的活字排版方法,其另一目的在於提高顯示速度及便利性;本發明的影像文字檔的活字排版方法無須透過光學字符識別系統之個別字元比對,而直接將影像文字檔進行適當切割,並快速顯示於不同尺寸之閱讀介面上,因此無須光學字符識別系統後處理之大量校對人力,亦無影像文字檔直接呈現的不便利及缺乏彈性。 The present invention provides a movable typesetting method for video text files, and another object thereof is to improve display speed and convenience; the movable typesetting method of the image text file of the present invention does not need to be compared with individual character pairs of the optical character recognition system, but directly The image text file is properly cut and quickly displayed on different sizes of the reading interface, so there is no need for a large amount of proofing workmanship after the optical character recognition system is processed, and there is no inconvenience and lack of flexibility in direct presentation of the image text file.

本發明所提供影像文字檔的活字排版方法,其步驟包含:根據閱讀順序, 對一影像文字檔進行一第一方向的切割,致使該文字檔形成複數個文字串影像;對每一該文字串影像進行一第二方向的切割,致使該影像文字檔形成複數個獨立字元影像;基於一閱讀介面,將該些獨立字元影像進行排版,俾使排版版面可根據該閱讀介面尺寸而自動換行。 The movable typesetting method for the image text file provided by the present invention comprises the following steps: according to the reading order, Performing a first direction of cutting on an image text file, causing the text file to form a plurality of text string images; performing a second direction cutting on each of the text string images, such that the image text file forms a plurality of independent character characters Image; based on a reading interface, the independent character images are typeset, so that the layout layout can automatically wrap according to the size of the reading interface.

於一實施例中,本發明是記錄該影像文字檔的黑色畫素列陣列以及黑色畫素欄陣列,藉以找出每一個字元的上下左右邊界,因此將影像文字檔中的每一字元分割出,並以字元為單位進行重新排版,達成可依據閱讀介面尺寸而自動換行的功效。 In one embodiment, the present invention records a black pixel array and a black pixel array of the image text file, thereby finding the upper, lower, left and right borders of each character, and thus each character in the image text file. Split and redetype in characters, achieving the ability to automatically wrap depending on the size of the reading interface.

於一實施例中,本發明儲存原始影像文字檔中的閱讀順序以及分段資訊,並於排版程序中重新顯示。 In one embodiment, the present invention stores the reading order and segmentation information in the original image text file and redisplays it in the layout program.

w‧‧‧閱讀介面與顯示緩衝區寬度 w‧‧‧Reading interface and display buffer width

h‧‧‧閱讀介面高度 h‧‧‧Reading interface height

H‧‧‧顯示緩衝區高度 H‧‧‧Display buffer height

y‧‧‧上次已顯示高度 y‧‧‧The height has been shown last time

X‧‧‧X座標軸 X‧‧‧X coordinate axis

Y‧‧‧Y座標軸 Y‧‧‧Y coordinate axis

1~5,11~13,21,24~25,51~57‧‧‧步驟 1~5, 11~13, 21, 24~25, 51~57‧‧‧ steps

221~224,231~234,521~527,531~535‧‧‧步驟 221~224, 231~234, 521~527, 531~535‧‧‧ steps

為使本發明之上述和其他目的、特徵、優點與實施例可容易了解,所附圖式之詳細說明如下:第一圖顯示本發明之影像文字檔的活字排版方法中「文字切割」的一實施例流程圖;第二圖顯示本發明對影像文字檔進行第一方向之切割以形成複數個文字串之一實施例流程圖;第三圖顯示本發明將影像文字檔切割為獨立字元後,活字排版於一閱讀介面的一實施例流程圖;第四圖顯示本發明「寫入顯示緩衝區」步驟中所包含的子步驟之一實施例流程圖;第五圖顯示本發明「列印顯示緩衝區」步驟中所包含的子步驟之一實施例流程圖;第六A圖顯示緩衝區資料到底時的顯示緩衝區範圍;以及第六B圖顯示緩衝區資料未到底時的顯示緩衝區範圍。 The above and other objects, features, advantages and embodiments of the present invention will become more readily understood. The flow chart of the embodiment; the second figure shows a flow chart of the embodiment of the invention for cutting the first direction of the image text file to form a plurality of character strings; the third figure shows that the image text file is cut into independent characters after the invention a flow chart of an embodiment of a movable type layout in a reading interface; a fourth figure showing a flow chart of one of the sub-steps included in the step of "writing the display buffer" of the present invention; and the fifth figure shows the printing of the present invention. A flow chart of one of the sub-steps included in the step of displaying a buffer; a sixth A picture showing the display buffer range when the buffer data is in the end; and a sixth B picture showing the display buffer when the buffer data is not at the end range.

以下的說明以及範例用以解釋本發明之細節。然,熟習此項技藝之人士應該輕易瞭解,於本發明之實施例所涵蓋下,所述及該些實施例應有相當之變化以及改良。因此,後載之實施例並非用於限制本發明之保護範疇。本發明之影像文字檔的活字排版方法,實質上可包含「文字切割」以及「活字排版」兩個主要程序。於首先的「文字切割」程序中,本發明將影像文字檔切割為複數個獨立字元,並將每一該些字元以影像格式和相關資訊加以儲存。於後的「活字排版」程序中,本發明以字元為單位,針對該些切割後之字元進行活字排版,因此可針對不同尺寸之閱讀介面進行排版並自動換行調整,以獲致快速且方便閱讀之顯示者。 The following description and examples are presented to explain the details of the invention. However, those skilled in the art should readily appreciate that the described embodiments are susceptible to variations and modifications. Therefore, the embodiments of the afterload are not intended to limit the scope of protection of the present invention. The movable typesetting method of the image text file of the present invention substantially includes two main programs of "text cutting" and "live typesetting". In the first "text cutting" program, the present invention cuts the image text file into a plurality of independent characters and stores each of the characters in an image format and related information. In the following "Live Typesetting" program, the present invention performs typesetting on the cut characters in units of characters, so that the reading interface of different sizes can be typeset and automatically changed to achieve fast and convenient. Reader of the reading.

本發明所述的「影像文字檔」定義為無法直接編輯的檔案格式,舉例說明,例如pdf檔或者tiff檔,但不以所舉例者為限。此外,本發明的名稱雖以影像文字檔為標的,但實務上並不以整體檔案格式皆為文字者為限制。請參見第一圖,其顯示本發明之影像文字檔的活字排版方法中「文字切割」的一實施例流程圖,其包含:步驟1:「取得一影像文字檔案」、步驟2:「對該影像文字檔進行一第一方向之切割,以形成複數個文字串影像」、步驟3:「對每一該文字串進行一第二方向之切割,以形成複數個字元」、步驟4:「將每一該字元儲存為影像,並且保留閱讀順序以及分段資訊」以及步驟5:「進行活字排版」。 The "image text file" described in the present invention is defined as a file format that cannot be directly edited, for example, a pdf file or a tiff file, but is not limited to the examples. In addition, the name of the present invention is based on the image text file, but the practice is not limited to the fact that the overall file format is a text. Please refer to the first figure, which shows a flow chart of an embodiment of "text cutting" in the movable typesetting method of the image text file of the present invention, which comprises: Step 1: "Get an image text file", Step 2: "Does The image text file is cut in a first direction to form a plurality of text string images. Step 3: "Cutting a second direction for each of the text strings to form a plurality of characters", step 4: Each character is stored as an image, and the reading order and segmentation information are retained" and step 5: "Live typesetting".

首先,本發明之影像文字檔的活字排版方法必須取得一影像文字檔案(步驟1),並於取得該影像文字檔時,同時擷取該影像之寬度W1以及高度H1。之後,根據閱讀之順序,對該影像文字檔進行一第一方向之切割,以形成複數個文字串影像(步驟2),接續再度根據該文字串閱讀之順序,對每一該文字串進行一第二方向之切割,以形成複數個字元(步驟3)。於切割後,可將每一該字元儲存為影像,並且保留原閱讀順序以及分段資訊(步驟4),並以 字元為單位,針對切割後之個別字元進行活字排版(步驟5)。 First, in the movable typesetting method of the image text file of the present invention, an image text file must be obtained (step 1), and when the image text file is obtained, the width W1 and the height H1 of the image are simultaneously captured. Then, according to the order of reading, the image text file is cut in a first direction to form a plurality of text string images (step 2), and then one of each character string is successively performed according to the order of the text string reading. Cutting in the second direction to form a plurality of characters (step 3). After cutting, each character can be stored as an image, and the original reading order and segmentation information are retained (step 4), and The character is a unit, and the typesetting is performed on the individual characters after cutting (step 5).

本發明於一實施例中,為減少儲存容量以及處理時間,可於步驟1:「取得一影像文字檔案」後,增加一步驟11:「將影像檔案轉為黑白二元圖」之步驟,減少檔案的尺寸,僅針對黑白二元檔案進行處理。所述的「黑白二元圖」,係將影像中所有的色彩係以黑色或白色兩種顏色,因此稱為黑白二元圖。 In an embodiment, in order to reduce the storage capacity and the processing time, the step of adding an image file to the step 1: "transforming the image file into a black and white binary image" is added to the step 1: The size of the file is only processed for black and white binary files. The "black and white binary image" refers to all the colors in the image in black or white, so it is called a black and white binary image.

再者,為簡化切割處理程序,使無論直向或橫向檔案之切割順序皆相同,即先進行橫向切割,再行直向切割;於步驟2的切割以前,可包含一步驟12:「確認文字排版方向」之程序,並根據該確認後的文字排版方向,進行一步驟13:「對影像文字檔進行一適當角度之旋轉」。所述的「一適當角度之旋轉」,舉例說明,如原始之影像文字檔為直向,且為由右至左之文字串閱讀順序,則該「適當角度之旋轉」可為逆時針旋轉九十度。因此,於進行該適當旋轉角度後,俾使無論原始文字排版方向為直向抑或是橫向,皆可統一以橫向作為該「第一方向」,而以直向作為「第二方向」,以利切割程序之簡化。 Furthermore, in order to simplify the cutting process, the cutting order of the straight or horizontal files is the same, that is, the horizontal cutting is performed first, and then the straight cutting is performed; before the cutting of the step 2, the step 12 may be included: The program of the typesetting direction, and based on the confirmed text layout direction, performs a step 13 of "rotating an appropriate angle of the image text file". The "rotation of an appropriate angle" is exemplified. If the original image text file is straight and the right-to-left text string is read, the "rotation of the appropriate angle" may be rotated counterclockwise. Ten degrees. Therefore, after performing the appropriate rotation angle, regardless of whether the original text layout direction is straight or horizontal, the horizontal direction can be unified as the "first direction" and the straight direction as the "second direction". Simplification of the cutting program.

然而,於其他的實施例中,步驟2以及步驟3中所述的「第一方向」以及「第二方向」係可自由根據排版方向而定義,並未受到限制。舉例說明,如原始影像文字檔之文字排版為橫向,則該第一方向可定義為橫向,而第二方向可為直向。反之,如原始影像文字檔之文字排版為直向,則該第一方向可定義為直向,而第二方向則可為橫向。因此,無論直向排版或橫向排版,於經過「第一方向」以及「第二方向」切割後,一影像文字檔可形成複數個獨立的字元影像。 However, in other embodiments, the "first direction" and the "second direction" described in steps 2 and 3 are freely defined according to the layout direction and are not limited. For example, if the text layout of the original image text file is horizontal, the first direction may be defined as a horizontal direction, and the second direction may be a straight direction. Conversely, if the text layout of the original image text file is straight, the first direction can be defined as straight direction, and the second direction can be horizontal. Therefore, regardless of the straight layout or the horizontal layout, after the "first direction" and the "second direction" are cut, an image text file can form a plurality of independent character images.

請參考第二圖,其顯示本發明對一影像文字檔進行第一方向切割以形成複數個文字串之一實施例流程圖。於該實施例中,本發明掃描並讀取影像中黑色部分,藉此界定每一文字串的上下邊界,並以該上下邊界分割該影像 文字檔成為複數個文字串;惟,實務上係可使用其他方式進行實質上相等的分割,如讀取影像中白色部分進行分割,本發明並不以所揭實施例的分割為限制。再者,為方便描述,於第二圖中,假定對影像文字檔所進行的第一方向切割為橫向切割,且經過步驟11的黑白二元圖轉換。 Please refer to the second figure, which shows a flow chart of an embodiment of the present invention for performing a first direction cut on an image text file to form a plurality of text strings. In this embodiment, the present invention scans and reads the black portion of the image, thereby defining the upper and lower boundaries of each character string, and dividing the image by the upper and lower boundaries. The text file becomes a plurality of text strings; however, in practice, substantially equal division can be performed using other methods, such as reading a white portion of the image for segmentation, and the present invention is not limited by the segmentation of the disclosed embodiment. Furthermore, for convenience of description, in the second figure, it is assumed that the first direction cut on the image text file is a horizontal cut, and the black and white binary map conversion in step 11 is performed.

參見第二圖,首先如步驟21:進行初始化,並且將影像中每一個畫素(pixel)列的黑色畫素數量儲存至一陣列,表示為黑色畫素列陣列BR(i),其中i為畫素列的索引號,索引號的增加順序係根據閱讀順序而決定。舉例說明,則BR(8)=1000代表i=8的畫素列中所儲存黑色畫素數量為1000個。藉由記錄影像中黑色畫素數量,可得知影像檔案中字元的分佈位置以及其邊界。於本發明之一實施例中,考慮舊有書籍上或出現汙漬等雜訊(noises),可於進行該等黑色畫素數量記錄之前,先行對文件進行一前置處理,將該等雜訊減小,俾使其不致影響正確字元之讀取。 Referring to the second figure, first, as in step 21: initializing, and storing the number of black pixels in each pixel column of the image into an array, represented as a black pixel array BR(i), where i is The index number of the prime column, the order of increasing the index number is determined according to the reading order. For example, BR(8)=1000 represents that the number of black pixels stored in the pixel column of i=8 is 1000. By recording the number of black pixels in the image, you can know the location of the characters in the image file and its boundaries. In an embodiment of the present invention, considering noises such as stains on the old books, the pre-processing of the files may be performed before the recording of the black pixels. Decrease, so that it does not affect the reading of the correct character.

接續地,為實施切割影像檔案為複數個文字列,因此必須找出每一文字串之上下邊界。依序考量影像中的每一個畫素列之BR(i)值(步驟221),如其中一畫素列之BR(i)值為零(亦即為BR(i)陣列均為空白,以下稱此情況為零元素),且其下一個畫素列的值BR(i+1)並大於零(步驟222),意即表示索引號(i+1)的畫素列係為於全白畫素列後所緊接著的第一個黑色畫素列,因此可將該畫素列視為第j個文字串的起始邊界,並將該畫素列的資訊記錄為上邊界U(j)(步驟224);其中j為一個文字串的索引號。然,如未能滿足步驟222的條件,則繼續進行下一個畫素列的確認(步驟223)。此外,如一影像文字檔已經過步驟11的黑白二元圖轉換且經前置去雜訊處理,於步驟222中,可考慮將找出BR矩陣於零元素之後大於零的元素,簡化為找出BR矩陣於零元素之後的非零元素。 Continually, in order to implement the cut image file as a plurality of character columns, it is necessary to find the upper and lower boundaries of each character string. The BR(i) value of each pixel column in the image is sequentially considered (step 221), if the BR(i) value of one of the pixel columns is zero (that is, the BR(i) array is blank, below This is called a zero element), and the value of its next pixel column, BR(i+1), is greater than zero (step 222), which means that the pixel number of the index number (i+1) is all white. The first black pixel column immediately after the prime column, so the pixel column can be regarded as the starting boundary of the j-th character string, and the information of the pixel column is recorded as the upper boundary U(j (Step 224); where j is the index number of a text string. However, if the condition of step 222 is not satisfied, the confirmation of the next pixel column is continued (step 223). In addition, if an image text file has been converted by the black and white binary image of step 11 and subjected to pre-de-noise processing, in step 222, it may be considered to find the element of the BR matrix that is greater than zero after the zero element, thereby simplifying to find out The BR matrix is a non-zero element after the zero element.

於找到第j個文字串之上邊界後,可以相似的方式尋找該個文字串之下邊界:依序考慮找到上邊界後影像中每一個畫素列之BR(i)值(步驟231),如其 中一畫素列之BR(i)值大於零,且下一個畫素列的值BR(i+1)恰為零(步驟232),則代表索引號(i+1)畫素列為於黑色畫素列後所緊接著第一個全白畫素列(零元素),因此可將該畫素列視為第j個文字串的結束邊界,並將該畫素列的資訊記錄為下邊界L(j)(步驟234)。然,如未能滿足步驟232的條件,則繼續進行下一個畫素列的確認(步驟233)。之後考慮所有的畫素列,直到文件末(步驟24),結束每一個文字串上下邊界的確認(步驟25)。相似於找出上邊界的程序,如一影像文字檔已經過步驟11的黑白二元圖轉換且經前置去雜訊處理,於步驟232中,可考慮將找出BR矩陣於大於零元素之後的零元素,簡化為找出BR矩陣於非零元素之後的零元素。 After finding the boundary above the j-th character string, the lower boundary of the text string can be found in a similar manner: the BR(i) value of each pixel column in the image after the upper boundary is found is sequentially considered (step 231). As its The BR(i) value of the first pixel column is greater than zero, and the value BR(i+1) of the next pixel column is exactly zero (step 232), indicating that the index number (i+1) pixel is listed as The black pixel sequence is followed by the first all-white color column (zero element), so the pixel column can be regarded as the end boundary of the j-th character string, and the information of the pixel column is recorded as The boundary L(j) (step 234). However, if the condition of step 232 is not satisfied, the confirmation of the next pixel column is continued (step 233). Then, all the pixel columns are considered until the end of the file (step 24), and the confirmation of the upper and lower boundaries of each character string is ended (step 25). Similar to the procedure for finding the upper boundary, for example, an image text file has been converted by the black and white binary image of step 11 and subjected to pre-de-noise processing. In step 232, it may be considered to find the BR matrix after the greater than zero element. The zero element is simplified to find the zero element of the BR matrix after the non-zero element.

為了應對影像檔中之汙漬等雜訊問題,亦可將上述條件放寬,以設定一臨界值(threshold)k,於決定畫素列之上下邊界時,如BR(i)<k即可視為是不含文字的全白畫素列,而無須限定必須為零元素(亦即BR(i)=0)。對於第二方向之切割,可以一相似於前揭第二圖中第一方向的切割進行:對於每一個文字串影像,依序記錄該文字串每一欄(column)的黑色畫素至一陣列,表示為黑色畫素欄陣列BC(m),其中m為一文字串的欄索引號。依閱讀順序考慮m,假設一文字串的字元閱讀順序為由左至右,於m滿足BC(m)=0且BC(m+1)>0,則可找出一字元之左邊界L;考慮該字元右側影像n>m,其中n亦為該文字串的欄索引號,如n滿足BC(n)>0且BC(n+1)=0,則可找出該字元之右邊界R。配合前述文字列之上下邊界,則可定義並切割出一獨立字元。 In order to cope with noise problems such as stains in the image file, the above conditions may be relaxed to set a threshold k, which is regarded as BR(i)<k when determining the lower boundary above the pixel column. An all-white color without text, without having to be a zero element (ie BR(i)=0). For the cutting in the second direction, a cutting similar to the first direction in the second drawing can be performed: for each text string image, the black pixels of each column of the text string are sequentially recorded to an array. , denoted as a black pixel array BC(m), where m is the column index number of a text string. Consider m in the order of reading. Suppose the character reading order of a character string is from left to right. When m satisfies BC(m)=0 and BC(m+1)>0, the left boundary of a character can be found. Considering the image on the right side of the character n>m, where n is also the column index number of the character string. If n satisfies BC(n)>0 and BC(n+1)=0, the character can be found. Right boundary R. In conjunction with the upper and lower boundaries of the preceding character string, a separate character can be defined and cut.

考慮某些特殊字元情況,本發明可加入某些後置處理,以校正誤差切割,俾使輸出結果正確。例如於輸出某些合併區塊文字,例如「北」,因「北」字元中央空白的部分可能產生分割誤差的情況,因此於本發明之一實施例中,可設定一合併係數,進行該些特殊字元的合併調整。舉例說明,於字元切割後,如某一字元的左右邊界為L,R,而上下邊界為U,L,且 (R-L)<a×(L-U),亦即該分割字元的左右寬度較上下高度的一比例為小;其中a為一合併係數,例如3/4。而該字元的下一個字元,其左右邊界為L’,R’和上下邊界為U’,L’,且(R’-L’)<a×(L’-U’),亦即該字元的下一字元的左右寬度亦較上下高度的比例為小。換言之,如前後兩字元的左右寬度皆較上下高度某一比例為小,則可考慮將前後兩個字元合併輸出。於本發明的步驟4,將影像切割為獨立字元後,須考慮並記錄字元閱讀順序以及原始的段落資訊,以期於步驟5的「活字排版」中,重新將字元閱讀順序以及分段資訊保留呈現。一般而言,一個新的段落的出現,舉例說明,可能與下列情況相關:(a)一個文字串與前一個文字串的間距較大;(b)一個文字串的起始包括空白縮排;或者(c)一個文字串的結尾包括空白等,但不以所舉例者為限。 Considering some special character cases, the present invention can add some post processing to correct the error cut and make the output result correct. For example, in the case of outputting some merged block characters, such as "North", a portion of the central portion of the "North" character may cause a segmentation error. Therefore, in one embodiment of the present invention, a merge coefficient may be set to perform the The combined adjustment of some special characters. For example, after the character is cut, if the left and right boundaries of a character are L, R, and the upper and lower boundaries are U, L, and (R-L) < a × (L - U), that is, a ratio of the left and right widths of the divided characters to the upper and lower heights is small; wherein a is a combining coefficient, for example, 3/4. And the next character of the character, the left and right boundaries are L', R' and the upper and lower boundaries are U', L', and (R'-L') < a × (L'-U'), that is, The left and right widths of the next character of the character are also smaller than the upper and lower heights. In other words, if the left and right widths of the two characters are smaller than the upper and lower heights, then the two characters before and after can be combined and output. In step 4 of the present invention, after the image is cut into independent characters, the character reading order and the original paragraph information must be considered and recorded, in order to re-read the character reading order and segmentation in the "live typesetting" of step 5. Information retention is presented. In general, the appearance of a new paragraph, for example, may be related to: (a) a text string is more spaced from the previous text string; (b) the beginning of a text string includes a blank indentation; Or (c) the end of a text string includes a blank, etc., but is not limited to the examples.

於(a)的情況中,本發明可判讀下一個文字串的上邊界U(i+1)與其上一個文字串的下邊界L(i)之差值是否大於一定限(threshold)t1,表示為U(i+1)-L(i)>t1,其中t1可設定一定值,例如為一出現頻率最高的文字串影像高度。換言之,亦即如一個文字串與前一個文字串的間距大於出現頻率最高的文字串影像高度,則將兩個文字串視為屬於兩個段落,並且於兩個文字串中輸出一段落符號。 In the case of (a), the present invention can determine whether the difference between the upper boundary U(i+1) of the next character string and the lower boundary L(i) of the previous character string is greater than a threshold t1, indicating It is U(i+1)-L(i)>t1, where t1 can be set to a certain value, for example, the height of the text string image with the highest frequency of occurrence. In other words, if the distance between a text string and the previous text string is greater than the height of the text string with the highest frequency of occurrence, the two text strings are considered to belong to two paragraphs, and a paragraph symbol is outputted in the two text strings.

或者,可選擇於(b)的情況中輸出分段資料:於第i個文字串中找出第一個出現的字元,亦即首先出現黑色畫素使BC(m)>0者,設定一空白定限t2,如m>t2×(L(i)-U(i)),亦即該文字串開始的空白大於該文字串影像高度的t2倍,則可考慮輸出一段落符號。 Alternatively, the segmentation data may be output in the case of (b): the first occurrence of the character is found in the i-th character string, that is, the black pixel first appears to make BC(m)>0, set. A blank limit t2, such as m>t2×(L(i)-U(i)), that is, the beginning of the character string is greater than t2 times the height of the text string image, then a paragraph symbol may be considered for output.

或者,可選擇於(c)的情況中輸出分段資料:首先找到第i個文字串的結尾,亦即BC(n)>0且BC(n+1)=0者,並定義一末尾定限t3。如影像寬度W1(由第一圖步驟1中所得)減去文字串中字元的部分,亦即一個文字串中末尾空白的部分,如該部分大於文字串影像高度的t3倍,表示為W1-m>t3× ((L(i)-U(i)),則可考慮輸出一段落符號。 Alternatively, the segmentation data may be output in the case of (c): first find the end of the i-th text string, that is, BC(n)>0 and BC(n+1)=0, and define a final Limited to t3. For example, the image width W1 (obtained in step 1 of the first figure) is the portion of the character string, that is, the portion of the end of the text string, if the portion is greater than t3 times the height of the text string image, it is represented as W1- m>t3× ((L(i)-U(i)), you can consider outputting a paragraph symbol.

至此,本發明已將一影像文字檔案切割為複數個獨立字元,並儲存所需的閱讀順序、邊界資訊、以及段落資訊等,以供步驟5的活字排版所使用。第三圖顯示本發明將影像文字檔切割為獨立字元後,重新排版於一閱讀介面的一實施例流程圖,其為第一圖中步驟5的子步驟。首先,為使本發明可因應不同載具之閱讀介面尺寸而自動排版換行,必須先取得該閱讀介面之寬度w和高度h(步驟51),以及一顯示緩衝區(display buffer)的寬度w和高度H;其中該載具閱讀介面的寬度是指手持閱讀狀態時的寬度,而顯示緩衝區是指其捲軸(scroll)於作用下(enable)的顯示隨機存取記憶體(RAM)尺寸。此處,為方便說明,假定載具閱讀介面的寬度與顯示緩衝區的寬度一致,同為w。此外,載具的閱讀介面尺寸亦可於使用者變更其設定後立刻取得並更新。 So far, the present invention has cut an image text file into a plurality of independent characters, and stores the required reading order, boundary information, and paragraph information, etc., for use in the typesetting of step 5. The third figure shows a flow chart of an embodiment of the present invention in which the image text file is cut into independent characters and then re-formatted into a reading interface, which is a sub-step of step 5 in the first figure. First, in order for the present invention to automatically typeset lines in response to the reading interface size of different vehicles, the width w and height h of the reading interface must be obtained first (step 51), and the width w of a display buffer and Height H; wherein the width of the reading interface of the vehicle refers to the width of the handheld reading state, and the display buffer refers to the size of the display random access memory (RAM) whose scroll is enabled. Here, for convenience of explanation, it is assumed that the width of the reading interface of the carrier is the same as the width of the display buffer, and is also w. In addition, the reading interface size of the vehicle can also be obtained and updated immediately after the user changes its settings.

於取得載具閱讀介面以及顯示緩衝區寬度以及高度後(步驟51),須將欲顯示之影像資訊寫入顯示緩衝區(步驟52,連接至第四圖),之後列印至顯示緩衝區(步驟53,連接至第五圖),並更新影像顯示的範圍(步驟54)。接續地,確認是否所有的資料皆已經完成顯示或者接收到終止指示(步驟55),如是,則結束排版顯示程序(步驟56);如否,則須確認改變後的影像顯示範圍是否超出顯示緩衝區(步驟57)。如改變後的影像顯示範圍已超過顯示緩衝區,表示顯示緩衝區中所儲存的資料已不足提供並顯示於閱讀介面的一完整頁面,因此必重新回到步驟52,繼續將資料寫入緩衝區,以供顯示,並形成一迴路,直到所有資料已顯示或需要終止(步驟54),則停止(步驟55)。 After obtaining the reading frame of the vehicle and the width and height of the display buffer (step 51), the image information to be displayed must be written into the display buffer (step 52, connected to the fourth picture), and then printed to the display buffer ( Step 53, connect to the fifth figure), and update the range of image display (step 54). Subsequently, it is confirmed whether all the materials have been displayed or received the termination instruction (step 55), and if so, the layout display program is ended (step 56); if not, it is confirmed whether the changed image display range exceeds the display buffer Zone (step 57). If the changed image display range has exceeded the display buffer, it means that the data stored in the display buffer is insufficient to be provided and displayed on a complete page of the reading interface, so it is necessary to return to step 52 to continue writing the data to the buffer. For display and form a loop until all data has been displayed or needs to be terminated (step 54), then stop (step 55).

接續至第四圖,於步驟52中,本發明將分割後的字元影像資料依序寫入顯示緩衝區。請參考第四圖,其顯示步驟52所包含的子步驟之一實施例流程圖。於步驟51之後,首先依序取得目前須顯示的字元影像資料(步驟521) ,將該字元影像資料以A表示。由一原始頁面的起始影像開始,將該字元影像資料A初始為第一個須寫入的影像資料。此處,為簡化說明,第四圖以橫向排版為範例,但實際上並不以此為限制。 Following the fourth figure, in step 52, the present invention sequentially writes the divided character image data into the display buffer. Please refer to the fourth figure, which shows a flow chart of one of the sub-steps included in step 52. After step 51, the character image data currently to be displayed is first obtained sequentially (step 521). , the character image data is represented by A. Starting from the start image of an original page, the character image data A is initially the first image data to be written. Here, in order to simplify the description, the fourth figure is exemplified by the horizontal typesetting, but is not actually limited thereto.

於取得顯示字元影像A(步驟521)後,確認目前的寫入是否須分段(步驟522)。如須分段,則於顯示影像A之前必須先分段換行(步驟523)。如無須換行,則須確認於緩衝區的同一行空間是否有足夠寬度再寫入字元影像資料A(步驟524),如無空間亦必須換行(步驟523)。反之,如緩衝區的寬度足夠寫入字元影像資料A,則直接由原來已寫入的初始影像旁繼續寫入非分段的影像資料A(步驟525),再重新回到步驟521,以形成一個迴路(loop)。如於步驟522的確認後,須分段或緩衝區寬度不足而須換行,則於換行(步驟523)後,確認顯示區高度於寫入影像A後是否將大於緩衝區的容許高度H(步驟526),其中顯示緩衝區高度H為於步驟51中取得。如寫入影像A後的緩衝區高度小於緩衝區的容許高度H,則代表可繼續寫入,因此可至步驟525繼續寫入。否則,代表顯示緩衝區的空間已不足繼續寫入,必須停止目前的寫入動作,並記錄目前的字元影像A(步驟527),俾使下一次的寫入動作可由該字元影像A起始。於步驟527之後,接續步驟53:列印緩衝區的資料。 After the display character image A is obtained (step 521), it is confirmed whether the current write is to be segmented (step 522). If segmentation is required, the image must be segmented before displaying the image A (step 523). If there is no need to change the line, it is necessary to confirm whether the same line space of the buffer has enough width and then write to the character image data A (step 524), and if there is no space, it must be changed (step 523). On the other hand, if the width of the buffer is enough to write the character image data A, the non-segmented image data A is directly written next to the original image that has been written (step 525), and then returns to step 521 to Form a loop. After the confirmation in step 522, if the segmentation or the buffer width is insufficient and the line needs to be changed, after the line feed (step 523), it is confirmed whether the display area height is greater than the allowable height H of the buffer after writing the image A (step 526), wherein the display buffer height H is obtained in step 51. If the buffer height after writing image A is less than the allowable height H of the buffer, it means that the writing can continue, so the writing can be continued in step 525. Otherwise, the space representing the display buffer is insufficient to continue writing, the current write operation must be stopped, and the current character image A is recorded (step 527), so that the next write operation can be started from the character image A. beginning. After step 527, proceed to step 53: print the data of the buffer.

請參考第五圖,其顯示步驟53所包含的子步驟之一實施例流程圖。於完成顯示緩衝區的寫入後(步驟52),須確認目前於顯示緩衝區的資料高度是否與閱讀介面同一高度(步驟531)。如兩者同高度,則可直接於閱讀介面上列印出緩衝區範圍內的資料(步驟532)。否則,則必須進一步確認緩衝區的資料是否已經到底(步驟533),並且根據閱讀介面以及緩衝區的尺寸關係,決定緩衝區的列印範圍。如緩衝區的資料已經到底部,如第六A圖所顯示,假設上一次顯示高度範圍至y位置(如第六A圖中的點狀區域所顯示),緩衝區的高度為H(如第六A圖中的點狀區域加上白色區域所顯示),而閱讀介面的 高度為h(如第六A圖中的白色區域加上斜線區域所顯示),則閱讀介面可顯示高度h大於本次需要顯示高度(H-y),表示為h>H-y,換言之,亦即資料顯示已經到底,因此本次列印的緩衝區範圍為由(0,y),(w,y),(0,H)以及(w,H)四個座標點所定義之區域(步驟534),該些座標點的位置是相對於第六A圖中所顯示的座標軸X與Y。 Please refer to the fifth figure, which shows a flow chart of one of the sub-steps included in step 53. After completing the writing of the display buffer (step 52), it is necessary to confirm whether the data height currently in the display buffer is the same height as the reading interface (step 531). If the height is the same, the data in the buffer range can be printed directly on the reading interface (step 532). Otherwise, it is necessary to further confirm whether the data of the buffer has been completed (step 533), and determine the printing range of the buffer according to the reading interface and the size relationship of the buffer. If the data of the buffer has reached the bottom, as shown in Figure 6A, assuming that the height range is displayed to the y position last time (as indicated by the dotted area in Figure 6A), the height of the buffer is H (eg The dotted area in Figure 6A is shown by the white area), while the reading interface The height is h (as shown in the white area in Figure 6 plus the slash area), the reading interface can display the height h greater than the current required display height (Hy), expressed as h>Hy, in other words, the data display Already, so the buffer range printed this time is the area defined by the four coordinate points (0, y), (w, y), (0, H) and (w, H) (step 534), The positions of the coordinate points are relative to the coordinate axes X and Y shown in Figure 6A.

如緩衝區的資料尚未到達底部,如第六B圖所顯示,如緩衝區的高度為H(如第六B圖中的點狀區域加上白色區域和斜線區域),因緩衝區的資料尚未到底,亦即緩衝區高度H將大於已顯示區域高度y加上閱讀介面的高度h,表示H>y+h,則本次列印的緩衝區範圍為該閱讀介面範圍(如第六B圖中白色區域所顯示),亦即由(0,y),(w,y),(0,y+h)以及(w,y+h)四個座標點所定義之區域(步驟535)。在列印出緩衝顯示區後,緊接著更新影像顯示的範圍(步驟54)。 If the data of the buffer has not yet reached the bottom, as shown in Figure B, if the height of the buffer is H (as in the dotted area of Figure B plus the white area and the slash area), the data in the buffer has not yet been In the end, that is, the buffer height H will be greater than the height y of the displayed area plus the height h of the reading interface, indicating that H>y+h, then the buffer range of the current printing is the reading interface range (such as the sixth B picture). The area indicated by the white area, that is, the area defined by the four coordinate points (0, y), (w, y), (0, y + h), and (w, y + h) (step 535). After the buffer display area is printed, the range of image display is updated (step 54).

於本發明中,更新影像顯示的方式並未有限定,其可使用上下捲軸之捲動抑或是觸動「下一頁(next page),(page down)」的功能,並且根據以上所選擇的方式,更新影像的顯示範圍。以捲軸為例說明,於捲動下捲軸下,假定每一次捲動致使閱讀介面往下移動d範圍,如閱讀介面的起始座標為(0,y),則改變影像顯示後閱讀介面的起始座標往下更新為(0,y+d)。本發明之影像文字檔的活字排版方法包含「文字切割」以及「活字排版」兩個主要程序。於「文字切割」程序,本發明將影像文字檔切割為複數個獨立字元,並將每一該些字元以影像格式加以儲存。於後的「活字排版」程序中,本發明此字元為單位,針對該些切割後之字元進行活字排版,因此,可針對不同尺寸之閱讀介面進行排版並自動換行,以獲致快速且方便閱讀之顯示者。 In the present invention, the manner of updating the image display is not limited, and the scrolling of the upper and lower scrolls or the function of "next page (page down)" can be used, and according to the manner selected above. , update the display range of the image. Taking the reel as an example, under the scrolling scroll, it is assumed that each scrolling causes the reading interface to move down the d range. If the starting coordinate of the reading interface is (0, y), the reading interface is changed after the image is displayed. The start coordinates are updated to (0, y + d). The movable typesetting method of the image text file of the present invention includes two main programs of "text cutting" and "live typesetting". In the "text cutting" program, the present invention cuts the image text file into a plurality of independent characters and stores each of the characters in an image format. In the following "Live Typesetting" program, the character of the present invention is a unit for performing typesetting on the cut characters, so that the reading interface of different sizes can be typeset and automatically wrapped for quick and convenient. Reader of the reading.

對於熟習本發明所屬領域之人士,受惠於前述說明以及相關圖式之教導,於不脫離本發明之精神以及範圍內,應可推得本發明各種實質上相等之變 更以及其他具體實施例。因此,本發明應不受限於前揭之特定實施例,並應將該等實質上相等之變更以及其他具體實施例納入之後載之申請專利範圍內。 For those skilled in the art to which the present invention pertains, the various modifications of the present invention can be derived without departing from the spirit and scope of the invention. More as well as other specific embodiments. Therefore, the present invention is not to be limited to the specific embodiments disclosed herein.

1~5‧‧‧步驟 1~5‧‧‧ steps

11~13‧‧‧步驟 11~13‧‧‧Steps

Claims (9)

一種影像文字檔的活字排版方法,其步驟包含:(a)對一影像文字檔擷取其寬度及高度,依閱讀的順序進行一第一方向的切割,致使該影像文字檔形成複數個文字串影像;(b)依該文字串影像閱讀的順序,對每一該文字串影像進行一第二方向的切割,致使該影像文字檔形成複數個獨立字元影像;(c1)取得一閱讀介面的寬度和高度以及一顯示緩衝區可寫入的寬度和高度;(c2)依照閱讀順序,將該獨立字元影像寫入該顯示緩衝區;(c3)根據該閱讀介面的寬度和高度,列印該顯示緩衝區至閱讀介面;(c4)更新閱讀介面的影像顯示範圍,將該些獨立字元影像進行排版,俾使排版版面可根據該閱讀介面尺寸而自動換行。 A movable typesetting method for image text files, the steps comprising: (a) drawing a width and a height of an image text file, and performing a first direction cutting according to the reading order, so that the image text file forms a plurality of text strings. (b) performing a second direction of cutting on each of the text string images in the order in which the text string images are read, such that the image text files form a plurality of independent character images; (c1) obtaining a reading interface Width and height and a width and height that can be written to the display buffer; (c2) writing the independent character image to the display buffer in reading order; (c3) printing according to the width and height of the reading interface The display buffer is to the reading interface; (c4) updating the image display range of the reading interface, and formatting the independent character images so that the layout layout can automatically wrap according to the reading interface size. 如申請專利範圍第1項所述之影像文字檔的活字排版方法,於(a)步驟前更包含一步驟(a0):將該影像文字檔轉為一黑白二元圖。 For example, the movable typesetting method of the image text file mentioned in the first paragraph of the patent application includes a step (a0) before the step (a): converting the image text file into a black and white binary image. 如申請專利範圍第2項所述之影像文字檔的活字排版方法,其中該第一方向為橫向,且第二方向為直向。 The movable typesetting method of the image text file of claim 2, wherein the first direction is a horizontal direction and the second direction is a straight direction. 如申請專利範圍第3項所述之影像文字檔的活字排版方法,其中該(a)步驟包含:(a1)將該影像文字檔中每一畫素列的黑色畫素數量儲存至一黑色畫素列陣列;(a2)以該黑色畫素列陣列中零元素和非零元素的交界,找出每一該文字串的上下邊界,藉以進行該第一方向的切割。 The movable typesetting method of the image text file described in claim 3, wherein the step (a) comprises: (a1) storing the number of black pixels of each pixel column in the image text file to a black drawing. a matrix of the prime array; (a2) finding the upper and lower boundaries of each of the character strings by the boundary between the zero elements and the non-zero elements in the black pixel array, thereby performing the cutting in the first direction. 如申請專利範圍第3項所述之影像文字檔的活字排版方法,其中該(b)步 驟包含:(b1)將每一文字串中每一畫素欄的黑色畫素數量儲存至一黑色畫素欄陣列;(b2)以該黑色畫素欄陣列中零元素和非零元件的交界,找出該文字串中每一字元的左右邊界,藉以進行該第二方向的切割。 The movable typesetting method of the image text file described in claim 3, wherein the step (b) The method includes: (b1) storing the number of black pixels of each pixel column in each character string to a black pixel column array; (b2) the boundary between the zero element and the non-zero element in the black pixel column array, Find the left and right boundaries of each character in the string to perform the cutting in the second direction. 如申請專利範圍第4項所述之影像文字檔的活字排版方法,其中於(a2)步驟和(b)步驟之間,更包含一步驟(a3):如該些文字串影像的其中一文字串影像的上邊界與其前一文字串影像下邊界的間距大於一定限,則於該兩文字串之間記錄一分段資訊。 The movable typesetting method of the image text file described in claim 4, wherein between (a2) and (b), a step (a3) is included: one of the text strings of the text string image If the distance between the upper boundary of the image and the lower boundary of the previous text string image is greater than a certain limit, a piece of segment information is recorded between the two character strings. 如申請專利範圍第1項所述之影像文字檔的活字排版方法,其中於該(c2)步驟中,如同一行中已寫入緩衝區的影像寬度加上其中一字元的寬度大於該閱讀介面寬度,則於下一行寫入該字元影像。 The movable typesetting method of the image text file of claim 1, wherein in the step (c2), the width of the image written to the buffer in one line plus the width of one of the characters is larger than the reading interface. For the width, the character image is written on the next line. 如申請專利範圍第1項所述之影像文字檔的活字排版方法,其中於(c2)步驟中,如已寫入緩衝區的字元影像高度加上該字元的高度大於緩衝區高度,則停止寫入,並進入步驟(c3)。 The movable typesetting method of the image text file according to claim 1, wherein in the step (c2), if the height of the character image written to the buffer plus the height of the character is greater than the buffer height, Stop writing and proceed to step (c3). 如申請專利範圍第1項所述之影像文字檔的活字排版方法,其中於該(c4)步驟中,更新影像顯示範圍的方式可為上下捲動捲軸或觸動上下頁面功能。 The movable typesetting method of the image text file of claim 1, wherein in the step (c4), the image display range is updated by scrolling the scroll up or down or touching the upper and lower pages.
TW099104337A 2010-02-11 2010-02-11 The typographical method of video text file TWI396099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099104337A TWI396099B (en) 2010-02-11 2010-02-11 The typographical method of video text file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099104337A TWI396099B (en) 2010-02-11 2010-02-11 The typographical method of video text file

Publications (2)

Publication Number Publication Date
TW201128412A TW201128412A (en) 2011-08-16
TWI396099B true TWI396099B (en) 2013-05-11

Family

ID=45025190

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099104337A TWI396099B (en) 2010-02-11 2010-02-11 The typographical method of video text file

Country Status (1)

Country Link
TW (1) TWI396099B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI564783B (en) * 2015-10-30 2017-01-01 顏駿聲 Automatic typesetting method for photobook, and computer program product and interface system thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228552B (en) * 2016-12-14 2020-10-16 北大方正集团有限公司 Box typesetting method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW308677B (en) * 1993-10-06 1997-06-21 Ind Tech Res Inst Method of automatic separating text box and segmenting word in Chinese/English recognition system
US20070083810A1 (en) * 2003-09-30 2007-04-12 Scott Simon D Web content adaptation process and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW308677B (en) * 1993-10-06 1997-06-21 Ind Tech Res Inst Method of automatic separating text box and segmenting word in Chinese/English recognition system
US20070083810A1 (en) * 2003-09-30 2007-04-12 Scott Simon D Web content adaptation process and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI564783B (en) * 2015-10-30 2017-01-01 顏駿聲 Automatic typesetting method for photobook, and computer program product and interface system thereof

Also Published As

Publication number Publication date
TW201128412A (en) 2011-08-16

Similar Documents

Publication Publication Date Title
CN100356372C (en) Generating method of computer format document and opening method
US9269323B2 (en) Image layout for a display
US7791589B2 (en) Method and apparatus for displaying electronic document including handwritten data
JP5376795B2 (en) Image processing apparatus, image processing method, program thereof, and storage medium
JP4402138B2 (en) Image processing apparatus, image processing method, and computer program
US8515176B1 (en) Identification of text-block frames
EP2544099A1 (en) Method for creating an enrichment file associated with a page of an electronic document
US7629976B2 (en) Display device, control method for the same, and information storage medium
JP2010009509A (en) Image processor, image processing method, program thereof, and storage medium
US9734132B1 (en) Alignment and reflow of displayed character images
TW530486B (en) Method for lossy optimization and storage of font
US20080282148A1 (en) Processing method for increasing speed of opening a word processing document
TWI396099B (en) The typographical method of video text file
JP3469492B2 (en) Font memory and font data reading method
US11393236B2 (en) Approximating the layout of a paper document
US20070240139A1 (en) Image processing device and image processing method
JPS59149526A (en) Intra-field document editing processor
US8643651B2 (en) Type-setting method for a text image file
US11030388B2 (en) Live text glyph modifications
JP4177325B2 (en) Image processing apparatus, image processing program, and image processing method
JP6322086B2 (en) Display control device, display device, program, recording medium
JP4492082B2 (en) Image output control method, apparatus, and program
CN112365402B (en) Intelligent winding method and device, storage medium and electronic equipment
CN102243621A (en) Typesetting method for image text file
JP2001094760A (en) Information processing device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees