CN103377469A - Terminal and image processing method - Google Patents

Terminal and image processing method Download PDF

Info

Publication number
CN103377469A
CN103377469A CN2012101214314A CN201210121431A CN103377469A CN 103377469 A CN103377469 A CN 103377469A CN 2012101214314 A CN2012101214314 A CN 2012101214314A CN 201210121431 A CN201210121431 A CN 201210121431A CN 103377469 A CN103377469 A CN 103377469A
Authority
CN
China
Prior art keywords
image
angle
file
terminal
differential seat
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.)
Granted
Application number
CN2012101214314A
Other languages
Chinese (zh)
Other versions
CN103377469B (en
Inventor
李�真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210121431.4A priority Critical patent/CN103377469B/en
Publication of CN103377469A publication Critical patent/CN103377469A/en
Application granted granted Critical
Publication of CN103377469B publication Critical patent/CN103377469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a terminal. The terminal comprises an image acquisition unit, an angle information recording unit, a sequence information recording unit and a storage unit, wherein the image acquisition unit is used for acquiring images of a scene to be shot from many angles and generating corresponding image files; the angle information recording unit is used for recording the angle information corresponding to each image file when the image acquisition unit acquires the images; the sequence information recording unit is used for recording the image acquisition sequence corresponding to each image file when the image acquisition unit acquires the images; the storage unit is used for storing the image files, the angle information and the image acquisition sequence in an associated mode. Correspondingly, the invention further provides an image processing method. By means of the technical scheme, shot objects can be displayed and watched from many angles, and the user experience is improved.

Description

Terminal and image processing method
Technical field
The present invention relates to the graph and image processing technical field, in particular to a kind of terminal and a kind of image processing method.
Background technology
Along with the development of hand-held intelligent terminal technology, the integrated camera function of mobile phone is more and more stronger, almost can compare favourably with digital camera, and increasing people utilizes mobile phone to take pictures.But the photo that obtains for shooting at present only can comparison film carries out individual and checks, such as same target has been taken multiple pictures, also can only watch one by one.Perhaps process by the image for photo, on mobile phone or on computers, multiple pictures can be stitched together, but no matter adopt which kind of mode, under present means, for adopting common mode to take the plane photo that obtains, its ways of presentation all is similar in fact, all be representing on the same plane, seem more single.
Therefore, need a kind of new image processing techniques, can realize the multi-angle of reference object is showed and watched, promote the user and experience.
Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of image processing techniques, can realize the multi-angle of reference object is showed and watched, and promotes the user and experiences.
In view of this, the present invention proposes a kind of terminal, comprising: image acquisition unit, treat photographed scene from a plurality of angles and carry out Image Acquisition, and generate corresponding image file respectively; The angle information record cell when described image acquisition unit carries out described Image Acquisition, records angle information corresponding to each described image file; Storage unit is sequentially carried out association store with described image file, described angle information and described Image Acquisition.
In this technical scheme, Same Scene is carried out the Image Acquisition of multi-angle, and by carrying out relatedly with corresponding angle information, so just can pass through this angle information, obtain the mutual alignment relation between all images, for the condition that provides is provided for the multi-angle of this scene.The angle information here can be the angle information of a dimension, such as a plurality of images that when certain camber line moves, obtain, also can be the angle information of a plurality of dimensions, then corresponding image can be arranged along a plurality of directions, such as surrounded " sphere " structure by a plurality of images.
In technique scheme, preferably, described angle information record cell specifically comprises: real-time angle recordings subelement, the real-time terminal angle when recording described image acquisition unit and carrying out described Image Acquisition at every turn; The differential seat angle computation subunit is calculated the described real-time terminal angle of described real-time angle recordings subelement record and the image differential seat angle between the designated terminal angle, and with described image differential seat angle as described angle information.
In this technical scheme, the designated terminal angle can be appointed as: in same group of image, and the real-time terminal angle when obtaining first image; Also can be appointed as: last the real-time terminal angle that image is corresponding; Perhaps other arbitrary terminal angles by user's appointment.And no matter adopt which kind of angle recordings mode, in fact all can mutually transform, and all can express mutual alignment relation between each image file in this group image.By the calculating of image differential seat angle, be convenient to utilize the image file of storage, the scene of the different angles during to Image Acquisition is reduced.
In technique scheme, preferably, described angle information record cell also is used for: the angle recordings of terminal was for initially checking angle when initial display processing unit was play default initial pictures file, and the real time inspection angle of obtaining described terminal, and calculate described real time inspection angle and the described differential seat angle of checking of initially checking between the angle; And described terminal also comprises: described initial display processing unit, when utilizing described terminal that described image file is checked, play described initial pictures file at the screen of described terminal; The file designating unit according to described differential seat angle and the described angle information checked, is determined corresponding specific image file; Display processing unit is generated as the realtime graphic file with described specific image file in real time, and plays described realtime graphic file at the screen of described terminal.
In this technical scheme, the user can be by rotating terminal, differential seat angle is checked in formation, and also has differential seat angle between the image file of storing in the terminal (being embodied in the angle information of corresponding stored), therefore, between the angle information of checking differential seat angle and image file, corresponding relation is arranged, by this corresponding relation, can be by rotating terminal, to play corresponding image file at terminal screen, thereby present the scene of corresponding angle, promote visual effect.
In technique scheme, preferably, described real-time display processing unit specifically comprises: the file acquisition subelement, described angle information according to storage, obtain a plurality of image files of checking differential seat angle corresponding to described, wherein, the described differential seat angle of checking is corresponding to direction of observation, and has image direction corresponding to described each the described image file of differential seat angle of checking; Realtime graphic file generated subelement, for any two image files that are associated in described a plurality of image files, utilize V=V1 * cos α+V2 * cos β to calculate described realtime graphic file, wherein, V is the display attribute value of described realtime graphic file, V1 is the display attribute value of an image file, V2 is the display attribute value of another image file, α is the angle of described direction of observation and a described image file, and β is the angle of described direction of observation and described another image file; The realtime graphic file is play subelement, plays the described realtime graphic file that described realtime graphic file generated subelement generates.
In this technical scheme, because the image of the different angles that obtain during Image Acquisition is limited, angle that can't be when playing is corresponding one by one, therefore relevant image is synthesized processing, in order to reach the visual effect that seamlessly transits.Particularly, for direction of observation, when terminal is in original state, suppose the straight line that has a normal to screen, direction is pointed to screen, and then this straight line can be considered to the direction of observation here, when terminal was rotated, it did not change thereupon, but produced from terminal between different angles.For image direction, suppose all image files are taken out, then can the angle when obtaining join end to end, this moment is for arbitrary image wherein, perpendicular to the straight line of this image, direction is to insert by image is positive, and then this straight line namely can be regarded as the image direction of this image.So, arbitrary rotational angle for terminal, if direction of observation overlaps with image direction, then directly this image file is play as the realtime graphic file, and when direction of observation does not overlap with image direction, then utilize many images to synthesize processing, many the images here, can be more than two or two, wherein, on same direction (such as horizontal direction or vertical direction), only may there be simultaneously the image of two associations, namely this moment, direction of observation was between the image direction of these two images, and these two images obtain for taking continuously.In addition, the display attribute value here comprises the pixel value of image, the color of each pixel (such as rgb value, YUV value etc.), colour temperature etc.
In technique scheme, preferably, also comprise: the scenery identification unit, utilize before two image files generate described realtime graphic file at described real-time display processing unit, respectively the scene in described two image files is carried out identification, and obtain the displaying ratio of the scene in each image file; The ratio judging unit judges that whether the numerical difference between of two displaying ratios that obtain is greater than default difference threshold value; The convergent-divergent processing unit is in the situation that is in the judged result of described ratio judging unit, determines to specify displaying ratio, and according to described appointment displaying ratio described two image files is carried out respectively convergent-divergent and process.
In this technical scheme, because when Same Scene is carried out Image Acquisition, such as using the camera on the terminal to obtain, because existing, the distance between camera and this scene changes, thereby in the image that obtains, the displaying ratio of Same Scene also can there are differences, therefore, first the ratio of image is regulated before by image being synthesized process, to reach better synthetic effect.In building-up process, need to identify the Same Scene in the different images, there is more method in the prior art in this, such as by after the gray scale of image is processed, carries out the judgement of grey scale change, or different images is compared and judgement etc.
According to a further aspect in the invention, a kind of image processing method also is provided, has comprised: step 202, terminal is when treating photographed scene from a plurality of angles and carry out Image Acquisition, generate respectively corresponding image file, and record angle information corresponding to each described image file; Step 204 is carried out association store with described image file and described angle information.
In this technical scheme, Same Scene is carried out the Image Acquisition of multi-angle, and by carrying out relatedly with corresponding angle information, so just can pass through this angle information, obtain the mutual alignment relation between all images, for the condition that provides is provided for the multi-angle of this scene.The angle information here can be the angle information of a dimension, such as a plurality of images that when certain camber line moves, obtain, also can be the angle information of a plurality of dimensions, then corresponding image can be arranged along a plurality of directions, such as surrounded " sphere " structure by a plurality of images.
In technique scheme, preferably, in the described step 202, the process that records described angle information specifically comprises: the real-time terminal angle when record carries out Image Acquisition at every turn, calculate the image differential seat angle between described real-time terminal angle and the designated terminal angle, and with described image differential seat angle as described angle information.
In this technical scheme, the designated terminal angle can be appointed as: in same group of image, and the real-time terminal angle when obtaining first image; Also can be appointed as: last the real-time terminal angle that image is corresponding; Perhaps other arbitrary terminal angles by user's appointment.And no matter adopt which kind of angle recordings mode, in fact all can mutually transform, and all can express mutual alignment relation between each image file in this group image.By the calculating of image differential seat angle, be convenient to utilize the image file of storage, the scene of the different angles during to Image Acquisition is reduced.
In technique scheme, preferably, after the described step 204, also comprise: step 206, when utilizing described terminal that described image file is checked, play default initial pictures file at the screen of described terminal, and will this moment the angle recordings of described terminal for initially checking angle; Step 208 is obtained the real time inspection angle of described terminal, and calculates described real time inspection angle and the described differential seat angle of checking of initially checking between the angle; Step 210 according to described differential seat angle and the described angle information checked, is determined corresponding specific image file; Step 212 is generated as the realtime graphic file with described specific image file, and plays described realtime graphic file at the screen of described terminal.
In this technical scheme, the user can be by rotating terminal, differential seat angle is checked in formation, and also has differential seat angle between the image file of storing in the terminal (being embodied in the angle information of corresponding stored), therefore, between the angle information of checking differential seat angle and image file, corresponding relation is arranged, by this corresponding relation, can be by rotating terminal, to play corresponding image file at terminal screen, thereby present the scene of corresponding angle, promote visual effect.
In technique scheme, preferably, described step 212 specifically comprises: the described angle information according to storage, obtain a plurality of image files of checking differential seat angle corresponding to described; The described differential seat angle of checking is corresponding to direction of observation, and has image direction corresponding to described each the described image file of differential seat angle of checking; For any two image files that are associated in described a plurality of image files, utilize V=V1 * cos α+V2 * cos β to calculate described realtime graphic file, wherein, V is the display attribute value of described realtime graphic file, V1 is the display attribute value of an image file, V2 is the display attribute value of another image file, and α is the angle of described direction of observation and a described image file, and β is the angle of described direction of observation and described another image file; Play described realtime graphic file.
In this technical scheme, because the image of the different angles that obtain during Image Acquisition is limited, angle that can't be when playing is corresponding one by one, therefore relevant image is synthesized processing, in order to reach the visual effect that seamlessly transits.Particularly, for direction of observation, when terminal is in original state, suppose the straight line that has a normal to screen, direction is pointed to screen, and then this straight line can be considered to the direction of observation here, when terminal was rotated, it did not change thereupon, but produced from terminal between different angles.For image direction, suppose all image files are taken out, then can the angle when obtaining join end to end, this moment is for arbitrary image wherein, perpendicular to the straight line of this image, direction is to insert by image is positive, and then this straight line namely can be regarded as the image direction of this image.So, arbitrary rotational angle for terminal, if direction of observation overlaps with image direction, then directly this image file is play as the realtime graphic file, and when direction of observation does not overlap with image direction, then utilize many images to synthesize processing, many the images here, can be more than two or two, wherein, on same direction (such as horizontal direction or vertical direction), only may there be simultaneously the image of two associations, namely this moment, direction of observation was between the image direction of these two images, and these two images obtain for taking continuously.In addition, the display attribute value here comprises the pixel value of image, the color of each pixel (such as rgb value, YUV value etc.), colour temperature etc.
In technique scheme, preferably, described step 212 also comprises: utilizing before two image files generate described realtime graphic file, respectively the scene in described two image files is carried out identification, and obtain the displaying ratio of the scene in each image file; , determine to specify displaying ratio, and according to described appointment displaying ratio described two image files are carried out respectively convergent-divergent and process during greater than default difference threshold value in the numerical difference between of two displaying ratios that obtain.
In this technical scheme, because when Same Scene is carried out Image Acquisition, such as using the camera on the terminal to obtain, because existing, the distance between camera and this scene changes, thereby in the image that obtains, the displaying ratio of Same Scene also can there are differences, therefore, first the ratio of image is regulated before by image being synthesized process, to reach better synthetic effect.In building-up process, need to identify the Same Scene in the different images, there is more method in the prior art in this, such as by after the gray scale of image is processed, carries out the judgement of grey scale change, or different images is compared and judgement etc.
By above technical scheme, can realize the multi-angle of reference object is showed and watched, promote the user and experience.
Description of drawings
Fig. 1 shows the according to an embodiment of the invention block diagram of terminal;
Fig. 2 shows the according to an embodiment of the invention process flow diagram of image processing method;
Fig. 3 A to Fig. 3 F shows the according to an embodiment of the invention synoptic diagram of image processing method.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments the present invention is further described in detail.Need to prove that in the situation of not conflicting, the application's embodiment and the feature among the embodiment can make up mutually.
A lot of details have been set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subjected to the restriction of following public specific embodiment.
Fig. 1 shows the according to an embodiment of the invention block diagram of terminal.
As shown in Figure 1, terminal 100 comprises: image acquisition unit 102, and treat photographed scene from a plurality of angles and carry out Image Acquisition, and generate corresponding image file respectively; Angle information record cell 104 when image acquisition unit 102 carries out Image Acquisition, records angle information corresponding to each image file; Storage unit 108 is carried out association store with image file and angle information.
In this technical scheme, Same Scene is carried out the Image Acquisition of multi-angle, and by carrying out relatedly with corresponding angle information, so just can pass through this angle information, obtain the mutual alignment relation between all images, for the condition that provides is provided for the multi-angle of this scene.The angle information here can be the angle information of a dimension, such as a plurality of images that when certain camber line moves, obtain, also can be the angle information of a plurality of dimensions, then corresponding image can be arranged along a plurality of directions, such as surrounded " sphere " structure by a plurality of images.
In technique scheme, preferably, angle information record cell 104 specifically comprises: real-time angle recordings subelement 1042, the real-time terminal angle when document image acquiring unit 102 carries out Image Acquisition at every turn; Differential seat angle computation subunit 1044 is calculated the real-time terminal angle of real-time angle recordings subelement 1042 records and the image differential seat angle between the designated terminal angle, and with the image differential seat angle as described angle information.
In this technical scheme, the designated terminal angle can be appointed as: in same group of image, and the real-time terminal angle when obtaining first image; Also can be appointed as: last the real-time terminal angle that image is corresponding; Perhaps other arbitrary terminal angles by user's appointment.And no matter adopt which kind of angle recordings mode, in fact all can mutually transform, and all can express mutual alignment relation between each image file in this group image.By the calculating of image differential seat angle, be convenient to utilize the image file of storage, the scene of the different angles during to Image Acquisition is reduced.
In technique scheme, preferably, angle information record cell 104 also is used for: the angle recordings of terminal was for initially checking angle when initial display processing unit was play default initial pictures file, and the real time inspection angle of obtaining terminal 100, and calculate the real time inspection angle and initially check the differential seat angle of checking between the angle; And terminal 100 also comprises: initial display processing unit 110, when utilizing 100 pairs of image files of terminal to check, play the initial pictures file at the screen of terminal 100; File designating unit 112 according to checking differential seat angle and angle information, is determined corresponding specific image file; Display processing unit 114 is generated as the realtime graphic file with specific image file in real time, and plays the realtime graphic file at the screen of terminal 100.
In this technical scheme, the user can be by rotating terminal, differential seat angle is checked in formation, and also has differential seat angle between the image file of storing in the terminal (being embodied in the angle information of corresponding stored), therefore, between the angle information of checking differential seat angle and image file, corresponding relation is arranged, by this corresponding relation, can be by rotating terminal, to play corresponding image file at terminal screen, thereby present the scene of corresponding angle, promote visual effect.
In technique scheme, preferably, display processing unit 114 specifically comprises in real time: file acquisition subelement 1142, angle information according to storage, obtain corresponding to a plurality of image files of checking differential seat angle, wherein, check differential seat angle corresponding to direction of observation, and have image direction corresponding to each image file of checking differential seat angle; Realtime graphic file generated subelement 1144, for any two image files that are associated in a plurality of image files, utilize V=V1 * cos α+V2 * cos β to calculate the realtime graphic file, wherein, V is the display attribute value of realtime graphic file, and V1 is the display attribute value of an image file, and V2 is the display attribute value of another image file, α is the angle of direction of observation and an image file, and β is the angle of direction of observation and another image file; The realtime graphic file is play subelement 1146, plays the realtime graphic file that realtime graphic file generated subelement 1144 generates.
In this technical scheme, because the image of the different angles that obtain during Image Acquisition is limited, angle that can't be when playing is corresponding one by one, therefore relevant image is synthesized processing, in order to reach the visual effect that seamlessly transits.Particularly, for direction of observation, when terminal is in original state, suppose the straight line that has a normal to screen, direction is pointed to screen, and then this straight line can be considered to the direction of observation here, when terminal was rotated, it did not change thereupon, but produced from terminal between different angles.For image direction, suppose all image files are taken out, then can the angle when obtaining join end to end, this moment is for arbitrary image wherein, perpendicular to the straight line of this image, direction is to insert by image is positive, and then this straight line namely can be regarded as the image direction of this image.So, arbitrary rotational angle for terminal, if direction of observation overlaps with image direction, then directly this image file is play as the realtime graphic file, and when direction of observation does not overlap with image direction, then utilize many images to synthesize processing, many the images here, can be more than two or two, wherein, on same direction (such as horizontal direction or vertical direction), only may there be simultaneously the image of two associations, namely this moment, direction of observation was between the image direction of these two images, and these two images obtain for taking continuously.In addition, the display attribute value here comprises the pixel value of image, the color of each pixel (such as rgb value, YUV value etc.), colour temperature etc.
In technique scheme, preferably, also comprise: scenery identification unit 116, before display processing unit 114 utilizes two image files generation realtime graphic files in real time, respectively the scene in two image files is carried out identification, and obtain the displaying ratio of the scene in each image file; Ratio judging unit 118 judges that whether the numerical difference between of two displaying ratios that obtain is greater than default difference threshold value; Convergent-divergent processing unit 120 is in the situation that is in the judged result of ratio judging unit 118, determines to specify displaying ratio, and processes according to specifying displaying ratio that two image files are carried out respectively convergent-divergent.
In this technical scheme, because when Same Scene is carried out Image Acquisition, such as using the camera on the terminal to obtain, because existing, the distance between camera and this scene changes, thereby in the image that obtains, the displaying ratio of Same Scene also can there are differences, therefore, first the ratio of image is regulated before by image being synthesized process, to reach better synthetic effect.In building-up process, need to identify the Same Scene in the different images, there is more method in the prior art in this, such as by after the gray scale of image is processed, carries out the judgement of grey scale change, or different images is compared and judgement etc.
Fig. 2 shows the according to an embodiment of the invention process flow diagram of image processing method.
Image processing method according to an embodiment of the invention as shown in Figure 2, comprise: step 202, terminal generates respectively corresponding image file, and records angle information corresponding to each described image file when treating photographed scene from a plurality of angles and carry out Image Acquisition; Step 204 is carried out association store with image file and angle information.
In this technical scheme, Same Scene is carried out the Image Acquisition of multi-angle, and by carrying out relatedly with corresponding angle information, so just can pass through this angle information, obtain the mutual alignment relation between all images, for the condition that provides is provided for the multi-angle of this scene.The angle information here can be the angle information of a dimension, such as a plurality of images that when certain camber line moves, obtain, also can be the angle information of a plurality of dimensions, then corresponding image can be arranged along a plurality of directions, such as surrounded " sphere " structure by a plurality of images.
In technique scheme, preferably, in the step 202, the process of recording angular information specifically comprises: the real-time terminal angle when record carries out Image Acquisition at every turn, calculate the image differential seat angle between real-time terminal angle and the designated terminal angle, and with the image differential seat angle as angle information.
In this technical scheme, the designated terminal angle can be appointed as: in same group of image, and the real-time terminal angle when obtaining first image; Also can be appointed as: last the real-time terminal angle that image is corresponding; Perhaps other arbitrary terminal angles by user's appointment.And no matter adopt which kind of angle recordings mode, in fact all can mutually transform, and all can express mutual alignment relation between each image file in this group image.By the calculating of image differential seat angle, be convenient to utilize the image file of storage, the scene of the different angles during to Image Acquisition is reduced.
In technique scheme, preferably, after the step 204, also comprise: step 206, when utilizing terminal that image file is checked, play default initial pictures file at the screen of terminal, and the angle recordings of general's terminal this moment is for initially checking angle; Step 208 is obtained the real time inspection angle of terminal, and calculates described real time inspection angle and initially check the differential seat angle of checking between the angle; Step 210 according to checking differential seat angle and angle information, is determined corresponding specific image file; Step 212 is generated as the realtime graphic file with specific image file, and plays the realtime graphic file at the screen of terminal.
In this technical scheme, the user can be by rotating terminal, differential seat angle is checked in formation, and also has differential seat angle between the image file of storing in the terminal (being embodied in the angle information of corresponding stored), therefore, between the angle information of checking differential seat angle and image file, corresponding relation is arranged, by this corresponding relation, can be by rotating terminal, to play corresponding image file at terminal screen, thereby present the scene of corresponding angle, promote visual effect.
In technique scheme, preferably, step 212 specifically comprises: the angle information according to storage, obtain corresponding to a plurality of image files of checking differential seat angle; Check differential seat angle corresponding to direction of observation, and have image direction corresponding to each image file of checking differential seat angle; For any two image files that are associated in a plurality of image files, utilize V=V1 * cos α+V2 * cos β to calculate the realtime graphic file, wherein, V is the display attribute value of realtime graphic file, V1 is the display attribute value of an image file, V2 is the display attribute value of another image file, and α is the angle of direction of observation and an image file, and β is the angle of direction of observation and another image file; Play the realtime graphic file.
In this technical scheme, because the image of the different angles that obtain during Image Acquisition is limited, angle that can't be when playing is corresponding one by one, therefore relevant image is synthesized processing, in order to reach the visual effect that seamlessly transits.Particularly, for direction of observation, when terminal is in original state, suppose the straight line that has a normal to screen, direction is pointed to screen, and then this straight line can be considered to the direction of observation here, when terminal was rotated, it did not change thereupon, but produced from terminal between different angles.For image direction, suppose all image files are taken out, then can the angle when obtaining join end to end, this moment is for arbitrary image wherein, perpendicular to the straight line of this image, direction is to insert by image is positive, and then this straight line namely can be regarded as the image direction of this image.So, arbitrary rotational angle for terminal, if direction of observation overlaps with image direction, then directly this image file is play as the realtime graphic file, and when direction of observation does not overlap with image direction, then utilize many images to synthesize processing, many the images here, can be more than two or two, wherein, on same direction (such as horizontal direction or vertical direction), only may there be simultaneously the image of two associations, namely this moment, direction of observation was between the image direction of these two images, and these two images obtain for taking continuously.In addition, the display attribute value here comprises the pixel value of image, the color of each pixel (such as rgb value, YUV value etc.), colour temperature etc.
In technique scheme, preferably, step 212 also comprises: before utilizing two image files generation realtime graphic files, respectively the scene in two image files is carried out identification, and obtain the displaying ratio of the scene in each image file; , determine to specify displaying ratio, and according to described appointment displaying ratio described two image files are carried out respectively convergent-divergent and process during greater than default difference threshold value in the numerical difference between of two displaying ratios that obtain.
In this technical scheme, because when Same Scene is carried out Image Acquisition, such as using the camera on the terminal to obtain, because existing, the distance between camera and this scene changes, thereby in the image that obtains, the displaying ratio of Same Scene also can there are differences, therefore, first the ratio of image is regulated before by image being synthesized process, to reach better synthetic effect.In building-up process, need to identify the Same Scene in the different images, there is more method in the prior art in this, such as by after the gray scale of image is processed, carries out the judgement of grey scale change, or different images is compared and judgement etc.
Fig. 3 A to Fig. 3 F shows the according to an embodiment of the invention synoptic diagram of image processing method.
As shown in Figure 3A, use 300 pairs of objects 302 of terminal to carry out Image Acquisition from different angles respectively, the subject image when obtaining different angles.In Fig. 3 A, from 8 angles such as A, B, C, this object 302 has been carried out respectively Image Acquisition.Terminal 300 is when carrying out Image Acquisition, the rotation of self can occur, thereby so that every image is all corresponding to an angle, and these angles can be used for all images that obtain are arranged (object 302 of Fig. 3 A also can be regarded the combination that is joined end to end and consisted of by many images as, but in fact not necessarily really carries out the combination of image).Therefore, when carrying out Image Acquisition, terminal 300 records the terminal angle corresponding to this image simultaneously at every turn, and terminal angle and correspondence image are carried out association store.Above-mentioned 8 images that obtain, can be used as one group of image for object 302, when the user when terminal 300 is watched this group image, can view the object 302 of different angles, such as carrying out the terminal angle of above-mentioned image when taking end to end, form the column structure among Fig. 3 A, then rotate this column structure by the user, so that show the image of all angles.
Certainly, except image is carried out end to end after, carry out hand rotation by the user, can also adopt other the form of checking, shown in Fig. 3 B.
In Fig. 3 B, by rotating terminal 300, make terminal 300 obtain real-time rotational angle, and the rotational angle of this real-time rotational angle when being acquired with every image is corresponding, particularly, under less rotation, just can cover whole angles (0 ° to 360 °), such as can be so that during 1 ° of terminal 300 actual rotation, corresponding to 10 ° in the image.So, just can automatically play corresponding image according to the angle of terminal 300.
Perhaps, also can be in navigation process, after the real-time rotational angle of terminal 300 obtained, when this real-time rotational angle is in certain preset range, screen in terminal 300 shows corresponding image, and does not produce the effect of the column structure among Fig. 3 B.
By the way, can realize actual many images that obtain are stored and browsed, but be merely able to form the column structure among similar Fig. 3 A, Fig. 3 B or only demonstrate many images that photograph, for the user, that the experience that obtains is interrupted often, discontinuous.This is because when carrying out Image Acquisition, the reasons such as storage space owing to terminal 300 self, can't obtain angled image, so that in navigation process, always exist and the real-time rotational angle of terminal 300 image one to one, it is synthetic then can to utilize this moment a plurality of images to carry out realtime graphic.
Particularly, shown in Fig. 3 C, to the image browsing on the terminal 300 time, there is direction of observation 304, this direction is a directions, be in original state (such as the demonstration of image will be carried out the time such as being set as in terminal 300, or can physical button be set in terminal 300, when this physical button is operated, terminal 300 all enters original state) time, straight line perpendicular to terminal screen, sensing screen is direction of observation 304, and when terminal 300 was rotated, this direction of observation 304 did not change.
Image direction 306 then can be set to perpendicular to image, pass the direction of image, because there is certain angle in every image, therefore, all there is unique image direction 306 in every image.
Certainly, direction of observation 304 also can be for passing the direction of screen, and image direction 306 also can be the direction of pointing to image, as long as the direction of direction that can each image is corresponding and each image and the relation between the direction of observation 304 are distinguished.
Therefore, after terminal 300 turns to a certain position, have two kinds of situations, in the first situation, direction of observation 304 overlaps with some image directions 306, then demonstrates this image in terminal 300 and gets final product; In the second situation, direction of observation 304 is between certain two image direction 306, then can carry out the synthetic of realtime graphic by corresponding two images.
Particularly, for the second situation, in Fig. 3 C, there are the first image direction 306A, the second image direction 306B and the 3rd image direction 306C, and direction of observation 304 is between the first image direction 306A and the second image direction 306B, and the image that does not have other between the first image direction 306A and the second image direction 306B then carries out the synthetic of realtime graphic by the first image direction 306A corresponding the first image 308A and the second image 308B corresponding to the second image direction 306B.
Utilize V=V1 * cos α+V2 * cos β to synthesize realtime graphic, wherein, V is the display attribute value of realtime graphic, V1 is the display attribute value of the first image 308A, V2 is the display attribute value of the second image 308B, α is the angle of direction of observation 304 and the first image 308A, and β is the angle of direction of observation 304 and the second image 308B.The display attribute value here can be the pixel value of image, the color of each pixel (such as rgb value, YUV value etc.), colour temperature etc.Can obtain realtime graphic when arbitrarily angled by above processing, thereby so that the user in the process of rotating terminal 300, realizes seamlessly transitting at the image that terminal 300 demonstrates, promote visual effect.
In addition, because terminal 300 when object 302 is carried out the Image Acquisition of different angles, can't accomplish all to equate with the distance of object 302, so that in different images at every turn, the displaying ratio of object 302 is not identical, thereby causes impact effect when carrying out realtime graphic synthetic.
Suppose the first image 308A shown in Fig. 3 D, and the second image 308B is shown in Fig. 3 E, then obviously there is larger difference in both displaying ratios.And for terminal 300, before the judgement to displaying ratio, at first need the target object in each image is identified, and the mode of identification can be by a variety of, in a kind of situation, can be by after image being carried out the gray scale processing, variation according to gray-scale value identifies destination object, and because two images are to take continuously, thereby the attitude of the destination object that identifies is close, is easy to recognize be same destination object.So, the displaying ratio of the second image 308B can be adjusted to the state shown in Fig. 3 F, so that the first image 308A has similar displaying ratio with the second image 308B.Certainly, also can regulate the displaying ratio of the first image 308A, or according to user's setting, simultaneously the displaying ratio of the first image 308A and the second image 308B is adjusted to identical, appropriate ratio.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considered that the ways of presentation for photo is single in the correlation technique.Therefore, the present invention proposes a kind of terminal and a kind of image processing method, can realize the multi-angle of reference object is showed and watched, promote the user and experience.
In the present invention, term " a plurality of " refers to two or more, unless clear and definite restriction is arranged in addition.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a terminal is characterized in that, comprising:
Image acquisition unit is treated photographed scene from a plurality of angles and is carried out Image Acquisition, and generates corresponding image file respectively;
The angle information record cell when described image acquisition unit carries out described Image Acquisition, records angle information corresponding to each described image file;
Storage unit is carried out association store with described image file and described angle information.
2. terminal according to claim 1 is characterized in that, described angle information record cell specifically comprises:
Real-time angle recordings subelement, the real-time terminal angle when recording described image acquisition unit and carrying out described Image Acquisition at every turn;
The differential seat angle computation subunit is calculated the described real-time terminal angle of described real-time angle recordings subelement record and the image differential seat angle between the designated terminal angle, and with described image differential seat angle as described angle information.
3. terminal according to claim 1 is characterized in that,
Described angle information record cell also is used for: the angle recordings of terminal was for initially checking angle when initial display processing unit was play default initial pictures file, and the real time inspection angle of obtaining described terminal, and calculate described real time inspection angle and the described differential seat angle of checking of initially checking between the angle; And
Described terminal also comprises:
Described initial display processing unit when utilizing described terminal that described image file is checked, is play described initial pictures file at the screen of described terminal;
The file designating unit according to described differential seat angle and the described angle information checked, is determined corresponding specific image file;
Display processing unit is generated as the realtime graphic file with described specific image file in real time, and plays described realtime graphic file at the screen of described terminal.
4. terminal according to claim 3 is characterized in that, described real-time display processing unit specifically comprises:
The file acquisition subelement, described angle information according to storage obtains a plurality of image files of checking differential seat angle corresponding to described, wherein, the described differential seat angle of checking is corresponding to direction of observation, and has image direction corresponding to described each the described image file of differential seat angle of checking;
Realtime graphic file generated subelement, for any two image files that are associated in described a plurality of image files, utilize V=V1 * cos α+V2 * cos β to calculate described realtime graphic file, wherein, V is the display attribute value of described realtime graphic file, V1 is the display attribute value of an image file, V2 is the display attribute value of another image file, α is the angle of described direction of observation and a described image file, and β is the angle of described direction of observation and described another image file;
The realtime graphic file is play subelement, plays the described realtime graphic file that described realtime graphic file generated subelement generates.
5. according to claim 3 or 4 described terminals, it is characterized in that, also comprise:
The scenery identification unit utilizes before two image files generate described realtime graphic file at described real-time display processing unit, respectively the scene in described two image files is carried out identification, and obtains the displaying ratio of the scene in each image file;
The ratio judging unit judges that whether the numerical difference between of two displaying ratios that obtain is greater than default difference threshold value;
The convergent-divergent processing unit is in the situation that is in the judged result of described ratio judging unit, determines to specify displaying ratio, and according to described appointment displaying ratio described two image files is carried out respectively convergent-divergent and process.
6. an image processing method is characterized in that, comprising:
Step 202, terminal generate respectively corresponding image file, and record angle information corresponding to each described image file when treating photographed scene from a plurality of angles and carry out Image Acquisition;
Step 204 is carried out association store with described image file and described angle information.
7. image processing method according to claim 6 is characterized in that, in the described step 202, the process that records described angle information specifically comprises:
The real-time terminal angle of record when at every turn carrying out Image Acquisition calculated the image differential seat angle between described real-time terminal angle and the designated terminal angle, and with described image differential seat angle as described angle information.
8. image processing method according to claim 6 is characterized in that, after the described step 204, also comprises:
Step 206 when utilizing described terminal that described image file is checked, is play default initial pictures file at the screen of described terminal, and will this moment the angle recordings of described terminal for initially checking angle;
Step 208 is obtained the real time inspection angle of described terminal, and calculates described real time inspection angle and the described differential seat angle of checking of initially checking between the angle;
Step 210 according to described differential seat angle and the described angle information checked, is determined corresponding specific image file;
Step 212 is generated as the realtime graphic file with described specific image file, and plays described realtime graphic file at the screen of described terminal.
9. image processing method according to claim 8 is characterized in that, described step 212 specifically comprises:
Described angle information according to storage obtains a plurality of image files of checking differential seat angle corresponding to described;
The described differential seat angle of checking is corresponding to direction of observation, and has image direction corresponding to described each the described image file of differential seat angle of checking;
For any two image files that are associated in described a plurality of image files, utilize V=V1 * cos α+V2 * cos β to calculate described realtime graphic file, wherein, V is the display attribute value of described realtime graphic file, V1 is the display attribute value of an image file, V2 is the display attribute value of another image file, and α is the angle of described direction of observation and a described image file, and β is the angle of described direction of observation and described another image file;
Play described realtime graphic file.
10. according to claim 8 or 9 described image processing methods, it is characterized in that described step 212 also comprises:
Utilizing before two image files generate described realtime graphic file, respectively the scene in described two image files is carried out identification, and obtain the displaying ratio of the scene in each image file;
, determine to specify displaying ratio, and according to described appointment displaying ratio described two image files are carried out respectively convergent-divergent and process during greater than default difference threshold value in the numerical difference between of two displaying ratios that obtain.
CN201210121431.4A 2012-04-23 2012-04-23 Terminal and image processing method Active CN103377469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210121431.4A CN103377469B (en) 2012-04-23 2012-04-23 Terminal and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210121431.4A CN103377469B (en) 2012-04-23 2012-04-23 Terminal and image processing method

Publications (2)

Publication Number Publication Date
CN103377469A true CN103377469A (en) 2013-10-30
CN103377469B CN103377469B (en) 2016-05-04

Family

ID=49462538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210121431.4A Active CN103377469B (en) 2012-04-23 2012-04-23 Terminal and image processing method

Country Status (1)

Country Link
CN (1) CN103377469B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660897A (en) * 2013-11-20 2015-05-27 浪潮乐金数字移动通信有限公司 Acquisition method of 360-degree panoramic image based on mobile terminal
CN106973226A (en) * 2017-03-30 2017-07-21 努比亚技术有限公司 A kind of image pickup method and terminal
CN107071338A (en) * 2016-11-23 2017-08-18 深圳市元征科技股份有限公司 A kind of image processing method and device
CN107895293A (en) * 2016-09-30 2018-04-10 阿里巴巴集团控股有限公司 A kind of method for displaying image, apparatus and system
CN103795924B (en) * 2014-02-07 2018-06-15 宇龙计算机通信科技(深圳)有限公司 Panorama camera arrangement and method
WO2018166275A1 (en) * 2017-03-17 2018-09-20 北京京东尚科信息技术有限公司 Playing method and playing apparatus, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1242074A (en) * 1996-10-25 2000-01-19 威伍沃克斯股份有限公司 Method and apparatus for three-dimensional color scanning
US20070216681A1 (en) * 2006-03-16 2007-09-20 Taishi Nishida Method, apparatus, and system for processing geometric data of assembled parts
US20080050011A1 (en) * 2006-08-24 2008-02-28 Microsoft Corporation Modeling and texturing digital surface models in a mapping application
WO2009117709A2 (en) * 2008-03-21 2009-09-24 Google Inc. Lightweight three-dimensional display
CN102376089A (en) * 2010-12-09 2012-03-14 深圳大学 Target correction method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1242074A (en) * 1996-10-25 2000-01-19 威伍沃克斯股份有限公司 Method and apparatus for three-dimensional color scanning
US20070216681A1 (en) * 2006-03-16 2007-09-20 Taishi Nishida Method, apparatus, and system for processing geometric data of assembled parts
US20080050011A1 (en) * 2006-08-24 2008-02-28 Microsoft Corporation Modeling and texturing digital surface models in a mapping application
WO2009117709A2 (en) * 2008-03-21 2009-09-24 Google Inc. Lightweight three-dimensional display
WO2009117709A3 (en) * 2008-03-21 2009-12-17 Google Inc. Lightweight three-dimensional display
CN102376089A (en) * 2010-12-09 2012-03-14 深圳大学 Target correction method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660897A (en) * 2013-11-20 2015-05-27 浪潮乐金数字移动通信有限公司 Acquisition method of 360-degree panoramic image based on mobile terminal
CN103795924B (en) * 2014-02-07 2018-06-15 宇龙计算机通信科技(深圳)有限公司 Panorama camera arrangement and method
CN107895293A (en) * 2016-09-30 2018-04-10 阿里巴巴集团控股有限公司 A kind of method for displaying image, apparatus and system
CN107071338A (en) * 2016-11-23 2017-08-18 深圳市元征科技股份有限公司 A kind of image processing method and device
WO2018166275A1 (en) * 2017-03-17 2018-09-20 北京京东尚科信息技术有限公司 Playing method and playing apparatus, and computer-readable storage medium
US10924637B2 (en) 2017-03-17 2021-02-16 Beijing Jingdong Shangke Information Technology Co, Ltd. Playback method, playback device and computer-readable storage medium
CN106973226A (en) * 2017-03-30 2017-07-21 努比亚技术有限公司 A kind of image pickup method and terminal
CN106973226B (en) * 2017-03-30 2020-01-24 上海明殿文化传播有限公司 Shooting method and terminal

Also Published As

Publication number Publication date
CN103377469B (en) 2016-05-04

Similar Documents

Publication Publication Date Title
US11854149B2 (en) Techniques for capturing and displaying partial motion in virtual or augmented reality scenes
CN107636534B (en) Method and system for image processing
US10332237B2 (en) Equatorial stitching of hemispherical images in a spherical image capture system
US20160295108A1 (en) System and method for panoramic imaging
US10051180B1 (en) Method and system for removing an obstructing object in a panoramic image
US9836875B2 (en) Viewing angle image manipulation based on device rotation
US10404915B1 (en) Method and system for panoramic video image stabilization
CN103377469A (en) Terminal and image processing method
US8860847B2 (en) Computer-readable storage medium having stored thereon image generation program, capturing apparatus, capturing system, and image generation method for creating an image
US20170064289A1 (en) System and method for capturing and displaying images
US9756260B1 (en) Synthetic camera lenses
EP3960261A1 (en) Object construction method and apparatus based on virtual environment, computer device, and readable storage medium
US8982245B2 (en) Method and system for sequential viewing of two video streams
US20160063764A1 (en) Image processing apparatus, image processing method, and computer program product
US11151791B2 (en) R-snap for production of augmented realities
CN102572492B (en) Image processing device and method
US10922878B2 (en) Lighting for inserted content
KR20160002531A (en) 3d image creating method using video photographed with smart device
JP2014053794A (en) Information processing program, information processing apparatus, information processing system, and information processing method
CN103391396B (en) Display control apparatus and display control method
Avery et al. User evaluation of see-through vision for mobile outdoor augmented reality
Chew et al. Panorama stitching using overlap area weighted image plane projection and dynamic programming for visual localization
WO2014170482A1 (en) Method for generating an output video stream from a wide-field video stream
CN115550563A (en) Video processing method, video processing device, computer equipment and storage medium
JP5649842B2 (en) Information providing apparatus, information providing method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant