CN101527762A - Digital photo frame and three-dimensional image display method for same - Google Patents

Digital photo frame and three-dimensional image display method for same Download PDF

Info

Publication number
CN101527762A
CN101527762A CN200810008366A CN200810008366A CN101527762A CN 101527762 A CN101527762 A CN 101527762A CN 200810008366 A CN200810008366 A CN 200810008366A CN 200810008366 A CN200810008366 A CN 200810008366A CN 101527762 A CN101527762 A CN 101527762A
Authority
CN
China
Prior art keywords
image
dimensional image
module
dimensional
stereo
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
CN200810008366A
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.)
Huawei Device Shenzhen Co Ltd
Original Assignee
Shenzhen Huawei Communication Technologies 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 Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN200810008366A priority Critical patent/CN101527762A/en
Publication of CN101527762A publication Critical patent/CN101527762A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a digital photo frame and a three-dimensional image display method for the same, which belong to the technical field of digital phone frames. The digital photo frame comprises an image acquisition module and a three-dimensional image display module. The three-dimensional image display method comprises the following steps: acquiring a two-dimensional image, and converting the two-dimensional image into a three-dimensional image; and displaying the three-dimensional image in the digital photo frame. The technical proposal provided by the invention enables the display of the three-dimensional image in the digital photo frame.

Description

DPF and 3 D image display method
Technical field
The present invention relates to the consumer electronics field, particularly a kind of DPF and a kind of 3 D image display method.
Background technology
Along with the development of digital technology, digital camera has entered daily life.People the time can utilize digital camera to take various landscape or personage's photograph in the tourism of going out, or the camera that utilizes mobile phone to carry takes the various scenes in the life whenever and wherever possible, remember various fine moments.Need wash with photograph that traditional camera is taken and just can browse differently, digital photo can be browsed by various electronic equipments such as computer, MP4 and DPFs.With use computer to appreciate photo must to be sitting in before the computer differently, DPF not only is convenient for carrying, and with other people share photos, and can be placed on desk, the head of a bed even on the various furniture, together with the photo that shows as part of decoration.
Hewlett-Packard's application number is to disclose a kind of DPF (Wireless updateable digital picture frame that supports wireless renewal in the patent of US2001-802039,), comprise a display apparatus module, a memory module and a wireless module that receives digital photo by wireless transmission method from external equipment.The image that receives by wireless mode is stored in the memory module and is shown on the display.Photograph also can be transferred to external equipment from DPF by wireless transmission method.But this DPF only can show two dimensional image, can't realize the demonstration of three-dimensional image, promptly can not provide the depth information that brings the sense of reality to the beholder.
TaiWan, China Zhishen Industry Co., Ltd discloses a kind of digital photo frame in its application number is the patent application of CN99105404, include a square casing, and image display panel is located at the front of this housing to be used for the show image picture; The image input unit is used for importing image data, memory is used for storing this image data, processor is electrically connected on this image input unit, be used for process image data or user the input control signal, image control device is electrically connected on this processor and this image display panel, the image data after this processor processing being converted to image frame being shown on this image display panel, and a control panel is electrically connected on this processor, is used for for user's input control signal.This technology equally only can realize the demonstration of two dimensional image, can't realize the demonstration of three-dimensional image, promptly can not provide the depth information that brings the sense of reality to the beholder.
Therefore, various DPFs of the prior art can only show two dimensional image at present, and two dimensional image is that a kind of two dimension of object content is expressed, it can only be described the content of scenery and ignore distance, the position even depth information of object, the stereovision of beholder's scene content can't be provided, thereby a kind of sense of reality on the spot in person can't be provided.
Summary of the invention
In order to make DPF realize stereo display to image, the embodiment of the invention has proposed a kind of DPF and a kind of 3 D image display method.Described technical scheme is as follows:
A kind of digital photo frame, described digital photo frame comprises: image collection module and stereo-picture display module, wherein,
Described image collection module is used for receiving and preserving image, and sends described image to described stereo-picture display module;
Described stereo-picture display module is used to receive the image that described image collection module sends, and described image is shown as three-dimensional image.
A kind of 3 D image display method said method comprising the steps of:
Obtain two dimensional image, convert described two dimensional image to three-dimensional image;
In digital photo frame, show described three-dimensional image.
By the technical scheme that the embodiment of the invention provides, the 3 D stereo photo that can read input carries out stereo-picture and shows, provides the scene scene of depth feelings and stereovision to the beholder, thereby forms a kind of effect on the spot in person, brings better user experience.
Description of drawings
Fig. 1 is the module composition diagram of the DPF in the embodiment of the invention 1;
Fig. 2 is the module composition diagram of the DPF in the embodiment of the invention 2;
Fig. 3 is the three-dimensional image display packing flow chart in the embodiment of the invention 3;
Fig. 4 is the illustraton of model of binocular camera in the embodiment of the invention 3;
Fig. 5 is a polarization constraint solving degree of depth schematic diagram in the embodiment of the invention 3;
Fig. 6 is the 3 D image display method flow chart in the embodiment of the invention 4:
Fig. 7 is the usefulness camera target scene schematic diagram in the embodiment of the invention 4;
Fig. 8 is the process chart of resetting parallax in the embodiment of the invention 4;
Fig. 9 is the 3 D image display method flow chart in the embodiment of the invention 5;
Figure 10 is that the image threshold iteration in the embodiment of the invention 5 is cut apart flow chart.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described in further detail below in conjunction with accompanying drawing.
Embodiment 1
Present embodiment provides a kind of DPF, has the three-dimensional stereo image display module, can be directly the three-dimensional image of input (this three-dimensional image be the left and right sides image that has a parallax to) be carried out stereo display.As shown in Figure 1, this DPF comprises the coffret module, memory module, stereo-picture display module, user's input module and control module.Each module is described below respectively:
1, coffret module
The coffret module is mainly used in from external equipment and receives two dimension or three-dimensional image, the image that receives is sent to memory module store; Also be used for obtaining image, and export image in this memory module that is stored in this DPF, with the transmission that makes things convenient for image with share to external equipment from memory module.
The coffret module can be wireless transmission interface module or wire transmission interface module.
The wireless transmission interface module can adopt and include but not limited to bluetooth, and is infrared, radio frequency, and various wireless communication modes such as IEEE802.11, thus can in short range, exchange easily and shared image.
The wire transmission interface module can adopt USB (Universal Serial Bus, general series interface), and RS232 wired connection coffrets such as (serial data interfaces) is shared image by the mode and the exchange of various External memory equipment of line; The wire transmission module can also adopt the interface of various storage cards commonly used, as CF card (Compact Flash), SD card (CompactFlash), SM card (Smart Media Card), mmc card (Multi Memory Card), the interface of XD card digital camera memories commonly used such as (XD Picture Card), like this, just can pass through above-mentioned memory card interface, directly storage card be inserted DPF, as the flared portions of the memory module of DPF.
2, memory module
Memory module is mainly used in and receives two dimension or the three-dimensional image that the coffret module sends, and preserves this two dimension or three-dimensional image, and the photograph of preserving DPF is play to be provided with and waited other system's configuration information.Also be used for the two dimension of will be stored or three-dimensional image and send to the stereo-picture display module and show, and send in the coffret module so that output to external equipment.
Memory module can adopt hard disk, various Flash (animation) storage card, and other various forms of storage mediums.
The common composing images acquisition module of above-mentioned coffret module and memory module is used for receiving and preserving image, and sends described image to described stereo-picture display module.
3, stereo-picture display module
The stereo-picture display module is used to receive the three-dimensional image that memory module sends, promptly right with the left and right sides image of parallax, can realize providing image right left and right sides image respectively by this module to beholder's right and left eyes, thereby make the beholder experience the depth information of photographic content, this three-dimensional image is shown.This module also can show two dimensional image.
The stereo-picture display module can be an automatic stereoscopic display device, and anaglyph spectacles and holographic display device etc. are various can to realize in the equipment that stereo-picture shows any one.
This stereo-picture display module also comprises switch unit, is used for two dimension demonstration and 3 D stereo demonstration are switched.Like this, the user is carrying out can using when system is provided with two dimension to show so that the user carries out alternately, when display image, can be provided with arbitrarily the demonstration three-dimensional image to or only show ordinary two-dimensional image.
4, user's input module
User's input module is used to receive the various configuration informations of user's input, and configuration information sent to memory module by control module, make control module carry out image exchange and shared, or be used for image to memory module and manage etc. according to configuration information control DPF and external equipment.Under the situation that has default configuration information, DPF also can not need to comprise user's input module.
User's input module can adopt in the marginal portion of DPF increases button, or the mode that adopts touch-screen to import.
Control module is used to control coffret module, memory module, stereo-picture display module and the collaborative work of user's input module of described DPF.
5, control module
Control module is used to control coffret module, memory module, stereo-picture display module and the collaborative work of user's input module of described DPF.When digital photo frame has user's input module, this control module can receive the information-setting by user that user's input module sends, produce control signal according to various configuration informations, send described control signal to described user's coffret module, memory module and stereo-picture display module, with each module cooperative work of control DPF.Carry out image exchange and shared as control transmission interface module and other external equipment, the control transmission interface module receives image and stores into the memory module from miscellaneous equipment, reading relevant configuration information and the image to be shown play and sending into the stereo-picture display module and carry out stereo display from memory module.
DPF can be provided with mode of operations such as pattern and display navigation pattern.Be provided with under the pattern, control module control user input module receives the configuration information of user's input, and according to the configuration information control transmission interface module and the external equipment swap image of user input, information such as play mode are set, control the content that is provided with of stereo-picture display module feedback user simultaneously; Under display navigation module mode of operation, control module is carried out the 3 D stereo demonstration according to playing configuration information from the memory module reading images.
Present embodiment provides stereo-picture right left and right sides image by it, thereby makes the beholder experience the depth information of photographic content owing to have the stereo-picture display module, can realize the stereo display to three-dimensional image.
Embodiment 2
The digital photo frame that embodiment 1 provides can directly carry out stereo display to the three-dimensional image of importing, but can not directly carry out stereo display to ordinary two-dimensional image.Present embodiment provides a kind of conversion process module that has, the ordinary two dimensional picture inversion of input can be become three-dimensional image to and the DPF that carries out stereo display.This DPF both can receive three-dimensional image from miscellaneous equipment by the coffret module and carry out the stereo-picture demonstration, also can receive ordinary two-dimensional image from miscellaneous equipment, conversion process module by wherein converts ordinary two-dimensional image to three-dimensional image and is used for stereo display, thereby realizes the stereo display to ordinary two-dimensional image.As shown in Figure 2, the described DPF of present embodiment comprises the coffret module, memory module, conversion process module, stereo-picture display module, user's input module and control module.The specific descriptions of each module are as follows:
1, coffret module
Identical among coffret module and the embodiment 1, repeat no more.
2, memory module
Memory module except finish with embodiment 1 in this module identical functions, also receive the three-dimensional image that the conversion process module generates from the conversion of ordinary two dimensional photo.
The common composing images acquisition module of above-mentioned coffret module and memory module is used for receiving and preserving image, and sends described image to the conversion process module.
3, conversion process module is used to realize the conversion process of two-dimentional normal image to three-dimensional image.
This module is the nucleus module of present embodiment DPF, comprises following unit:
The two dimensional image acquiring unit is used for obtaining from memory module two width of cloth two dimensional images of same target;
The registration process unit is used for being as the criterion with the piece image of described two width of cloth two dimensional images, and another width of cloth image is carried out the scan line registration process; Obtain two width of cloth images through the corresponding right and left eyes after the scan line registration process;
Parallax is provided with the unit, is used for the image after the alignment is mated, and obtains disparity map, and resets the maximum disparity of described disparity map, according to described maximum disparity described disparity map is carried out convergent-divergent.
Image reconstruction unit: utilize another image of piece image reconstruct in the image of disparity map behind the convergent-divergent and described alignment, be used for the registration image of reconstruct and image that reconstruct obtains and promptly constitute three-dimensional image.Thereby make the beholder when stereo-picture shows, can obtain more comfortable stereos copic viewing effect.
Reset maximum disparity and be because at mobile cameras in the moving process of another angle shot, can mobile spacing too small, thereby make that the parallax of two photos is less, third dimension is not strong when causing stereoscopic photograph to show, or the spacing that moves is excessive, cause parallax excessive, cause easily and watch fatigue.Parallax is provided with the unit and comprises following subelement again:
Left side disparity map obtains subelement, is used for two width of cloth images after the scan line alignment are carried out the solid coupling, obtains the disparity map of left image correspondence;
The maximum disparity value is obtained subelement, is used for obtaining the maximum disparity value of described disparity map;
Zoom factor is provided with subelement, and the best parallax value that is used for pre-seting obtains the zoom factor of parallax divided by described maximum disparity value;
Parallax convergent-divergent subelement is used for utilizing described zoom factor that the parallax of described disparity map every bit is carried out convergent-divergent.
Its neutral body coupling is promptly sought the process of certain any corresponding imaging point in different images in the scene.Present Stereo Matching Technology mainly comprises: based on the coupling of window, based on the coupling of feature and dynamic programming etc.Wherein all adopted matching algorithm based on gray scale based on the coupling of window and dynamic programming.Basic idea based on gray scale is that image segmentation is become little subregion, in other image, find and its subregion of similar grey value profile as masterplate with its gray value, if two sub regions satisfy the similitude requirement, we can think that the point in the subregion mates.In matching process, use correlation function to weigh the similitude in two zones usually.Generally all obtain the intensive depth map of image based on the coupling of gray scale.Directly do not utilize the gray scale of image based on the coupling of feature, but utilize the feature that derives by gradation of image information to mate, compare and utilize simple brightness and grey scale change information more stable.Matching characteristic can be thought potential can describe scene 3D structure key character, as the intersection point (angle point) at edge and edge.Coupling based on feature generally obtains sparse depth information figure earlier, utilizes methods such as interpolate value to obtain the intensive depth information figure of image then.
The major function of coupling/depth extraction unit is that the video image to two contiguous camera acquisitions mates, and calculates parallax/depth information.Coupling/depth extraction unit limits the maximum disparity of two contiguous video camera photographic images, if surpass this maximum disparity, the efficient of matching algorithm can be very poor, can't obtain the parallax/depth information of degree of precision.This maximum disparity can be configured in advance by system.The matching algorithm that coupling/depth extraction unit is adopted is not fixed, and can select from multiple matching algorithm (as window coupling, dynamic programming etc.), is configured according to application scenarios.Finished after the matching operation, the depth information of scene is obtained in coupling/depth extraction unit according to the parameter of image parallactic that obtains and video camera.Be that example describes with window matching algorithm below based on gray scale:
If f L(x, y) and f R(x, y) two width of cloth images of gathering as left and right cameras, (x L, y L) be f L(x, y) in a bit.With (x L, y L) for the center constitutes a masterplate T, size is m * n.Can be at f R(x, y) middle this masterplate of translation is located at horizontal level translation Δ x, and at upright position translation Δ y, it is at f R(x, y) middle k the zone that covers is S k, S then kCan weigh with correlation function with the correlation of T:
D ( S k , T ) = Σ i = 1 m Σ j = 1 n [ S k ( i , j ) - T ( i , j ) ] 2 = Σ i = 1 m Σ j = 1 n [ S k ( i , j ) ] 2 - 2 Σ i = 1 m Σ j = 1 n S k ( i , j ) T ( i , j ) + Σ i = 1 m Σ j = 1 n [ T ( i , j ) ] 2
As D (S k, T) reach hour, can think to reach optimum Match.If S kIdentical with T, D (S then k, T)=0 in following formula,
Figure A20081000836600102
Represent the energy of masterplate T, be constant,
Figure A20081000836600103
Be S kThe energy in zone, it changes along with the variation of masterplate T.If the excursion of T is less, Also be approximately constant.In order to make D (S k, T) minimum, then
Figure A20081000836600105
Should be maximum.Adopt herein the normalization cross correlation algorithm (Normalized Cross Correlation NCC) eliminates the mistake coupling that luminance difference causes, correlation function can be expressed as:
C ( Δx , Δy ) = Σ i = 1 m Σ j = 1 n | S k ( i , j ) - E ( S k ) | | T ( i , j ) - E ( T ) | Σ i = 1 m Σ j = 1 n [ S k ( i , j ) - E ( S k ) ] 2 Σ i = 1 m Σ j = 1 n [ T ( i , j ) - E ( T ) ] 2
E (S wherein k) and E (T) be respectively S kAverage gray value with T.When C (Δ x, Δ y) is maximum, D (S k, T) minimum can be thought (x L, y L) and point (x L+ Δ x, y L+ Δ y) coupling.Δ x, Δ y are respectively horizontal parallax and the vertical parallax between two width of cloth images.For parallel vidicon recited above system, vertical parallax is approximately 0, and horizontal parallax can be expressed as: Δx = fB Z , Thereby can obtain the depth information of certain point in the scene: Z = fB Δx .
As another kind of execution mode, the conversion process module can also comprise following several unit:
The two dimensional image acquiring unit is used for obtaining a width of cloth two dimensional image from memory module;
The depth map generation unit is used for generating corresponding depth map according to two dimensional image;
The view restructuring unit is used for the view of comprehensive depth map and original another eyes of reconstruction of two-dimensional images, and it is right that this reconstructed image and original image promptly constitute stereo-picture, shows by the stereo display module to make the beholder obtain stereovision and depth perception.
Wherein, the depth map generation unit comprises:
Cut apart subelement, be used for cutting apart and obtaining the prospect and the background of each target of image and differentiate between images;
Depth information is provided with subelement, and being used for according to certain rule is the different different depth informations of Target Setting, and the prospect of being is provided with the less degree of depth, is the big degree of depth of background setting, thereby generates the depth map of original image correspondence.
4, stereo-picture display module
The description of this module is identical with embodiment 1, repeats no more.
5, user's input module
The description of this module is identical with embodiment 1, repeats no more.
6, control module
Control module is used to control each module cooperative work of DPF, except the function in embodiment 1, also the control transformation processing module is carried out the 3 D stereo conversion to the two dimensional image that receives, and it is right to obtain three-dimensional image, deposits memory module in and carries out stereo display.
Present embodiment is three-dimensional image by increase the conversion process module in DPF with the ordinary two dimensional picture inversion, realizes the stereo display to ordinary two-dimensional image.
Embodiment 3
Present embodiment provides a kind of 3 D image display method, by the three-dimensional image technology based on people's binocular parallax principle the three-dimensional image of input is realized stereo display.As shown in Figure 3, these method concrete steps are as follows:
Step 101: receive three-dimensional image from external equipment, be input in the DPF.
Specifically can adopt wireless transmission method and wire transmission mode.
Wireless transmission method can include but not limited to transmission meanss such as bluetooth, infrared, radio frequency, IEEE802.11, has realized exchange and shared image in the short range easily;
Wire transmission mode comprises that RS232 (serial data interface) etc. transmits by USB (Universal Serial Bus, general series interface), thereby shares image by the mode and the exchange of various External memory equipment of line.In addition, wire transmission mode also comprises the interface by various storage cards commonly used, with storage card, as CF card (Compact Flash Card), SD card (Secure Digital Card), SM card (Smart Media Card), mmc card (Multi Memory Card), XD card digital camera memories commonly used such as (XD Picture Card) directly inserts DPF, as the flared portions of the memory module of DPF.
Step 102: the image that storage receives from external equipment.
Specifically can store hard disk into, various Flash (animation) storage card, and other various forms of storage mediums.
Step 103: three-dimensional image shows.
With the three-dimensional image that obtains in the step 102, promptly right with the left and right sides image of parallax, provide image right left and right sides image respectively to beholder's right and left eyes, thereby make the beholder experience the depth information of photographic content, this three-dimensional image is shown.
Can also switch two dimension demonstration and 3 D stereo demonstration.Like this, the user, can be provided with the demonstration three-dimensional image arbitrarily or only show ordinary two-dimensional image when display image carrying out using two dimension to show so that the user carries out alternately when system is provided with.
The three-dimensional image technology is based on people's binocular parallax principle (promptly because the difference of two eye positions, thereby Same Scene can be obtained but two slightly variant width of cloth images respectively), two video cameras of (generally being people's eyes distance) obtain Same Scene but two slightly variant width of cloth images by mutually across a certain distance, be shown to people's left eye and right eye respectively, thereby make the beholder obtain to have the scene scene of depth feelings and stereovision.
The model of binocular camera be two video cameras of f to the degree of depth in the scene at a distance of the focal length of B is that the some M of Z takes as shown in Figure 4, and as shown in Figure 5, impact point M is respectively m in the imaging of left and right cameras lAnd m r, then obtain imaging point m according to images match lAnd m rParallax is under the situation of d, can obtain the depth information of impact point according to formula (1).
d x ( m l , m r ) = x l - x r = f Z ( X l - X r ) = fB Z - - - ( 1 )
Embodiment 4
Present embodiment provides a kind of ordinary two-dimensional image is transformed into the method that three-dimensional image carries out the stereo-picture demonstration.Conversion process to two width of cloth images of the different camera sites of same target is converted to three-dimensional image with ordinary two-dimensional image, and carries out stereo display.As shown in Figure 6, the concrete grammar step is as follows:
Step 201: two width of cloth two dimensional images that obtain same target.
As shown in Figure 7, utilize camera elder generation on the left side position photographic subjects scene, again camera is moved a little a segment distance (the binocular spacing with approximate people is as the criterion), another width of cloth image of photographic subjects scene, thereby two width of cloth images of acquisition target scene.
Step 202: receive two width of cloth two dimensional images from external equipment, and be input in the DPF.
Concrete steps are identical with step 101, repeat no more.
Step 203: the two dimensional image that storage receives from external equipment.
Specifically can adopt hard disk, various Flash (animation) storage card, and other various forms of storage mediums.
Step 204: two dimensional image is transformed into three-dimensional image, and it is right to obtain stereo-picture.
Because the position of spacing, angle and the vertical direction of the two dimensional image that obtains by step 201 when mobile cameras can't accurately be controlled, and therefore need handle by the conversion process module.Comprise the steps:
Step 204a: be as the criterion with piece image wherein, another width of cloth image is carried out the scan line registration process, obtain two width of cloth images through corresponding right and left eyes after the scan line registration process;
Because people's eyes horizontal level height is identical, therefore there is not the difference of vertical direction during imaging in the scene content of being watched on binocular.And at mobile cameras in the moving process of another angle shot, may have the inconsistent of vertical direction, the picture line registration process realizes the vertical direction alignment of left and right sides stereo-picture to scene content.Compare by stereo-picture reconstruction of three-dimensional model of place or range finding with other and obtain depth information by stereoscopic photograph, needed precision is lower.
The picture line registration process can be in the following way: in the scene overlay region of left and right sides image, create two or more search columns on the left side image and the right image, and each hurdle of image resolved into a plurality of grayscale sub-image according to color component, adopt a kind of matching algorithm that each point in each subimage search column is mated and calculate vertical offset, adjust alignment two width of cloth images thereby utilize these vertical offset to be extrapolated to entire image.
Step 204b: reset the maximum disparity of image, thereby make the beholder when stereo-picture shows, can obtain more comfortable stereos copic viewing effect.
Reset maximum disparity and be because at mobile cameras in the process of another angle shot, can mobile spacing too small, thereby make that the parallax of two photos is less, third dimension is not strong when causing stereoscopic photograph to show, or the spacing that moves is excessive, cause parallax excessive, cause easily and watch fatigue.As shown in Figure 8, it is as follows to reset the processing procedure concrete steps of maximum disparity:
A: at first two width of cloth images after the scan line alignment are carried out the solid coupling, obtain the disparity map of left image correspondence;
B: obtain the maximum disparity value in the disparity map;
C: the best parallax value that will pre-set is divided by the maximum disparity value that obtains, thereby obtains the zoom factor of parallax;
D: utilize this zoom factor that the parallax of every bit in the disparity map is carried out convergent-divergent;
E: utilize parallax and left image reconstruction right image behind the convergent-divergent;
F: stereo-picture is right preferably thereby obtain effect.
Step 205: storage realizes by memory module through the three-dimensional image of conversion.
Step 206: three-dimensional image shows.Adopt the three-dimensional image technology, realize jointly by stereo-picture display module, control module and user's input module.Specifically can two dimension show or the 3 D stereo demonstration, carrying out system when being provided with, can use two dimension to show so that the user carries out alternately, when showing photo, can show the 3 D stereo photo to or carrying out 3 D stereo when showing, the stereo-picture display module reads stereo-picture to carrying out stereo display from memory module.
Embodiment 5
Present embodiment provides a kind of 3 D image display method that ordinary two-dimensional image is transformed into three-dimensional image.By directly two dimensional image being extracted prospect and background information, and with background different parallaxes is set, thereby it is right to generate stereo-picture, finishes automatic conversion and demonstration that ordinary two-dimensional image arrives three-dimensional image for prospect.As shown in Figure 9, the concrete grammar step is as follows:
Step 301: obtain two dimensional image.
Step 302: receive two dimensional image from external equipment, and be input in the DPF.
Concrete steps are identical with step 101, repeat no more.
Step 303: the two dimensional image that storage receives from external equipment.
Specifically can adopt hard disk, various Flash (animation) storage card, and other various forms of storage mediums.
Step 304: with background different parallaxes is set directly to two dimensional image extraction prospect and target context wherein, and for prospect, thereby it is right to generate stereo-picture.The right generating mode of stereo-picture is to generate three-dimensional image according to individual common photograph.Comprise the steps:
Step 304A; At first need to cut apart and obtain each target in the image, and each target incorporated into be display foreground or background.
Display foreground and background can adopt based on the iterative method of threshold value to be cut apart, and iterative method is based on optimization thought, and its flow process such as Figure 10 show that step is as follows:
A: obtain the maximum gradation value and the minimum gradation value of image, be designated as Z respectively MAXAnd Z MIN, make initial threshold T 0=(Z MAX+ Z MIN)/2;
B: according to threshold value T KWith image Segmentation is prospect and background, obtains both average gray value Z respectively 0And Z B
C: obtain new threshold value T K+1=(Z 0+ Z B)/2;
D: if T K=T K+1, then gained is threshold value; Otherwise change step B, iterative computation.
Step 304B: be the different different depth informations of Target Setting then,, be the big degree of depth of background setting, thereby generate the depth map of original two dimensional image correspondence for prospect is provided with the less degree of depth according to certain rule.
The degree of depth of each target is set and is promptly cut apart prospect and the context that obtains, the degree of depth that the Target Setting that is respectively different is different according to above-mentioned target in the image.Target depth is provided for making the beholder can obtain depth perception and stereovision when appreciating stereophotograph in the image, so object reconstruction is compared in the required precision of degree of depth setting and the desired precision of target identification is low, we can adopt the degree of depth of coarseness that the prospect of scene and the degree of depth of background are set, for prospect is provided with small depth, and be the bigger degree of depth of background setting.Prospect and context that the setting of degree of depth beholder when can guarantee that stereo-picture shows when the reconstruct can significantly experience in the scene are as the criterion.
Step 304C: the view of comprehensive depth map and original another eyes of reconstruction of two-dimensional images, this reconstructed image and original two dimensional image promptly constitute three-dimensional image (stereo-picture to), show by the stereo display module to make the beholder obtain stereovision and depth perception.
The desired stereo-picture of 3D DPF is to obtaining according to above-mentioned depth relationship and original reconstruction of two-dimensional images.According to formula (1), the lens focus of focus of camera f for video camera commonly used is set, B is people's binocular spacing (being about 65mm), Z is the degree of depth of target, thereby can calculate parallax d.In obtaining image under the prerequisite of the parallax of each point, according to the image of parallax value and original reconstruction of two-dimensional images another eyes, it is right that reconstructed image and original image promptly constitute stereo-picture, uses the stereo display module to show and can obtain stereoeffect.
Step 305: storage is through the three-dimensional image of conversion.
This step realizes by memory module.
Step 306: three-dimensional image shows.
Adopt the three-dimensional image technology, specifically can two dimension show or 3 D stereo shows,, can use two dimension to show so that the user carries out when display image, can showing three-dimensional image alternately carrying out system when being provided with.
Present embodiment is finished the automatic conversion of ordinary two-dimensional image to three-dimensional image by the conversion process module, it is right promptly to generate the stereo-picture with parallax from two dimensional image, discrepant stereo-picture is to being shown to beholder's left eye and right eye respectively when showing, the beholder experiences the depth information of picture material by the discrepant image of right and left eyes.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a digital photo frame is characterized in that, described digital photo frame comprises: image collection module and stereo-picture display module, wherein,
Described image collection module is used for receiving and preserving image, and sends described image to described stereo-picture display module;
Described stereo-picture display module is used to receive the image that described image collection module sends, and described image is shown as three-dimensional image.
2. digital photo frame as claimed in claim 1 is characterized in that described image collection module comprises coffret module and memory module;
Described coffret module for wireless transmission interface module or wire transmission interface module, is used to receive image, and sends the image to described memory module;
Described memory module is used to receive and preserve the image of described coffret module transmission and sends described image to described stereo-picture display module.
3. digital photo frame as claimed in claim 1 is characterized in that, described stereo-picture display module also comprises switch unit, is used for two dimension demonstration and 3 D stereo demonstration are switched.
4. digital photo frame as claimed in claim 1 is characterized in that, described DPF also comprises:
The conversion process module is used to receive the two dimensional image that described image collection module sends, and described two dimensional image conversion process is become three-dimensional image, and described three-dimensional image is sent to described image collection module.
5. digital photo frame as claimed in claim 4 is characterized in that, described conversion process module comprises:
The two dimensional image acquiring unit is used for obtaining from described image collection module two width of cloth two dimensional images of same target;
The registration process unit is used for being as the criterion with the piece image of described two width of cloth two dimensional images, and another width of cloth image is carried out the scan line registration process; Obtain two width of cloth images through the corresponding right and left eyes after the scan line registration process;
Parallax is provided with the unit, is used for the image after the alignment is mated, and obtains disparity map, and resets the maximum disparity value of described disparity map, according to described maximum disparity value described disparity map is carried out convergent-divergent;
Image reconstruction unit is utilized another image of piece image reconstruct in the image of disparity map behind the convergent-divergent and described alignment, the image construction three-dimensional image that piece image in the image of described alignment and reconstruct obtain.
6. digital photo frame as claimed in claim 5 is characterized in that, described parallax is provided with the unit and comprises:
Left side disparity map obtains subelement, is used for two width of cloth images after the scan line alignment are carried out the solid coupling, obtains the disparity map of left image correspondence;
The maximum disparity value is obtained subelement, is used for obtaining the maximum disparity value of described disparity map;
Zoom factor is provided with subelement, and the best parallax value that is used for pre-seting obtains the zoom factor of parallax divided by described maximum disparity value;
Parallax convergent-divergent subelement is used for utilizing described zoom factor that the parallax of described disparity map every bit is carried out convergent-divergent.
7. digital photo frame as claimed in claim 4 is characterized in that, described conversion process module comprises:
The two dimensional image acquiring unit is used for obtaining a width of cloth two dimensional image from described image collection module;
The depth map generation unit is used for generating corresponding depth map according to described two dimensional image;
The view restructuring unit is used for the view according to described two dimensional image and described another eyes of depth map reconstruct, and it is right that the image of described reconstruct and described two dimensional image constitute three-dimensional image.
8. digital photo frame as claimed in claim 7 is characterized in that, described depth map generation unit comprises:
Target is cut apart subelement, is used for described two dimensional image is divided into a plurality of targets, and distinguishes described target and belong to prospect or background;
Depth information is provided with subelement, is the different depth information of described Target Setting according to prospect or background under the described target.
9. digital photo frame as claimed in claim 1 is characterized in that, described DPF also comprises:
User's input module is used to receive the configuration information that the user imports, and described configuration information is sent to described image collection module.
10. a 3 D image display method is characterized in that, said method comprising the steps of:
Obtain two dimensional image, convert described two dimensional image to three-dimensional image;
In digital photo frame, show described three-dimensional image.
11. 3 D image display method as claimed in claim 10 is characterized in that, the described two dimensional image that obtains, and the step that described two dimensional image is converted to three-dimensional image comprises:
Obtain two width of cloth two dimensional images of same target;
Be as the criterion with the piece image in described two width of cloth two dimensional images, another width of cloth image is carried out the scan line registration process; Obtain two width of cloth images through the corresponding right and left eyes after the scan line registration process;
Image after the alignment is mated, obtain the maximum disparity value of disparity map and described disparity map, described disparity map is carried out convergent-divergent according to described maximum disparity value;
Utilize another image of piece image reconstruct in the image of disparity map behind the convergent-divergent and described alignment, the image construction three-dimensional image that piece image in the image of described alignment and reconstruct obtain.
12. 3 D image display method as claimed in claim 11, it is characterized in that, described image after the alignment is mated, obtains the maximum disparity value of disparity map and described disparity map, the step that described disparity map carries out convergent-divergent is comprised according to described maximum disparity value:
Two width of cloth images after the scan line alignment are carried out the solid coupling, obtain the disparity map of left image correspondence;
Obtain the maximum disparity value in the described disparity map;
The best parallax value that pre-sets divided by described maximum disparity value, is obtained the zoom factor of parallax;
Utilize described zoom factor that the parallax of every bit in the described disparity map is carried out convergent-divergent.
13. 3 D image display method as claimed in claim 10 is characterized in that, the described two dimensional image that obtains, and the step that described two dimensional image is converted to three-dimensional image comprises:
Obtain a width of cloth two dimensional image;
Generate corresponding depth map according to described two dimensional image;
According to the view of described two dimensional image and described another eyes of depth map reconstruct, it is right that the image of described reconstruct and described two dimensional image constitute three-dimensional image.
14. 3 D image display method as claimed in claim 13 is characterized in that, the step that generates corresponding depth map according to described two dimensional image comprises:
Described two dimensional image is divided into a plurality of targets, and distinguishes described target and belong to prospect or background;
According to prospect or background under the described target is the different depth information of described Target Setting.
CN200810008366A 2008-03-04 2008-03-04 Digital photo frame and three-dimensional image display method for same Pending CN101527762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810008366A CN101527762A (en) 2008-03-04 2008-03-04 Digital photo frame and three-dimensional image display method for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810008366A CN101527762A (en) 2008-03-04 2008-03-04 Digital photo frame and three-dimensional image display method for same

Publications (1)

Publication Number Publication Date
CN101527762A true CN101527762A (en) 2009-09-09

Family

ID=41095448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810008366A Pending CN101527762A (en) 2008-03-04 2008-03-04 Digital photo frame and three-dimensional image display method for same

Country Status (1)

Country Link
CN (1) CN101527762A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808181A (en) * 2010-03-15 2010-08-18 重庆大学 Harmonic drive rotary scanning system
CN101908233A (en) * 2010-08-16 2010-12-08 福建华映显示科技有限公司 Method and system for producing plural viewpoint picture for three-dimensional image reconstruction
CN102131099A (en) * 2010-01-18 2011-07-20 索尼公司 Image processing apparatus, image processing method, and program
CN102654816A (en) * 2011-03-02 2012-09-05 联想(北京)有限公司 Switching method of display modes and electronic equipment
CN103533323A (en) * 2012-07-04 2014-01-22 广州市朗辰电子科技有限公司 Method and system for previewing multi-view-point stereo image sequence
CN108616745A (en) * 2016-12-12 2018-10-02 三维视觉科技有限公司 2D is from turn 3D method and systems

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131099A (en) * 2010-01-18 2011-07-20 索尼公司 Image processing apparatus, image processing method, and program
CN101808181A (en) * 2010-03-15 2010-08-18 重庆大学 Harmonic drive rotary scanning system
CN101908233A (en) * 2010-08-16 2010-12-08 福建华映显示科技有限公司 Method and system for producing plural viewpoint picture for three-dimensional image reconstruction
CN102654816A (en) * 2011-03-02 2012-09-05 联想(北京)有限公司 Switching method of display modes and electronic equipment
CN103533323A (en) * 2012-07-04 2014-01-22 广州市朗辰电子科技有限公司 Method and system for previewing multi-view-point stereo image sequence
CN103533323B (en) * 2012-07-04 2015-10-28 广州市朗辰电子科技有限公司 A kind of method for previewing of multi-view-point stereo image sequence and system
CN108616745A (en) * 2016-12-12 2018-10-02 三维视觉科技有限公司 2D is from turn 3D method and systems

Similar Documents

Publication Publication Date Title
CN101610421B (en) Video communication method, video communication device and video communication system
CN102741879B (en) Method for generating depth maps from monocular images and systems using the same
CN103369337B (en) 3D display apparatus and method for processing image using same
CN101416520B (en) Efficient encoding of multiple views
CN102265624B (en) Image processing method and apparatus therefor
CN102592178B (en) Information display system, information display device and information provider unit
CN104782110B (en) Image processing apparatus, photographic device and image processing method
CN102783162A (en) Image capture device
CN101636747A (en) Two dimensional/three dimensional digital information obtains and display device
CN101771892A (en) Image processing method and apparatus therefor
CN102308590A (en) Three-dimensional image output device and three-dimensional image output method
CN101527762A (en) Digital photo frame and three-dimensional image display method for same
CN109361913A (en) For providing the method and apparatus of 3-D image for head-mounted display
CN1973555A (en) Proximity assisted 3D rendering
CN104641625B (en) Image processing apparatus, camera device and image processing method
CN103327349B (en) The method of the position of the Best Point of 3-dimensional image processing apparatus and adjustment display image
CN104205827B (en) Image processing apparatus and method and camera head
JP2011525075A (en) Stereo image generation chip for mobile equipment and stereo image display method using the same
CN102761768A (en) Method and device for realizing three-dimensional imaging
US10074343B2 (en) Three-dimensional image output apparatus and three-dimensional image output method
WO2011014421A2 (en) Methods, systems, and computer-readable storage media for generating stereoscopic content via depth map creation
CN104641624A (en) Image processing device, imaging device, image processing method, and image processing program
KR101083824B1 (en) stereo camera system and parallax detection method using thereof
CN103037235A (en) Imaging apparatus and method for controlling same
CN105120256A (en) Mobile terminal and method and device for synthesizing picture by shooting 3D image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090909