CN111464741A - Method for improving mapping photographing resolution - Google Patents
Method for improving mapping photographing resolution Download PDFInfo
- Publication number
- CN111464741A CN111464741A CN202010268914.1A CN202010268914A CN111464741A CN 111464741 A CN111464741 A CN 111464741A CN 202010268914 A CN202010268914 A CN 202010268914A CN 111464741 A CN111464741 A CN 111464741A
- Authority
- CN
- China
- Prior art keywords
- photographing
- data
- resolution
- map
- mapping
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Studio Circuits (AREA)
- Image Processing (AREA)
Abstract
The invention provides a method for improving mapping photographing resolution, which is used for a terminal with a mapping photographing function, and comprises the following steps: entering a camera APP of a terminal, previewing photographing settings to be photographing data, selecting a mapping to be pasted in a pre-photographing picture, and recording a mapping position pos; clicking a photographing button, reading photographing resolution and preview resolution, and calculating the width-height difference ratio of the two resolutions; respectively putting the picture data and the map data into corresponding bitmap, calculating the position and the size pos' of the map in the camera data, and carrying out Scale scaling operation on the map data according to new parameters; and synthesizing the two bitmaps according to the parameters to generate a map photo. According to the invention, the position and the size of the sticker are recalculated, and the sticker and the photographing data are synthesized after recalculation, so that the picture of the sticker is finally generated. The resolution ratio of the map photographing is greatly improved, and the image quality is improved.
Description
Technical Field
The invention belongs to the technical field of terminal photographing, and particularly relates to a method for improving the resolution of mapping photographing.
Background
And (3) mapping photographing, wherein during photographing, a favorite mapping is selected and placed in a preview frame of a camera, and after the photographing is clicked, the preview data is used for combining the photo and the mapping into a photo, so that the playability and the interestingness of photographing are improved. In the prior art, the mapping photographing uses preview data, and a camera has two paths of data, namely preview data and photographing data. The preview data has low resolution, which is basically only 1080p or 720p, but the resolution of the camera is much higher than the resolution, and the maximum size supported by the camera can be reached, so the resolution of the picture shot by the current map shooting is low, and the picture quality is low.
Therefore, a method for improving the resolution of mapping photographing is needed, so that the resolution of the photographed picture can be improved in the mapping photographing scene, and the picture quality can be improved.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, it is an object of the present invention to address the above-mentioned problems of the prior art.
In order to achieve the above object, the present invention provides a method for improving a resolution of a mapping photo, which is used for a terminal having a mapping photo function, and the method includes:
entering a camera APP of the terminal, selecting a mapping to be pasted in a pre-shot picture, and recording a mapping position pos;
clicking a photographing button, setting photographing data by a photographing device, reading photographing resolution and preview resolution, and calculating the width-height difference ratio of the two resolutions;
respectively putting the picture data and the map data into corresponding bitmap, calculating the position and the size pos' of the map in the camera data, and carrying out Scale scaling operation on the map data according to new parameters;
and synthesizing the two bitmaps according to the parameters to generate a map photo.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a method for improving mapping photographing resolution, which is used for a terminal with a mapping photographing function, and comprises the following steps: entering a camera APP of a terminal, previewing photographing settings to be photographing data, selecting a mapping to be pasted in a pre-photographing picture, and recording a mapping position pos; clicking a photographing button, reading photographing resolution and preview resolution, and calculating the width-height difference ratio of the two resolutions; respectively putting the picture data and the map data into corresponding bitmap, calculating the position and the size pos' of the map in the camera data, and carrying out Scale scaling operation on the map data according to new parameters; and synthesizing the two bitmaps according to the parameters to generate a map photo. According to the invention, the position and the size of the sticker are recalculated, and the sticker and the photographing data are synthesized after recalculation, so that the picture of the sticker is finally generated. The resolution ratio of the map photographing is greatly improved, and the image quality is improved.
Drawings
FIG. 1 is a schematic block diagram of a process of the method for improving the resolution of a picture taken by a map according to the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the method for improving the resolution of mapping and photographing provided by the present invention is used for a terminal with a mapping and photographing function, and the method includes the following steps:
s10, entering a camera APP of the terminal, selecting a map to be pasted in the pre-shot picture, and recording the position pos (x, y, wide, right) of the map;
it should be noted that there are two paths of data for taking a picture, one path is preview data, and the other path is shooting data; the preview data is a preview interface after the camera APP is opened, the preview data is convenient for a user to preview and observe scenes, the resolution of the preview data is generally low and basically only has the resolution of 1080p or 720p, but the resolution of the camera is much larger than the resolution, and the maximum size supported by the camera can be achieved; the photographing data is based on the size of the camera, and the resolution can be very large basically, for example, a camera with the size of 13m can photograph a picture with the size of 4K;
the function of the photo sticker is to select some icons, such as addresses, moods and the like, during photo taking, directly attach the icons to the preview of the photo, and then combine the preview data and the sticker data when clicking to take the photo to produce a photo.
S20, clicking a photographing button, taking photographing data by the photographing device, reading photographing resolution and preview resolution, and calculating the width-height difference ratio of the two resolutions;
it should be noted that the format of the resolution is (wide, high) format, and the ratio of the width to height difference between the two respective ratios (photographing resolution wide/preview resolution wide, photographing resolution high/preview resolution high) is calculated as (x ', y').
S30, respectively putting the picture data and the map data into corresponding bitmap, calculating the position and size pos' of the map in the camera data, and carrying out Scale scaling operation on the map data according to new parameters;
it should be noted that the calculation of the position and size pos' of the map in the camera data is performed by using the following formula:
pos'=(x*x',y*y',wide*x',hight*y')
the new parameter, pos, is the calculated position of the sticker composition.
And S40, synthesizing the two bitmaps according to the parameters to generate a map photo.
It should be noted that, after the camera data is used, the resolution is increased, the position of the map in the preview needs to be recalculated, and the size of the bitmap needs to be scaled, otherwise, the bitmap size does not match the scale, so in step S30, the calculation needs to be performed again according to the size ratio of the preview data to the photographed data.
According to the invention, the position and the size of the sticker are recalculated, and the sticker and the photographing data are synthesized after recalculation, so that the picture of the sticker is finally generated. The resolution ratio of the map photographing is greatly improved, and the image quality is improved.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.
Claims (1)
1. A method for improving mapping photographing resolution is used for a terminal with a mapping photographing function, and is characterized by comprising the following steps:
entering a camera APP of the terminal, selecting a mapping to be pasted in a pre-shot picture, and recording a mapping position pos;
clicking a photographing button, setting photographing data by a photographing device, reading photographing resolution and preview resolution, and calculating the width-height difference ratio of the two resolutions;
respectively putting the picture data and the map data into corresponding bitmap, calculating the position and the size pos' of the map in the camera data, and carrying out Scale scaling operation on the map data according to new parameters;
and synthesizing the two bitmaps according to the parameters to generate a map photo.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010268914.1A CN111464741A (en) | 2020-04-08 | 2020-04-08 | Method for improving mapping photographing resolution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010268914.1A CN111464741A (en) | 2020-04-08 | 2020-04-08 | Method for improving mapping photographing resolution |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111464741A true CN111464741A (en) | 2020-07-28 |
Family
ID=71681215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010268914.1A Pending CN111464741A (en) | 2020-04-08 | 2020-04-08 | Method for improving mapping photographing resolution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111464741A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105551070A (en) * | 2015-12-09 | 2016-05-04 | 广州市久邦数码科技有限公司 | Camera system capable of loading map elements in real time |
CN106612396A (en) * | 2016-11-15 | 2017-05-03 | 努比亚技术有限公司 | Photographing device, photographing terminal and photographing method |
CN108924411A (en) * | 2018-06-15 | 2018-11-30 | Oppo广东移动通信有限公司 | Camera control method and device |
JP2019097174A (en) * | 2018-12-28 | 2019-06-20 | フリュー株式会社 | Image processing device and image processing method |
CN110062172A (en) * | 2018-06-04 | 2019-07-26 | 成都依能科技股份有限公司 | Give a definition the method for static high-definition image shooting area in dynamic image preview |
-
2020
- 2020-04-08 CN CN202010268914.1A patent/CN111464741A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105551070A (en) * | 2015-12-09 | 2016-05-04 | 广州市久邦数码科技有限公司 | Camera system capable of loading map elements in real time |
CN106612396A (en) * | 2016-11-15 | 2017-05-03 | 努比亚技术有限公司 | Photographing device, photographing terminal and photographing method |
CN110062172A (en) * | 2018-06-04 | 2019-07-26 | 成都依能科技股份有限公司 | Give a definition the method for static high-definition image shooting area in dynamic image preview |
CN108924411A (en) * | 2018-06-15 | 2018-11-30 | Oppo广东移动通信有限公司 | Camera control method and device |
JP2019097174A (en) * | 2018-12-28 | 2019-06-20 | フリュー株式会社 | Image processing device and image processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019085705A1 (en) | Method and device for obtaining exposure compensation value of high-dynamic-range image | |
US9998702B2 (en) | Image processing device, development apparatus, image processing method, development method, image processing program, development program and raw moving image format | |
US9407814B2 (en) | Approach for camera control | |
EP1901553B1 (en) | Imaging device, imaging result processing method, image processing device, program for imaging result processing method, recording medium having program for imaging result processing method recorded therein, and imaging result processing system | |
CN113508416B (en) | Image fusion processing module | |
JP2008123086A (en) | Image processor and image processing method | |
JP2003199034A (en) | Still picture format for post-picture stitch for forming panorama image | |
JP2006115475A (en) | Image processor, image processing method and image processing program | |
JP2000251060A (en) | Image synthesizing processing method and recording medium | |
TW201030676A (en) | Image evaluation method, image capturing method and digital camera thereof | |
WO2022161260A1 (en) | Focusing method and apparatus, electronic device, and medium | |
CN103916597A (en) | Shooting method based on simulated scenario | |
CN104836957A (en) | Photo shooting processing method and device | |
CN111724317A (en) | Method for constructing Raw domain video denoising supervision data set | |
JP2012109835A (en) | Imaging apparatus, imaging method and program | |
JP2003348438A (en) | Image photographing method and apparatus, image selecting method and apparatus, and program | |
JP2011119974A (en) | Panoramic image synthesizer, panoramic image synthesis method, and program | |
WO2023193521A1 (en) | Video inpainting method, related apparatus, device and storage medium | |
CN107896306A (en) | The method and system that a kind of filter is taken pictures | |
CN111464741A (en) | Method for improving mapping photographing resolution | |
CN111432121A (en) | Generation method, electronic device, and storage medium | |
JP2008035124A (en) | Image reproducing device and image reproducing method | |
JP2009076984A (en) | Image processor, image processing method, program, and recording medium | |
JP2015023514A (en) | Information processing apparatus, imaging apparatus, control method and program | |
JP5906745B2 (en) | Image display device, image display method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200728 |