CN101472042A - Digital camera and fine tuning video method thereof - Google Patents
Digital camera and fine tuning video method thereof Download PDFInfo
- Publication number
- CN101472042A CN101472042A CNA2007101601212A CN200710160121A CN101472042A CN 101472042 A CN101472042 A CN 101472042A CN A2007101601212 A CNA2007101601212 A CN A2007101601212A CN 200710160121 A CN200710160121 A CN 200710160121A CN 101472042 A CN101472042 A CN 101472042A
- Authority
- CN
- China
- Prior art keywords
- raw video
- angle
- judged
- processor
- digital camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
The invention provides a digital camera and a method for finely adjusting an image. The method comprises the following steps: whether the automatic fine adjustment is performed to the raw image or not is judged according to a starting rotating command; if yes, one inclination angle of the raw image is calculated, the raw image is rotated for a first specific angle, wherein, the inclination angle is substantially equal to the first specific angle; if not, the raw image is rotated for a second specific angle according to the at least one rotating command; and an adjusted image is formed.
Description
Technical field
The present invention relates to the method for a kind of digital camera and fine tuning video thereof.
Background technology
Generally when taking pictures, regular meeting photographs vertical trees or the building of standing, or photographs the coastline or the horizon of level.If, press shutter key too energetically taking instantly, or other factors, all may cause the image frame of shooting crooked not just.At this moment, the user only can take again, perhaps the image frame of being clapped is deposited computer in addition, again with special image processing software, carries out the adjustment of image frame.
In addition, present existing digital camera, the spinfunction that it provided only can be revolved image frame and turn 90 degrees, and can't finely tune at low-angle crooked image frame.And the rotation of existing image frame only is in the working area rotation, temporarily is presented at the screen of digital camera, and in other words, when the user was transferred to computer or other device with this image frame, this image frame was still without rotation.Therefore, for the user,, only can utilize special image processing software if carry out the fine setting of image frame, tangible inconvenient, and also time-consuming.
Summary of the invention
In view of the deficiencies in the prior art, the present invention is the method that a kind of digital camera and fine tuning video thereof are provided.
Digital camera of the present invention comprises: a processor, an internal memory, an image acquisition module and an edition interface.Image acquisition module is to electrically connect with this processor, and this image acquisition module is fechtable one raw video.This internal memory is and processor electrically connects, but and internal memory be stored routine.Edition interface is in order to receive a plurality of instructions, with the processor controls executive program, to reach mechanism of the present invention, just reaches the purpose that this raw video is finely tuned.
Mechanism of the present invention also is another characteristics of the present invention, and it provides a kind of method of finely tuning raw video, comprising:
S1: start rotate instruction according to one and judge whether this raw video is carried out automatic fine tuning.
S2: if S1 is judged as "Yes", then calculate an angle of inclination of this raw video, make raw video rotate one first special angle, wherein this angle of inclination essence equals this first special angle.Furthermore, calculate this raw video, more comprise:
S21: a brightness contrast line (for example, this brightness contrast line is the brightness contrast taker that value is picked according to raw video) of obtaining raw video; And
S22: calculate the angle between this brightness contrast line and horizontal zero degree or vertical 90 degree, the angle of this angle promptly equals first special angle, just the angle (also being the angle of inclination of raw video) of rotation automatically.
S3: if S1 is judged as "No", then according at least one anglec of rotation instruction (for example edition interface receives the instruction by user's input), so that raw video rotates second special angle (user can repeatedly import anglec of rotation instruction, so can accumulate rotation second special angle repeatedly).
S4: form one and adjust image.Furthermore, method of the present invention more can be carried out:
When finish S2 after can carry out S41: judge whether to accept this adjustment image; And
S431: if S41 is judged as "Yes", then store this adjustment image, and the deletion raw video, just cover raw video.Perhaps can carry out S432: if S41 is judged as "Yes", then stores this adjustment image, and store this raw video simultaneously, just deposit the adjustment image in addition, and keep raw video.Perhaps, when finish S3 after can carry out S42: judge whether to accept this adjustment image.If S42 is judged as "Yes", then then come S431 or S432 equally.
As if the "No" that is judged as of S41, then get back to S1 and judge again.As if the "No" that is judged as of S42, then get back to S3 again according to anglec of rotation instruction, the rotation special angle.
Description of drawings
Fig. 1 is according to one embodiment of the invention, and what show digital camera is the system block schematic diagram.
Fig. 2 is according to one embodiment of the invention, shows the structural representation of user's end of digital camera.
Fig. 3 A and Fig. 3 B are according to one embodiment of the invention, show respectively image that desire is taken and shooting after raw video.
Fig. 4 is according to one embodiment of the invention, shows the method flow schematic diagram of fine tuning video.
Fig. 5 A~5D is according to one embodiment of the invention, shows when finely tuning raw video the edition interface schematic diagram of digital camera.
[primary clustering symbol description]
1, digital camera 11, processor
12, internal memory 16, display
13, image acquisition module 14, edition interface
120, program 140, enter key
Embodiment
For above and other objects of the present invention, feature and advantage can be become apparent, cited below particularlyly go out preferred embodiment, and cooperate appended graphicly, be described in detail below.
The present invention is the method that a kind of digital camera and fine tuning video thereof are provided.Please refer to Fig. 1, digital camera 1 of the present invention comprises: a processor 11, an internal memory 12, an image acquisition module 13 and an edition interface 14.Internal memory 12, image acquisition module 13 and edition interface 14 electrically connect with this processor 11 respectively.Image acquisition module (CCD) the 13rd, fechtable one raw video.But internal memory 12 is stored routines 120.Edition interface 14 is in order to receive a plurality of instructions, with processor controls 11 executive programs 120, to reach mechanism of the present invention, just to reach the purpose that this raw video is finely tuned.
For example, please refer to Fig. 2, the present invention can supply user's input instruction by the enter key 140 of upper and lower, left and right, just can show that edition interface 14 is (shown in Fig. 5 A~5D by display 16, below detailed description will be arranged) again with a plurality of instructions of enter key 140 inputs, to reach the running (for example executive program 120) of this processor 11 of control.
For example, please also refer to Fig. 3 A, take the scenery of a sunset when user's desire, pressing shutter too exerts oneself, and the raw video that causes image acquisition module 12 (shown in Figure 1) acquisition is when crooked (shown in Fig. 3 B), digital camera 1 then of the present invention can pass through processor 11 executive programs 120, to reach the purpose that raw video is finely tuned.
Mechanism of the present invention also is another characteristics of the present invention, and it provides a kind of method of finely tuning raw video.Please refer to Fig. 4, when the user takes raw video, and browse this raw video (for example utilizing Play back to browse), when finding this raw video crooked (shown in Fig. 3 B), can choose the function of image rotating, promptly begin to enter method of the present invention then, for example show the edition interface 14 shown in Fig. 5 A, further set selection for the user.Shown in Fig. 5 A,, promptly enter method flow of the present invention, otherwise just finish spinfunction when the user selects "Yes" (that is edition interface 14 receives a startup rotate instruction) in edition interface 14.
Please get back to Fig. 4, at first, S1: judge whether this raw video is carried out automatic fine tuning.If S1 is judged as "Yes", please in the lump with reference to figure 5B, the user can select the instruction of "Yes" in edition interface 14, and then processor controls 11 executive programs 120 are in the present embodiment by this and carry out automatic fine tuning.
Follow S2: calculate the angle of inclination of this raw video, make raw video rotate one first special angle, the first special angle essence is to equal the angle of inclination.Furthermore, calculating this raw video more comprises: S21: a brightness contrast line (for example, this brightness contrast line is that brightness contrast value according to raw video captures) of obtaining raw video; And S22: calculate the angle between this brightness contrast line and horizontal zero degree or vertical 90 degree, the angle of this angle promptly equals first special angle, just the angle of rotation automatically.
For example, digital signal processor (figure does not show) can calculate its brightness contrast value according to the raw video of Fig. 3 B, and obtains a brightness contrast line (for example sea horizon) by this.Processor 11 can calculate angle between brightness contrast line and the horizontal zero degree by executive program 120, and the control raw video angle (first special angle) that will rotate this angle.
Please get back to Fig. 4, if S1 is judged as "No", for example shown in Fig. 5 B, the user can select the instruction of "No" in edition interface 14, and then processor controls 11 executive programs 120 are by this in the present embodiment and enter manual fine-tuning.Then come S3: according at least one anglec of rotation instruction (for example edition interface 14 receives the instruction of being imported by the user), so that raw video rotates second special angle.Further, in order to reach the purpose of fine setting, for example 1 degree (or more or less) can be only adjusted in the manual adjustment of user at every turn, therefore the user whenever can adjust 1 degree to the left or to the right by an enter key 140, repeatedly can repeatedly import anglec of rotation instruction, reach the angle (adjusting image) that institute's desire is adjusted by the visual decision of user and can repeatedly accumulate rotation by enter key 140.Because manual adjustment angle is to be controlled by parameter, so do not give unnecessary details at this more.
At last, S4: form and adjust image.Furthermore, method of the present invention more can be carried out S41 and S42: judge whether to accept this adjustment image.For example, the manual adjustment shown in the automatic adjustment shown in Fig. 5 B or Fig. 5 C all can further confirm whether accept to adjust adjustment image later.Be to be to cover raw video or deposit in addition and adjust image (depositing new file in addition) shown in Fig. 5 D with that.
Therefore, please get back to Fig. 4, adjust automatically and carry out after the S2,, then can carry out S431 and store the adjustment image if S41 is judged as "Yes", and the deletion raw video, raw video just covered.Perhaps can carry out S432: store this adjustment image, and store this raw video simultaneously, just deposit the adjustment image in addition, and keep raw video.
Similar ground, manual adjustment is carried out after the S3, if S42 is judged as "Yes", then can carries out S431 and store the adjustment image, and the deletion raw video, just cover raw video.Perhaps can carry out S432: store this adjustment image, and store this raw video simultaneously, just deposit the adjustment image in addition, and keep raw video.
As if the "No" that is judged as of S41, then further carry out S452 and judge whether to withdraw from fine setting, if then getting back to S1, "No" rejudges; If "Yes" then finishes fine setting.Similar ground as if the "No" that is judged as of S42, carries out S451 and judges whether to withdraw from fine setting, if "No" is then got back to S3 again according to anglec of rotation instruction, the rotation special angle; If "Yes" then finishes fine setting.
Though above-mentioned raw video is to be example with the horizontal direction, yet this is not in order to restriction the present invention, as it is known to know image technology institute, and raw video can also be vertical direction (for example building or trees), and the account form of its angle also can the rest may be inferred be calculated the anglec of rotation of certain degree.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; anyly have the knack of this skill person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.
Claims (10)
1. digital camera is characterized in that comprising:
One processor;
One internal memory is to electrically connect this memory storage one program with this processor;
One image acquisition module is to electrically connect with this processor, and this image acquisition module is fechtable one raw video; And
One edition interface with so that a user imports a plurality of instructions, is carried out this program to control this processor, and to reach following mechanism, wherein these a plurality of instructions comprise that one starts rotate instruction and the instruction of at least one anglec of rotation:
When this user imports this startup rotate instruction, this processor judges whether this raw video is carried out automatic fine tuning;
If be judged as "Yes", then this processor calculates an angle of inclination of this raw video, and makes this raw video rotation one first special angle automatically, and wherein this angle of inclination is that essence equals this first special angle;
If be judged as "No", then according to this anglec of rotation instruction that this user imported, so that this raw video rotates one second special angle; And
Form one and adjust image.
2. digital camera as claimed in claim 1 is characterized in that, calculates this raw video, further comprises:
Obtain a brightness contrast line of this raw video; And
Calculate this brightness contrast line and horizontal zero degree or vertical 90 angles of spending, and the angle essence of this angle is to equal this angle of inclination.
3. digital camera as claimed in claim 2 is characterized in that, this brightness contrast line captures according to a brightness contrast value of this raw video.
4. digital camera as claimed in claim 1 is characterized in that this processor is carried out this program, also reaches following mechanism:
Judge whether to accept this adjustment image; And
If be judged as "Yes", then store this adjustment image, and delete this raw video.
5. digital camera as claimed in claim 1 is characterized in that this processor is carried out this program, also reaches following mechanism:
Judge whether to accept this adjustment image; And
If be judged as "Yes", then store this adjustment image, and store this raw video simultaneously.
6. the method for fine setting one raw video, and this raw video is captured by a digital camera, it is characterized in that this method comprises:
Starting rotate instruction according to one judges whether this raw video is carried out automatic fine tuning;
If be judged as "Yes", then calculate an angle of inclination of this raw video, make this raw video rotate one first special angle, wherein this angle of inclination is that essence equals this first special angle;
If be judged as "No", then, make this raw video rotate one second special angle according at least one anglec of rotation instruction; And
Form one and adjust image.
7. method as claimed in claim 6 is characterized in that, calculates the step of this raw video, further comprises:
Obtain a brightness contrast line of this raw video; And
Calculate this brightness contrast line and horizontal zero degree or vertical 90 angles of spending, and the angle essence of this angle is to equal this angle of inclination.
8. method as claimed in claim 7 is characterized in that, this brightness contrast line is that the brightness contrast value according to this raw video captures.
9. method as claimed in claim 6 is characterized in that further comprising:
Judge whether to accept this adjustment image; And
If be judged as "Yes", then store this adjustment image, and delete this raw video.
10. as the method as described in the claim 6, it is characterized in that, further comprise:
Judge whether to accept this adjustment image; And
If be judged as "Yes", then store this adjustment image, and store this raw video simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101601212A CN101472042A (en) | 2007-12-24 | 2007-12-24 | Digital camera and fine tuning video method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101601212A CN101472042A (en) | 2007-12-24 | 2007-12-24 | Digital camera and fine tuning video method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101472042A true CN101472042A (en) | 2009-07-01 |
Family
ID=40829145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007101601212A Pending CN101472042A (en) | 2007-12-24 | 2007-12-24 | Digital camera and fine tuning video method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101472042A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131362A (en) * | 2016-07-12 | 2016-11-16 | 珠海赛纳打印科技股份有限公司 | A kind of image processing method, device and image forming apparatus |
-
2007
- 2007-12-24 CN CNA2007101601212A patent/CN101472042A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131362A (en) * | 2016-07-12 | 2016-11-16 | 珠海赛纳打印科技股份有限公司 | A kind of image processing method, device and image forming apparatus |
US10582085B2 (en) | 2016-07-12 | 2020-03-03 | Zhuhai Seine Technology Co., Ltd. | Method and device for image processing, and apparatus for image formation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016058468A1 (en) | Mobile terminal, server, shooting method and computer storage medium | |
RU2606457C2 (en) | Camera shooting method and device | |
CN105635579B (en) | A kind of method for displaying image and device | |
CN103581561B (en) | The people's scape image combining method shot based on rotating camera and system | |
CN108650571B (en) | Microphone support adjusting method and device, terminal and readable medium | |
CN110740260B (en) | Shooting method and device and computer readable storage medium | |
CN105144696A (en) | Client terminal, display control method, program, and system | |
CN103037165A (en) | Photographing method of immediate-collaging and real-time filter | |
EP2465093A1 (en) | Method and apparatus for providing an image for display | |
CN107005675B (en) | Dynamic image editing device, dynamic image edit methods and storage medium | |
CN107911616A (en) | A kind of camera automatic focusing method, storage device and mobile terminal | |
CN105025215A (en) | Method and apparatus for achieving group shooting through terminal on the basis of multiple pick-up heads | |
WO2019140621A1 (en) | Video processing method and terminal device | |
CN100517061C (en) | Device for producing panorama image and method thereof | |
CN111885285B (en) | Image shooting method and electronic equipment | |
TWI640197B (en) | System and method for making picture | |
CN106791390B (en) | Wide-angle self-timer real-time preview method and user terminal | |
CN113329172B (en) | Shooting method and device and electronic equipment | |
CN104601882B (en) | A kind of panorama shooting method and terminal | |
CN104243777B (en) | Display control unit, display control method and image pick-up device | |
CN106487868A (en) | The method that User Defined uploads | |
CN101472042A (en) | Digital camera and fine tuning video method thereof | |
US20090009613A1 (en) | Method for processing images and electronic device using the same | |
CN106488128A (en) | A kind of method and device of automatic camera | |
JP2006108915A (en) | Apparatus and method for image photographing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090701 |