CN109089104A - A kind of naked eye 3D animated image method for transformation - Google Patents
A kind of naked eye 3D animated image method for transformation Download PDFInfo
- Publication number
- CN109089104A CN109089104A CN201811241813.4A CN201811241813A CN109089104A CN 109089104 A CN109089104 A CN 109089104A CN 201811241813 A CN201811241813 A CN 201811241813A CN 109089104 A CN109089104 A CN 109089104A
- Authority
- CN
- China
- Prior art keywords
- image
- depth
- picture
- key frame
- animated
- 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
Abstract
The invention discloses a kind of naked eye 3D animated image method for transformation, including following step of converting: S1, being defined, S2, controlled parallax to the depth of field, S3, image segmentation, S4, creation grayscale image, S5, rebuild to grid model, the conversion processing of S6,3D rendering and S7, be finely adjusted processing to the 3D rendering after conversion, to the thinner of image segmentation, more there is sense of depth in the world 3D that depth extraction and depth assignment generate, and picture three-dimensional sense is truer.On the conversion base of original 3D animated image, when carrying out image dividing processing to 2D animated image, the technical solution is handled more careful, it is divided the image into according to key frame even closer, to more be there is relief 3D animated image, its sense of depth can also be reinforced with the careful degree of image segmentation, make the clarity of 3D animated image higher, provide more preferably viewing to viewing person and experience.
Description
Technical field
The present invention relates to naked eye 3D field of animation technology, specially a kind of naked eye 3D animated image method for transformation.
Background technique
Naked eye 3D technology, that is, not two eyes in left and right can not allowed to see two width from display screen by any tool
They are emitted to brain by the fermentation with parallax, different from, and people will generate three-dimensional sense, it is the same as spectacle 3D technology one
Sample also with human eye principle of parallax, by sending to different pictures respectively to viewer or so two, to reach vertical
The visual effect of body.
Existing 3D animated image is by 2D image by obtaining after a series of processing, but current 3D animation
Image technique, after long-term viewing, groups of people will appear dizzy phenomenon, caused by being unintelligible after converting 3D picture,
I.e. three-dimensional sense is not strong, be specifically due to when 2D animated image is split, what depth extraction and depth assignment generated
The sense of depth of 3D is poor, so that viewing experience is influenced, for this purpose, we have proposed a kind of naked eye 3D animated image method for transformation.
Summary of the invention
The technical problem to be solved by the present invention is to overcome the existing defects, provides a kind of naked eye 3D animated image conversion side
Method can effectively solve the problems in background technique.
To achieve the above object, the invention provides the following technical scheme: a kind of naked eye 3D animated image method for transformation, including
Following step of converting:
S1, the depth of field is defined: when 2D image is converted into 3D rendering, needs to calculate between target and viewer
Distance forms parallax;
S2, parallax is controlled: is 6.4cm according to the average pupil of two eyes of viewer distance, 2D image is turned
When changing 3D rendering into should the range to parallax reasonably set;
S3, image segmentation: when 2D image plays, using each key frame as basic unit, when playing, according to key
Frame is split processing to image;
S4, creation grayscale image: a grayscale image, ruler are converted to according to every width picture that key frame is divided in step S3
Very little identical with original 2D picture, the gray scale of different levels indicates that the depth of the different objects in picture, black and white indicate depth of field model
It encloses, recently, black is farthest, and each object of different depth in every key frame picture is separated, is needed different for white
On depth line, sketch the contours of each role, article, position edge;
S5, grid model is rebuild: after the depth value of each image determines, each image can be produced vertical
Body imaging needs to rebuild the grid model of object to meet the daily experience of viewer, increases steric information, including curved surface
Curvature information and depth information, integrate this partial information, just can ensure that object when passing in and out sight in incremental
State;
S6, human brain processing depth information mode extremely to the flexible combination of these modes, assist skill that could enhance
The quality of 3D animated image avoids the conflict between Same Scene different objects, to complete the conversion of 3D animated image;
S7, after obtaining 3D animated image, will be to front according to 3D effect the step of, constantly finely tunes, to reach best
3D display effect.
As a preferred technical solution of the present invention, parallax in the step S1 is from two for having certain distance
Direction difference caused by same target is observed on point, the distance between parallax and two viewpoints is obtained, the depth of field can be calculated.
As a preferred technical solution of the present invention, the broadcasting time point of key frame picture is determined in the step S3, respectively
A key frame picture can reflect that the general picture of the 3D animation, the concern angle value of each key frame picture are divided equally not big jointly
In or equal to scheduled threshold values.
As a preferred technical solution of the present invention, the image segmentation main target in the step S3 is to draw image
The object or region that are divided into the real world contained in the tone have the component part of strong correlation, deep to the thinner of image segmentation
Degree, which extracts the world 3D generated with depth assignment, more sense of depth, and picture three-dimensional sense is truer.
As a preferred technical solution of the present invention, is produced from depth map to stereo pairs in the step S5, be
Left-eye image and eye image are produced from original image combination depth map, right and left eyes image is by carrying out to the object after segmentation
It is obtained after translation.
Compared with prior art, the beneficial effects of the present invention are: on the conversion base of original 3D animated image, right
When 2D animated image carries out image dividing processing, which is handled more careful, is divided the image into according to key frame
Even closer, to more be there is relief 3D animated image, sense of depth also can be with the careful degree of image segmentation
Reinforce, make the clarity of 3D animated image higher, provides more preferably viewing to viewing person and experience.
Specific embodiment
The present invention provides a kind of technical solution: a kind of naked eye 3D animated image method for transformation, including following step of converting:
S1, the depth of field is defined: when 2D image is converted into 3D rendering, needs to calculate between target and viewer
Distance forms parallax;
S2, parallax is controlled: is 6.4cm according to the average pupil of two eyes of viewer distance, 2D image is turned
When changing 3D rendering into should the range to parallax reasonably set;
S3, image segmentation: when 2D image plays, using each key frame as basic unit, when playing, according to key
Frame is split processing to image;
S4, creation grayscale image: a grayscale image, ruler are converted to according to every width picture that key frame is divided in step S3
Very little identical with original 2D picture, the gray scale of different levels indicates that the depth of the different objects in picture, black and white indicate depth of field model
It encloses, recently, black is farthest, and each object of different depth in every key frame picture is separated, is needed different for white
On depth line, sketch the contours of each role, article, position edge;
S5, grid model is rebuild: after the depth value of each image determines, each image can be produced vertical
Body imaging needs to rebuild the grid model of object to meet the daily experience of viewer, increases steric information, including curved surface
Curvature information and depth information, integrate this partial information, just can ensure that object when passing in and out sight in incremental
State;
S6, human brain processing depth information mode extremely to the flexible combination of these modes, assist skill that could enhance
The quality of 3D animated image avoids the conflict between Same Scene different objects, to complete the conversion of 3D animated image;
S7, after obtaining 3D animated image, will be to front according to 3D effect the step of, constantly finely tunes, to reach best
3D display effect.
Parallax in step S1 is the direction difference caused by same target from two points for having certain distance,
The distance between parallax and two viewpoints are obtained, the depth of field can be calculated.
Determine that the broadcasting time point of key frame picture, each key frame picture can reflect the 3D animation jointly in step S3
General picture, the concern angle value of each key frame picture respectively great Yu Huodengyu scheduled threshold values.
Image segmentation main target in step S3 be divide an image into the real world contained in the tone object or
There is the component part of strong correlation in region, and to the thinner of image segmentation, the world 3D that depth extraction is generated with depth assignment is got over
There is sense of depth, picture three-dimensional sense is truer.
In step S5 from depth map to stereo pairs produce, be from original image combination depth map production left-eye image with
Eye image, right and left eyes image are by obtaining after carrying out translation to the object after segmentation.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.
Claims (5)
1. a kind of naked eye 3D animated image method for transformation, it is characterised in that: including following step of converting:
S1, the depth of field is defined: when 2D image is converted into 3D rendering, need to calculate between target and viewer away from
From formation parallax;
S2, parallax is controlled: is 6.4cm according to the average pupil of two eyes of viewer distance, 2D image is converted into
When 3D rendering should the range to parallax reasonably set;
S3, image segmentation: when 2D image plays, using each key frame as basic unit, when playing, according to key frame pair
Image is split processing;
S4, creation grayscale image: being converted to a grayscale image according to every width picture that key frame is divided in step S3, size and
Original 2D picture is identical, and the gray scale of different levels indicates the depth of the different objects in picture, and black and white indicates field depth, white
Color is nearest, and black is farthest, and each object of different depth in every key frame picture is separated, is needed in different depth lines
On, sketch the contours of each role, article, position edge;
S5, grid model is rebuild: after the depth value of each image determines, each image can be produced it is three-dimensional at
Picture needs to rebuild the grid model of object to meet the daily experience of viewer, increases steric information, the curvature including curved surface
Information and depth information, integrate this partial information, just can ensure that object when passing in and out sight in incremental shape
State;
S6, human brain processing depth information mode extremely to the flexible combination of these modes, assist skill that could enhance 3D dynamic
The quality of picture picture avoids the conflict between Same Scene different objects, to complete the conversion of 3D animated image;
S7, after obtaining 3D animated image, will be to front according to 3D effect the step of, constantly finely tunes, so that it is aobvious to reach best 3D
Show effect.
2. a kind of naked eye 3D animated image method for transformation according to claim 1, it is characterised in that: in the step S1
Parallax is the direction difference caused by same target from two points for having certain distance, obtains parallax and two viewpoints
The distance between, the depth of field can be calculated.
3. a kind of naked eye 3D animated image method for transformation according to claim 1, it is characterised in that: in the step S3 really
Determine the broadcasting time point of key frame picture, each key frame picture can reflect the general picture of the 3D animation, each pass jointly
The concern angle value of key frame picture respectively great Yu Huodengyu scheduled threshold values.
4. a kind of naked eye 3D animated image method for transformation according to claim 1, it is characterised in that: in the step S3
Image segmentation main target is that the object for dividing an image into the real world contained in the tone or region have the group of strong correlation
At part, to the thinner of image segmentation, more there are sense of depth, picture three-dimensional sense in the world 3D that depth extraction and depth assignment generate
It is more true.
5. a kind of naked eye 3D animated image method for transformation according to claim 1, it is characterised in that: in the step S5 from
Depth map is produced to stereo pairs, is to produce left-eye image and eye image, right and left eyes figure from original image combination depth map
It seem by being obtained after carrying out translation to the object after segmentation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811241813.4A CN109089104A (en) | 2018-10-18 | 2018-10-18 | A kind of naked eye 3D animated image method for transformation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811241813.4A CN109089104A (en) | 2018-10-18 | 2018-10-18 | A kind of naked eye 3D animated image method for transformation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109089104A true CN109089104A (en) | 2018-12-25 |
Family
ID=64843937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811241813.4A Pending CN109089104A (en) | 2018-10-18 | 2018-10-18 | A kind of naked eye 3D animated image method for transformation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109089104A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082988A (en) * | 2007-06-19 | 2007-12-05 | 北京航空航天大学 | Automatic deepness image registration method |
CN101110126A (en) * | 2007-06-19 | 2008-01-23 | 北京大学 | Method for re-establishing three-dimensional model gridding |
CN101287143A (en) * | 2008-05-16 | 2008-10-15 | 清华大学 | Method for converting flat video to tridimensional video based on real-time dialog between human and machine |
CN103443826A (en) * | 2011-01-10 | 2013-12-11 | 杭州共形数字科技有限公司 | Mesh animation |
-
2018
- 2018-10-18 CN CN201811241813.4A patent/CN109089104A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082988A (en) * | 2007-06-19 | 2007-12-05 | 北京航空航天大学 | Automatic deepness image registration method |
CN101110126A (en) * | 2007-06-19 | 2008-01-23 | 北京大学 | Method for re-establishing three-dimensional model gridding |
CN101287143A (en) * | 2008-05-16 | 2008-10-15 | 清华大学 | Method for converting flat video to tridimensional video based on real-time dialog between human and machine |
CN103443826A (en) * | 2011-01-10 | 2013-12-11 | 杭州共形数字科技有限公司 | Mesh animation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101282492B (en) | Method for regulating display depth of three-dimensional image | |
CN104112275B (en) | A kind of method and device for generating viewpoint | |
Lai et al. | An effective hybrid depth-generation algorithm for 2D-to-3D conversion in 3D displays | |
MX2020009791A (en) | Multifocal plane based method to produce stereoscopic viewpoints in a dibr system (mfp-dibr). | |
KR20060073962A (en) | System and method for rendering 3-d images on a 3-d image display screen | |
CN103986925B (en) | based on the stereoscopic video visual comfort evaluation method of luminance compensation | |
CN102360489B (en) | Method and device for realizing conversion from two-dimensional image to three-dimensional image | |
US9754379B2 (en) | Method and system for determining parameters of an off-axis virtual camera | |
CN101287143A (en) | Method for converting flat video to tridimensional video based on real-time dialog between human and machine | |
CN103384340B (en) | Method for obtaining 3D imaging image from single 2D image | |
CN102685369B (en) | Eliminate the method for right and left eyes image ghost image, ghost canceller and 3D player | |
CN105723705A (en) | Generation of images for an autosteroscopic multi-view display | |
CN104869386A (en) | Virtual viewpoint synthesizing method based on layered processing | |
CN101562754A (en) | Method for improving visual effect of plane image transformed into 3D image | |
CN105657401A (en) | Naked eye 3D display method and system and naked eye 3D display device | |
CN105263011B (en) | Multi-view image shows equipment and its multi-view image display methods | |
WO2007017834A3 (en) | Disparity value generator | |
CN104717514B (en) | Rendering multi-viewpoint images system and method | |
CN105120252A (en) | Depth perception enhancing method for virtual multi-view drawing | |
US20180322689A1 (en) | Visualization and rendering of images to enhance depth perception | |
CN102724539A (en) | 3D (three dimension) display method and display device | |
US10122987B2 (en) | 3D system including additional 2D to 3D conversion | |
CN104052984B (en) | A kind of inverse vision area antidote and device | |
CN109089104A (en) | A kind of naked eye 3D animated image method for transformation | |
CN105578171B (en) | A kind of image-signal processing method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181225 |
|
RJ01 | Rejection of invention patent application after publication |