CN103795892B - Method and apparatus for processing collected image data - Google Patents

Method and apparatus for processing collected image data Download PDF

Info

Publication number
CN103795892B
CN103795892B CN201210430503.3A CN201210430503A CN103795892B CN 103795892 B CN103795892 B CN 103795892B CN 201210430503 A CN201210430503 A CN 201210430503A CN 103795892 B CN103795892 B CN 103795892B
Authority
CN
China
Prior art keywords
view data
module
inclination angle
adjustment
size
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.)
Active
Application number
CN201210430503.3A
Other languages
Chinese (zh)
Other versions
CN103795892A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201210430503.3A priority Critical patent/CN103795892B/en
Priority to PCT/CN2013/085914 priority patent/WO2014067422A1/en
Publication of CN103795892A publication Critical patent/CN103795892A/en
Application granted granted Critical
Publication of CN103795892B publication Critical patent/CN103795892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof
    • G06T3/608Rotation of whole images or parts thereof by skew deformation, e.g. two-pass or three-pass rotation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and apparatus for processing collected image data. The method comprises the following steps: obtaining the collected image data and an inclination angle when an image acquisition device collects the image data; and carrying out direction adjustment on the collected image data based on the inclination angle so that the direction of the adjusted image data is in vertical and positive direction when the adjusted image data is output and displayed; and saving the adjusted image data. According to the method and apparatus for processing the collected image data, no matter whether the image acquisition device is in vertical and positive direction when collecting the image data, the collected image data of the image acquisition device is in vertical and positive direction after the collected image data is stored and output to display equipment for displaying, so that a user utilizes the image acquisition device to obtain video or picture data convenient to watch conveniently.

Description

A kind of processing method and processing device of collection view data
Technical field
The present invention relates to a kind of image processing techniquess, more particularly to a kind of processing method and processing device of collection view data.
Background technology
With the development of electronic technology, the electronic equipment for possessing image data acquiring function is more and more.These electronics set It is standby during collection view data, be likely to be at arbitrarily non-perpendicular positive direction.This results in the view data of collection Non-perpendicular positive direction can be in during output display.
Assume that someone shoots the video of one section of concert with mobile phone, or with the landscape in mobile phone side Zou Bianpai roadsides, then by In shooting process, mobile phone is not strict in vertically or horizontally(Very wide-angle may be inclined, or even is reversed), The video for causing to record will be gone out into crooked situation when playing, this is greatly lowered the visual experience of viewing video people. For example, as shown in figure 1, mobile phone is horizontal shooting when initial, it is similarly forward direction when the video at this moment gathering is played on computers; Afterwards, there is tilting or rotation in mobile phone, and deflection is just there occurs when now captured video is played on computers, or even completely anti- To.Wherein, when the small arrow left side in Fig. 1 is mobile phone captured in real-time, present angle schematic diagram, is corresponding on the right of small arrow Picture view when playing on computers, the big arrow in Fig. 1 indicates the direction transformation process in mobile phone shooting process And the change procedure of the corresponding picture being shown on computer.
If when photographer is the video playback for making shooting, relative gravity is positive all the time, if it has to be always maintained at mobile phone In vertically or horizontally, and freely can not rotate, this will cause the electronic apparatus application of photographer to be experienced again reduces.
It can be seen that, in prior art, it is impossible to which the view data that easily guarantee electronic equipment is gathered is in output display with just True direction is shown that the application for reducing user is experienced.
The content of the invention
It is an object of the invention to provide a kind of processing method and processing device of collection view data, so as to ensure by inclined The view data of image capture device collection can be shown with being correctly oriented in output display.
The purpose of the present invention is achieved through the following technical solutions:
A kind of processing method of collection view data, including:
Obtain the view data of collection, and inclination angle of image capture device when gathering the view data;
The view data travel direction of the collection is adjusted according to the inclination angle, the view data after adjustment is in output Direction during display is vertical positive;
Preserve the view data after adjustment.
A kind of processing meanss of collection view data, including:
Image data acquisition module, for obtaining the view data of collection;
Inclination angle detection module, gathers the inclination angle during view data for detection image collecting device;
View data direction adjusting module, for detecting the inclination angle for obtaining to described according to the inclination angle detection module The view data travel direction adjustment of the collection that image data acquisition module is obtained, the view data after adjustment is in output display Direction be vertical positive;
Memory module, for preserving the view data after the adjustment of described image data direction adjusting module.
As seen from the above technical solution provided by the invention, technical scheme provided in an embodiment of the present invention can ensure that No matter when view data is gathered image capture device whether in vertical positive, view data of its collection is exported after storing Vertical forward condition is in when showing to display device, image capture device is user-friendly to and is obtained the video for being easy to view and admire Or image data.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to using needed for embodiment description Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the effect diagram of collection image display in prior art;
Fig. 2 is handling process schematic diagram provided in an embodiment of the present invention;
Fig. 3 is handling process schematic diagram provided in an embodiment of the present invention two;
Fig. 4 is collection image provided in an embodiment of the present invention the effect diagram for showing;
Fig. 5 is apparatus structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Based on this Inventive embodiment, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art Example, belongs to protection scope of the present invention.
In the embodiment of the present invention, can be by way of the view data to gathering when shooting be modified, it is ensured that adopt The corresponding video of view data of collection or picture can remain correct view direction when playing or browse.
The processing method of a kind of collection view data provided in an embodiment of the present invention, as shown in Fig. 2 can include:
Step 21, the view data of acquisition collection, and image capture device gather the inclination angle during view data, phase The view data answered can be video or picture;
Step 22, according to view data travel direction adjustment of the inclination angle to gathering, the view data after adjustment exists Direction during output display is vertical positive;
In this step, the processing mode for adjusting to the view data travel direction of the collection can be using following any A kind of processing mode:
Mode one:According to the inclination angle for obtaining, the view data to gathering carries out rotation processing, so as to by picture number According to the direction for rotating to vertical forward direction, that is, after rotating, ensure that the corresponding video pictures of view data for exporting or picture are vertically It is positive;Afterwards, size cutting process is carried out to postrotational view data also, meets predetermined in order to corresponding view data Show size requirements;
Mode two:According to the inclination angle for obtaining, using computer graphicss polygon clipping technology, along inclination angle Direction to gather view data carry out size cutting process, it is assumed that inclination angle be a degree, then it is polygon using computer graphicss Shape tailoring technique, carries out cutting to the view data for gathering along the direction for inclining a degree;Wherein, corresponding computer graphicss Polygon clipping technology includes:The process of the view data rearrangement after processing to size cutting, by the image after cutting Data assignment is vertical positive view data, i.e., carry out chi to view data using computer graphicss polygon clipping technology After very little cutting is processed, the vertical positive view data after cutting just can be obtained.
Specifically, corresponding size cutting processes the size determination of view data that both can be predetermined according to collection View data carries out the size of cutting, or, it is also possible to according to the size at the most narrow place of the corresponding image of view data of collection It is determined that the view data to gathering carries out the size of cutting, or, can be to determine in the way of predetermined to collection according to other View data carries out the size of cutting, to process the picture number that desired size can be obtained on the premise of performing in guarantee cutting According to.
Further, the view data after adjustment can also be preserved.
View data after the process of above-mentioned steps 22 will be shown with vertical positive direction during output display In display screen, so as to facilitate user to watch;And, the adjustment processing procedure of whole image data is to be automatically performed, without the need for people Work is participated in, and facilitates user's application image collecting device, improves the application experience of user.
Alternatively, the embodiment of the present invention can also include during concrete application:View data travel direction is being adjusted Before whole, judge whether adjustment function in direction opens, and only just touch described to picture number when direction adjustment function is opened According to the process that travel direction is adjusted.I.e. when user wishes to adjust view data travel direction according to the inclination angle, then open The direction adjusts function, otherwise, closes direction adjustment function.
Further, for ease of the view data of user's preview collection during collection view data, then the method Can also can include including the processing procedure of the view data gathered described in preview, the process:
(1)According to inclination angle residing during image capture device collection respective image data, will obtain through step 22 process View data after the adjustment for obtaining carries out rightabout rotation processing, that is, reversely rotate the number of degrees value at the inclination angle, it is assumed that Inclination angle is a degree, then reversely rotate a degree(Or rotation-a degree);
(2)According to the size of the display screen of image capture device, size adjusting is carried out to the view data after rotation processing, Can match with the size of the effective display area domain in display screen in order to corresponding view data, it is ensured that optimal preview shows Show effect;
Specifically the catercorner length of view data corresponding picture can be adjusted to less than or equal to image capture device Display screen the most narrow place in viewing area size;
(3)Show through step(2)Size adjusting after view data.
The technical scheme provided by the embodiments of the present invention, can solve when electronic equipment shoots because inclining or being inverted Cause the video for shooting or photo that the problem for inclining even reversion is produced when playing or browse.I.e. by shoot video or The view data such as photo are modified process, to ensure that the view data such as video or photo can be protected all the time when playing or browse The direction of vertical forward direction is held, is easy to user to face corresponding video or photo.And, in the shooting preview stage, by above-mentioned side The process of case can also be shown with same effect.
Electronic equipment in the embodiment of the present invention(That is image capture device)Can be, but not limited to for mobile phone, panel computer, Camera or video camera, etc..
For ease of understand, below in conjunction with accompanying drawing, using mobile phone as image capture device as a example by, to the embodiment of the present invention make Further describe in detail.
The application scenarios of the embodiment as shown in the dotted line above section in Fig. 3, i.e. catch by mobile phone photographic head in inclination angle a The view data of an image frame is obtained, the display of view data view data in the case of unprocessed in Fig. 3, is given Effect, and display effect during mobile phone preview.
In this embodiment, the process processed to the view data for gathering by mobile phone is still as shown in figure 3, can specifically wrap Include following steps:
Step 31, opens gravity synchronizing function(I.e. direction adjusts function), in order to be able to triggering performs follow-up image The direction adjustment processing procedure of data;
During shooting, corresponding gravity synchronizing function can be turned on and off, and control whether to perform subsequently to facilitate Processing procedure is adjusted to corresponding view data, i.e., the embodiment of the present invention can be used as a selectable functions(Open Or close), to facilitate user flexibility to choose whether application, with very strong practicality;
That is, user can selectively turn on according to the needs of oneself or close gravity synchronizing function:User is such as Fruit opens gravity synchronizing function and is shot, and such as shoots concert or claps when walking in the street, then without having to worry about regarding for shooting Frequently inclined problem, when online friend's viewing is uploaded in online video, also will not to incline indefinite and left and right even askew because of video Head goes to appreciate;If user wishes to shoot personalized inclined image, can select to close the gravity synchronizing function, this Sample, for the view data of collection, just will not go to be modified process again;
Step 32, detection mobile phone inclination angle in shooting process;
Specifically, the gravity optimized algorithm that can be arranged in adopting mobile phone(Gravity sensing function)Gravitational cue is obtained, with Ensure precision and the sensitivity of gravitational cue, then calculated when relative mobile phone is just put on gravity direction according to gravitational cue Mobile phone inclines deflecting angle(I.e. image capture device is relative to the positive inclination angle of gravity)A, namely detection determination photographic head and original Deflecting angle a for having gravity positive;
Specifically, the inclination angle of mobile phone, example can be calculated according to the output detection of the gravity sensor being arranged in mobile phone Such as, the acceleration caused due to gravity is measured by gravity sensor, just can calculates and be provided with setting for the gravity sensor Standby angle of inclination with respect to the horizontal plane.
Step 33, shooting the corresponding image frame of view data for obtaining to mobile phone carries out cutting process;
Specifically, the cutting processing mode in the step can include:
First, on the basis of the mobile phone that detection is obtained inclines deflecting angle a, according to set preview the ratio of width to height, catching The picture data for obtaining(That is view data)Area forms an inclined rectangular area, and the portrait on the right side of step 33 in such as Fig. 3 shows Show shown in picture;During cutting rectangular area is calculated, rectangular area catercorner length is at least less than view data pair The image answered(Picture)Most narrow place, rotated in order to mobile phone at any angle, can be carried out correct to view data Carry out cutting process;
Then, using the inclined rectangular area of Polygon clipping technical basis in computer graphicss to collection View data carries out trimming operation, and updates the feature and attribute of the view data after cutting, the i.e. data of more new image data The marks such as Format Type, size and time or information, are that the view data after cutting determines corresponding feature and attribute; Include to inclined square during cutting being carried out to the view data for gathering using computer graphicss polygon clipping technology The rearrangement of the view data in shape region is processed, to obtain the view data of vertical forward direction, i.e.,:Obtain inclined rectangle region Data in domain rearrangement are to new buffer(Caching)In(The process of rearrangement is equivalent to revolving to view data The processing procedure for turning, to obtain the view data of vertical forward direction, the i.e. positive image frame of gravity), and after updating rearrangement The feature and attribute of view data(I.e. the mark such as the type of data format of more new image data, size and time or information, attach most importance to View data after new arrangement determines corresponding feature and attribute), so as to obtain when playing or browse it is required Positive image frame on gravity direction;
In above-mentioned processing procedure, corresponding rearrangement is processed can specifically be included:According to the inclination angle for calculating, and Inclined rectangular region, by the view data of rectangular area by as being mutually mapped in new data field, i.e., with each pixel one by one Data are that unit the position calculation of procession accesses corresponding pixel data to the respective offsets in new buffer one by one Place, so as to each pixel in inclined rectangular region is respectively arranged in vertical positive rectangular area, and rearrangement is obtained View data in the vertical positive rectangular area for obtaining rotates above-mentioned inclination angle equivalent to the view data in inclined rectangular region Number of degrees value after the view data that obtains.
Step 34, stores the view data after cutting is processed;
Directly the view data and characteristic attribute information after the cutting obtained in step 33 is carried out and normally storage side Method identical mode is stored.
Further, in order to be able to the preview effect that the realization in mobile phone is synchronous with the view data for being stored, the embodiment In also need to perform following process, including:
Step 35, the positive image frame of the gravity for obtaining before is rotated, and the anglec of rotation is-a, to obtain during preview The positive image frame on gravity direction;
Step 36, zooms in and out adjustment in proportion, to adapt to the size of display screen;
I.e. the step is the adaptation processing for carrying out with display screen by image frame positive on above-mentioned gravity direction, for example, one The picture for opening 1920X1080 is if desired completely displayed on the display screen of 800X480, then need to be scaled accordingly(Fit Match somebody with somebody)Process;
Specifically, the foundation for adjusting in the step can be, on the premise of proportional, to make picture catercorner length little In or equal to the most narrow place of mobile phone screen effective display area domain, arbitrarily rotated in order to mobile phone, image all can be in mobile phone Display image preview effect that can be correctly complete on screen
Step 37, the image frame after scaling adjustment and processing is shown on display screen, to realize drawing for a frame The preview in face is processed.
By the process of the embodiment, for the video or photo of mobile phone shooting is when playing or browse, no matter shooting Whether Shi Shouji is positive on gravity direction to be placed, can be when showing, it is ensured that corresponding video or photographic scale and picture All in the positive state of gravity.For example, referring to shown in Fig. 4, Fig. 4 be when mobile phone be initially it is horizontal proceed by shooting when, Midway carries out effect diagram when video tilting or that rotation is captured is played on computers, the small arrow in Fig. 4 to mobile phone The left side is mobile phone captured in real-time, is the corresponding picture on computer monitor during broadcasting on the right of small arrow, and big arrow is then handss The process that machine direction changes is indicated.And, by the embodiment can also ensure store view data show when with Display effect during the preview view data is consistent.
It should be noted that in the Shi Lizhong, both can be clapped using existing gravity sensing function in mobile phone and photographic head According to or camera function, it is also possible in advance specially corresponding gravity sensing function is set in mobile phone and photographic head is taken pictures or images work( Can, to apply in the embodiment of the present invention.According to former mode, then the software work(that the embodiment of the present invention can only to mobile phone Can be expanded, to reduce realizing the cost of the embodiment of the present invention.
The process that is applied to of the embodiment of the present invention is illustrated only by taking mobile phone as an example, but this is not constituted to this later Bright restriction.The embodiment of the present invention can also be applied to other electronic equipments comprising shoot function.
One of ordinary skill in the art will appreciate that all or part of flow process in realizing above-described embodiment method, can be Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
The embodiment of the present invention additionally provides a kind of processing meanss of collection view data, and which implements structure such as Fig. 5 institutes Show, can include with lower module:
Image data acquisition module 51, for obtaining the view data of collection;
Inclination angle detection module 52, gathers the inclination angle during view data for detection image collecting device;
View data direction adjusting module 53, for detecting the inclination angle pair for obtaining according to the inclination angle detection module 52 The view data travel direction adjustment of the collection that described image data acquisition module 51 is obtained, the view data after adjustment is in output Direction during display is vertical positive.
Alternatively, memory module 54 can also be included in the apparatus, for preserving described image data direction adjustment mould View data after the adjustment of block 53.
Specifically, corresponding inclination angle detection module 52 can include:
Gravitational cue acquisition module 521, obtains gravitational cue for the gravity sensing function by arranging;
Tilt angle calculation module 522, the gravitational cue for being obtained according to the gravitational cue acquisition module 521 are calculated Image capture device is relative to the positive inclination angle of gravity.
Alternatively, the device can also include gravity sensor, and the gravitational cue acquisition module 521 by described heavy Force transducer obtains gravitational cue.
Further, it is whether the view data direction adjusting module controlled in the device is adjusted to view data travel direction It is whole, can also include with lower module in the apparatus:
Whether direction adjusts functional control module 55, open for setting direction adjustment function, set in order to image acquisition Standby user can easily choose whether the view data using the view data direction adjusting module in the device to collection Travel direction adjustment is processed;
Judge module 56, for before to the adjustment of view data travel direction, judging the direction adjustment function control Whether the direction adjustment function that module 55 is arranged opens, and only just triggers described image when direction adjustment function is opened The process that data direction adjusting module is adjusted to view data travel direction.
Wherein, the processing mode adopted by corresponding view data direction adjusting module 53 can include following any one Kind:
Mode one:According to the inclination angle for obtaining, the view data to gathering carries out rotation processing, and to postrotational View data carries out size cutting process;
Mode two:According to the inclination angle for obtaining, using computer graphicss polygon clipping technology, along inclination angle Direction to gather view data carry out size cutting process, the computer graphicss polygon clipping technology is included to chi The arrangement of the view data after very little cutting process is adjusted, to obtain the view data of vertical forward direction.
Further, the size cutting for adopting in the view data direction adjusting module 53 processes and can be, but not limited to include: Determined according to the size of predetermined view data carries out the size of cutting to the view data for gathering, or, according to the figure of collection As the size at the most narrow place of the corresponding image of data determines the size that cutting is carried out to the view data for gathering.
Furthermore, preview is carried out to the view data for gathering for the ease of user, then the device can also include:
Preview image rotary module 57, for detecting the inclination angle for obtaining according to inclination angle detection module 52, direction is adjusted Rightabout of the view data after the adjustment of whole functional control module 53 along inclination angle rotates the number of degrees value at the inclination angle, so as to In the corresponding picture of view data that vertical forward direction is shown in inclined display screen;
Zoom module 58, for the size of the display screen according to image capture device, to the preview image rotary module View data after 57 rotation processing carries out size adjusting, can be with effective display of display screen in order to corresponding view data The size matching in region;The Zoom module 58 can specifically include screen size determining module 581 and size adjustment module 582, wherein, corresponding screen size determining module 581, for determine the display screen of image capture device viewing area most The size at narrow place;Corresponding size adjustment module 582, for the catercorner length of view data corresponding picture is adjusted to little In or the viewing area most narrow place of the display screen of image capture device that determines equal to the screen size determining module 581 Size;
Display module 59, for showing that the Zoom module 58 carries out the view data after size adjusting.
By the device embodiment, the view data such as the video shot for electronic equipment or photo is being played or is being browsed When, no matter when shooting, whether electronic equipment is positive on gravity direction places, can be when showing, it is ensured that corresponding video With the ratio and picture of photo all in the positive state of gravity.And, can also ensure what is stored by the device embodiment View data show when with the preview view data when display effect it is consistent.
It should be noted that the specific implementation of function realized by each processing unit included in said apparatus exists Have a detailed description in each embodiment above, therefore repeated no more here.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each function The division of module is illustrated, and in practical application, can distribute above-mentioned functions by different function moulds as desired Block is completed, will the internal structure of device be divided into different functional modules, to complete all or part of work(described above Energy.The specific work process of the device and module of foregoing description, may be referred to the corresponding process in preceding method embodiment, here Repeat no more.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, which can be passed through Its mode is realized.For example, device embodiment described above is only schematically, for example division of the module, only Only a kind of division of logic function, can have other dividing mode when actually realizing, such as multiple module or components can be tied Close or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, device or module or logical Letter connection, can be electrical, mechanical or other forms.
The module as separating component explanation can be or may not be it is physically separate, it is aobvious as module The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional module in each embodiment of the invention can with it is integrated in a processor, or Modules are individually physically present, it is also possible to which two or more modules are integrated in a processor.Above-mentioned integrated place Reason device both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized;Corresponding processor can Thinking CPU, and the processor needs the function of completing for performing the modules that said apparatus are included.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any those familiar with the art in the technical scope of present disclosure, the change or replacement that can be readily occurred in, Should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claims Enclose and be defined.

Claims (8)

1. a kind of processing method of view data, it is characterised in that include:
Obtain the view data of collection, and inclination angle of image capture device when gathering the view data;
The view data travel direction of the collection is adjusted according to the inclination angle, the view data after adjustment is in output display When direction be vertical positive;
Wherein, the method is additionally included in the processing procedure of the view data gather described in preview in image capture device, and the mistake Journey includes:
According to the inclination angle, rightabout of the view data after the adjustment along inclination angle is rotated into the degree at the inclination angle Numerical value;
According to the size of the display screen of image capture device, size adjusting is carried out to the view data after rotation processing, it is concrete to wrap Include:The catercorner length of the view data correspondence picture after rotation processing is adjusted to into aobvious less than or equal to image capture device The size at the most narrow place in the viewing area of display screen;
The view data after size adjusting is carried out described in display screen display in image capture device.
2. method according to claim 1, it is characterised in that the method also includes:
Before to the adjustment of view data travel direction, judge whether adjustment function in direction opens, and only adjust in the direction When function is opened, just to the process to the adjustment of view data travel direction.
3. method according to claim 1, it is characterised in that the step of obtaining the inclination angle includes:
Gravitational cue is obtained by the gravity sensing function for arranging, image capture device is calculated according to the gravitational cue relative In the positive inclination angle of gravity.
4. method according to claim 3, it is characterised in that the gravitational cue is by arranging in image capture device Gravity sensor is obtained.
5. it is a kind of collection view data processing meanss, it is characterised in that include:
Image data acquisition module, for obtaining the view data of collection;
Inclination angle detection module, gathers the inclination angle during view data for detection image collecting device;
View data direction adjusting module, for detecting the inclination angle for obtaining to described image according to the inclination angle detection module The view data travel direction adjustment of the collection that data acquisition module is obtained, side of the view data after adjustment in output display To for vertical positive;
The device also includes:
Preview image rotary module, for detecting the inclination angle for obtaining according to the inclination angle detection module, the direction is adjusted Rightabout of the view data after whole functional control module adjustment along inclination angle rotates the number of degrees value at the inclination angle;
Zoom module, for the size of the display screen according to image capture device, at the preview image rotary module rotation View data after reason carries out size adjusting;
Display module, for showing that the Zoom module carries out the view data after size adjusting;
Wherein, the Zoom module includes:
Screen size determining module, the size at the most narrow place in the viewing area for determining the display screen of image capture device;
Size adjustment module, is less than or waits for the catercorner length of the view data correspondence picture after rotation processing is adjusted to The size at the most narrow place in viewing area of the display screen of the image capture device determined in the screen size determining module.
6. device according to claim 5, it is characterised in that the device also includes:
Whether direction adjusts functional control module, open for setting direction adjustment function;
Judge module, for before to the adjustment of view data travel direction, judging that the direction adjustment functional control module sets Whether the direction adjustment function of putting opens, and only just triggers described image data direction when direction adjustment function is opened The process that adjusting module is adjusted to view data travel direction.
7. device according to claim 5, it is characterised in that the inclination angle detection module includes:
Gravitational cue acquisition module, obtains gravitational cue for the gravity sensing function by arranging;
Tilt angle calculation module, the gravitational cue for being obtained according to the gravitational cue acquisition module calculate image acquisition and set The standby inclination angle positive relative to gravity.
8. device according to claim 7, it is characterised in that the device also includes gravity sensor, and gravity letter Number acquisition module obtains gravitational cue by the gravity sensor.
CN201210430503.3A 2012-11-01 2012-11-01 Method and apparatus for processing collected image data Active CN103795892B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210430503.3A CN103795892B (en) 2012-11-01 2012-11-01 Method and apparatus for processing collected image data
PCT/CN2013/085914 WO2014067422A1 (en) 2012-11-01 2013-10-24 Processing method and apparatus for image data collection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210430503.3A CN103795892B (en) 2012-11-01 2012-11-01 Method and apparatus for processing collected image data

Publications (2)

Publication Number Publication Date
CN103795892A CN103795892A (en) 2014-05-14
CN103795892B true CN103795892B (en) 2017-04-12

Family

ID=50626474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210430503.3A Active CN103795892B (en) 2012-11-01 2012-11-01 Method and apparatus for processing collected image data

Country Status (2)

Country Link
CN (1) CN103795892B (en)
WO (1) WO2014067422A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812648A (en) * 2014-12-30 2016-07-27 深圳富泰宏精密工业有限公司 Picture azimuth correction system and method
CN104917964A (en) * 2015-05-25 2015-09-16 百度在线网络技术(北京)有限公司 Shooting realization method and apparatus of smart mobile device
CN104936039B (en) * 2015-06-19 2018-09-04 小米科技有限责任公司 Image processing method and device
CN106210507A (en) * 2016-06-27 2016-12-07 联想(北京)有限公司 Image adjusting method and electronic equipment
CN107005644A (en) * 2016-08-15 2017-08-01 深圳市大疆创新科技有限公司 A kind of image processing apparatus and image processing method
CN107995439A (en) * 2016-10-27 2018-05-04 中兴通讯股份有限公司 A kind of video capture, broadcasting, processing method, photo terminal
CN107257432B (en) * 2017-06-12 2020-12-22 苏州经贸职业技术学院 Self-adaptive display method and system for image transmission between terminals
CN107155114A (en) * 2017-06-22 2017-09-12 上海鋆创信息技术有限公司 A kind of video pictures method of adjustment and system
CN107809594B (en) * 2017-11-10 2019-09-27 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108200318A (en) * 2018-01-02 2018-06-22 联想(北京)有限公司 Electronic equipment and the method for obtaining image
CN113793243A (en) * 2021-05-14 2021-12-14 黑蜂智造(深圳)科技有限公司 Image data processing method, electronic device, and computer-readable storage medium
CN115460443A (en) * 2021-06-09 2022-12-09 海信视像科技股份有限公司 Display device, image acquisition device, video data processing method and display method
CN113873148A (en) * 2021-09-14 2021-12-31 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and readable storage medium
CN114143462A (en) * 2021-11-30 2022-03-04 维沃移动通信有限公司 Shooting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753461A (en) * 2004-09-21 2006-03-29 乐金电子(中国)研究开发中心有限公司 Apparatus for repairing imaging horizontal angle with built-in pick-up head mobile terminal and method thereof
CN102164209A (en) * 2011-03-23 2011-08-24 北京百纳威尔科技有限公司 Mobile terminal screen display control method and mobile terminal
CN102479065A (en) * 2010-11-26 2012-05-30 Tcl集团股份有限公司 Rotary display and display method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011087133A (en) * 2009-10-15 2011-04-28 Nikon Corp Imaging apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753461A (en) * 2004-09-21 2006-03-29 乐金电子(中国)研究开发中心有限公司 Apparatus for repairing imaging horizontal angle with built-in pick-up head mobile terminal and method thereof
CN102479065A (en) * 2010-11-26 2012-05-30 Tcl集团股份有限公司 Rotary display and display method thereof
CN102164209A (en) * 2011-03-23 2011-08-24 北京百纳威尔科技有限公司 Mobile terminal screen display control method and mobile terminal

Also Published As

Publication number Publication date
CN103795892A (en) 2014-05-14
WO2014067422A1 (en) 2014-05-08

Similar Documents

Publication Publication Date Title
CN103795892B (en) Method and apparatus for processing collected image data
CN111083380B (en) Video processing method, electronic equipment and storage medium
CN106973228B (en) Shooting method and electronic equipment
CN101854560B (en) Capture and display of digital images based on related metadata
CN103945134B (en) A kind of shooting of photo and inspection method and its terminal
CN103885611B (en) A kind of method and apparatus for adjusting image
CN110363135B (en) Method for determining degree of closing of human eyes, and method and device for controlling eyes
CN108702445A (en) A kind of method for displaying image and electronic equipment
CN108322644A (en) A kind of image processing method, mobile terminal and computer readable storage medium
JP2007300556A5 (en)
CN111737518A (en) Image display method and device based on three-dimensional scene model and electronic equipment
BRPI0806239A2 (en) motion picture reproducing and image processing apparatus, image processing method on an image processing apparatus, and program on an image processing apparatus
TWI584050B (en) Panoramic stereoscopic image synthesis method, apparatus and mobile terminal
CN109194875A (en) A kind of image pickup method and electronic equipment
BR112014002827B1 (en) METHOD AND SYSTEM FOR SELECTIVE CAPTURE AND PRESENTATION OF PORTIONS OF NATIVE DIFFUSION IMAGES IN A MULTIPLE DIFFUSION CAMERA SYSTEM; AND METHOD AND SYSTEM FOR SELECTIVE CAPTURE AND DISPLAY PORTIONS OF NATIVE IMAGE DIFFUSION IN A MULTIPLE DIFFUSION CAMERA SYSTEM
CN108924418A (en) A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing
WO2021227693A1 (en) Photographic method and apparatus, and mobile terminal and chip system
WO2018014517A1 (en) Information processing method, device and storage medium
CN111083371A (en) Shooting method and electronic equipment
CN103780747A (en) Information processing method and electronic equipment
CN109948525A (en) It takes pictures processing method, device, mobile terminal and storage medium
AU2019271924B2 (en) System and method for adjusting an image for a vehicle mounted camera
WO2021139764A1 (en) Method and device for image processing, electronic device, and storage medium
CN101650627B (en) Electronic equipment and operating control method
CN106383577B (en) Scene control implementation method and system for VR video playing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171031

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder