CN102567947A - Image processing method in mobile terminal and mobile terminal - Google Patents
Image processing method in mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN102567947A CN102567947A CN2012100104181A CN201210010418A CN102567947A CN 102567947 A CN102567947 A CN 102567947A CN 2012100104181 A CN2012100104181 A CN 2012100104181A CN 201210010418 A CN201210010418 A CN 201210010418A CN 102567947 A CN102567947 A CN 102567947A
- Authority
- CN
- China
- Prior art keywords
- image
- portable terminal
- predetermined format
- format
- output
- 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
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses an image processing method in a mobile terminal, which comprises obtaining an image provided with a fixed format and output by a camera device; judging whether the image direction is in accordance with the reserved format or not; changing the image format into the reserved format when the image direction is not in accordance with the reserved format; outputting the image which is changed into the reserved format to the mobile terminal. The invention further provides the mobile terminal. By means of the mode, the image processing method in the mobile terminal and the mobile terminal can accurately display and store contents output by the camera device when the terminal uses different operation systems.
Description
Technical field
The present invention relates to communication technical field, particularly relate to image processing method and portable terminal in a kind of portable terminal.
Background technology
Along with the continuous development of portable terminal, technology is increasingly mature, and function also from strength to strength.Portable terminal is not only the instrument that communication exchanges, and integrates neat network especially, takes pictures, multiple functions such as music, recreation.What deserves to be mentioned is that the camera function of portable terminal becomes the important references factor of person when choosing of purchasing the machine especially.Therefore, present most portable terminal all can be equipped with camera, and the pixel of camera is brought higher experience along with the continuous development of technology is also increasingly high to the user.
The multifunction of portable terminal be unable to do without the support of mobile terminal operating system.In order to guarantee that portable terminal possesses strong functions; To satisfy market and user's demand; Normally design portable terminal and can support several operation systems, if can support An Zhuo system and Saipan system etc. simultaneously, the user can select to use different systems as required.
But for the camera function of portable terminal, the form of the camera output that different systems needs is different.The hardware designs of mobile terminal camera is fixing; So the form of camera output is also just fixing; So just can't satisfy the requirement of different system to the form of the image of camera output; Cause portable terminal in a system, can correctly show, but another system then occur being presented on the screen image and real image mutually phasic difference 90 spend or abnormal conditions such as 180 degree, make correctly display image of portable terminal.
Summary of the invention
The technical matters that the present invention mainly solves provides image processing method and portable terminal in a kind of portable terminal, makes portable terminal when using different operating system, all can correctly show and the content of this machine of storage picture pick-up device output.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: image processing method in a kind of portable terminal is provided, comprises: the image with set form that obtains picture pick-up device output; Whether the direction of judging image is consistent with predetermined format; When inconsistent with the change of format of image to predetermined format; Change to the image of predetermined format to portable terminal output.
Wherein, after the step of the said image that obtains picture pick-up device output, comprising with set form:
Make the frame number counter add one;
If the value of frame number counter judges then greater than zero whether the direction of said image is consistent with predetermined format.
Wherein, when inconsistent, the step of change of format to the predetermined format of said image is comprised:
The image of resolving set form is a standard format;
The direction that changes image makes the standard format image transitions become the predetermined format image.
Wherein, after portable terminal output changes to the image of predetermined format, make the frame number counter subtract one.
Wherein, the step that changes to the image of predetermined format to portable terminal output comprises:
Change to the image of predetermined format to screen, internal memory or the External memory equipment output of portable terminal.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of portable terminal is provided, comprises: image collection module is used to obtain the image with set form of picture pick-up device output; The direction adjusting module is used to judge whether the direction of said image is consistent with preformat, the form of when inconsistent, the change of format of image extremely being scheduled to; Output module is used for exporting the image that changes to predetermined format to portable terminal.
Wherein, the direction adjusting module comprises: judging unit, and whether the direction of the image that is used to judge that image collection module is obtained is consistent with predetermined format; Converting unit is used for when the direction of image and predetermined format are inconsistent converting the set form of image to predetermined format.
Wherein, converting unit specifically is used for:
The image analysis of the set form that image collection module is obtained is a standard format;
The direction that changes image makes the standard format image transitions become the predetermined format image.
Wherein, the direction adjusting module also comprises: counting unit, be used for after image collection module is obtained image, and make the frame number counter add one; After portable terminal output changes to the image of predetermined format, make frame counter subtract one at output module.
Wherein, output module specifically is used for the image that screen, internal memory or External memory equipment output to portable terminal change to predetermined format.
The invention has the beneficial effects as follows: the situation that is different from prior art; The present invention through with the image modification with set form of the picture pick-up device of portable terminal output to predetermined format; Change to the image of predetermined format at last to portable terminal output; Make portable terminal thus when using different operating system, all can correctly show and the content of this machine of storage picture pick-up device output.
Description of drawings
Fig. 1 is the process flow diagram of image processing method embodiment in the portable terminal of the present invention;
Fig. 2 is the process flow diagram that the present invention changes to the direction of image predetermined format;
Fig. 3 is the structural representation of portable terminal embodiment of the present invention.
Embodiment
Image processing method in the portable terminal of the present invention can make portable terminal when using different operating system, can correctly show and store shooting information according to the requirement of different operating system.
Below in conjunction with accompanying drawing and embodiment the present invention is elaborated.
Consult Fig. 1, Fig. 1 is the process flow diagram of image processing method embodiment in the portable terminal of the present invention, comprises step:
101, obtain the image with set form of picture pick-up device output;
Obtain the image that the picture pick-up device of portable terminal is taken and exported outside scenery such as camera.Because camera belongs to hardware device, its hardware designs is fixing, so the form of the image that camera obtains is also just fixing.
102, judge whether the direction of said image is consistent with predetermined format;
When portable terminal had different operating system, different operating system all had its corresponding setting for the demonstration and the storage of image.The user selects to use a certain operating system, is display mode and the storage mode of having selected with the corresponding image of this operating system, and promptly different operating systems shows also different with the form of image stored.Therefore, when demonstration and memory image, need judge whether the direction of image is consistent with the form of operating system setting, is judged as when being, then carry out step 104, when being judged as not, then carry out step 103.
103, with the change of format of said image to predetermined format;
When the predetermined form of the direction of the image that obtains when camera and operating system is inconsistent, the form that change of format to the operating system of said image is predetermined.
104, to the said image that changes to predetermined format of portable terminal output;
When the form of said image has changed to predetermined format, to screen, internal memory or the said image that changes to predetermined format of External memory equipment output of portable terminal.
Further, consult Fig. 2, the step of change of format to the predetermined format of said image comprised:
1031, the image of resolving said set form is a standard format;
The set form of the image of picture pick-up device output is resolved to the standard format of image.When each pixel of the image of picture pick-up device output does not have independently rgb value at once, the set form of image is resolved to standard format, make each pixel that resolves to the image behind the standard format can have all that independently rgb value is corresponding.
1032, the direction that changes said image makes the standard format image transitions become the predetermined format image;
After image resolved to standard format by set form, each pixel of image had independently rgb value correspondence, can conveniently change the direction of image like this.According to the form of system's predetermined picture of portable terminal, change the direction that resolves to the image behind the standard format.
In addition, carrying out comprising following step after step 101 obtains the image with set form of picture pick-up device output:
The first step makes the frame number counter add one.After obtaining the image with set form when picture pick-up device, image is stored in designated memory locations, makes the inner frame number counter of portable terminal add one.
In second step, whether the value of judgment frame counter is greater than zero, if greater than zero, then carry out step 102.Whether the value through the judgment frame counter is zero, can know whether picture pick-up device has obtained image with set form and image is stored in designated memory locations.
Carrying out step 104 after the said image that changes to predetermined format of portable terminal output, the frame number counter is subtracted one.After the frame number counter subtracted one, carry out above-mentioned second suddenly step by step again, circulate with this.
Be different from prior art; Image processing method in the portable terminal of the present invention; Direction through with the image of the set form of the picture pick-up device of portable terminal output changes to predefined direction; And the image that will change to predefined direction makes portable terminal when using different operating system to screen, internal memory or External memory equipment output thus, can correctly show and store shooting information according to the requirement of different operating system.
In order to address the above problem, the present invention also provides a kind of portable terminal, consults Fig. 3, and Fig. 3 is the structural representation of portable terminal embodiment of the present invention.The present embodiment portable terminal comprises image collection module 201, direction adjusting module 202 and output module 203.Image collection module 201 is used to obtain the image with set form of picture pick-up device output, and whether the direction of the image that direction adjusting module 201 is used to judge that image collection module 201 is obtained is consistent with predetermined format.The form of when inconsistent, the change of format of said image extremely being scheduled to.Output module 203 is used for changing to portable terminal output the image of predetermined format.
Further, continue to consult Fig. 3, as shown in Figure 3, direction adjusting module 202 comprises counting unit 2021, judging unit 2022, converting unit 2023.
Particularly; After image collection module 201 is obtained image with set form and image is stored in the portable terminal designated memory locations; Counting unit 2021 makes the frame number counter add one; Whether the value of judgment frame counter is greater than zero, if greater than zero, then trigger judging unit 2022 and judge whether the direction of the image that image collection module 201 is obtained is consistent with predetermined format.Judge direction and the predetermined format of the image that image collection module 201 obtains when inconsistent when judging unit 2022, converting unit 2023 is a predetermined format with the format conversion of the image that image collection module 201 is obtained.
The image analysis of the set form that converting unit 2023 specifically is used for image collection module 201 is obtained is a standard format, and the direction that changes said image then makes the standard format image transitions become the predetermined format image.
Portable terminal of the present invention can be the mobile device that mobile phone, notebook and camera etc. have picture pick-up device.
In sum; Portable terminal of the present invention through with the change of format of the image of picture pick-up device output to predetermined format; And output changes to the image of predetermined format, makes portable terminal when using different operating system, all can correctly show and the content of this machine of storage picture pick-up device output.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (10)
1. image process method in the portable terminal is characterized in that, comprising:
Obtain the image with set form of picture pick-up device output;
Whether the direction of judging said image is consistent with predetermined format;
When inconsistent with the change of format of said image to predetermined format;
To the said image that changes to predetermined format of portable terminal output.
2. method according to claim 1 is characterized in that:
After the step of the said image that obtains picture pick-up device output, comprising with set form:
Make the frame number counter add one;
If the value of frame number counter judges then greater than zero whether the direction of said image is consistent with predetermined format.
3. method according to claim 2 is characterized in that: the step with change of format to the predetermined format of said image when inconsistent comprises:
The image of resolving said set form is a standard format;
The direction that changes said image makes the standard format image transitions become the predetermined format image.
4. method according to claim 3 is characterized in that: behind the said image that changes to predetermined format of portable terminal output, make the frame number counter subtract one.
5. method according to claim 2 is characterized in that:
The said step that changes to the image of predetermined format to portable terminal output comprises:
Screen, internal memory or the said image that changes to predetermined format of External memory equipment output to portable terminal.
6. a portable terminal is characterized in that, comprising:
Image collection module is used to obtain the image with set form of picture pick-up device output;
The direction adjusting module is used to judge whether the direction of said image is consistent with predetermined format, when inconsistent, said picture format changed to predetermined form;
Output module is used for to the said image that changes to predetermined format of portable terminal output.
7. portable terminal according to claim 6 is characterized in that, said direction adjusting module comprises:
Judging unit, whether the direction of the image that is used to judge that said image collection module is obtained is consistent with predetermined format;
Converting unit is used for when the direction of said image is inconsistent with predetermined format the format conversion of said image is become predetermined format.
8. portable terminal according to claim 7 is characterized in that, said converting unit specifically is used for:
The image analysis of the set form that image collection module is obtained is a standard format;
The direction that changes said image makes the standard format image transitions become the predetermined format image.
9. portable terminal according to claim 7 is characterized in that, said direction adjusting module also comprises:
Counting unit is used for after said image collection module is obtained image, makes the frame number counter add one; Behind the said image that changes to predetermined format of portable terminal output, make frame counter subtract one at output module.
10. portable terminal according to claim 6 is characterized in that, said output module specifically is used for screen, internal memory or the said image that changes to predetermined format of External memory equipment output to portable terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100104181A CN102567947A (en) | 2012-01-12 | 2012-01-12 | Image processing method in mobile terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100104181A CN102567947A (en) | 2012-01-12 | 2012-01-12 | Image processing method in mobile terminal and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102567947A true CN102567947A (en) | 2012-07-11 |
Family
ID=46413301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100104181A Pending CN102567947A (en) | 2012-01-12 | 2012-01-12 | Image processing method in mobile terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102567947A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1241758A (en) * | 1998-06-12 | 2000-01-19 | 佳能株式会社 | Image processing apparatus and method, and computer-readable memory |
EP1533746A2 (en) * | 2003-11-20 | 2005-05-25 | Canon Kabushiki Kaisha | Image processing apparatus and method for converting image data to predetermined format |
CN1812472A (en) * | 2005-12-30 | 2006-08-02 | 北京中星微电子有限公司 | Digital camera apparatus and method capable of realizing image display format conversion |
CN101287187A (en) * | 2007-04-12 | 2008-10-15 | 奥科无线通信技术(深圳)有限公司 | Intelligent mobile phone and operating method of the operation system |
CN101841603A (en) * | 2010-05-12 | 2010-09-22 | 中兴通讯股份有限公司 | Method for implementing automatic adjustment of photo direction and mobile terminal |
CN201639632U (en) * | 2009-12-25 | 2010-11-17 | 深圳市银星数码有限公司 | Multi-system multi-module intelligent mobile terminal |
CN101996096A (en) * | 2009-08-19 | 2011-03-30 | 宏碁股份有限公司 | Method for modifying data of operation system and electronic device with multiple operation systems |
CN102043572A (en) * | 2009-10-14 | 2011-05-04 | 三竹资讯股份有限公司 | Device and method for displaying and operating screen of mobile device |
-
2012
- 2012-01-12 CN CN2012100104181A patent/CN102567947A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1241758A (en) * | 1998-06-12 | 2000-01-19 | 佳能株式会社 | Image processing apparatus and method, and computer-readable memory |
EP1533746A2 (en) * | 2003-11-20 | 2005-05-25 | Canon Kabushiki Kaisha | Image processing apparatus and method for converting image data to predetermined format |
CN1812472A (en) * | 2005-12-30 | 2006-08-02 | 北京中星微电子有限公司 | Digital camera apparatus and method capable of realizing image display format conversion |
CN101287187A (en) * | 2007-04-12 | 2008-10-15 | 奥科无线通信技术(深圳)有限公司 | Intelligent mobile phone and operating method of the operation system |
CN101996096A (en) * | 2009-08-19 | 2011-03-30 | 宏碁股份有限公司 | Method for modifying data of operation system and electronic device with multiple operation systems |
CN102043572A (en) * | 2009-10-14 | 2011-05-04 | 三竹资讯股份有限公司 | Device and method for displaying and operating screen of mobile device |
CN201639632U (en) * | 2009-12-25 | 2010-11-17 | 深圳市银星数码有限公司 | Multi-system multi-module intelligent mobile terminal |
CN101841603A (en) * | 2010-05-12 | 2010-09-22 | 中兴通讯股份有限公司 | Method for implementing automatic adjustment of photo direction and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10108323B2 (en) | Method and device for drawing a graphical user interface | |
US20200334789A1 (en) | Image Processing Method and Device | |
US9451173B2 (en) | Electronic device and control method of the same | |
US9696958B2 (en) | Method and system for presenting content | |
US9794441B2 (en) | Electronic device using composition information of picture and shooting method using the same | |
US11138707B2 (en) | Electronic device and method for processing multiple images | |
CN106027787B (en) | A kind of white balance method and mobile terminal of mobile terminal | |
US20180121279A1 (en) | Method and device for evaluating system fluency, and ue | |
CN107005608B (en) | Prevent the method, apparatus and electronic equipment of camera interference antenna | |
CN114071197B (en) | Screen projection data processing method and device | |
CN109120862A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
KR20150099017A (en) | Electronic device and method for processing image | |
JP2015512194A (en) | Method and wireless handheld device for determining the hue of an image | |
CN104994541B (en) | Network flow bearing calibration and device | |
CN106507200A (en) | Video-frequency playing content insertion method and system | |
CN114070993B (en) | Image pickup method, image pickup apparatus, and readable storage medium | |
CN103019369A (en) | Electronic device and method for playing documents based on facial expressions | |
US20210022069A1 (en) | Method and apparatus for indicating position of cell-defining synchronization signal block and searching for the same, and base station | |
CN106911937B (en) | The configuration method and system of present banner background colour in a kind of live streaming | |
CN106773453B (en) | Camera exposure method and device and mobile terminal | |
CN113452991B (en) | Lens focusing state determining method, device, equipment and storage medium | |
US20170161871A1 (en) | Method and electronic device for previewing picture on intelligent terminal | |
CN111447360A (en) | Application program control method and device, storage medium and electronic equipment | |
CN107835336B (en) | Dual-camera frame synchronization method and device, user terminal and storage medium | |
CN105786986A (en) | Picture finding method and 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120711 |