[go: up one dir, main page]

CN1530873A - Method of Scanning Irregular Objects - Google Patents

Method of Scanning Irregular Objects Download PDF

Info

Publication number
CN1530873A
CN1530873A CNA031194826A CN03119482A CN1530873A CN 1530873 A CN1530873 A CN 1530873A CN A031194826 A CNA031194826 A CN A031194826A CN 03119482 A CN03119482 A CN 03119482A CN 1530873 A CN1530873 A CN 1530873A
Authority
CN
China
Prior art keywords
row
box
background
utilize
point
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.)
Withdrawn
Application number
CNA031194826A
Other languages
Chinese (zh)
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.)
Transpacific IP Ltd
Original Assignee
Transpacific IP Ltd
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 Transpacific IP Ltd filed Critical Transpacific IP Ltd
Priority to CNA031194826A priority Critical patent/CN1530873A/en
Publication of CN1530873A publication Critical patent/CN1530873A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

一种扫描不规则对象的方法。本发明是让使用者能利用画笔、直线、或曲线等绘图工具直接对预览出来的影像框选自己所需的对象(包括不规则对象)来做扫描。因此,当所框选的对象为不规则对象时,扫描出来的不规则对象可以直接利用,而不需再送到影像处理软件做处理。再者,本发明让使用者能以直觉的方式来框选自己所需的对象(包括不规则对象),而不再是以固定的矩形来框选欲扫描的对象。

Figure 03119482

A method of scanning irregular objects. The present invention allows the user to use drawing tools such as brushes, straight lines, or curves to directly select objects (including irregular objects) required by the previewed images for scanning. Therefore, when the framed object is an irregular object, the scanned irregular object can be used directly without sending it to an image processing software for processing. Furthermore, the present invention allows the user to select objects (including irregular objects) he needs in an intuitive way instead of using a fixed rectangle to frame objects to be scanned.

Figure 03119482

Description

The method of scanning irregular object
Technical field
The present invention relates to a kind of method of sweep object, and be particularly related to a kind of method that scans irregular object.
Background technology
Scanner is a kind of machine between duplicating machine and camera.In the past because expensive price almost is some patents as particular job persons such as artistic workings.In recent years,, squeezed into the main flow in the personal computer world finally, become the senior general of PC peripheral devices because the price that strong competition the caused downslide in scanner market is added in advancing by leaps and bounds of computer technology.
Scanner can be distinguished into some kinds of forms according to its price or function, and general scanner approximately can be distinguished into handly scanner, paper feeding scanner, business card scanner, negative film scanner and falt bed scanner etc. basically.Wherein, the similar glass platform of falt bed scanner is that file or pattern are placed on the flat glass, is moved by sensor and data is read in.Because its structure is can be too complicated, and also difficulty not too of using method, add the function extendibility that it has height, therefore become the arrange in pairs or groups main flow of scanner of computing machine user now.
At present, when the object in user's desire use scanner scanning file, can in the preview window of scanner driver, come frame to select this object usually with fixing rectangle.Yet, when this object when being irregularly shaped, this mode can not allow the user select object with the direct frame of the mode of intuition, and after the irregular object with fixing rectangle institute frame choosing is scanning, also must process via image processing software, could be identical with the actual image of irregular object.Therefore, such mode does not only have the very mode of operation of intuition, and the process of handling is quite loaded down with trivial details.
Summary of the invention
The present invention is that the imaged frame that allows the user can utilize drawing instruments such as paintbrush, straight line or curve directly preview the to be come out required object (comprising irregular object) of selecting oneself is done scanning.Therefore, when the object of institute's frame choosing was irregular object, the irregular object that scanning is come out can directly be utilized, and does not process and do not need to deliver to image processing software again.
For reaching above-mentioned and other purpose, the present invention proposes a kind of method that scans irregular object.In the method, at first in the preview window, can utilize the drawing instrument frame to select object and obtain object box, this object box has several row and several row.Then, can write down the reference position and the final position of each row.Next, can utilize the peak of this object box and the most left point and calculate the upper left point of this object box, and can utilize the minimum point of this object box and the rightest point and calculate the lower-right most point of this object box.Afterwards, scan and obtain the sweep object frame with upper left scope to lower-right most point, this sweep object frame comprises object box and background parts.At last, the background colour of background parts is removed.
In preferred embodiment of the present invention, the step that the background colour of background parts is removed comprises the following steps: at first, can remove the background colour of background parts.Then, when meet this object box these row in one row reference position the time, can stop to remove background colour.Next, can find the final position of these row.At last, can continue to remove background colour, all remove up to the background colour of background parts.In addition, the step that the background colour of background parts is removed more comprises the following steps: when the reference position of these row of not meeting this object box, the step that can get back to the background colour of removing background parts.
In preferred embodiment of the present invention, when object too hour, can utilize magnifier that object is amplified, utilize drawing instrument to come frame to select object to make things convenient for the user.
In preferred embodiment of the present invention, drawing instrument can be paintbrush, straight line or curve.
The present invention also proposes a kind of method that scans irregular object.In the method, at first in the preview window, can utilize the drawing instrument frame to select object and obtain object box, this object box has several row and several row.Then, can write down the reference position and the final position of each row.Next, can utilize the peak of this object box and the most left point and calculate the upper left point of this object box, and can utilize the minimum point of this object box and the rightest point and calculate the lower-right most point of this object box.Afterwards, scan and obtain the sweep object frame with upper left scope to lower-right most point, this sweep object frame comprises object box and background parts.At last, the background colour of background parts is removed.
In preferred embodiment of the present invention, the step that the background colour of background parts is removed comprises the following steps: at first, can remove the background colour of background parts.Then, when the reference position of delegation in these row of meeting this object box, can stop to remove background colour.Next, can find the final position of this journey.At last, can continue to remove background colour, all remove up to the background colour of background parts.In addition, the step that the background colour of background parts is removed more comprises the following steps: when the reference position of this journey of not meeting this object box, the step that can get back to the background colour of removing background parts.
In sum, the present invention is that the imaged frame that allows the user can utilize drawing instruments such as paintbrush, straight line or curve directly preview the to be come out required object (comprising irregular object) of selecting oneself is done scanning.Therefore, when the object of institute's frame choosing was irregular object, the irregular object that scanning is come out can directly be utilized, and does not process and do not need to deliver to image processing software again.Moreover the present invention allows the user come the frame required object (comprising irregular object) of selecting oneself in the mode of intuition, and no longer is to come the frame choosing to desire scanned objects with fixing rectangle.
For allowing above and other objects of the present invention, feature and advantage, can become apparent more, preferred embodiment cited below particularly, and conjunction with figs. are described below in detail:
Description of drawings
Fig. 1 is the method flow diagram according to the scanning irregular object of a preferred embodiment of the present invention.
Fig. 2 be according to a preferred embodiment of the present invention in the preview window, utilize drawing instrument frame choosing to desire the figure of scanned objects.
Fig. 3 be according to a preferred embodiment of the present invention when object too hour, utilize magnifier will desire the figure of scanned objects amplification.
Fig. 4 be according to a preferred embodiment of the present invention with upper left point (X 1, Y 1) to lower-right most point (X 2, Y 2) scope scan and obtain the figure of sweep object frame.
Fig. 5 is the method flow diagram of removing according to the background colour with background parts of a preferred embodiment of the present invention.
Description of reference numerals is as follows:
202: paintbrush
204: curve
206: straight line
208: object
210: magnifier
212: dwindle mirror
402: the sweep object frame
404: object box
406: background parts
S102-S110: the method flow diagram of the scanning irregular object of a preferred embodiment of the present invention
S502-S510: the method flow diagram that the background colour with background parts of a preferred embodiment of the present invention is removed
Embodiment
Fig. 1 is the method flow diagram according to the scanning irregular object of a preferred embodiment of the present invention.At first, when user's desire selects own desired object (comprising irregular object) to do scanning, can be in the preview window after scanner scans in advance, in the mode of intuition very, utilize the drawing instrument frame to select oneself needed object and obtain object box, and this object box has several row and several row (as step S102).For clearer understanding step S102, please refer to Fig. 2, it illustrates be according to a preferred embodiment of the present invention in the preview window, utilize the choosing of drawing instrument frame to desire the figure of scanned objects 208.In Fig. 2, the user can use the drawing instrument of paintbrush 202, curve 204 or straight line 206 to come frame to select the user to desire scanned objects 208.Only represent at this drawing instrument that is noted that Fig. 2 illustrates, but being familiar with this operator should be appreciated that drawing instrument of the present invention also can comprise the drawing instrument of other type with paintbrush 202, curve 204 and straight line 206.If allow the user be difficult to frame when selecting and object 208 is too little, the user can use magnifier 210, object 208 is amplified and allow the user be convenient to do the action of frame choosing, and according to a preferred embodiment of the present invention when object 208 too hour, utilize magnifier 210 will desire the figure that scanned objects 208 is amplified, please refer to Fig. 3 and illustrate.In addition,, can utilize and dwindle mirror 212, object is dwindled and allow the user be convenient to do the action of frame choosing if the user desires the object of frame choosing when too big.
Then, can write down reference position and final position (as the step S104) of each row (or each row) of this object box.Owing to write down the reference position and the final position of each row (or each row) of this object box, so can obtain peak, minimum point, the most left point and the rightest point of this object box.Next, can utilize the peak of this object box and the most left point and calculate the upper left point (X of this object box 1, Y 1), and can utilize the minimum point of this object box and the rightest point and calculate the lower-right most point (X of this object box 2, Y 2) (as step S106).Afterwards, scanner can be with upper left point (X 1, Y 1) to lower-right most point (X 2, Y 2) scope scan and obtain sweep object frame (as step S108), and according to a preferred embodiment of the present invention with upper left point (X 1, Y 1) to lower-right most point (X 2, Y 2) scope scan and obtain the figure of sweep object frame, please refer to Fig. 4 and illustrate.As shown in Figure 4, the zone of label 402 is the sweep object frame.Because scanner can only whenever be listed as and does scanning (or every row), therefore therefore the object box 404 of sweep object frame 402 that obtains after the scanning and the frame choosing of user institute and inequality, must remove (as step S110) with the background colour of background parts 406 at last.
Next, please refer to Fig. 5, it illustrates is the process flow diagram of the method removed according to the background colour with background parts of a preferred embodiment of the present invention.To cooperate Fig. 4 to do explanation below.At first, can carry out the action (as step S502) of the background colour of removing background parts 406.Then, can judge whether to run into the reference position (as step S504) that one of object box 404 is listed as (or delegation).Then, in the process of removing background colour, when running into the reference position of these row (or this journey) of object box 404, the action (as step S506) that can stop to remove background colour.Next, can find the final position (as step S508) of these row (or this journey).At last, can continue to remove background colour, all remove (as step S510) up to the background colour of background parts 406.And in the process of removing background colour, when not running into the reference position of these row (or this journey) of object box 404, can get back to step S502.
In sum, the present invention is that the imaged frame that allows the user can utilize drawing instruments such as paintbrush, straight line or curve directly preview the to be come out required object (comprising irregular object) of selecting oneself is done scanning.Therefore, when the object of institute's frame choosing was irregular object, the irregular object that scanning is come out can directly be utilized, and does not process and do not need to deliver to image processing software again.Moreover the present invention allows the user come the frame required object (comprising irregular object) of selecting oneself in the mode of intuition, and no longer is to come the frame choosing to desire scanned objects with fixing rectangle.
Though the present invention is exposed in preferred embodiment; right its is not in order to limit the present invention; those of ordinary skill in the art can do various changes and retouching without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with the scope that claims define.

Claims (10)

1. a method that scans irregular object is characterized in that, comprises the following steps:
In a preview window, utilize a drawing instrument frame to select an object and obtain an object box, this object box has a plurality of row and a plurality of row;
Write down the reference position and the final position of each those row;
Utilize a peak of this object box and the most left point and calculate a upper left point of this object box;
Utilize a minimum point of this object box and the rightest point and calculate a lower-right most point of this object box;
Scan and obtain the one scan object box with this upper left scope to this lower-right most point, this sweep object frame comprises this object box and a background parts; And
One background colour of this background parts is removed.
2. the method for scanning irregular object as claimed in claim 1 is characterized in that, the step that this background colour of this background parts is removed comprises the following steps:
Remove this background colour of this background parts;
When meet this object box those row in one row reference position the time, can stop to remove this background colour;
Find the final position of these row; And
Continue to remove this background colour.
3. the method for scanning irregular object as claimed in claim 2 is characterized in that, the step that this background colour of this background parts is removed more comprises the following steps:
When the reference position of these row in those row of not meeting this object box, the step that can get back to this background colour of removing this background parts.
4. the method for scanning irregular object as claimed in claim 1 is characterized in that: when this object too hour, can utilize a magnifier that this object is amplified, utilize this drawing instrument to come frame to select this object with a convenient user.
5. the method for scanning irregular object as claimed in claim 1 is characterized in that: this drawing instrument comprises a paintbrush, a straight line and a curve.
6. a method that scans irregular object is characterized in that, comprises the following steps:
In a preview window, utilize a drawing instrument frame to select an object and obtain an object box, this object box has a plurality of row and a plurality of row;
Write down the reference position and the final position of each those row;
Utilize a peak of this object box and the most left point and calculate a upper left point of this object box;
Utilize a minimum point of this object box and the rightest point and calculate a lower-right most point of this object box;
Scan and obtain the one scan object box with this upper left scope to this lower-right most point, this sweep object frame comprises this object box and a background parts; And
One background colour of this background parts is removed.
7. the method for scanning irregular object as claimed in claim 6 is characterized in that, the step that this background colour of this background parts is removed comprises the following steps:
Remove a background colour of this background parts;
When the reference position of delegation in those row of meeting this object box, can stop to remove this background colour;
Find the final position of this row; And
Continue to remove this background colour.
8. the method for scanning irregular object as claimed in claim 6 is characterized in that, the step that this background colour of this background parts is removed more comprises the following steps:
When the reference position of this row in those row of not meeting this object box, the step that can get back to this background colour of removing this background parts.
9. the method for scanning irregular object as claimed in claim 6 is characterized in that: when this object too hour, can utilize a magnifier that this object is amplified, utilize this drawing instrument to come frame to select this object with a convenient user.
10. the method for scanning irregular object as claimed in claim 6 is characterized in that: this drawing instrument comprises a paintbrush, a straight line and a curve.
CNA031194826A 2003-03-12 2003-03-12 Method of Scanning Irregular Objects Withdrawn CN1530873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA031194826A CN1530873A (en) 2003-03-12 2003-03-12 Method of Scanning Irregular Objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA031194826A CN1530873A (en) 2003-03-12 2003-03-12 Method of Scanning Irregular Objects

Publications (1)

Publication Number Publication Date
CN1530873A true CN1530873A (en) 2004-09-22

Family

ID=34285122

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA031194826A Withdrawn CN1530873A (en) 2003-03-12 2003-03-12 Method of Scanning Irregular Objects

Country Status (1)

Country Link
CN (1) CN1530873A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106524931A (en) * 2016-12-26 2017-03-22 中核北方核燃料元件有限公司 Strip rigid bulge and spring height detecting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106524931A (en) * 2016-12-26 2017-03-22 中核北方核燃料元件有限公司 Strip rigid bulge and spring height detecting method

Similar Documents

Publication Publication Date Title
US6049636A (en) Determining a rectangular box encompassing a digital picture within a digital image
JPH06508461A (en) Apparatus and method for automatically merging images
CN1038789C (en) Barcode marking reading device
JP2004527042A5 (en)
US20030156118A1 (en) Method and system for cleaning images to highlight information recorded on a background surface
JP2008283717A (en) Image scanning and processing system, method of scanning and processing image and method of selecting master file comprising data encoding scanned image
JP2005050317A5 (en)
Newman et al. CamWorks: A Video-Based Tool for Efficient Capture from Paper Source Documents.
CN1530873A (en) Method of Scanning Irregular Objects
EP1182861A3 (en) Method, apparatus and system for organizing captured digital images
US12260602B2 (en) Image processing method, program, and image processing device
US20040042684A1 (en) Method for scanning the irregular object
CN1433215A (en) Image acquisition method of scanning system
JP2011175309A (en) Image processing apparatus and program
US20060055984A1 (en) Image processing apparatus, image processing method and program
CN100405390C (en) Method for scanning image by using surface coordinate values and equipment using the method
CN1200389C (en) Image automatic cropping method
CN1148946C (en) Automatic image cutting method
TW200811726A (en) Method and apparatus for processing image with picture and characters
CA2375175A1 (en) Interactive hardcopy re-sampling without re-scanning
EP0515869A2 (en) Apparatus and method for deskewing images
CN1400545A (en) Character string configurating method, device and program
CN1527580A (en) Method of displaying estimated scanning lequired execution time
CN1619575A (en) Image printing method and related device
CN101140621A (en) Graph and text image processing equipment and image processing method thereof

Legal Events

Date Code Title Description
C04 Withdrawal of patent application after publication (patent law 2001)
C06 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication