Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
CN1146814C - Method and device for automatically detecting position of transparent draft - Google Patents
[go: Go Back, main page]

CN1146814C - Method and device for automatically detecting position of transparent draft - Google Patents

Method and device for automatically detecting position of transparent draft Download PDF

Info

Publication number
CN1146814C
CN1146814C CNB971100799A CN97110079A CN1146814C CN 1146814 C CN1146814 C CN 1146814C CN B971100799 A CNB971100799 A CN B971100799A CN 97110079 A CN97110079 A CN 97110079A CN 1146814 C CN1146814 C CN 1146814C
Authority
CN
China
Prior art keywords
transparent
original text
scanning
transparent original
signal
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CNB971100799A
Other languages
Chinese (zh)
Other versions
CN1196540A (en
Inventor
蔡振财
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mustek Systems Inc
Original Assignee
Mustek Systems Inc
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 Mustek Systems Inc filed Critical Mustek Systems Inc
Priority to CNB971100799A priority Critical patent/CN1146814C/en
Publication of CN1196540A publication Critical patent/CN1196540A/en
Application granted granted Critical
Publication of CN1146814C publication Critical patent/CN1146814C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Character Input (AREA)

Abstract

A method of automatically detecting a position of a transparency, comprising: firstly, completing one-time pre-scanning of a scanning auxiliary frame with a transparent manuscript thereon; (b) detecting whether a file exists in each transparent draft positioning frame; (c) if no file exists, ending the scanning; if the transparent draft positioning frame has files, setting a scanning area and carrying out main scanning; (d) then, framing a transparent draft positioning frame with the existing file, adding the framed part into each scanning work row, and listing the corresponding computer image file data; (e) then, whether the scanning is finished is detected; (f) if not, returning to the step (d); if the scanning is finished, the scanning operation is finished. And an apparatus for use in the method.

Description

可自动探测透明稿位置 的方法及其装置Method and device capable of automatically detecting the position of transparent manuscripts

本发明有关一种具有将整页扫描图像自动分割成不同电脑图象文件(Image file)功效的可自动探测透明稿位置的方法及其装置,使其可根据图像框来定位,而非以透明稿定位框的定位孔定位;可自动探测出是否有透明稿在透明稿定位框中,并可避免无谓的扫描及图像文件存储;可自动将多个透明稿于一次扫描后,分成多个图像的图像文件,无须作多次扫描及额外的人工操作。The present invention relates to a method and device for automatically detecting the position of a transparent manuscript with the effect of automatically dividing the scanned image of the entire page into different computer image files (Image files), so that it can be positioned according to the image frame instead of transparent The positioning hole positioning of the manuscript positioning frame; it can automatically detect whether there is a transparent manuscript in the transparent manuscript positioning frame, and can avoid unnecessary scanning and image file storage; it can automatically divide multiple transparent manuscripts into multiple images after one scan Image files without multiple scans and additional manual operations.

按照习知于光学扫描器上欲扫描嵌有正片或负片透明片1的透明稿的方式,请参阅图1,如图1所示,一般均采用单片或多片透明稿2置入扫描辅助框3内的透明稿定位框4,经预先扫描(Prescan)的动作,扫描出整页的初稿后,再以人工方式在电脑屏幕上以滑鼠或其他工具圈点出有透明稿的位置,如此,不仅费时,且由人工操作圈点图案的精确度较差,再者,如有多个透明稿者,须依序由滑鼠等工具圈点,方可将所有透明稿分割成电脑图像文件(Image file)资料,其过程甚为麻烦。According to the known method of scanning a transparent manuscript embedded with a positive or negative transparency 1 on an optical scanner, please refer to Figure 1, as shown in Figure 1, generally a single or multiple transparent manuscripts 2 are used to insert the scanning aid The transparent manuscript positioning frame 4 in the frame 3, after the prescanning (Prescan) action, scans the whole page of the first draft, and then manually circles the position of the transparent manuscript on the computer screen with a mouse or other tools, so , not only time-consuming, but also the accuracy of punctuating patterns by manual operation is poor. Furthermore, if there are multiple transparent manuscripts, they must be circled by tools such as a mouse in order to divide all the transparent manuscripts into computer image files (Image file) data, the process is very troublesome.

或有一种扫描透明稿的方式,请参阅图2,如图2所示,其是于透明稿定位框4的图像扫描前及其结束位置上设有复数个定位孔5来定位,使其图像经预先扫描(Prescan)后,即可自动定位扫描,且在多片定位稿的定位框上,可一次扫描多片,并分成多个图像文件(Image file),因此,其可一次完成扫描多个透明稿;Or there is a kind of mode of scanning transparent manuscript, please refer to Fig. 2, as shown in Fig. 2, it is to be provided with a plurality of positioning holes 5 to locate before the image scanning of transparent manuscript positioning frame 4 and its end position, make its image After pre-scanning (Prescan), it can automatically position and scan, and on the positioning frame of the multi-piece positioning manuscript, multiple slices can be scanned at one time and divided into multiple image files (Image file), therefore, it can scan multiple pieces at one time. a transparent draft;

然而,在多片的透明稿定位框中,倘若透明稿未装满,未装满透明稿的定位框亦会被扫描出不需要的图像,因为该透明稿定位框仅具定位的功能,并不能探测出其上是否有透明稿在其中。However, in the multi-piece transparent manuscript positioning frame, if the transparent manuscript is not full, the positioning frame that is not filled with transparent manuscripts will also be scanned with unnecessary images, because the transparent manuscript positioning frame only has the function of positioning and cannot It cannot be detected whether there is a transparent manuscript on it.

反观台湾省内相关于透明稿扫描的专利并不多见,主要多为扫描器硬件装置及结构的改良,如已获准的第290211号,第260417号及第218656号专利等,但是该等专利与本发明无直接关系。In contrast, there are not many patents related to transparent manuscript scanning in Taiwan Province, mainly for the improvement of scanner hardware and structure, such as the approved patents No. 290211, 260417 and 218656, etc., but these patents Not directly related to the present invention.

有鉴于此,本发明的目的是,为了改善上述存在的缺陷,提供一种可自动探测透明稿位置的方法及其装置,其是根据图像框来定位,而非以透明稿定位框的定位孔来定位,故,可减少其误差性。In view of this, the object of the present invention is to provide a method and device for automatically detecting the position of the transparent manuscript in order to improve the above-mentioned defects, which is based on the image frame, rather than the positioning hole of the transparent manuscript positioning frame. To locate, so the error can be reduced.

本发明的另一目的是,提供一种可自动探测透明稿位置的方法及其装置,其可自动探测是否有透明稿在透明稿定位框中,故可避免无谓的扫描及图像文件的存储。Another object of the present invention is to provide a method and device for automatically detecting the position of a transparent manuscript, which can automatically detect whether there is a transparent manuscript in the positioning frame of the transparent manuscript, so that unnecessary scanning and storage of image files can be avoided.

本发明的又一目的是,提供一种可自动探测透明稿位置的方法及其装置,其可自动将多个透明稿于一次扫描后,分成多个图像的图像文件(Imagefile),无须作多次扫描及额外的人工操作。Another object of the present invention is to provide a method and device for automatically detecting the position of a transparent manuscript, which can automatically divide multiple transparent manuscripts into image files (Imagefile) of multiple images after one scan, without the need for multiple scans and additional manual operations.

本发明提供的一种可自动探测透明稿位置的方法,该方法用于可自动探测透明稿位置的装置,在该装置的扫描辅助框邻近透明稿定位框一侧边框内,分别设有一长槽孔,长槽孔的下缘分别设有至少一终止标记,该方法包含下列步骤:The invention provides a method for automatically detecting the position of a transparent manuscript. The method is used in a device that can automatically detect the position of a transparent manuscript. A long slot is respectively provided in the side frame of the scanning auxiliary frame of the device adjacent to the positioning frame of the transparent manuscript. hole, the lower edge of the slotted hole is respectively provided with at least one termination mark, and the method comprises the following steps:

(a)首先,将其上具有透明稿的扫描辅助框完成一次预先扫描(prescan);(a) First, complete a pre-scan (prescan) on the scanning auxiliary frame with the transparent manuscript;

(b)检测于各透明稿定位框中是否有文件存在;(b) Detect whether there are files in each transparent manuscript positioning frame;

(c)倘若没有文件存在,则结束该次扫描;倘若于透明稿定位框中有文件存在,设定扫描区域,并进行主扫描(mail scan);(c) If there is no file, end the scan; if there is a file in the transparent manuscript positioning frame, set the scanning area and perform the main scan (mail scan);

(d)然后,选取有文件存在的透明稿定位框,并将框取的部分加入每次(each time)扫描工作列,列入相对应的电脑图象文件资料;(d) Then, select the transparent draft positioning frame that has file to exist, and add the part that frame gets to every time (each time) scanning work column, list corresponding computer image file data;

(e)之后,再探测是否扫描完毕;(e) After that, detect whether the scanning is complete;

(f)倘若没有完毕,则回至步骤(d);倘若扫描完毕,则结束该次扫描工作。(f) If it is not finished, then return to step (d); if the scanning is finished, then end the scanning work.

本发明提供的一种可自动探测透明稿位置的方法,该方法用于可自动探测透明稿位置的装置,在该装置的扫描辅助框邻近透明稿定位框一侧边框内,分别设有一长槽孔,长槽孔的下缘分别设有至少一终止标记,该方法包括下列步骤:The invention provides a method for automatically detecting the position of a transparent manuscript. The method is used in a device that can automatically detect the position of a transparent manuscript. A long slot is respectively provided in the side frame of the scanning auxiliary frame of the device adjacent to the positioning frame of the transparent manuscript. hole, the lower edge of the slotted hole is respectively provided with at least one termination mark, the method comprises the following steps:

(a)首先,扫描光迹自起始点一列一列开始扫描;(a) First, the scanning light trace starts to scan column by column from the starting point;

(b)扫描光迹讯号扫描至长槽孔的起点时,使变数等于此起始点的纵坐标;(b) When the scanning light trace signal scans to the starting point of the long slot hole, make the variable equal to the ordinate of the starting point;

(c)往下一列扫描;(c) scan to the next column;

(d)检测扫描光迹讯号是否已至终点;(d) Detect whether the scanning light trace signal has reached the end point;

(e)倘若检测至终点,则结束探测工作;倘若没有至终点,则继续检测于横轴方向的长槽孔是否有扫描光迹讯号;(e) If the end point is detected, the detection work is ended; if the end point is not reached, then continue to detect whether there is a scanning light trace signal in the long slot in the horizontal axis direction;

(f)倘若有讯号,表示其上的透明稿定位框没有透明稿,此时,继续往下一列扫描;倘若没有讯号,表示其上的透明稿定位框有透明稿,此时,扫描其上有透明稿的透明片的图像,并分别框取、存储图像文件;(f) If there is a signal, it means that there is no transparent manuscript in the transparent manuscript positioning frame above it. At this time, continue to scan the next row; if there is no signal, it means that there is a transparent manuscript in the transparent manuscript positioning frame above it. At this time, scan the above Images of transparent sheets with transparent manuscripts, framed and stored image files respectively;

(g)使变数等于已扫描完的透明稿的终点坐标;(g) Make the variable equal to the end point coordinates of the scanned transparent manuscript;

(h)然后,再回至步骤(c),如此,即可不须经预先扫描,而于扫描时,可直接作自动分离透明稿及自动停止的探测。(h) Then, return to step (c). In this way, pre-scanning is not required, and the detection of automatic separation of transparent manuscripts and automatic stop can be directly performed during scanning.

本发明提供一种可自动探测透明稿位置的装置,含有一扫描辅助框、透明稿定位框及至少一透明稿,其中于扫描辅助框上设有一呈矩阵排列的透明稿定位框,每一排透明稿定位框含有一个或一个以上的透明稿定位框,该所说的装置包括:The invention provides a device that can automatically detect the position of a transparent manuscript, which includes a scanning auxiliary frame, a transparent manuscript positioning frame and at least one transparent manuscript, wherein a matrix-arranged transparent manuscript positioning frame is arranged on the scanning auxiliary frame, and each row The transparent manuscript positioning frame contains one or more transparent manuscript positioning frames, and the said device includes:

在扫描辅助框邻近透明稿定位框一侧边框内,分别设有一长槽孔,长槽孔的下缘分别设有至少一终止标记,使扫描光迹的讯号至该终止标记时,即表示该讯号至终点。In the side frame adjacent to the positioning frame of the transparent manuscript of the scanning auxiliary frame, a long slot hole is respectively provided, and at least one stop mark is respectively provided on the lower edge of the long slot hole, so that when the signal of the scanning light trace reaches the stop mark, it means that the Signal to the end.

本发明所提供的方法及其装置,设计合理,并有效改善现有技术中上述缺陷,本发明可自动定位、探测透明稿的位置,并将每一透明稿的图像自动分割成多个资料图像文件,其是一改良扫描辅助框结构,并用于配合自动探测透明稿是否存在于此改良结构的方法,利用本发明可增加透明稿扫描及储存效率。The method and device provided by the present invention are reasonable in design and effectively improve the above-mentioned defects in the prior art. The present invention can automatically locate and detect the position of the transparent manuscript, and automatically divide the image of each transparent manuscript into multiple data images The file is an improved scanning auxiliary frame structure, which is used to cooperate with the method of automatically detecting whether the transparent manuscript exists in the improved structure. The invention can increase the scanning and storage efficiency of the transparent manuscript.

本发明的目的、特征及优点,将结合实施例参考附图进行详细描述。The purpose, features and advantages of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.

附图简要说明:Brief description of the drawings:

图1是习知扫描透明稿使用的扫描辅助框(以四个透明稿定位框为例);Fig. 1 is the scanning auxiliary frame used for conventionally scanning transparent manuscripts (taking four transparent manuscript positioning frames as an example);

图2是另一类型的透明稿定位框;Fig. 2 is another type of transparent manuscript positioning frame;

图3是本发明实施例使用的一改良扫描辅助框(以四个透明稿定位框为例);Fig. 3 is an improved scanning auxiliary frame used in the embodiment of the present invention (taking four transparent manuscript positioning frames as an example);

图4是本发明实施例的一方法使用的改良扫描辅助框坐标(以四个透明稿定位框为例);Fig. 4 is the coordinates of the improved scanning auxiliary frame used by a method of the embodiment of the present invention (taking four transparent manuscript positioning frames as an example);

图5是本发明实施例的一种方法使用的自动探测选取扫描区域的流程图;Fig. 5 is a flow chart of automatic detection and selection of scanning areas used in a method according to an embodiment of the present invention;

图6是本发明实施例的第二种方法使用的改良描述辅助框及其坐标(以四个定位框为例);Fig. 6 is the improved description auxiliary frame and its coordinates used in the second method of the embodiment of the present invention (taking four positioning frames as an example);

图7是本发明实施例的第二种方法使用的自动分离透明稿及自动停止的流程图。Fig. 7 is a flow chart of automatic separation of transparent manuscripts and automatic stop used in the second method of the embodiment of the present invention.

请参阅图3,如图3所示,本发明是一种可自动探测透明稿位置的方法及其装置,本发明的装置包括一改良的扫描辅助框8、复数个透明稿定位框11-14(其在本发明的实施例中设有四个)及至少一透明稿F11、F21、F12(其在本发明的实施例中设有三个)等构件单元;其中:Please refer to Fig. 3, as shown in Fig. 3, the present invention is a method and its device for automatically detecting the position of a transparent manuscript, the device of the present invention includes an improved scanning auxiliary frame 8, a plurality of transparent manuscript positioning frames 11-14 (it is provided with four in the embodiment of the present invention) and at least one transparent manuscript F11, F21, F12 (it is provided with three in the embodiment of the present invention) and other component units; Wherein:

扫描辅助框8是呈一方形板,其上设有一呈矩阵排列的透明稿定位框,每一排透明稿定位框包括一个或一个以上的透明稿定位框,在本发明的实施例中,第一排透明稿定位框包括两个透明稿定位框11、13;第二排透明稿定位框包括两个透明稿定位框12、14,各透明稿定位框11-14的一侧缘分别设有一半圆弧孔10,以利使用者方便拾取于其上的透明稿,而在扫描辅助框8邻近透明稿定位框11-14一侧边框内,则分别设有一长槽孔9,藉由该长槽孔9是否被透明稿遮住,而导致电荷耦合元件(CCD)讯号的有无,来探知是否有透明稿存在其上,并予以定位来作扫描,当透明稿定位框中分别置入一透明稿时,于透明稿定位框的长槽孔9即被遮掩;若透明稿定位框内无透明稿置入,透明稿定位框的长槽孔9不会受遮掩而呈连续,各长槽孔9受遮掩与否,可由自动探测方法判断是否有透明稿置入其上。The scanning auxiliary frame 8 is a square plate, on which a transparent manuscript positioning frame arranged in a matrix is provided, and each row of transparent manuscript positioning frames includes one or more transparent manuscript positioning frames. In an embodiment of the present invention, the first A row of transparent manuscript positioning frames includes two transparent manuscript positioning frames 11,13; the second row of transparent manuscript positioning frames includes two transparent manuscript positioning frames 12,14, and one side edge of each transparent manuscript positioning frame 11-14 is respectively provided with Half arc holes 10 are convenient for users to pick up the transparent manuscript on it, and in the side frame adjacent to the transparent manuscript positioning frame 11-14 of the scanning auxiliary frame 8, a long slot hole 9 is respectively provided, by which Whether the long slot 9 is covered by the transparent manuscript, resulting in the presence or absence of the charge-coupled device (CCD) signal, to detect whether there is a transparent manuscript on it, and to locate it for scanning, when the transparent manuscript positioning frame is respectively placed During a transparent manuscript, the slotted hole 9 of the transparent manuscript positioning frame is promptly covered; if no transparent manuscript is inserted in the transparent manuscript positioning frame, the long slotted hole 9 of the transparent manuscript positioning frame will not be covered and be continuous, each length Whether the slotted hole 9 is covered or not can be judged by the automatic detection method whether there is a transparent manuscript to be inserted thereon.

此外,在长槽孔9的下缘设有一终止标记,当扫描光迹讯号至该终止记号时,即表示扫描至终点,其终止标记有下列三种设计方式,即:In addition, a stop mark is provided on the lower edge of the slotted hole 9. When the scanning trace signal reaches the stop mark, it means that the end point has been scanned. The stop mark has the following three design methods, namely:

(1)在长槽孔9的下缘侧设有至少一狭缝91,当扫描光迹讯号至该狭缝91时,即表示扫描至终点;(1) At least one slit 91 is provided on the lower edge side of the slotted hole 9, and when the scanning trace signal reaches the slit 91, it means that the scanning has reached the end point;

(2)使狭缝91的下缘至长槽孔9的底缘皆不透光,且其长度(L1)大于透明稿定位框的长度(L),即表示扫描终点。(2) Make the lower edge of the slit 91 to the bottom edge of the long slot 9 all opaque, and its length (L1) is greater than the length (L) of the transparent manuscript positioning frame, which means the scanning end point.

(3)在长槽孔9的下缘设有至少一狭缝91’,当扫描光迹讯号至该狭缝91′时,即表示扫描至终点。(3) At least one slit 91' is provided at the lower edge of the slotted hole 9, and when the scanning trace signal reaches the slit 91', it means that the scanning has reached the end point.

如此,即可以此点(X1、Y2)为起点配合内建值推算出透明稿F11的位置及尺寸,以便框取。其中X1为第一长槽孔的横坐标,Y2为透明稿定位框11、12左上角的纵坐标。In this way, the position and size of the transparent draft F11 can be calculated based on this point (X1, Y2) and the built-in values, so as to be framed. Wherein X1 is the abscissa of the first long slot, and Y2 is the ordinate of the upper left corner of the transparent manuscript positioning frame 11,12.

请参阅图4,如图4所示,其中Xd、Yd表示各透明稿定位框的尺寸,其为已知的内建值(d=0、1、2……),倘若X1、Y2被探测到,即表示于透明稿定位框11中有透明稿F11,亦即透明稿F11的左上角被探测到,以此类推,如此,即可推知框取透明稿的位置及其尺寸。Please refer to Figure 4, as shown in Figure 4, wherein Xd, Yd represent the size of each transparent manuscript positioning frame, which is a known built-in value (d=0, 1, 2...), if X1, Y2 are detected If it is detected, it means that there is a transparent manuscript F11 in the transparent manuscript positioning frame 11, that is, the upper left corner of the transparent manuscript F11 is detected, and so on, so that the position and size of the framed transparent manuscript can be deduced.

当扫描光迹由起始点至Y1点时,电荷耦合元件(CCD)于X1、Y1(X2、Y1)的位置有讯号,表示无透明稿。其中Y1为长槽孔上端起始点的纵坐标,X2为第二长槽孔的横坐标。When scanning the optical trace from the starting point to point Y1, the charge coupled device (CCD) has signals at the positions of X1, Y1 (X2, Y1), indicating that there is no transparent manuscript. Wherein Y1 is the ordinate of the starting point of the upper end of the long slot, and X2 is the abscissa of the second long slot.

当扫描光迹移至Y2点时,电荷耦合元件于X1、Y2的位置没有讯号,表示有透明稿F11在其上;电荷耦合元件于X2、Y2的位置没有讯号,表示有透明稿F12在其上。When the scanning trace moves to point Y2, the charge-coupled device has no signal at X1 and Y2, indicating that there is a transparent manuscript F11 on it; the charge-coupled device has no signal at the position of X2 and Y2, indicating that there is a transparent manuscript F12 on it superior.

当扫描光迹移至Y3点时,电荷耦合元件于X1(X2)、Y3(Y3)的位置没有讯号,表示有透明稿F11(F12)在其上。其中Y3为透明稿定位框11、12左下角的纵坐标。When the scanning trace moves to point Y3, the charge-coupled device has no signal at the positions of X1 (X2) and Y3 (Y3), indicating that there is a transparent manuscript F11 (F12) on it. Wherein Y3 is the vertical coordinate of the lower left corner of the transparent manuscript positioning frame 11,12.

当扫描光迹移至Y4点时,电荷耦合元件于X1、Y4的位置无讯号,表示有透明稿F21在其上;电荷耦合元件于X2、Y4的位置有讯号,表示没有透明稿,依此类推,即可知探测出于透明稿定位框中有无透明稿于其上,并可避免作无谓的扫描。其中Y4为透明稿定位框13、14左上角的纵坐标。When the scanning trace moves to point Y4, the charge-coupled device has no signal at X1 and Y4, indicating that there is a transparent manuscript F21 on it; the charge-coupled device has signals at the positions of X2 and Y4, indicating that there is no transparent manuscript, and so on By analogy, it can be known whether there is a transparent manuscript on it in the transparent manuscript positioning frame, and unnecessary scanning can be avoided. Wherein Y4 is the ordinate of the upper left corner of the transparent manuscript positioning frame 13,14.

如此,即可以此点(X1、Y2)、(X2、Y2)、(X1、Y4)、(X2、Y4)为起点配合内建值推算出透明稿F11、F12、F21的位置及尺寸,以便框取,而可避免作无谓的扫描。In this way, the positions and sizes of transparent drafts F11, F12, and F21 can be calculated based on the points (X1, Y2), (X2, Y2), (X1, Y4), (X2, Y4) and the built-in values, so that frame to avoid unnecessary scanning.

图4中Y5为透明稿定位框13、14左下角的纵坐标,Y6为狭缝下缘的纵坐标,Y7为长槽孔底端终点的纵坐标。Among Fig. 4, Y5 is the ordinate of the lower left corner of the transparent manuscript positioning frame 13,14, Y6 is the ordinate of the lower edge of the slit, and Y7 is the ordinate of the bottom end of the slotted hole.

本发明可分别以预先扫描(prescan)及不须预先扫描两种实施,兹分别说明如下:The present invention can be implemented with prescan (prescan) and without prescan respectively, hereby respectively explain as follows:

实施例一:Embodiment one:

请参阅图5,如图5所示,其是在本发明的扫描辅助框经预先扫描(Prescan)后,自动探知选取扫描区域的流程图。Please refer to FIG. 5 , as shown in FIG. 5 , which is a flow chart of automatically detecting and selecting a scanning area after the scanning auxiliary frame of the present invention is prescanned.

首先,将其上具有透明稿的扫描辅助框完成一次预先扫描(Prescan)51,同时检测于各透明稿定位框中是否有文件存在?52;Firstly, complete a prescan (Prescan) 51 on the scanning auxiliary frame with the transparent manuscript on it, and at the same time detect whether there is a file in each transparent manuscript positioning frame? 52;

倘若没有文件存在,则结束此次扫描53;倘若于透明稿定位框中有文件存在,则设定扫描区域531,并进行主扫描(Main Scan)54;然后,框取有文件存在的透明稿定位框55,并将框取的部分加入每次(each time)扫描工作列,列入相对应的电脑图象文件(Image file)资料56,之后,再探测是否扫描完毕?57。If there is no file, then end this scan 53; if there is a file in the transparent manuscript positioning frame, then set the scanning area 531, and perform the main scan (Main Scan) 54; then, frame the transparent manuscript that has the file. Locate frame 55, and the part that frame gets is added every time (each time) scans work column, enters corresponding computer image file (Image file) data 56, afterward, detects whether to scan again? 57.

倘若没有完毕,则回至步骤55;倘若扫描完毕,则结束该次扫描工作。If it is not finished, then go back to step 55; if the scanning is finished, then end the scanning work.

如此,经上述的方法并配合扫描辅助框8的结构,即可自动探测是否有透明稿在透明稿定位框中,并可自动将多个透明稿于一次扫描后,分成多个图像的图像文件。In this way, through the above-mentioned method and the structure of the scanning auxiliary frame 8, it can automatically detect whether there is a transparent manuscript in the transparent manuscript positioning frame, and can automatically divide multiple transparent manuscripts into image files of multiple images after one scan .

实施例二:Embodiment two:

请参阅图6及图7,如图6及图7所示,图6中L表示透明稿定位框于纵坐标的长度,图7是本发明的扫描辅助框8不须经预先扫描(Prescan),而于扫描(Scan)时,可直接作自动分离透明稿及自动停止的流程图(其中y1表示扫描光迹于长槽孔的起始位置;Y表示目前扫描光迹讯号于y方向的坐标位置;Ys表示上一次有讯号于y方向的坐标位置;Ye表示透明稿终点于y方向的坐标位置)。Please refer to Fig. 6 and Fig. 7, as shown in Fig. 6 and Fig. 7, L in Fig. 6 represents the length of the positioning frame of the transparent manuscript on the ordinate, and Fig. 7 shows that the scanning auxiliary frame 8 of the present invention does not need to be scanned in advance (Prescan) , and when scanning (Scan), the flow chart of automatic separation of transparent manuscripts and automatic stop can be made directly (wherein y1 represents the starting position of the scanning trace in the long slot; Y represents the coordinate of the current scanning trace signal in the y direction position; Ys indicates the coordinate position of the last signal in the y direction; Ye indicates the coordinate position of the end point of the transparent manuscript in the y direction).

首先,扫描光迹自起始点至y1点时,电荷耦合元件(CCD)于X1、X2的位置有讯号,此时,使变数Ys等于此起始点的纵坐标,即Ys=y1;61,接着,继续往下一列扫描62,并检测扫描光迹讯号是否已至终点?63,其检测至终点的方式,如前所述。First, when scanning the optical trace from the starting point to point y1, the charge-coupled device (CCD) has signals at the positions of X1 and X2. At this time, the variable Ys is equal to the ordinate of the starting point, that is, Ys=y1; 61, and then , continue scanning 62 to the next row, and detect whether the scanning light trace signal has reached the end point? 63, the manner in which it is detected to the end point, as previously described.

倘若检测至终点,则结束探测工作631;倘若没有至终点,则继续检测于X轴方向的长槽孔9是否有扫描光迹讯号?64。If the end point is detected, the detection operation 631 is ended; if the end point is not reached, then continue to detect whether there is a scanning light trace signal in the long slot 9 in the X-axis direction? 64.

倘若有讯号,表示其上的透明稿定位框没有透明稿,此时,继续往下一列扫描62;倘若没有讯号,表示其上的透明稿定位框有透明稿,此时,扫描其上有透明稿的透明片的图像,并分别框取、存储图像文件(Image file)65,然后,使变数等于已扫描完的透明稿的终点坐标,即Y=Ye;66,之后,再回至步骤62,作下一个扫描列,并检测扫描光迹讯号是否已至终点?63,若已至终点,则结束探测工作631。If there is a signal, it means that there is no transparent manuscript in the transparent manuscript positioning frame on it. At this time, continue to scan 62 to the next row; if there is no signal, it means that there is a transparent manuscript in the transparent manuscript positioning frame on it. The image of the transparent sheet of the manuscript, and frame and get and store the image file (Image file) 65 respectively, then, make the variable equal to the end point coordinates of the scanned transparent manuscript, that is, Y=Ye; 66, after that, return to step 62 , make the next scanning row, and check whether the scanning light trace signal has reached the end point? 63. If the end point has been reached, the detection work 631 is ended.

如此,即可不须经预先扫描(Prescan),而于扫描(Scan)时,可直接作自动分离透明稿及自动停止的探测。In this way, the detection of automatic separation of transparent manuscripts and automatic stop can be performed directly during scanning (Scan) without prescanning.

按照以上二实施例所述,仅为本发明最佳的具体实施例,但本发明并不局限于此,任何熟悉该项技艺者,在本发明领域内,可轻易思及的变化或修饰,皆应含盖在本发明的权利要求范围内。According to the above two embodiments, it is only the best specific embodiment of the present invention, but the present invention is not limited thereto. Any person familiar with the art can easily think of changes or modifications in the field of the present invention. All should be covered within the scope of the claims of the present invention.

Claims (9)

1. but the method for an automatic detecting location of transparent draft, but this method is used for the device of automatic detecting location of transparent draft, in contiguous transparent original text posting one side frame of the Scan auxiliary frame of this device, be respectively equipped with a long slot bore, the lower edge of long slot bore is respectively equipped with at least one end mark, this method is at first finished the Scan auxiliary frame that has transparent original text on it once scanning in advance, it is characterized in that this method also comprises following steps:
(a) be detected on whether the file existence is arranged in each transparent original text posting;
(b) if there is not file to exist, then finish this time scanning; If in transparent original text posting, have file to exist, set scanning area, and carry out main sweep;
(c) then, frame is got the transparent original text posting that file exists, and the part that frame is got is added each scanning work row, lists corresponding computer image documentation in;
(d) afterwards, whether survey been scanned again;
(e), then be back to step (d) if do not finish; If been scanned then finishes this time scanning work.
2. but the method for an automatic detecting location of transparent draft, but this method is used for the device of automatic detecting location of transparent draft, in contiguous transparent original text posting one side frame of the Scan auxiliary frame of this device, be respectively equipped with a long slot bore, the lower edge of long slot bore is respectively equipped with at least one end mark, this method at first scan optical track from starting point one be listed as begin scanning, it is characterized in that this method is further comprising the steps of:
When (a) scanning optical track signal is scanned up to the starting point of long slot bore, make parameter equal the ordinate of this starting point;
(b) toward next column scan;
(c) whether to terminal to detect scanning optical track signal;
(d) if detect to terminal, then finish detection operations; If then continue not to terminal, to be detected on the long slot bore of X direction whether scanning optical track signal is not arranged;
(e) if signal is arranged, represent that the transparent original text posting on it does not have transparent original text, at this moment, continue toward next column scan; If there is not signal, represent that the transparent original text posting on it has transparent original text, at this moment, scan the image of the slide that transparent original text is arranged on it, and respectively frame get, memory image file;
(f) make the terminal point coordinate of the transparent original text that parameter equals to have scanned;
(g) then, be back to step (c) again, so, can not must through scanning in advance, and when scanning, can directly do to separate automatically transparent original text and self-braking detection.
3. but the method for automatic detecting location of transparent draft as claimed in claim 2, wherein, detect scanning optical track signal whether to terminal step be at least one end mark of utilizing the lower edge of long slot bore to be provided with, when making scanning optical track scanning signal, promptly represent the terminal point of signal to this end mark.
4. but the method for automatic detecting location of transparent draft as claimed in claim 3, wherein, detect whether to terminal the step at least one end mark that also can utilize the lower edge side of long slot bore to be provided with of scanning optical track signal, when making scanning optical track scanning signal, promptly represent the terminal point of signal to this end mark.
5. but as the method for claim 3 or the 4th described automatic detecting location of transparent draft, wherein, detect scanning optical track signal whether to terminal mode be to use the light tight district of the lower edge of end mark to the root edge of long slot bore, when the length that is detected during, be terminal point greater than the length of transparent original text posting.
6. but the device of an automatic detecting location of transparent draft, contain one scan auxiliary frame, transparent original text posting and at least one transparent original text, wherein on Scan auxiliary frame, there is not a transparent original text posting that is arranged, each is arranged transparent original text posting and contains one or more transparent original text posting, it is characterized in that this said device comprises:
In contiguous transparent original text posting one side frame of Scan auxiliary frame, be respectively equipped with a long slot bore, the lower edge of long slot bore is respectively equipped with at least one end mark, and the signal that makes the scanning optical track is promptly represented this signal to terminal during to this end mark.
7. but the device of automatic detecting location of transparent draft as claimed in claim 6, wherein, the lower edge of end mark is to the neither printing opacity of the root edge of long slot bore, when its length during greater than the length of transparent original text posting, promptly represents signal to terminal.
8. but the device of automatic detecting location of transparent draft as claimed in claim 6 wherein, is provided with half circular hole outwardly at a lateral margin of each transparent original text posting, picks up thereon transparent original text in order to the user.
9. but the device of automatic detecting location of transparent draft as claimed in claim 6, wherein, the size of transparent original text posting, be to be known built-in value, if this transparent original text posting is detected, promptly being shown in the transparent original text posting has transparent original text, that is the upper left corner of transparent original text is detected, so, can know position and the size thereof that frame is got transparent original text by inference.
CNB971100799A 1997-04-14 1997-04-14 Method and device for automatically detecting position of transparent draft Expired - Fee Related CN1146814C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB971100799A CN1146814C (en) 1997-04-14 1997-04-14 Method and device for automatically detecting position of transparent draft

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB971100799A CN1146814C (en) 1997-04-14 1997-04-14 Method and device for automatically detecting position of transparent draft

Publications (2)

Publication Number Publication Date
CN1196540A CN1196540A (en) 1998-10-21
CN1146814C true CN1146814C (en) 2004-04-21

Family

ID=5171302

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB971100799A Expired - Fee Related CN1146814C (en) 1997-04-14 1997-04-14 Method and device for automatically detecting position of transparent draft

Country Status (1)

Country Link
CN (1) CN1146814C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3780287B2 (en) * 2004-02-27 2006-05-31 キヤノン株式会社 Image reading apparatus and control method thereof
CN105163001B (en) * 2015-08-17 2018-11-20 深圳中兴网信科技有限公司 Electronic display unit, electronic display unit control method

Also Published As

Publication number Publication date
CN1196540A (en) 1998-10-21

Similar Documents

Publication Publication Date Title
CN1054953C (en) Document image processor with defect detection
CN1297943C (en) Image defect inspecting apparatus and image defect inspecting method
CN100338618C (en) An Automatic Correction Method for Tilted Images
CN1867030A (en) Image forming apparatus to print scanned documents in a predetermined order and method thereof
CN1146814C (en) Method and device for automatically detecting position of transparent draft
CN1577378A (en) Systems and methods for estimating an image marking process using scanned image attributes
GB2189964A (en) Image processing apparatus for introducing a shift, slant or shear to the image
CN1247009C (en) Method for scanning docaments using prescanning operation
CN1520151A (en) Method and device for scanning images
CN1122940C (en) Page editing method and document image processing system and data recording media
CN1691736A (en) A method for scanning photographs
CN1635777A (en) photographic imaging scanning
CN1670758A (en) Automatic Cutting Method of Digital Image
CN1271561C (en) Scanning method for paper-feeding scanning instrument to pick up document image
CN1804861A (en) Document image geometry fault correction method
CN100338934C (en) Dual Function Light Sensing Element
CN1585453A (en) Image reading system, image reading method and program for implementing the method
CN1848902A (en) Digital copying device with intelligent adaptation function and copying method thereof
CN1642216A (en) Method of creating a plurality of images by single scanning and apparatus using the same
TW579646B (en) A method for promoting the efficiency of scanning
CN1734471A (en) Method and device for estimating file inclination angle
CN100337463C (en) Method for searching black and white boundary of image
CN1397910A (en) Scanning methods that can detect document manuscripts
CN1153439C (en) Image scanning device and correction method
CN1148946C (en) Automatic image cutting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee