CN1435991A - Method for selection range of picture for calibration of picture input device - Google Patents

Method for selection range of picture for calibration of picture input device Download PDF

Info

Publication number
CN1435991A
CN1435991A CN 02103364 CN02103364A CN1435991A CN 1435991 A CN1435991 A CN 1435991A CN 02103364 CN02103364 CN 02103364 CN 02103364 A CN02103364 A CN 02103364A CN 1435991 A CN1435991 A CN 1435991A
Authority
CN
China
Prior art keywords
image
scan image
input device
scan
subject matter
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.)
Pending
Application number
CN 02103364
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 CN 02103364 priority Critical patent/CN1435991A/en
Publication of CN1435991A publication Critical patent/CN1435991A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

A method for the image input device to box part of an image to be corrected includes loading the coordinate data of 4 apexes of a scanned image, judging if the quadrangle formed by said 4 apexes is a rectangle, outputting the coordinating values of said 4 apexes if it is, or judging if said quadrangle has an internal right angle, and stopping if it is not, or using the internal right angle and its two sides to obtain another 3 new apexes.

Description

A kind of method that is used to calibrate the image selection range of image-input device
(1) technical field
The relevant a kind of method of handling image of the present invention is particularly relevant for a kind of method that is used to calibrate the image selection range of image-input device.
(2) background technology
Existing image-input device (for example being the one scan device) can become the image transitions of scanning subject matter numerical data to handle when carrying out the image input, and its operation workflow as shown in Figure 1.
Step 10 scans the one scan subject matter for image-input device, and the image information conversion with the scanning input produces the DID crossfire.Step 11 is analyzed the DID that this is written into for scanner, finds out the data point and the coordinate values thereof that constitute the subject matter image boundary in this DID crossfire.The subject matter image boundary data point of step 13 for utilizing step 11 to draw found out 4 data points from this subject matter image boundary data point, make these 4 formed quadrangles of data point can contain this subject matter image.These 4 data points are called 4 summits of this subject matter image.Step 15 is for calculating the angle of inclination of this subject matter image.Whether step 16 is 0 degree for the angle of inclination of judging this subject matter image, selects image step 19 if then directly carry out frame, if this angle of inclination is not 0 degree, then carries out correcting image tilting step 17.Correcting image tilting step 17 is the inclination angle that this subject matter image draws according to step 15 computing oppositely to be revolved move, to produce a nonangular image.Frame select image step 19 for utilize that step 13 draws through confirming or adjust 4 number of vertex strong points of Hou, the image center that obtains from scanning is selected the scope of subject matter image.Yet, when scanning subject matter (as photo, picture, positive, negative film, when the color of side plate is close in background color file etc.) and the scanner loam cake, to cause above-mentioned steps 11 can't draw correct subject matter image boundary, and then make step 13 can't draw correct subject matter image summit, step 15 also can't correctly be calculated the angle of inclination of this subject matter image, correcting image tilting step 17 also can't be finished the task at correcting image inclination angle, frame selects the accuracy of image step 19 also greatly to reduce, especially when the inclination angle of this subject matter image is not 0, the error of image selection range will be more serious because the inclination angle can't be proofreaied and correct, this must just can solve by artificial correction, this under the operation of many scanning input patterns, more forms puzzlement and inconvenience for autoamtic paper feeding formula scanner.
(3) summary of the invention
The purpose of this invention is to provide a kind of method of handling the input image data of image-input device, make the image range need not artificial manual operation and can calibration chart picture input subject matter.
For achieving the above object, the method that is used to calibrate the image selection range of image-input device of the present invention, be 4 vertex data values utilizing the image that is obtained by image-input device scanning, at this scan image is under the rectangle block, obtain most probable 4 the correct summits of this scan image through computing, with correct decision selection range, be characterized in, comprise the following steps: that (A) is written into 4 vertex coordinate data values of this scan image; (B) judge whether the quadrangle that these 4 summits of this scan image are linked to be is a rectangle, if then carry out step (E), otherwise carries out step (C); (C) judge whether this quadrangle has a perpendicular inside corner at least,, select program otherwise stop this frames images if then carry out step (D); (D) utilize the both sides of this perpendicular inside corner and the end points of line segment thereof to make vertical line respectively, and be a new summit of this scan image with the intersection point of this two vertical line, and with the both sides of this perpendicular inside corner and 4 summits that intersection point is this scan image of this two vertical line; (E) 4 vertex coordinate data values of this scan image of output through adjusting Hou.
For further specifying purpose of the present invention, design feature and effect, the present invention is described in detail below with reference to accompanying drawing.
(4) description of drawings
Fig. 1 is the flow chart that shows the automatic frame choosing of existing scan image;
Fig. 2 is the flow chart that shows according to the inventive method calibration scan image selection range;
Fig. 3 is the schematic diagram that shows according to the scanning subject matter of a specific embodiment of the present invention;
Fig. 4 shows scanning subject matter shown in Figure 3 when scanning, the schematic diagram of the scan image selection range of proofreading and correct with the inventive method.
(5) embodiment
Be fully to disclose the present invention, below conjunction with figs. be described in detail as follows.
Fig. 2 is the flow chart that shows according to the inventive method calibration scan image selection range.Step 20 is for being written into 4 vertex coordinate data values of this scan image.Whether step 21 is a rectangle for the quadrangle that these 4 summits of judging this scan image are linked to be, if then carry out step 29, directly this scan image of output for further image processing usefulness, otherwise carry out step 23 through confirming these 4 vertex coordinate data values of Hou.Step 23 if then carry out step 25, otherwise carry out step 24 for to judge whether this quadrangle has a perpendicular inside corner at least, stops the action that frame selects this image range.Step 25 is for to utilize the both sides of this perpendicular inside corner and the end points of this both sides line segment to make vertical line respectively.Step 27 item is the new summit of the intersection point of this two vertical line of being done with this step 25 for this scan image, and is the summit of this scan image through adjustment Hou with the both sides of this perpendicular inside corner and 4 intersection points of this two vertical line.Step 29 is 4 the vertex coordinate data values of this scan image of output through affirmation or adjustment Hou.
Fig. 3 shows the scanning subject matter according to a specific embodiment of the present invention.Scanning subject matter 30 is a rectangular item, can be divided into block 31 and 32 two parts of block, wherein the color of the color of block 31 and this scanning means loam cake liner plate can obviously be distinguished, and the color of block 32 is then approximate and be not easily distinguishable with the color of this scanning means loam cake liner plate.
Fig. 4 shows that scanning subject matter shown in Figure 3 is when scanning, with the inventive method correct scan image selection range.Scanning coverage area 40 is the maximum scan areas for the defeated A device of image, and scanning coverage area 40 is to contain the background image block 45 that image block 41 that scanning subject matter 30 produced and image block 42 (it is the block 31 and the block 32 of corresponding respectively scanning subject matter 30) and scanning means loam cake liner produce.Wherein, the color of the color of block 32 and scanning means loam cake liner is very approximate, so this scanning means can't be differentiated the scan image 42 of block 32 and the background image 45 that scanning means loam cake liner is produced, and scan image 42 and background image 45 all are considered as the background that non-genus scans the subject matter image.41 scanning subject matter image-regions of being assert according to the resulting scan image number of boundary of analysis scan data strong point for this scanning means of the scan image that block 31 is produced.That is be A, B, C, D 4 points on above-mentioned steps 20 4 loaded image summits, line segment AB, BC, CD, AD are the border of scan image, the quadrangle that it surrounded can be contained the scanning subject matter image of being assert by this scanning means, that is above-mentioned image block 41.Though this moment image block 42 for scanning subject matter 30 the part of generations image, so can't recognisable image block 42 and the difference of background block 45 because of this scanner, scan the image that subject matter 30 is produced so image block 42 is not considered to be.And quadrangle ABCD (in 4 interior angles, angle C and angle B are the right angle.Respectively line segment AB and line segment CB are made vertical line with the both sides AB line segment of angle B and the summit A and the C of CB line segment, obtain straight line LI and straight line L2, and L1 and L2 intersect at D ' point.Substituting the D point with this D ' point is the summit of this scan image, A, B, C, D ' are the summit of this scan image through calibration Hou, its formed quadrangle ABCD ' can be contained and firmly scans the image that subject matter 30 is produced, that is image block 41 and image block 42.
Certainly, those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, and be not to be used as limitation of the invention, as long as in connotation scope of the present invention, all will drop in the scope of claims of the present invention variation, the modification of the above embodiment.

Claims (3)

1. method that is used to calibrate the image selection range of image-input device, be 4 vertex data values utilizing the image that is obtained by image-input device scanning, at this scan image is under the rectangle block, obtain most probable 4 the correct summits of this scan image through computing, with correct decision selection range, it is characterized in that, comprise the following steps:
(A) be written into 4 vertex coordinate data values of this scan image;
(B) judge whether the quadrangle that these 4 summits of this scan image are linked to be is a rectangle, if then carry out step (E), otherwise carries out step (C);
(C) judge whether this quadrangle has a perpendicular inside corner at least,, select program otherwise stop this frames images if then carry out step (D);
(D) utilize the both sides of this perpendicular inside corner and the end points of line segment thereof to make vertical line respectively, and be a new summit of this scan image with the intersection point of this two vertical line, and with the both sides of this perpendicular inside corner and 4 summits that intersection point is this scan image of this two vertical line;
(E) 4 vertex coordinate data values of this scan image of output through adjusting Hou.
2. the method for claim 1 is characterized in that, this image-input device is to be an image analyzer.
3. the method for claim 1 is characterized in that, further comprises the step that step (A) is written as a procedure code to step (D).
CN 02103364 2002-01-28 2002-01-28 Method for selection range of picture for calibration of picture input device Pending CN1435991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02103364 CN1435991A (en) 2002-01-28 2002-01-28 Method for selection range of picture for calibration of picture input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02103364 CN1435991A (en) 2002-01-28 2002-01-28 Method for selection range of picture for calibration of picture input device

Publications (1)

Publication Number Publication Date
CN1435991A true CN1435991A (en) 2003-08-13

Family

ID=27627796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02103364 Pending CN1435991A (en) 2002-01-28 2002-01-28 Method for selection range of picture for calibration of picture input device

Country Status (1)

Country Link
CN (1) CN1435991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100366044C (en) * 2004-01-15 2008-01-30 三星电子株式会社 Method of creating a plurality of images by single scanning and apparatus using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100366044C (en) * 2004-01-15 2008-01-30 三星电子株式会社 Method of creating a plurality of images by single scanning and apparatus using the same

Similar Documents

Publication Publication Date Title
CN1252994C (en) Projecting apparatus
CN101305599B (en) Device for correcting quantity of ambient light, method for correcting quantity of ambient light, electronic information apparatus
JP3425366B2 (en) Image correction device
JP2004260785A (en) Projector with distortion correction function
EP2665277A1 (en) Image projection apparatus, control method, control program, and carrier medium
JP3996617B2 (en) Projector device with image distortion correction function
CN1825194A (en) Projector and processing line specification method
JP2006338584A (en) Image processing apparatus, image processing method, image processing program, image processing system and imaging apparatus
WO2022206022A1 (en) Size measuring instrument system based on multi-template matching and automatic focusing functions
JP2001358928A (en) Image correction device
US20030002735A1 (en) Image processing method and image processing apparatus
CN1881070A (en) Projector
CN1435991A (en) Method for selection range of picture for calibration of picture input device
JP3467171B2 (en) Image reading device
JP2001223891A (en) Picture processing method
CN113624129A (en) Real-time measurement method of dimension measurement instrument
CN101296327A (en) Picture edge dead point emendation method and device thereof
JP2007324648A (en) Image reading system and control method thereof
Baltsavias The Agfa Horizon scanner: characteristics, testing and evaluation
JPH04253471A (en) Method and device for processing picture
Baltsavias Desktop publishing scanners
JP2644487B2 (en) Image reading device
TW573429B (en) Image correction method and device of optical scanner
JP2000011140A (en) Image processor
JP4886587B2 (en) Image processing device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication