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 PDFInfo
- 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
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
(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.
(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).
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)
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 |
-
2002
- 2002-01-28 CN CN 02103364 patent/CN1435991A/en active Pending
Cited By (1)
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 |