CN102724523A - Image three-dimensional display method based on pixel - Google Patents

Image three-dimensional display method based on pixel Download PDF

Info

Publication number
CN102724523A
CN102724523A CN2011100792878A CN201110079287A CN102724523A CN 102724523 A CN102724523 A CN 102724523A CN 2011100792878 A CN2011100792878 A CN 2011100792878A CN 201110079287 A CN201110079287 A CN 201110079287A CN 102724523 A CN102724523 A CN 102724523A
Authority
CN
China
Prior art keywords
dimensional
image
pixel
data
depth
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
CN2011100792878A
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.)
SHANGHAI SHIMAI INFORMATION TECHNOLOGY CO LTD
Original Assignee
SHANGHAI SHIMAI INFORMATION TECHNOLOGY 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 SHANGHAI SHIMAI INFORMATION TECHNOLOGY CO LTD filed Critical SHANGHAI SHIMAI INFORMATION TECHNOLOGY CO LTD
Priority to CN2011100792878A priority Critical patent/CN102724523A/en
Publication of CN102724523A publication Critical patent/CN102724523A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an image three-dimensional display method based on a pixel. A pre-made configuration file is taken as calculation reference data of image three-dimensional processing, a two-dimensional visual information layout depth difference of a source image is increased by using a silhouette visual illusion principle, a mode of capturing a visual signal by eyeballs is interfered by using an interference image generated by a spectral wavelength difference, and an image three-dimensional display effect is realized. According to the three-dimensional display method provided by the invention, an effect of image three-dimensional display can be realized without the restriction of viewing angels, technology realization is easy and practical, and realization cost is saved.

Description

A kind of method that shows based on the image three-dimensional of pixel
Technical field
The present invention relates to the implementation method that a kind of three-dimensional shows, relate in particular to a kind of method that shows based on the image three-dimensional of pixel.
Background technology
Along with the development rapidly of 3D produce market, its application relates on the products such as film, TV, advertisement and recreation, the grand occasion that letting a hundred schools contend appears in the 3D Display Technique in recent years.The 3D product technology of releasing in the market mainly is divided into the 3D Display Technique mode that needs passive glasses and need not passive glasses; Though it is comparatively convenient to the beholder wherein to need not the 3D Display Technique of passive glasses; But there is considerable restraint or very high to the requirement meeting of terminal equipment the position to the beholder, does not also satisfy market-oriented demand.
1., the look point-score about needing the 3D Display Technique of auxiliary eyeglasses to adopt separately there be the main method of two eye pattern pictures:; 2., light point-score; 3., time-sharing procedure.The 3D Display Technique that adopts these three kinds of methods to realize has been put in the applications such as TV, film and advertisement widely.But these technology as far as present realize having following problem:
1, the requirements of making to source images is high, and manufacture difficulty is big, needs high equipment or sophisticated technical staff to adjust repeatedly usually and could obtain optimum efficiency;
2, be difficult to can both correctly experience the spatial relation in the image arbitrarily angled, this not convenient shortcoming can be brought very bad influence to user experience;
3, the display device to image requires high, harsh to technology realization requirement mostly.The light point-score requires hardware to play up 2 cover images simultaneously usually just can reach target effect, and time-sharing procedure requires 240 hertz refreshing frequency just can watch not have the optimum efficiency that trails especially.
Through in State Intellectual Property Office's patent database, retrieving to 3D Display Realization technology; Publication number is CN101180891, and name is called and discloses a kind of stereo-picture demonstration, 3 D image display method and computer program that need not to adopt Zoom lens and can correctly watch the All Ranges of stereo-picture and can alleviate the Computer Processing load and can when image is watched in any position, also form the nature 3-D view a plurality of beholders at retina in the patent application of " stereoscopic display device, 3 D image display method and computer program ".What adopt in this patent application is the mode of calculating the boundary parallax with the cuboid size, does not meet the eyes imaging basic principle, and the picture that human eye is seen can area diminishes along with distance is outlying, and the actual stereo-picture of watching should be the terrace with edge shape.Pressure especially can not obtain ideal effect in the marginal portion with cuboid size calculation interferogram picture.
Summary of the invention
The object of the invention provides a kind of method that shows based on the image three-dimensional of pixel; Adopt the calculating reference data of the configuration file of making in advance as the processing of image three-dimensional; Utilize outline illusion principle to increase source images two dimensional surface visual information depth of placement difference; And utilize spectral wavelength difference to generate interference image and disturb eyeball to capture the mode of visual signal, realize image three-dimensional display effect.Three-dimensional provided by the invention shows, does not receive the restriction of viewing angle, and realize simple, the cost that conservation techniques realizes.
A kind of method that shows based on the image three-dimensional of pixel comprises following steps:
1, reads source image file, source image file is reduced into data matrix data and the storage of describing image pixel;
Each data cell in the data matrix has all comprised the depth of field numerical value of pixel in three-dimensional environment of correspondence in the source images, promptly three-dimensional key message file.The bearer type of message file can be " image type " or " data type ", and the image type carrier can be the bitmap images of any file format; Data type then can be used the data format that any one can the data of description matrix, and the extend markup language (XML) that meets the ECMA-388 standard like use comes the data matrix is described.
2, read the depth of field data file,, then the depth of field data image file is reduced to image pixel matrix data and storage if the depth of field data file is an image file format;
3, according to the three-dimensional strength factor of setting in advance, a passage that obtains among the R, G, B color channel of these image pixel matrix data is tabulated as depth of field reference data;
The three-dimensional strength factor is a reference coefficient that source images is carried out when three-dimensional is handled intensity that is set by the operator.
If the depth of field data file is specific data capsule file format (as meeting the ECMA-388 standard) extend markup language (XML) file; Then program becomes a matrix with data parsing; In the matrix each is corresponding one by one with each pixel in the source images, and this matrix is depth of field tabulation.
4, from depth of field tabulation, take out maximum, and convert this value the upper limit of the threshold value of numeral when image being carried out three-dimensional calculating into, and be made as 0 to the lower limit of threshold value;
5, from depth of field tabulation, read depth of field reference value, and this value is obtained handling the three-dimensional intensity of current pixel divided by the upper limit of threshold value, three-dimensional intensity multiply by the three-dimensional side-play amount that the three-dimensional strength factor obtains the current pixel of source images;
(x, value y) is made as D to program with the current pixel M that reads m, each pixel D mAll have horizontal level attribute x and upright position attribute y in the source images matrix.According to x and y, from depth of field tabulation, read depth of field reference value, and with this value divided by the upper limit of threshold value to obtain handling the three-dimensional intensity of current pixel.Then intensity multiply by the three-dimensional side-play amount that the three-dimensional strength factor obtains the current pixel of source images.
6, the program pixel in the picture element matrix of traversal source images one by one;
7, revise the color channel values of the red, green, blue of pixel according to the three-dimensional side-play amount, form new image pixel information;
With pixel D mThe value of red channel change the pixel M of F unit (x-F, red color channel value y) left into; With pixel D mThe green channel value change the pixel M of F unit (x+F, green channel value y) to the right into; With pixel D mThe blue channel value change to the right the pixel M of F unit into (F be the three-dimensional side-play amount for x+F, y) blue channel value.
Be R '=M (x-F, y) .R;
G’=M(x+F,y).G;
B’=M(x+F,y).B。
R ' is for revising the red color channel value of back pixel, and G ' is for revising the green tint channel value of back pixel, and B ' is for revising the blue color channel values of back pixel.
Image three-dimensional display packing provided by the present invention is supported to handle great amount of images through the configuration file high-efficiency real-time of making in advance.Prepare the three-dimensional key message file of source images in advance, can promote the speed that three-dimensional is handled through reading three-dimensional key message file in advance.Support the three-dimensional of decomposing large-scale image to handle simultaneously, and same section content in the Automatic Optimal processing exploded view picture, can significantly reduce three-dimensional and handle the performance of processors requirement.
The employed data file of neutral body calculating of the present invention is little, and the data medium that adopts in the implementation procedure all meets the ECMA-388 standard-required, is applicable to various computer equipments.Like the equipment of various computer operating systems, and all kinds of portable mobile computing terminal, and all kinds of can with the equipment of Internet connection and display web page.
The present invention is to add a plurality of two-dimensional space information to source images with the method for source images three-dimensional, can regard the projection of three dimensions in two-dimensional space as because of source images, then selects reference planes, ignores the plane parallel with reference planes and calculates to save.Can not intersect to produce projection in the plane because of parallel plane,, after selecting reference planes, can obtain the projection of all objects in these reference planes in the three dimensions according to the definition of three vertical lines in the mathematics solid geometry.The observer then can observe object image behind when watching this projection, form the effect of image stereo display.
Three-dimensional display packing provided by the invention, the observer does not receive the restriction of viewing angle can reach the effect that the picture three-dimensional shows, and its realization is simple, the cost of conservation techniques realization simultaneously.
Description of drawings
A kind of method flow diagram that shows based on the image three-dimensional of pixel of Fig. 1.
Embodiment
Below in conjunction with accompanying drawing content proposed by the invention is carried out detailed description, Fig. 1 is the basic flow sheet of image three-dimensional display packing proposed by the invention.
At first read source image file, source image file is reduced into data matrix data and the storage of describing image pixel.Each data cell in the data matrix has all comprised the depth of field numerical value of pixel in three-dimensional environment of correspondence, i.e. three-dimensional key message file in the source images.The bearer type of message file can be " image type " or " data type ", and the image type carrier can be the bitmap images of any file format; Data type then can be used the data format that any one can the data of description matrix, for example uses the extend markup language (XML) that meets the ECMA-388 standard to come the data matrix is described.
Read the depth of field data file,, then the depth of field data image file is reduced to image pixel matrix data and storage if the depth of field data file is an image file format.According to the three-dimensional strength factor that the observer sets in advance, a passage that obtains among the R, G, B color channel of these image pixel matrix data is tabulated as depth of field reference data.The three-dimensional strength factor is a reference coefficient that source images is carried out when three-dimensional is handled intensity that is set by the operator.If the depth of field data file is specific data capsule file format (as meeting the ECMA-388 standard) extend markup language (XML) file, then program becomes an array with data parsing, each in the array and source images D mIn each pixel corresponding one by one, this array is depth of field tabulation.
From color channel, take out the maximum colours value, and convert this value the upper limit of the threshold value of numeral when image being carried out three-dimensional calculating into, and be made as 0 to the lower limit of threshold value; From depth of field tabulation, take out maximum as the upper limit of image being carried out the threshold value of three-dimensional when calculating, and be made as 0 to the lower limit of threshold value.Program is made as D with the value of current pixel of reading m, each pixel D mAll have horizontal level attribute x and upright position attribute y in the source images matrix.According to x and y, from depth of field tabulation, read depth of field reference value, and this value is obtained handling the three-dimensional intensity of current pixel divided by the upper limit of threshold value.Then intensity multiply by the three-dimensional side-play amount that the three-dimensional strength factor gets the current pixel of source images.
Program is the pixel in the picture element matrix of traversal source images one by one, revises pixel D mThe value of blue (B) color channel of red (R) green (G) be R ', G ' and B ', form new image pixel information.With D mThe value of red channel change the pixel D of F unit (x-F, red color channel value y) left into; With D mThe green channel value change the pixel D of F unit (x+F, green channel value y) to the right into; With D mThe blue pixel value change the pixel D of F unit (x+F, y) blue channel value to the right into.(((x+F, y) .B, F are the three-dimensional side-play amount to B '=D to G '=D to R '=D for x+F, y) .G for x-F, y) .R.
The execution mode of three-dimensional is to add a plurality of two-dimensional space information to source images, and source images can be regarded the projection of three dimensions in two-dimensional space as.Select reference planes; Ignoring the plane parallel with reference planes calculates to save; Parallel plane can not intersected to produce projection in the plane; According to the definition of three vertical lines in the mathematics solid geometry, after selecting reference planes, can obtain the projection of all objects in these reference planes in the three dimensions.The observer then can observe object image behind when watching this projection, form the effect of image stereo display.

Claims (11)

1. method that shows based on the image three-dimensional of pixel is characterized in that said method comprises step:
(1) reads source image file, source image file is reduced into data matrix data and the storage of describing image pixel;
(2) read the depth of field data file,, then the depth of field data image file is reduced to image pixel matrix data and storage if the depth of field data file is an image file format;
(3) according to the three-dimensional strength factor of setting in advance, a passage that obtains among the R, G, B color channel of these image pixel matrix data is tabulated as depth of field reference data;
(4) from depth of field reference data tabulation, take out the maximum colours value, and convert this value the upper limit of the threshold value of numeral when image being carried out three-dimensional calculating into, and be made as 0 to the lower limit of threshold value;
(5) from depth of field tabulation, read depth of field reference value, and this value is obtained handling the three-dimensional intensity of current pixel divided by the upper limit of threshold value, three-dimensional intensity multiply by the three-dimensional side-play amount that the three-dimensional strength factor obtains the current pixel of source images;
(6) the program pixel in the picture element matrix of traversal source images one by one;
(7) revise the color channel values of the red, green, blue of image pixel according to the three-dimensional side-play amount, form new image information.
2. a kind of method that shows based on the image three-dimensional of pixel according to claim 1; It is characterized in that each data cell in the said data matrix has all comprised the depth of field numerical value of pixel in three-dimensional environment of correspondence in the source images, promptly three-dimensional key message.
3. a kind of method that shows based on the image three-dimensional of pixel according to claim 1 and 2; The bearer type that it is characterized in that said three-dimensional key message can be " image type " or " data type ", and the image type carrier can be the bitmap images of any file format; Data type then can be used the data format that any one can the data of description matrix.
4. a kind of method that shows based on the image three-dimensional of pixel according to claim 1 is characterized in that said three-dimensional strength factor is a reference coefficient that source images is carried out when three-dimensional is handled intensity of being set by the operator.
5. a kind of method that shows based on the image three-dimensional of pixel according to claim 1; It is characterized in that said depth of field data file if specific data capsule file format; Then program becomes a matrix with data parsing; In the matrix each is corresponding one by one with each pixel in the source images, and this matrix is depth of field tabulation.
6. a kind of method that shows based on the image three-dimensional of pixel according to claim 1; It is characterized in that said each pixel all has horizontal level attribute x and the upright position attribute y in the source images matrix, from depth of field tabulation, read depth of field reference value according to x and y.
7. a kind of method that shows based on the image three-dimensional of pixel according to claim 1 is characterized in that the method for the color channel values of said modification pixel changes the pixel M of F unit (x-F, red color channel value y) left into for the value with red channel; Change the green channel value into the pixel M of F unit (x+F, green channel value y) to the right; (F is the three-dimensional side-play amount for x+F, y) blue channel value to change to the right the blue channel value pixel M of F unit into.
8. the method that a kind of image three-dimensional based on pixel according to claim 1 shows is characterized in that the support of said three-dimensional display packing handles great amount of images in real time through the configuration file of making in advance.
9. the method that a kind of image three-dimensional based on pixel according to claim 1 shows it is characterized in that the support of said three-dimensional display packing decomposes the three-dimensional of large-scale image and handle, and Automatic Optimal is handled same section content in the exploded view picture.
10. the method that a kind of image three-dimensional based on pixel according to claim 1 shows is characterized in that said three-dimensional calculates the data medium that employed data file adopts and all meet the ECMA-388 standard.
11. according to claim 1 or 10 described a kind of methods that show based on the image three-dimensional of pixel; It is characterized in that said three-dimensional calculates the data medium that employed data file adopts and be applicable to the equipment of using various computer operating systems; Portable mobile computing terminal, or can with the equipment of Internet connection and display web page.
CN2011100792878A 2011-03-30 2011-03-30 Image three-dimensional display method based on pixel Pending CN102724523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100792878A CN102724523A (en) 2011-03-30 2011-03-30 Image three-dimensional display method based on pixel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100792878A CN102724523A (en) 2011-03-30 2011-03-30 Image three-dimensional display method based on pixel

Publications (1)

Publication Number Publication Date
CN102724523A true CN102724523A (en) 2012-10-10

Family

ID=46950167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100792878A Pending CN102724523A (en) 2011-03-30 2011-03-30 Image three-dimensional display method based on pixel

Country Status (1)

Country Link
CN (1) CN102724523A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018045793A1 (en) * 2016-09-07 2018-03-15 中国科学院心理研究所 Binocular balancing correction device, complementary image processing system and method
CN113256489A (en) * 2021-06-22 2021-08-13 深圳掌酷软件有限公司 Three-dimensional wallpaper generation method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018045793A1 (en) * 2016-09-07 2018-03-15 中国科学院心理研究所 Binocular balancing correction device, complementary image processing system and method
CN113256489A (en) * 2021-06-22 2021-08-13 深圳掌酷软件有限公司 Three-dimensional wallpaper generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US7796134B2 (en) Multi-plane horizontal perspective display
US7787009B2 (en) Three dimensional interaction with autostereoscopic displays
Tanimoto Overview of free viewpoint television
Balram et al. Light‐field imaging and display systems
US20070291035A1 (en) Horizontal Perspective Representation
US20050219694A1 (en) Horizontal perspective display
Jones et al. Interpolating vertical parallax for an autostereoscopic three-dimensional projector array
CN115951504A (en) Three-dimensional glasses-free light field display using eye positions
US20110216160A1 (en) System and method for creating pseudo holographic displays on viewer position aware devices
US20140306954A1 (en) Image display apparatus and method for displaying image
US20060221071A1 (en) Horizontal perspective display
US10136121B2 (en) System, method and software for producing virtual three dimensional images that appear to project forward of or above an electronic display
CN103607584A (en) Real-time registration method for depth maps shot by kinect and video shot by color camera
US20130027389A1 (en) Making a two-dimensional image into three dimensions
US20060250390A1 (en) Horizontal perspective display
US20180184066A1 (en) Light field retargeting for multi-panel display
CN104599317A (en) Mobile terminal and method for achieving 3D (three-dimensional) scanning modeling function
Masaoka et al. Spatial distortion prediction system for stereoscopic images
Date et al. Real-time viewpoint image synthesis using strips of multi-camera images
CN102724523A (en) Image three-dimensional display method based on pixel
Cao et al. Load-balancing multi-LCD light field display
CN102780900B (en) Image display method of multi-person multi-view stereoscopic display
CN102497572A (en) Desktop type space stereoscopic imaging apparatus
KR101794492B1 (en) System for displaying multiview image
Katayama et al. A method for converting three-dimensional models into auto-stereoscopic images based on integral photography

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121010