CN112767262A - Image distortion correction processing method - Google Patents

Image distortion correction processing method Download PDF

Info

Publication number
CN112767262A
CN112767262A CN202110015444.2A CN202110015444A CN112767262A CN 112767262 A CN112767262 A CN 112767262A CN 202110015444 A CN202110015444 A CN 202110015444A CN 112767262 A CN112767262 A CN 112767262A
Authority
CN
China
Prior art keywords
image
perspective distortion
distortion correction
plane
target plate
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
CN202110015444.2A
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.)
Pla 63863 Unit
Original Assignee
Pla 63863 Unit
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 Pla 63863 Unit filed Critical Pla 63863 Unit
Priority to CN202110015444.2A priority Critical patent/CN112767262A/en
Publication of CN112767262A publication Critical patent/CN112767262A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • G06T5/80

Abstract

The invention discloses an image distortion correction processing method, which comprises the following processing steps: s1: perspective distortion imaging principle; in the image imaging process, an object plane where the original target plate is located is not parallel to an image plane where the distorted target plate is located, wherein the image plane is collected by a camera, so that perspective distortion is generated; s2: perspective distortion correction model; perspective distortion correction is to re-project the image onto a new viewing plane; s3: correcting perspective distortion; establishing a relation between a perspective distortion image and a theoretical light spot target plate image through a perspective distortion correction model, and solving the light spot target plate image after perspective distortion correction; can be convenient for rectify perspective distortion and become like the pattern, reduced the correction degree of difficulty to perspective distortion and become like the pattern, and then be convenient for the user of service to watch the pattern that perspective distortion imaged, reduced the pattern observation degree of difficulty that perspective distortion imaged, solved among the prior art be not convenient for rectify perspective distortion imaging pattern.

Description

Image distortion correction processing method
Technical Field
The invention relates to the technical field of image processing, in particular to an image distortion correction processing method
Background
Because the normal vector of the target plate is not parallel to the optical axis of the camera, a certain included angle exists between the normal vector of the target plate and the optical axis of the camera, the acquired target plate image has perspective distortion to a certain degree;
when the camera is close to the target plate, the imaging of the target plate is large, and the perspective distortion has a large influence on the final measurement precision.
Disclosure of Invention
The invention provides an image distortion correction processing method, which can effectively solve the problem that the perspective distortion has great influence on the final measurement precision when the imaging of a target plate is large when a camera is close to the target plate, which is proposed in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: an image distortion correction processing method includes the following processing steps:
s1: perspective distortion imaging principle; in the image imaging process, an object plane where the original target plate is located is not parallel to an image plane where the distorted target plate is located, wherein the image plane is collected by a camera, so that perspective distortion is generated;
s2: perspective distortion correction model; perspective distortion correction is to re-project the image onto a new viewing plane;
s3: correcting perspective distortion; and establishing a relation between the perspective distortion image and the theoretical light spot target plate image through a perspective distortion correction model, so as to solve the light spot target plate image after perspective distortion correction.
Preferably, according to the principle in S1, the plane ABCD represents an object plane where the original target board is located, the plane a 'B' C 'D' represents an image plane where the distorted target board is located, and the spatial coordinates of four points of the plane ABCD are a (x) respectively1,y1)、B(x2,y2)C(x3,y3) And D (x)4,y4) The four points of the plane A ' B ' C ' D ' have pixel coordinates A ' (x)1',y1')、B'(x'2,y'2)、C'(x'3,y'3) And D '(x'4,y'4)。
Preferably, the correction transformation principle in S2 is:
Figure BDA0002885295920000021
in the formula, x and y are original light spot target plate images, u and v are light spot target plate images after perspective distortion correction, and transformation matrix
Figure BDA0002885295920000022
The four parts can be split, wherein,
Figure BDA0002885295920000023
representing a linear transformation, [ a ]31a32]Representing translation transformation, [ a ]13a23]TRepresenting a perspective transformation. In general, an image is not a parallelogram after transformation, and rewriting can result in:
Figure BDA0002885295920000024
wherein (x, y), (u, v) represent the image coordinates before and after perspective distortion correction, respectively.
Preferably, the correction principle in S2 is: the following equation sets are established for control points (A, A '), (B, B'), (C, C ') and (D, D'):
Figure BDA0002885295920000031
compared with the prior art, the invention has the beneficial effects that:
1. can be convenient for rectify perspective distortion and become like the pattern, reduced the correction degree of difficulty to perspective distortion and become like the pattern, and then be convenient for the user of service to watch the pattern that perspective distortion imaged, reduced the pattern observation degree of difficulty that perspective distortion imaged, solved among the prior art be not convenient for rectify perspective distortion imaging pattern.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
In the drawings:
FIG. 1 is a flow chart of the steps of the present invention;
FIG. 2 is a schematic diagram of imaging of a target plate of the present invention;
FIG. 3 is a perspective distortion correction flow diagram of the present invention;
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example (b): as shown in fig. 1 to 3, the present invention provides a technical solution, a method for processing image distortion correction, comprising the following processing steps:
s1: perspective distortion imaging principle; in the image imaging process, an object plane where the original target plate is located is not parallel to an image plane where the distorted target plate is located, wherein the image plane is collected by a camera, so that perspective distortion is generated;
s2: perspective distortion correction model; perspective distortion correction is to re-project the image onto a new viewing plane;
s3: correcting perspective distortion; and establishing a relation between the perspective distortion image and the theoretical light spot target plate image through a perspective distortion correction model, so as to solve the light spot target plate image after perspective distortion correction.
S1, wherein the plane ABCD represents the object plane of the original target plate, the plane A 'B' C 'D' represents the image plane of the distorted target plate, and the space coordinates of the four points of the plane ABCD are A (x)1,y1)、B(x2,y2)C(x3,y3) And D (x)4,y4) The four points of the plane A ' B ' C ' D ' have pixel coordinates A ' (x)1',y1')、B'(x'2,y'2)、C'(x'3,y'3) And D '(x'4,y'4)。
Correction transformation principle in S2:
Figure BDA0002885295920000041
in the formula, x and y are original light spot target plate images, u and v are light spot target plate images after perspective distortion correction, and transformation matrix
Figure BDA0002885295920000042
The four parts can be split, wherein,
Figure BDA0002885295920000043
representing a linear transformation, [ a ]31a32]Representing translation transformation, [ a ]13a23]TRepresenting a perspective transformation. In general, an image is not a parallelogram after transformation, and rewriting can result in:
Figure BDA0002885295920000051
wherein (x, y), (u, v) represent the image coordinates before and after perspective distortion correction, respectively.
Correction principle in S2: the following equation sets are established for control points (A, A '), (B, B'), (C, C ') and (D, D'):
Figure BDA0002885295920000052
from the above formula, a11,K,a23And then, completing distortion correction of the target plate image, selecting the upper left corner point of the target plate in the original image as a reference in order to ensure that the size of the facula target plate image after perspective distortion correction is not zoomed compared with the actual image, solving the corresponding real size of the target plate in the image by using a pinhole imaging principle, and obtaining a theoretical non-distortion angular point according to the position relation of the four points, so that the four reference points for obtaining the target plate image have important significance for perspective distortion correction.
The working principle and the using process of the invention are as follows: in the image imaging process, the object plane of the original target plate is not parallel to the image plane of the distorted target plate acquired by the camera, so that perspective distortion is generated, the perspective distortion correction is to re-project the image onto a new viewing plane, the relationship between the perspective distortion image and the theoretical facula target plate image is established through a perspective distortion correction model, and the facula target plate image after the perspective distortion correction is solved,
finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (4)

1. An image distortion correction processing method characterized by: the method comprises the following processing steps:
s1: perspective distortion imaging principle; in the image imaging process, an object plane where the original target plate is located is not parallel to an image plane where the distorted target plate is located, wherein the image plane is collected by a camera, so that perspective distortion is generated;
s2: perspective distortion correction model; perspective distortion correction is to re-project the image onto a new viewing plane;
s3: correcting perspective distortion; and establishing a relation between the perspective distortion image and the theoretical light spot target plate image through a perspective distortion correction model, so as to solve the light spot target plate image after perspective distortion correction.
2. The image distortion correction processing method according to claim 1, wherein in said principle of S1, the plane ABCD represents an object plane where the original target board is located, the plane a 'B' C 'D' represents an image plane where the distorted target board is located, and spatial coordinates of four points of the plane ABCD are a (x) respectively1,y1)、B(x2,y2)C(x3,y3) And D (x)4,y4) The pixel coordinates of four points of the plane A 'B' C 'D' are respectively A '(x'1,y′1)、B'(x′2,y′2)、C'(x′3,y′3) And D '(x'4,y′4)。
3. An image distortion correction processing method according to claim 1, wherein the correction transform principle in S2:
Figure FDA0002885295910000011
in the formula, x and y are original light spot target plate images, u and v are light spot target plate images after perspective distortion correction, and transformation matrix
Figure FDA0002885295910000012
The four parts can be split, wherein,
Figure FDA0002885295910000013
representing a linear transformation, [ a ]31 a32]Representing translation transformation, [ a ]13 a23]TRepresenting a perspective transformation. In general, an image is not a parallelogram after transformation, and rewriting can result in:
Figure FDA0002885295910000021
wherein (x, y), (u, v) represent the image coordinates before and after perspective distortion correction, respectively.
4. An image distortion correction processing method according to claim 1, wherein the correction principle in S2 is: the following equation sets are established for control points (A, A '), (B, B'), (C, C ') and (D, D'):
Figure FDA0002885295910000022
CN202110015444.2A 2021-01-06 2021-01-06 Image distortion correction processing method Pending CN112767262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110015444.2A CN112767262A (en) 2021-01-06 2021-01-06 Image distortion correction processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110015444.2A CN112767262A (en) 2021-01-06 2021-01-06 Image distortion correction processing method

Publications (1)

Publication Number Publication Date
CN112767262A true CN112767262A (en) 2021-05-07

Family

ID=75700236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110015444.2A Pending CN112767262A (en) 2021-01-06 2021-01-06 Image distortion correction processing method

Country Status (1)

Country Link
CN (1) CN112767262A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120114262A1 (en) * 2010-11-09 2012-05-10 Chi-Chang Yu Image correction method and related image correction system thereof
CN103729841A (en) * 2013-12-18 2014-04-16 同济大学 Camera distortion correcting method based on square target model and perspective projection
KR101589167B1 (en) * 2015-02-09 2016-01-27 동의대학교 산학협력단 System and Method for Correcting Perspective Distortion Image Using Depth Information
CN105954960A (en) * 2016-04-29 2016-09-21 广东美的制冷设备有限公司 Spherical surface projection display method, spherical surface projection display system and household electrical appliance
CN106600561A (en) * 2016-12-22 2017-04-26 中国人民解放军第三军医大学第三附属医院 Aerial image perspective distortion automatic correction method based on projection mapping
CN107169494A (en) * 2017-06-01 2017-09-15 中国人民解放军国防科学技术大学 License plate image segmentation bearing calibration based on handheld terminal
CN108492335A (en) * 2018-03-27 2018-09-04 长春理工大学 A kind of double camera perspective distortion bearing calibration and system
CN110060200A (en) * 2019-03-18 2019-07-26 阿里巴巴集团控股有限公司 Perspective image transform method, device and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120114262A1 (en) * 2010-11-09 2012-05-10 Chi-Chang Yu Image correction method and related image correction system thereof
CN103729841A (en) * 2013-12-18 2014-04-16 同济大学 Camera distortion correcting method based on square target model and perspective projection
KR101589167B1 (en) * 2015-02-09 2016-01-27 동의대학교 산학협력단 System and Method for Correcting Perspective Distortion Image Using Depth Information
CN105954960A (en) * 2016-04-29 2016-09-21 广东美的制冷设备有限公司 Spherical surface projection display method, spherical surface projection display system and household electrical appliance
CN106600561A (en) * 2016-12-22 2017-04-26 中国人民解放军第三军医大学第三附属医院 Aerial image perspective distortion automatic correction method based on projection mapping
CN107169494A (en) * 2017-06-01 2017-09-15 中国人民解放军国防科学技术大学 License plate image segmentation bearing calibration based on handheld terminal
CN108492335A (en) * 2018-03-27 2018-09-04 长春理工大学 A kind of double camera perspective distortion bearing calibration and system
CN110060200A (en) * 2019-03-18 2019-07-26 阿里巴巴集团控股有限公司 Perspective image transform method, device and equipment

Similar Documents

Publication Publication Date Title
CN109454634B (en) Robot hand-eye calibration method based on plane image recognition
CN106875339B (en) Fisheye image splicing method based on strip-shaped calibration plate
CN109272570B (en) Space point three-dimensional coordinate solving method based on stereoscopic vision mathematical model
CN111243033B (en) Method for optimizing external parameters of binocular camera
CN113160339B (en) Projector calibration method based on Molaque law
WO2021208933A1 (en) Image rectification method and apparatus for camera
CN110782394A (en) Panoramic video rapid splicing method and system
JP2022528659A (en) Projector keystone correction methods, devices, systems and readable storage media
CN110738608B (en) Plane image correction method and system
CN110136068B (en) Sound membrane dome assembly system based on position calibration between bilateral telecentric lens cameras
CN113360964A (en) Convergence type binocular vision guided robot positioning method under high dynamic range
CN112734860A (en) Arc-screen prior information-based pixel-by-pixel mapping projection geometric correction method
CN114359405A (en) Calibration method of off-axis Samm 3D line laser camera
CN114820817A (en) Calibration method and three-dimensional reconstruction method based on high-precision line laser 3D camera
CN110942475B (en) Ultraviolet and visible light image fusion system and rapid image registration method
CN112652019A (en) Binocular vision three-dimensional positioning method
CN112767262A (en) Image distortion correction processing method
CN112258581A (en) On-site calibration method for multi-fish glasses head panoramic camera
CN111047651B (en) Method for correcting distorted image
CN113689339B (en) Image stitching method and device
CN115439541A (en) Glass orientation calibration system and method for refraction imaging system
CN112465914B (en) Camera array calibration method based on non-common view field
CN113066131A (en) Method for quickly calibrating camera internal parameters
CN110189263B (en) Large-view-field head-mounted display equipment distortion correction method based on multi-angle sampling
CN115797460B (en) Underwater double-target setting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination