CN103929633A - Image simulation correction method - Google Patents
Image simulation correction method Download PDFInfo
- Publication number
- CN103929633A CN103929633A CN201410009199.4A CN201410009199A CN103929633A CN 103929633 A CN103929633 A CN 103929633A CN 201410009199 A CN201410009199 A CN 201410009199A CN 103929633 A CN103929633 A CN 103929633A
- Authority
- CN
- China
- Prior art keywords
- image
- main body
- revisal
- compensating value
- datum mark
- 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
- 238000004088 simulation Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000004075 alteration Effects 0.000 claims description 6
- 230000000694 effects Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 230000016776 visual perception Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
The invention discloses a method for image simulation correction, which mainly compares a shot real-time image with a plane image, judges a part of the real-time image different from the plane image as a main image, selects a plurality of reference points with x and y axial positions according to light source reflection information of the main image, calculates ideal z axial positions and actual projection lengths of the reference points to deduce a correction value relative to the reference points, makes the main image extend to corresponding positions according to the corrected z axial positions of the reference points to simulate and generate a curved main image, and finally synthesizes the curved main image and the plane image to obtain a simulation image.
Description
Technical field
The present invention relates to 3D image treatment method, more particularly, is a kind of method of image simulation revisal.
Background technology
Along with the progress of science and technology in recent years, image display technology has the breakthrough of showing property, the display frame of therefore general 2D plane cannot meet people for visual perception's requirement, so brought up the birth of the 3D image (3-dimensional stereoscopic display) of emulation.
The image-forming principle of 3D image, the main image that allows images of left and right eyes see respectively different parallaxes that utilizes, to cause the emulation visual experience of far and near sense.And the making of current 3D image is mainly to see through two camera lens modules to obtain two images with subtense angle, then to form, there is the 3D image that stereoscopic vision is experienced after synthetic processing.Yet the image that adopts two camera lens modules to obtain different parallaxes is made the mode of 3D image, not only previous operations need expend the plenty of time, a plurality of camera lens modules of another use also represent that its cost is higher, and for fear of the 3D image after synthetic, have the situation of color distortion, must use the camera lens module with high pixel, more can cause the significantly raising of cost.
Moreover, adopting the synthetic 3D image of aforesaid way made, the archives capacity of its 3D image is also all quite huge, and the problem that therefore still has consumption to account for memory body space exists.
Summary of the invention
Main purpose of the present invention, is to provide a kind of method of image simulation revisal, its have can low-cost complete flat image emulation job and synthetic after the less effect of image file capacity.
For reaching aforesaid object, the invention provides a kind of method of image simulation revisal, include following steps:
(a) store a flat image;
(b) utilize a camera to take an instant video with this flat image, according to this flat image, compare out the different parts in this instant video, and take out after this different piece is judged as to a main body image;
(c) the light source reflective information according to this main body image selects the axially datum mark of position of a plurality of x of having, y, and the axial position of the desirable z that calculates this each datum mark, and the actual projected length of this each datum mark, according to the actual projected length of this each datum mark, draw the compensating value of relative datum point, with this compensating value, the desirable z of this each datum mark is axially carried out to revisal in position again, make the z of this each datum mark after revisal axially extend to correspondence position in position, to simulate the main body image that generates curved surface;
(d) by after the main body image through curved surface and this flat image synthetic (Interweaving), can obtain a simulating image.
Preferably, in step (b), its comparison mode, according to the GTG difference in this flat image and instant video picture element, when the GTG difference of picture element is greater than a predetermined value, judges that this picture element is the picture element of main body image, and by this to obtain this main body image.
Preferably, in step (c), light source reflective information according to this main body image, those parts of judging in this main body image should belong to concave surface, those parts should belong to convex surface, use and judge the stereoscopic-state of this main body image in true environment, and select by this axially datum mark of position of a plurality of x of having, y.
Further, in step (c), further in generation, goes out to include a compensating value to parallactic angle compensating value and an anglec of rotation compensating value with trigonometric function formula to utilize the axial position of the z calculating.And go out to include this present age after the compensating value of parallactic angle compensating value and this anglec of rotation compensating value, then with the approaching rule of Riemann's element, get the limit and obtain the more real compensating value of convergence, and this compensating value can be in order to carry out revisal to the light source of this each datum mark and aberration.
And above-mentioned and other object of the present invention and advantage are not difficult from the detailed description and accompanying drawing of following selected embodiment, gain in-depth understanding.
Accompanying drawing explanation
Fig. 1 is steps flow chart calcspar of the present invention.
Fig. 2 is the schematic diagram that the present invention calculates actual projected length.
Embodiment
Refer to Fig. 1, the method for a kind of image simulation revisal provided by the invention, includes following steps:
(a) first, set up a flat image in a memory body, it can utilize a camera to take in advance this flat image, and this flat image is stored in this memory body.
(b) utilize this camera to take an instant video with this flat image, and compare out the different parts in this instant video according to this flat image, then take out after this different piece is judged as to a main body image.Its comparison mode, according to the GTG difference in this flat image and instant video picture element, when the GTG difference of picture element is greater than a predetermined value, judges that this picture element is the picture element of main body image, and thus to obtain this main body image.
(c) according to the light source reflective information of this main body image, those parts of judging in this main body image should belong to concave surface, those parts should belong to convex surface, meaning, by the difference of light source reflective information, to judge the stereoscopic-state of this main body image in true environment, and select by this axially datum mark of position of a plurality of x of having, y;
Then calculate the axial position of desirable z of this each datum mark, and the actual projected length of this each datum mark, according to the actual projected length of this each datum mark, draw the compensating value of relative datum point, with this compensating value, the desirable z of this each datum mark is axially carried out to revisal in position again, make the z of this each datum mark after revisal axially extend to correspondence position in position, to simulate the main body image that generates curved surface.
Calculate the axial position of desirable z of this each datum mark and the step of actual projected length, illustrate as follows:
For example the rectangular equation formula of a ball is x
2+ y
2=z
2.
And the radius that r is ball, so x=γ cos θ; Y=rsin θ; Z=C1(constant)
Carry it into x
2+ y
2=z
2formula in, can draw:
Again, cos
2θ+sin
2θ=1
So r
2(1)=z
2→ γ
2=z
2→ γ=z, and can utilize thus x, the y that each datum mark is known axially to calculate the axial bit length of its desirable z in position, and the length of the axial position of z equal the radius r of ball.
And when z is when axially the length of position is known, axially in length generation of position, goes out to include a compensating value to parallactic angle compensating value and an anglec of rotation compensating value can further to utilize z.
As shown in Figure 2, known according to trigonometric function formula
and aforementioned calculating formula has obtained r=z, therefore
when
time, r=ρ, now ρ is actual projected length.
And further consider the change of pitch angle difference of this main body image, therefore again a variable value ι is added, make the rectangular coordinates equation of ball be:
x
2+ιy
2=C1
From aforementioned calculating formula, x=rcos θ, y=rsin θ, and will
substitution x
2+ ι y
2in the rectangular equation formula of=C1, obtain:
Wherein ι is complex variable value,
for to parallactic angle compensating value, θ is anglec of rotation compensating value,
for actual projected length.And thus carrying out image simulation emulation corresponding to emulation according to the degree of freedom of main body movement track.
Then with the approaching rule of Riemann's element, getting the limit again obtains the more real compensating value of convergence:
C2 wherein, C3, C4, C5 is respectively a constant.And can draw according to the actual projected length of this each datum mark the compensating value of relative datum point thus, then with drawn compensating value, the desirable z of this each datum mark is axially carried out to revisal in position.In detail, main body image of the present invention is to extend to correspondence position according to the axial position of the z of this each datum mark after revisal, with simulation, generate the main body image of curved surface, then can carry out for the main body image through curved surface the revisal action of light source and aberration, and the point-to-point emulation of mat and aspectant revisal, significantly promote the soften of the curved surface after this main body image curved surface, and then make the main body image after curved surface more natural.
(d) last, then by the main body image through curved surface with this flat image after a processing unit is synthesized (Interweaving), can obtain the simulating image that plane 2D+ simulates curved surface 3D.
Actual operation situation of the present invention is as shown in annex one, in annex one photo, shown hand is because of in mobile status, therefore can be according to its light source reflective information, to judge concave/convex, and select by this axially datum mark of position of a plurality of x of having, y, to carry out the computing of follow-up simulation curved surface, and the revisal of light source and aberration action; And annex two is in order to show that the present invention is after simulating the computing of curved surface, it is for light source and the forward and backward image comparison photo of achromatic, and in this actual test, adopt the mode of strengthening image contrast to carry out the revisal action of light source and aberration, and can know and find out by annex two its photos after revisal, redness in its image of image after revisal is more bright-coloured, and the details lines of its hand more obviously, truly, and can reach by this image effect of high image quality.
And image simulation correction method provided by the present invention, only need be with a camera, the flat image simulation of 2D can be generated to the 3D image of emulation, not only can effectively reduce equipment cost and reduce outside user's human load, utilization of the present invention calculates the compensating value of this each datum mark, and can be for the light source of the main body image of its curved surface, aberration and curved surface carry out emulation revisal, and by point-to-point emulation and aspectant revisal, more can significantly promote curved surface soften and the validity of this main body image after curved surface, and and then make the present invention only must adopt the camera lens module that general cost is cheaper, can reach the image effect of high image quality.Moreover, because the present invention only carries out the emulation revisal operation of curved surface for the main body image that is different from flat image in instant video, therefore except can effectively reducing its processing time, more can reach the effect of the archives capacity that significantly dwindles its resultant image.
Claims (6)
1. a method for image simulation revisal, is characterized in that, it includes following steps:
(a) store a flat image;
(b) utilize a camera to take an instant video with this flat image, according to this flat image, compare out the different parts in this instant video, and take out after this different piece is judged as to a main body image;
(c) the light source reflective information according to this main body image selects the axially datum mark of position of a plurality of x of having, y, and the axial position of the desirable z that calculates this each datum mark, and the actual projected length of this each datum mark, according to the actual projected length of this each datum mark, draw the compensating value of relative datum point, with this compensating value, the desirable z of this each datum mark is axially carried out to revisal in position again, make the z of this each datum mark after revisal axially extend to correspondence position in position, to simulate the main body image that generates curved surface;
(d) after the main body image through curved surface and this flat image is synthetic, can obtain a simulating image.
2. the method for image simulation revisal according to claim 1, it is characterized in that: in step (b), comparison mode is according to the GTG difference in this flat image and instant video picture element, when the GTG difference of picture element is greater than a predetermined value, judge that this picture element is the picture element of main body image, and thus to obtain this main body image.
3. the method for image simulation revisal according to claim 1, it is characterized in that: in step (c), light source reflective information according to this main body image, those parts of judging in this main body image should belong to concave surface, those parts should belong to convex surface, to judge the stereoscopic-state of this main body image in true environment, and select thus the axially datum mark of position of a plurality of x of having, y.
4. the method for image simulation revisal according to claim 1, is characterized in that: in step (c), further generation goes out to include a compensating value to parallactic angle compensating value and an anglec of rotation compensating value with trigonometric function formula to utilize the axial position of the z calculating.
5. the method for image simulation revisal according to claim 4, it is characterized in that: go out to include this present age after the compensating value of parallactic angle compensating value and this anglec of rotation compensating value, then with the approaching rule of Riemann's element, get the limit and obtain the more real compensating value of convergence.
6. the method for image simulation revisal according to claim 5, is characterized in that: this compensating value is carried out revisal in order to the light source aberration to this each datum mark.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102100848A TW201428684A (en) | 2013-01-10 | 2013-01-10 | Compensation method for image emulation |
TW102100848 | 2013-01-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103929633A true CN103929633A (en) | 2014-07-16 |
Family
ID=51147692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410009199.4A Pending CN103929633A (en) | 2013-01-10 | 2014-01-09 | Image simulation correction method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103929633A (en) |
TW (1) | TW201428684A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11138327B2 (en) | 2018-12-27 | 2021-10-05 | Industrial Technology Research Institute | Privacy data integration method and server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201114244A (en) * | 2009-10-15 | 2011-04-16 | Chunghwa Picture Tubes Ltd | Method for generating a 3D image |
TW201228350A (en) * | 2010-12-28 | 2012-07-01 | Himax Media Solutions Inc | Three-dimensional on-screen display imaging system and method |
CN102789648A (en) * | 2011-05-17 | 2012-11-21 | 三星电子株式会社 | Apparatus and method for converting 2d content into 3d content, and computer-readable storage medium thereof |
CN102857777A (en) * | 2012-09-05 | 2013-01-02 | 深圳市华星光电技术有限公司 | Display system and display control method thereof |
-
2013
- 2013-01-10 TW TW102100848A patent/TW201428684A/en unknown
-
2014
- 2014-01-09 CN CN201410009199.4A patent/CN103929633A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201114244A (en) * | 2009-10-15 | 2011-04-16 | Chunghwa Picture Tubes Ltd | Method for generating a 3D image |
TW201228350A (en) * | 2010-12-28 | 2012-07-01 | Himax Media Solutions Inc | Three-dimensional on-screen display imaging system and method |
CN102789648A (en) * | 2011-05-17 | 2012-11-21 | 三星电子株式会社 | Apparatus and method for converting 2d content into 3d content, and computer-readable storage medium thereof |
CN102857777A (en) * | 2012-09-05 | 2013-01-02 | 深圳市华星光电技术有限公司 | Display system and display control method thereof |
Non-Patent Citations (3)
Title |
---|
GEORGE VOGIATZIS ETC.: "Multiview Strero via Volumetric Graph-Cuts and Occulusion Robust Photo-Consistency", 《IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE》 * |
张爱军 等: "基于规则的曲面体三维重建", 《计算机集成制造***》 * |
王开盛: "一种高效鲁棒的多视图三维重建算法", 《万方学位论文》 * |
Also Published As
Publication number | Publication date |
---|---|
TW201428684A (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11398042B2 (en) | Method for displaying a virtual image, a virtual image display system and device, a non-transient computer-readable storage medium | |
US11632537B2 (en) | Method and apparatus for obtaining binocular panoramic image, and storage medium | |
US20210350630A1 (en) | Optimizing head mounted displays for augmented reality | |
CN107646126B (en) | Camera pose estimation for mobile devices | |
CN106251403B (en) | A kind of methods, devices and systems of virtual three-dimensional Scene realization | |
CN105408937B (en) | Method for being easy to computer vision application initialization | |
US9088787B1 (en) | System, method and computer software product for providing visual remote assistance through computing systems | |
US20210283496A1 (en) | Realistic Virtual/Augmented/Mixed Reality Viewing and Interactions | |
JPWO2011033673A1 (en) | Image processing device | |
WO2012147363A1 (en) | Image generation device | |
CN104661010A (en) | Method and device for establishing three-dimensional model | |
CN103971408A (en) | Three-dimensional facial model generating system and method | |
JP2021518701A (en) | Multifocal plane-based method (MFP-DIBR) for producing a stereoscopic viewpoint in a DIBR system | |
KR20170044318A (en) | Method for collaboration using head mounted display | |
WO2017101780A1 (en) | Three-dimensional stereoscopic display processing method and apparatus, storage medium and electronic device | |
US9225968B2 (en) | Image producing apparatus, system and method for producing planar and stereoscopic images | |
US10296098B2 (en) | Input/output device, input/output program, and input/output method | |
CN102521876A (en) | Method and system for realizing three dimensional (3D) stereoscopic effect of user interface | |
CN103929633A (en) | Image simulation correction method | |
JP2023551864A (en) | Three-dimensional (3D) facial feature tracking for autostereoscopic telepresence systems | |
CN110060349B (en) | Method for expanding field angle of augmented reality head-mounted display equipment | |
CN103530869B (en) | For mating the system and method that moving mass controls | |
Matsuda et al. | Poster: Creating a user-specific perspective view for mobile mixed reality systems on smartphones | |
CN115222793A (en) | Method, device and system for generating and displaying depth image and readable medium | |
US20170302904A1 (en) | Input/output device, input/output program, and input/output method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |
Application publication date: 20140716 |