CN106408499B - Method and device for acquiring reverse mapping table for image processing - Google Patents

Method and device for acquiring reverse mapping table for image processing Download PDF

Info

Publication number
CN106408499B
CN106408499B CN201610821422.4A CN201610821422A CN106408499B CN 106408499 B CN106408499 B CN 106408499B CN 201610821422 A CN201610821422 A CN 201610821422A CN 106408499 B CN106408499 B CN 106408499B
Authority
CN
China
Prior art keywords
int
output image
integer
ifloat
mapping table
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.)
Active
Application number
CN201610821422.4A
Other languages
Chinese (zh)
Other versions
CN106408499A (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.)
Shenzhen TCL High-Tech Development Co Ltd
Original Assignee
Shenzhen TCL High-Tech Development Co 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 Shenzhen TCL High-Tech Development Co Ltd filed Critical Shenzhen TCL High-Tech Development Co Ltd
Priority to CN201610821422.4A priority Critical patent/CN106408499B/en
Publication of CN106408499A publication Critical patent/CN106408499A/en
Application granted granted Critical
Publication of CN106408499B publication Critical patent/CN106408499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention is applicable to the technical field of image processing, and provides a method for processing imagesThe method and the device for obtaining the reverse mapping table comprise the following steps: by traversing the integer pixel coordinates P of the input imagei(xint,yint) And inquiring a forward mapping table to obtain floating-point type pixel coordinates P 'of an output image corresponding to the input image'i(x’float,y’float) (ii) a Traversing integer pixel coordinates P of the output imagej(mint,nint) And determining the ratio of P to Pj(mint,nint) Corresponding P'i(x’float,y’float) (ii) a To the P'iSorting is carried out, and N P 'with the smallest distance are obtained'i(ii) a P 'based on N least distant'iCorresponding distances, and N of said P's based on said distances being smallest'iCorresponding N P in the forward mapping tableiAnd establishing a reverse mapping table. In the invention, the generated reverse mapping table ensures higher mapping precision and is beneficial to improving the output quality of the image processing process.

Description

Method and device for acquiring reverse mapping table for image processing
Technical Field
The invention belongs to the technical field of image processing, and particularly relates to a method and a device for acquiring a reverse mapping table for image processing.
Background
Mapping table techniques are an important approach in the field of computer image processing. In the traditional image deformation processing process, any pixel point P (x, y) in an input image passes through a preset function f1And f2After the transformation process, the image is mapped to a pixel point P '(x', y ') in the output image, where x' is f1(x,y),y’=f2(x, y). However, the above transformation process is complex, and it takes a lot of time to calculate each point of each frame of image, and real-time processing cannot be realized in many application occasions, so that the mapping table technology is used to calculate the corresponding relationship between (x, y) and (x ', y') in advance and store the calculated corresponding relationship into the mapping table, and in practical application, calculation is not needed, and the coordinate (x ', y') of the corresponding point of (x, y) can be known by only searching the mapping table, and the operation efficiency can be greatly improved, so that the method is very suitable for the scene needing real-time processing.
As can be seen from the above description, the mapping table technique has extremely high operation efficiency because a large number of calculation processes can be put into the image preprocessing step. Generally, due to the limitation of display mode, the coordinates of the pixel points in the input image are integer (i.e. any point P (x, y), x, y,y is an integer), by a preset function f1And f2After the point is mapped, the coordinates of the corresponding point obtained are often floating point type (i.e. in the corresponding point P ' (x ', y '), x ', y ' are real numbers). Since the output image is also limited by the display mode, the corresponding point coordinates need to be changed from the floating point type to the integer type, and the corresponding point coordinates can only be changed from the floating point type to the integer type by rounding the floating point coordinates in the actual operation, so that the problems that different points on the input image are mapped to the same points on the output image or some points on the output image have no mapping result and the like are caused when the table look-up operation is performed by using the forward mapping table (mapping from the input image coordinates to the output image coordinates) in the image processing process, the mapping efficiency is low, the output image has holes, and the quality of the output image is poor. Therefore, in practical applications, the forward mapping table is rarely used, and a reverse mapping table (mapping from the output image coordinates to the input image coordinates), that is, any pixel point P ' (x ', y ') in the output image is mapped to the corresponding pixel point P (x, y) in the input image after being subjected to the functional transformation process, where x ═ f1 -1(x’,y’),y=f2 -1(x ', y'). By adopting the reverse mapping table, the problems possibly generated in the use process of the forward mapping table can be completely avoided. However, in some applications, the functional relationship of the coordinate mapping is very complex, and it is difficult to derive the inverse mapping function from the forward mapping function. For example, the forward mapping function adopted in the projection deformation process of the cylindrical curtain of the projector is quite complex in form, and the accurate solution of the reverse mapping function is difficult to obtain through the forward mapping function, so that the picture quality of the final output image is affected.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for obtaining a reverse mapping table for image processing, so as to solve the problem that it is difficult to obtain an accurate solution of a reverse mapping function through a forward mapping function in an existing image processing process.
In a first aspect, a method for obtaining an inverse mapping table for image processing is provided, including:
by traversing the integer pixel coordinates P of the input imagei(xint,yint) And inquiring a forward mapping table to obtain floating-point type pixel coordinates P 'of an output image corresponding to the input image'i(x’float,y’float) Wherein, 0<i<Wsrc*HsrcW is as describedsrc*HsrcIs the pixel resolution of the input image;
traversing integer pixel coordinates P of the output imagej(mint,nint) And determining the ratio of P to Pj(mint,nint) Corresponding P'i(x’float,y’float) Wherein, 0<j<Wdst*HdstW is as describeddst*HdstIs the pixel resolution of the output image;
according to the distance between the floating-point type pixel coordinate and the corresponding integer type pixel coordinate in the output image, the P 'is matched'iSorting is carried out, and N P 'with the minimum distance are obtained'iAnd N is an integer;
p 'based on N least distant'iThe corresponding distances, and N of the P's based on the smallest of the distances'iCorresponding N P in the forward mapping tableiAnd establishing a reverse mapping table.
In a second aspect, an apparatus for obtaining an inverse mapping table for image processing is provided, including:
an acquisition unit for acquiring the integer pixel coordinate P of the input image by traversingi(xint,yint) And inquiring a forward mapping table to obtain floating-point type pixel coordinates P 'of an output image corresponding to the input image'i(x’float,y’float) Wherein, 0<i<Wsrc*HsrcW is as describedsrc*HsrcIs the pixel resolution of the input image;
a determination unit for traversing the integer pixel coordinates P of the output imagej(mint,nint) And determining the ratio of P to Pj(mint,nint) Corresponding P'i(x’float,y’float) Wherein, 0<j<Wdst*HdstW is as describeddst*HdstIs the pixel resolution of the output image;
a sorting unit for sorting the P 'according to the distance between the floating-point type pixel coordinate and the corresponding integer type pixel coordinate in the output image'iSorting is carried out, and N P 'with the minimum distance are obtained'iAnd N is an integer;
a creating unit for creating N P's based on the distance being smallest'iThe corresponding distances, and N of the P's based on the smallest of the distances'iCorresponding N P in the forward mapping tableiAnd establishing a reverse mapping table.
In the embodiment of the invention, the forward mapping table is synthesized into the reverse mapping table in a numerical simulation mode, and the generated reverse mapping table ensures higher mapping precision, so that high-efficiency and high-quality mapping can still be ensured under the condition that a proper mapping direction and an accurate mapping relation cannot be obtained, and the output quality in the image processing process is favorably improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for obtaining a reverse mapping table for image processing according to an embodiment of the present invention;
FIG. 2 is a diagram of an experimental example of a method for obtaining an inverse mapping table for image processing according to an embodiment of the present invention;
fig. 3 is a block diagram of an apparatus for obtaining a reverse mapping table for image processing according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
Fig. 1 shows an implementation flow of the method for obtaining the reverse mapping table for image processing according to the embodiment of the present invention, which is detailed as follows:
in S101, the image is processed by traversing the integer pixel coordinate P of the input imagei(xint,yint) And inquiring a forward mapping table to obtain floating-point type pixel coordinates P 'of an output image corresponding to the input image'i(x’float,y’float) Wherein, 0<i<Wsrc*HsrcW is as describedsrc*HsrcIs the pixel resolution of the input image.
In S102, the integer pixel coordinate P of the output image is traversedj(iint,iint) And determining the ratio of P to Pj(mint,nint) Corresponding P'i(x’float,y’float) Wherein, 0<j<Wdst*HdstW is as describeddst*HdstIs the pixel resolution of the output image.
Specifically, the floating-point type pixel coordinate P 'of the output image is determined'i(x’float,y’float) Carrying out rounding operation to obtain floating-point type pixel coordinate P 'of the output image'i(x’float,y’float) Corresponding integer pixel coordinate, then searching the integer pixel coordinate P of the output image in the integer pixel coordinate obtained by the rounding operationj(mint,nint) The same integer type pixel coordinate, and the floating point type pixel coordinate P 'of the output image corresponding to the integer type pixel coordinate'i(x’float,y’float) Is determined as being related to said Pj(mint,nint) Corresponding P'i(x’float,y’float)。
In S103, the P 'is matched according to the distance between the floating-point type pixel coordinate of the output image and the corresponding integer type pixel coordinate of the output image'iSorting is carried out, and N P 'with the minimum distance are obtained'iAnd N is an integer.
Specifically, S103 may be performed by:
according to
Figure BDA0001114125460000051
To the P'iAnd sequencing, wherein the Dist is the distance.
In the embodiment of the present invention, N is a precision coefficient, and generally takes an integer greater than 4 and smaller than 32, and the larger the precision coefficient is, the more accurate the obtained inverse mapping table is, but relatively, the higher the operation complexity is, so the value of N may be set before S103 is executed.
In S104, based on N P 'S with minimum distance'iThe corresponding distances, and N of the P's based on the smallest of the distances'iCorresponding N P in the forward mapping tableiAnd establishing a reverse mapping table.
As an embodiment of the present invention, in the established inverse mapping table, the integer pixel coordinate P of the output imagej(mint,nint) Corresponding to floating-point type pixel coordinate p 'of input image'j(m’float,n’float),
Wherein,
Figure BDA0001114125460000052
n P S for minimizing Dist acquired in S103’iIs P'1~P’NN of these P'iCorresponding Dist is Dist1~DistNAnd the N P'iThe coordinates of the corresponding pixel points of the input image in the forward mapping table are respectively P1(xint,1,yint,1)~PN(xint,N,yint,N) Then the floating point type pixel coordinate of the corresponding input image in the reverse mapping table can be determined, and for any pixel point p in the output imagejCoordinate (m) ofint,nint) By the approximate reverse mapping table, the corresponding pixel point p 'in the input image can be searched'jCoordinate (m'float,n’float) The coordinates are floating point type, and need to be displayed by an interpolation method in practical use, and the display by the interpolation method is a common algorithm in image algorithms, and is not described herein.
In the embodiment of the invention, the forward mapping table is synthesized into the reverse mapping table in a numerical simulation mode, and the generated reverse mapping table ensures higher mapping precision, so that high-efficiency and high-quality mapping can still be ensured under the condition that a proper mapping direction and an accurate mapping relation cannot be obtained, and the output quality in the image processing process is favorably improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
For example, when the projector is used to project an image onto a curtain, since the position of the projector is not parallel to the curtain or the curtain itself is deformed, a certain degree of deformation processing needs to be performed on the output image to ensure a square imaging effect, and thus, the scheme of the embodiment of the present invention can be used in a projection deformation algorithm for a cylindrical curtain of the projector. After the reverse mapping table is obtained, subsequent image processing can be completed according to the reverse mapping table. For example, as shown in fig. 2(a), the original image to be projected is shown in fig. 2(b) and fig. 2(c) are output images that are mapped by using a forward mapping table and a reverse mapping table generated by using the scheme of the embodiment of the present invention, respectively, and compared with the above, the reverse mapping table generated by using the scheme of the embodiment of the present invention does not generate problems of overlapping mapping, mapping holes (for example, black lines on both sides of fig. 2 (a)), and the like in the mapping process of image processing, and meanwhile, the definition and picture quality of the output image are also significantly improved.
Corresponding to the method for acquiring the reverse mapping table for image processing described in the above embodiments, fig. 3 shows a structural block diagram of an apparatus for acquiring the reverse mapping table for image processing provided by an embodiment of the present invention, and for convenience of description, only the parts related to the present embodiment are shown.
Referring to fig. 3, the apparatus includes:
an acquisition unit 31 for obtaining the integer pixel coordinate P by traversing the input imagei(xint,yint) And inquiring a forward mapping table to obtain floating-point type pixel coordinates P 'of an output image corresponding to the input image'i(x’float,y’float) Wherein, 0<i<Wsrc*HsrcW is as describedsrc*HsrcIs the pixel resolution of the input image;
a determination unit 32 for traversing the integer pixel coordinates P of the output imagej(mint,nint) And determining the ratio of P to Pj(mint,nint) Corresponding P'i(x’float,y’float) Wherein, 0<j<Wdst*HdstW is as describeddst*HdstIs the pixel resolution of the output image;
a sorting unit 33 for sorting the P 'according to a distance between a floating-point type pixel coordinate of the output image and a corresponding integer type pixel coordinate of the output image'iSorting is carried out, and N P 'with the minimum distance are obtained'iAnd N is an integer;
a creating unit 34 for creating N P's based on the minimum distance'iThe corresponding distances, and N of the P's based on the smallest of the distances'iIn the forward directionCorresponding N P in the emission tableiAnd establishing a reverse mapping table.
Optionally, the apparatus further comprises:
and setting the value of the N.
Optionally, N is greater than 4 and less than 32.
Alternatively,
the determination unit includes:
a rounding sub-unit for providing floating-point pixel coordinates P 'of the output image'i(x’float,y’float) Carrying out rounding operation to obtain floating-point type pixel coordinate P 'of the output image'i(x’float,y’float) Corresponding integer pixel coordinates;
a determining subunit, configured to search, in the integer-type pixel coordinates obtained by the rounding operation, the integer-type pixel coordinates P associated with the output imagej(mint,nint) The same integer type pixel coordinate, and the floating point type pixel coordinate P 'of the output image corresponding to the integer type pixel coordinate'i(x’float,y’float) Is determined as being related to said Pj(mint,nint) Corresponding P'i(x’float,y’float)。
Optionally, the pair of P 'is determined according to a distance between a floating-point type pixel coordinate of the output image and a corresponding integer type pixel coordinate of the output image'iThe sorting comprises the following steps:
according to
Figure BDA0001114125460000071
To the P'iAnd (6) sorting.
Optionally, the N P's based on the smallest distance'iThe corresponding distances, and N of the P's based on the smallest of the distances'iCorresponding N P in the forward mapping tableiEstablishing a reverse mapping table comprises the following steps:
establishing the reverse mapping table in which the output isInteger pixel coordinate P of imagej(mint,nint) Corresponding to floating-point type pixel coordinate p 'of input image'j(m’float,n’float),
Wherein,
Figure BDA0001114125460000072
it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be implemented in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for obtaining a reverse mapping table for image processing is characterized by comprising the following steps:
by traversing the integer pixel coordinates P of the input imagei(xint,yint) And inquiring a forward mapping table to obtain floating-point type pixel coordinates P 'of an output image corresponding to the input image'i(x’ifloat,y’ifloat) Wherein, 0<i<Wsrc*HsrcW is as describedsrc*HsrcIs the pixel resolution of the input image;
traversing integer pixel coordinates P of the output imagej(mint,nint) And from the floating-point type pixel coordinates P 'of the output image corresponding to the input image'i(x’ifloat,y’ifloat) With said Pj(mint,nint) Corresponding P'j(x’jfloat,y’jfloat) Wherein, 0<j<Wdst*HdstW is as describeddst*HdstIs the pixel resolution of the output image;
according to the distance between the floating-point type pixel coordinate and the corresponding integer type pixel coordinate in the output image, the P 'is matched'jSorting is carried out, and N P 'with the minimum distance are obtained'jAnd N is an integer;
p 'based on N least distant'jCorrespond toAnd N of the P's based on the distance being smallest'jCorresponding N P in the forward mapping tableiAnd establishing a reverse mapping table.
2. The method of claim 1, wherein said obtaining N of said P's whose said distance is smallest'jPreviously, the method further comprises:
and setting the value of N, wherein N is more than 4 and less than 32.
3. The method of claim 1, wherein said traversing said output image is at integer pixel coordinates Pj(mint,nint) And from the floating-point type pixel coordinates P 'of the output image corresponding to the input image'i(x’ifloat,y’ifloat) Determining with said Pj(mint,nint) Corresponding P'j(x’jfloat,y’jfloat) The method comprises the following steps:
floating-point pixel coordinate P 'of the output image'i(x’ifloat,y’ifloat) Carrying out rounding operation to obtain floating-point type pixel coordinate P 'of the output image'i(x’ifloat,y’ifloat) Corresponding integer pixel coordinates;
searching the integer pixel coordinate P of the output image in the integer pixel coordinate obtained by the rounding operationj(mint,nint) The same integer type pixel coordinate, and the floating point type pixel coordinate P 'of the output image corresponding to the integer type pixel coordinate'i(x’ifloat,y’ifloat) Is determined as being related to said Pj(mint,nint) Corresponding P'j(x’jfloat,y’jfloat)。
4. The method of claim 1, wherein the pixel coordinates are in accordance with one of a floating point type of pixel coordinates of the output image and a corresponding integer type of pixel coordinates of the output imageP 'to the'jThe sorting comprises the following steps:
according to
Figure FDA0002448454750000021
To the P'jAnd (6) sorting.
5. The method of claim 4, wherein said P ' is based on N of said P's for which said distance is smallest 'jThe corresponding distances, and N of the P's based on the smallest of the distances'jCorresponding N P in the forward mapping tableiEstablishing a reverse mapping table comprises the following steps:
establishing the reverse mapping table in which the integer pixel coordinate P of the output imagej(mint,nint) Corresponding to floating-point type pixel coordinate p 'of input image'j(m’float,n’float),
Wherein,
Figure FDA0002448454750000022
6. an apparatus for obtaining an inverse mapping table for image processing, comprising:
an acquisition unit for acquiring the integer pixel coordinate P of the input image by traversingi(xint,yint) And inquiring a forward mapping table to obtain floating-point type pixel coordinates P 'of an output image corresponding to the input image'i(x’ifloat,y’ifloat) Wherein, 0<i<Wsrc*HsrcW is as describedsrc*HsrcIs the pixel resolution of the input image;
a determination unit for traversing the integer pixel coordinates P of the output imagej(mint,nint) And floating-point type pixel coordinate P 'of output image corresponding to the input image'i(x’ifloat,y’ifloat) Determining with said Pj(mint,nint) Corresponding P'j(x’jfloat,y’jfloat) Wherein, 0<j<Wdst*HdstW is as describeddst*HdstIs the pixel resolution of the output image;
a sorting unit for sorting the P 'according to the distance between the floating-point type pixel coordinate and the corresponding integer type pixel coordinate in the output image'jSorting is carried out, and N P 'with the minimum distance are obtained'jAnd N is an integer;
a creating unit for creating N P's based on the distance being smallest'jThe corresponding distances, and N of the P's based on the smallest of the distances'jCorresponding N P in the forward mapping tableiAnd establishing a reverse mapping table.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the setting unit is used for setting the value of the N, wherein the N is more than 4 and less than 32.
8. The apparatus of claim 6, wherein the determining unit comprises:
a rounding sub-unit for providing floating-point pixel coordinates P 'of the output image'i(x’ifloat,y’ifloat) Carrying out rounding operation to obtain floating-point type pixel coordinate P 'of the output image'i(x’ifloat,y’ifloat) Corresponding integer pixel coordinates;
a determining subunit, configured to search, in the integer-type pixel coordinates obtained by the rounding operation, the integer-type pixel coordinates P associated with the output imagej(mint,nint) The same integer type pixel coordinate, and the floating point type pixel coordinate P 'of the output image corresponding to the integer type pixel coordinate'i(x’ifloat,y’ifloat) Is determined as being related to said Pj(mint,nint) Corresponding P'j(x’jfloat,y’jfloat)。
9. The apparatus of claim 6, wherein the ordering unit is specifically configured to:
according to
Figure FDA0002448454750000031
To the P'jAnd (6) sorting.
10. The apparatus according to claim 9, wherein the establishing unit is specifically configured to:
establishing the reverse mapping table in which the integer pixel coordinate P of the output imagej(mint,nint) Corresponding to floating-point type pixel coordinate p 'of input image'j(m’float,n’float),
Wherein,
Figure FDA0002448454750000032
CN201610821422.4A 2016-09-13 2016-09-13 Method and device for acquiring reverse mapping table for image processing Active CN106408499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610821422.4A CN106408499B (en) 2016-09-13 2016-09-13 Method and device for acquiring reverse mapping table for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610821422.4A CN106408499B (en) 2016-09-13 2016-09-13 Method and device for acquiring reverse mapping table for image processing

Publications (2)

Publication Number Publication Date
CN106408499A CN106408499A (en) 2017-02-15
CN106408499B true CN106408499B (en) 2020-06-05

Family

ID=58000183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610821422.4A Active CN106408499B (en) 2016-09-13 2016-09-13 Method and device for acquiring reverse mapping table for image processing

Country Status (1)

Country Link
CN (1) CN106408499B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288548B (en) * 2019-06-27 2021-06-08 浙江工业大学 Integer pixel value image floating point method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8275199B2 (en) * 2006-12-12 2012-09-25 Canon Kabushiki Kaisha Color processing apparatus and color processing method
CN103489165A (en) * 2013-10-01 2014-01-01 中国人民解放军国防科学技术大学 Decimal lookup table generation method for video stitching
CN104270642A (en) * 2014-10-22 2015-01-07 哈尔滨工业大学 Hyperspectral image lossless compression method based on RKLT and principal component selection
CN104680474A (en) * 2015-02-04 2015-06-03 四川长虹电器股份有限公司 Digital image encryption and decryption method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8275199B2 (en) * 2006-12-12 2012-09-25 Canon Kabushiki Kaisha Color processing apparatus and color processing method
CN103489165A (en) * 2013-10-01 2014-01-01 中国人民解放军国防科学技术大学 Decimal lookup table generation method for video stitching
CN104270642A (en) * 2014-10-22 2015-01-07 哈尔滨工业大学 Hyperspectral image lossless compression method based on RKLT and principal component selection
CN104680474A (en) * 2015-02-04 2015-06-03 四川长虹电器股份有限公司 Digital image encryption and decryption method

Also Published As

Publication number Publication date
CN106408499A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN107705333B (en) Space positioning method and device based on binocular camera
CN104363986B (en) A kind of image processing method and equipment
WO2020001168A1 (en) Three-dimensional reconstruction method, apparatus, and device, and storage medium
US20200366838A1 (en) Panoramic image generation method and device
JP5294343B2 (en) Image alignment processing device, area expansion processing device, and image quality improvement processing device
CN104809739B (en) A kind of method of bugeye lens camera video real time correction
CN101271196B (en) Lens shade correction index confirming method, lens shade emendation method and device
TWI503791B (en) Computing level of detail for anisotropic filtering
CN108629810B (en) Calibration method and device of binocular camera and terminal
CN107749987B (en) Digital video image stabilization method based on block motion estimation
JP2012105246A (en) Image correction method and related image correction system
US10169891B2 (en) Producing three-dimensional representation based on images of a person
CN106570907B (en) Camera calibration method and device
CN111080776B (en) Human body action three-dimensional data acquisition and reproduction processing method and system
CN103617615A (en) Radial distortion parameter obtaining method and obtaining device
CN114359412B (en) Automatic calibration method and system for external parameters of camera facing to building digital twins
GB2536429A (en) Image noise reduction
CN104182933A (en) Wide-angle lens image distortion correcting method based on reverse division model
CN112215880A (en) Image depth estimation method and device, electronic equipment and storage medium
GB2536430A (en) Image noise reduction
CN113643414A (en) Three-dimensional image generation method and device, electronic equipment and storage medium
CN106408499B (en) Method and device for acquiring reverse mapping table for image processing
CN113658041B (en) Image rapid splicing method based on multi-image feature joint matching
CN113497886B (en) Video processing method, terminal device and computer-readable storage medium
CN114897990A (en) Camera distortion calibration method and system based on neural network and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171129

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Xili liuxiandong Zhongshan Road No. 1001 TCL Science Park Research Building D4 Building 8 layer B1 unit 802-1.

Applicant after: SHENZHEN TCL HIGH-TECH DEVELOPMENT CO., LTD.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL Group Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant