CN111327816A - Image processing method and device, electronic device and computer storage medium - Google Patents

Image processing method and device, electronic device and computer storage medium Download PDF

Info

Publication number
CN111327816A
CN111327816A CN202010032941.9A CN202010032941A CN111327816A CN 111327816 A CN111327816 A CN 111327816A CN 202010032941 A CN202010032941 A CN 202010032941A CN 111327816 A CN111327816 A CN 111327816A
Authority
CN
China
Prior art keywords
image
enhanced
enhancement
code rate
processing
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
Application number
CN202010032941.9A
Other languages
Chinese (zh)
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.)
Shanghai Moxiang Network Technology Co ltd
Original Assignee
Shanghai Moxiang Network Technology 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 Shanghai Moxiang Network Technology Co ltd filed Critical Shanghai Moxiang Network Technology Co ltd
Priority to CN202010032941.9A priority Critical patent/CN111327816A/en
Publication of CN111327816A publication Critical patent/CN111327816A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical 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)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application provides an image processing method and a device thereof, electronic equipment and a computer storage medium, wherein the image processing method comprises the following steps: obtaining an image to be enhanced with a set image code rate, wherein the image to be enhanced is generated by a pan-tilt camera; and according to the image enhancement request, enhancing the image to be enhanced to generate an enhanced image, wherein the quality index of the enhanced image is matched according to the set image code rate. According to the embodiment of the application, the incidence relation is established between the image code rate and the image quality index, the processing process of the enhancement processing is further controllable, and the difficulty of the enhancement processing is finally reduced.

Description

Image processing method and device, electronic device and computer storage medium
Technical Field
The embodiment of the application relates to the technical field of data processing, in particular to an image processing method and device, electronic equipment and a computer storage medium.
Background
Video, which is a medium capable of moving multiple senses and having a mature audiovisual language, is becoming easier to manufacture and share today, and therefore more and more users are invested in short video shooting. Therefore, the pan-tilt camera is applied, and compared with a traditional mobile phone or a traditional hand, the pan-tilt camera is light and portable, can be held by a single hand, and is provided with a display screen. However, the size of the pan-tilt camera itself is relatively small, so that the display is also relatively small, and therefore, when subsequent enhancement processing is performed on a shot image, the implementation difficulty is relatively high.
Disclosure of Invention
In view of the above, an object of the present invention is to provide an image processing method and apparatus, an electronic device, and a computer storage medium, which overcome the shortcomings in the prior art.
In a first aspect, an embodiment of the present application provides an image processing method, which includes:
obtaining an image to be enhanced with a set image code rate, wherein the image to be enhanced is generated by a pan-tilt camera;
and according to the image enhancement request, enhancing the image to be enhanced to generate an enhanced image, wherein the quality index of the enhanced image is matched according to the set image code rate.
Optionally, in an embodiment of the first aspect of the present application, the enhancement processing includes: at least one of a character beauty process, a filter process, a color tone adjustment, and an exposure adjustment.
Optionally, in an embodiment of the first aspect of the present application, the method further includes: and previewing the enhanced image according to the image preview request.
Optionally, in an embodiment of the first aspect of the present application, the image enhancement request is a hardware trigger or a software trigger.
In a second aspect, an embodiment of the present application provides an image processing apparatus, including:
the device comprises an image obtaining module, a cloud platform camera and a video processing module, wherein the image obtaining module is used for obtaining an image to be enhanced with a set image code rate, and the image to be enhanced is generated by the cloud platform camera;
and the image enhancement module is used for enhancing the image to be enhanced according to the image enhancement request to generate an enhanced image, and the quality index of the enhanced image is matched according to the set image code rate.
Optionally, in an embodiment of the second aspect of the present application, the enhancement processing includes: at least one of a character beauty process, a filter process, a color tone adjustment, and an exposure adjustment.
Optionally, in an embodiment of the second aspect of the present application, the image processing apparatus further includes a preview processing module, configured to perform preview processing on the enhanced image according to an image preview request.
Optionally, in an embodiment of the second aspect of the present application, the image enhancement request is a hardware trigger or a software trigger.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the method according to any embodiment of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer storage medium, on which a computer program is stored, which when executed by a processor implements the method according to any of the embodiments of the first aspect.
In the embodiment of the application, by obtaining the image to be enhanced with the set image code rate, the image to be enhanced is generated by the pan-tilt camera, and the enhanced image generated by enhancing the image to be enhanced has the quality index matched with the set image code rate, so that the association relationship is established between the image code rate and the quality index of the image, the processing process of the enhancement is further controllable, and the difficulty of the enhancement is finally reduced.
Drawings
Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
fig. 1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an image processing method according to a second embodiment of the present disclosure;
fig. 3 is a block diagram of an image processing apparatus according to a third embodiment of the present application;
fig. 4 is a block diagram of an image processing apparatus according to a fourth embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of an electronic device according to a fifth embodiment of the present application;
fig. 6 is a schematic view of an application scenario provided in a sixth embodiment of the present application.
Detailed Description
It is not necessary for any particular embodiment of the invention to achieve all of the above advantages at the same time.
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application shall fall within the scope of the protection of the embodiments in the present application.
The following further describes specific implementations of embodiments of the present application with reference to the drawings of the embodiments of the present application.
Fig. 1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure; as shown in fig. 1, it includes:
s101, obtaining an image to be enhanced with a set image code rate;
in this embodiment, the image to be enhanced is generated by a pan-tilt camera. Therefore, when the step S101 is executed, the to-be-enhanced image with the set image code rate is obtained locally from the pan-tilt camera; in addition, in other embodiments, the image to be enhanced may also be obtained from a cloud or other devices in which the image to be enhanced is stored.
For example, in an application scenario, if the image to be enhanced is stored in an image capturing device, and the step S101 is executed on the side of an electronic device connected to the image capturing device, the step S101 may specifically be: and obtaining an image to be enhanced with a set image code rate from the image shooting equipment, wherein the image to be enhanced is generated by the pan-tilt camera. For this purpose, an image to be enhanced having a set image code rate is obtained from an image capturing apparatus in a wired or wireless manner, the image to be enhanced being generated by a pan-tilt camera. For the wired mode, the electronic device and the image shooting device can be connected through a physical communication interface, so that a wired communication channel is established, an image to be enhanced with a set image code rate is obtained through the wired communication channel, the image to be enhanced is generated by the pan-tilt camera, and the physical interface is, for example, a USB interface, a Type C interface and the like. For a wireless mode, for example, by configuring bluetooth modules on the electronic device and the image capturing device, the electronic device and the image capturing device may be connected through the bluetooth modules, so as to establish a wireless communication channel, and obtain an image to be enhanced with a set image bitrate through the wireless communication channel, where the image to be enhanced is generated by the pan-tilt camera. Of course, it should be noted here that the wireless mode is not particularly limited to be implemented by a bluetooth module, and in fact, the wireless mode may also be implemented based on Wifi, which is not described in detail.
For another example, in another application scenario, if the image to be enhanced is stored in an image capturing device, and the step S101 is executed on the side of the image capturing device, the step S101 may specifically be: the method comprises the steps of obtaining an image to be enhanced with a set image code rate from an image shooting device locally, wherein the image to be enhanced is generated by a pan-tilt camera.
Optionally, in this embodiment, a format of the image to be enhanced is not particularly limited, and may be, for example: bmp, jpg, png, tif, gif, pcx, tga, exif, fpx, svg, psd, cdr, pcd, dxf, ufo, eps, ai, raw, WMF, and webp. If the image to be enhanced is required to have a set format in a specific application scene, the image to be enhanced with the set format can be obtained through image format conversion.
In this embodiment, the image to be enhanced may be a video or a picture. If the video is a video, the video can be a video segment in a complete video, or the complete video.
S102, according to the image enhancement request, enhancing the image to be enhanced to generate an enhanced image, wherein the quality index of the enhanced image is matched according to the set image code rate.
Optionally, in this embodiment, the image enhancement request is triggered by hardware or software. For example, in an application scenario, if the step S102 is executed on the side of the electronic device, an entity key may be configured on the electronic device, where the entity key may reuse an existing key on the electronic device, or may trigger an additionally added entity key for implementing hardware. And the user operates the entity key to realize that the hardware triggers the image enhancement request. For another example, in another application scenario, if the step S102 is still executed on the side of the electronic device, a virtual key may be configured on a display interface of the electronic device, where the virtual key may reuse an existing key on the electronic device, or may trigger an additional virtual key for implementing software. And the user operates the virtual key to realize that the software triggers the image enhancement request.
Specifically, in this embodiment, the enhancement processing includes: at least one of character beauty treatment, filter treatment, tone adjustment and exposure adjustment can be carried out, so that the specific enhancement treatment can be flexibly configured according to the requirements of the application scene, the algorithm for specifically realizing the enhancement treatment can be flexibly set according to the requirements of the application scene.
In this embodiment, by obtaining an image to be enhanced with a set image code rate, where the image to be enhanced is generated by a pan-tilt camera, and an enhanced image generated by enhancing the image to be enhanced, quality indexes of the enhanced image are matched according to the set image code rate, so that an association relationship is established between the image code rate and the quality indexes of the image, a processing process of enhancement is controllable, and difficulty of enhancement is finally reduced.
For example, an original image shot by a pan-tilt camera is compressed to obtain an image to be enhanced. When the original image shot by the pan-tilt camera is compressed, a larger image code rate can be used for compression, and the larger image code rate is, for example, relative to the image code rate used when the original image is compressed during normal preview on the intelligent terminal. Therefore, when the scheme provided by the embodiment of fig. 1 is applied to an intelligent terminal to operate, the obtained image to be enhanced can be closer to the original image shot by the pan-tilt-zoom camera because the image code rate used in the compression processing is larger, so that the scheme provided by the embodiment of fig. 1 is executed in the intelligent terminal, and the generated enhanced image has higher quality indexes, such as higher image resolution and lower image distortion, therefore, in the process of the enhancement processing, the association relationship is established between the image code rate and the quality index of the image, so that the processing process of the enhancement processing is controllable, and finally the difficulty of the enhancement processing is reduced.
Of course, in some other application scenarios, when the original image shot by the pan-tilt camera is compressed, a smaller image code rate may be used for compression, where the smaller image code rate is, for example, relative to the image code rate used when the original image is compressed during normal preview on the intelligent terminal, so that the generated enhanced image has a lower quality index.
Further, fig. 2 is a schematic flow chart of an image processing method according to a second embodiment of the present application; as shown in fig. 2, the following step S103 is added to the above-described fig. 1.
S103, performing preview processing on the enhanced image according to the image preview request.
In this embodiment, if the electronic device executes the above steps S101 to S103, the image preview request is generated by the electronic device, for example, an entity key or a virtual key is provided on the electronic device, and the user triggers the image preview request by operating the entity key or the virtual key, so as to finally preview the enhanced image on the electronic device. Similarly, if the above steps S101 to S103 are executed on the image capturing device side, the image preview request is generated by the image capturing device, for example, a physical key or a virtual key is provided on the image capturing device, and the user operates the physical key or the virtual key to trigger the image preview request, so as to finally realize the preview of the enhanced image on the image capturing device.
In this embodiment, the enhanced image is previewed through the image preview request, so that the enhanced image is displayed to the user, and the user can visually know the effect of the enhancement processing conveniently.
Fig. 3 is a block diagram of an image processing apparatus according to a third embodiment of the present application; as shown in fig. 3, it includes:
an image obtaining module 301, configured to obtain an image to be enhanced with a set image code rate, where the image to be enhanced is generated by a pan-tilt camera;
an image enhancement module 302, configured to perform enhancement processing on the image to be enhanced according to an image enhancement request to generate an enhanced image, where a quality index of the enhanced image is matched according to the set image code rate.
Optionally, in this embodiment, when obtaining the to-be-enhanced image with the set image bitrate, the image obtaining module 301 may obtain the to-be-enhanced image with the set image bitrate from the local or from the cloud or other device storing the to-be-enhanced image when obtaining the to-be-enhanced image with the set image bitrate, where the to-be-enhanced image is generated by the pan-tilt camera.
For example, in an application scenario, an image to be enhanced is stored on an image capturing device, and if the image to be enhanced is generated by a pan-tilt camera, the image obtaining module 301 obtains the image to be enhanced with a set image bitrate from the image capturing device on the side of an electronic device connected to the image capturing device, the image obtaining module 301 may specifically obtain the image to be enhanced with the set image bitrate from the image capturing device, and the image to be enhanced is generated by the pan-tilt camera. For this purpose, an image to be enhanced having a set image code rate is obtained from an image capturing apparatus in a wired or wireless manner, the image to be enhanced being generated by a pan-tilt camera. For the wired mode, the electronic device and the image shooting device can be connected through a physical communication interface, so that a wired communication channel is established, an image to be enhanced with a set image code rate is obtained through the wired communication channel, the image to be enhanced is generated by the pan-tilt camera, and the physical interface is, for example, a USB interface, a Type C interface and the like. For a wireless mode, for example, by configuring bluetooth modules on the electronic device and the image capturing device, the electronic device and the image capturing device may be connected through the bluetooth modules, so as to establish a wireless communication channel, and obtain an image to be enhanced with a set image bitrate through the wireless communication channel, where the image to be enhanced is generated by the pan-tilt camera. Of course, it should be noted here that the wireless mode is not particularly limited to be implemented by a bluetooth module, and in fact, the wireless mode may also be implemented based on Wifi, which is not described in detail.
For another example, in another application scenario, if the image to be enhanced is stored on an image capturing device, and the image to be enhanced with the set image bitrate is obtained by the image obtaining module 301 on the side of the image capturing device, where the image to be enhanced is generated by the pan-tilt camera, the image obtaining module 301 obtains the image to be enhanced with the set image bitrate locally from the image capturing device, where the image to be enhanced is generated by the pan-tilt camera.
Optionally, in this embodiment, a format of the image to be enhanced is not particularly limited, and may be, for example: bmp, jpg, png, tif, gif, pcx, tga, exif, fpx, svg, psd, cdr, pcd, dxf, ufo, eps, ai, raw, WMF, and webp. If the image to be enhanced is required to have a set format in a specific application scene, the image to be enhanced with the set format can be obtained through image format conversion.
In this embodiment, the image to be enhanced may be a video or a picture. If the video is a video, the video can be a video segment in a complete video, or the complete video.
Optionally, in this embodiment, the image enhancement request is triggered by hardware or software. For example, in an application scenario, if the image enhancement module 302 performs enhancement processing on the image to be enhanced to generate an enhanced image according to the image enhancement request on the side of the electronic device, an entity key may be configured on the electronic device, where the entity key may reuse existing keys on the electronic device, or may trigger an additionally added entity key for hardware. And the user operates the entity key to realize that the hardware triggers the image enhancement request. For another example, in another application scenario, if the image enhancement module 302 performs enhancement processing on the image to be enhanced to generate an enhanced image on the side of the electronic device according to the image enhancement request, a virtual key may be configured on the display interface of the electronic device, where the virtual key may multiplex existing keys on the electronic device, or may trigger an additional virtual key for implementing software. And the user operates the virtual key to realize that the software triggers the image enhancement request.
Specifically, in this embodiment, the enhancement processing includes: at least one of character beauty treatment, filter treatment, tone adjustment and exposure adjustment can be carried out, so that the specific enhancement treatment can be flexibly configured according to the requirements of the application scene, the algorithm for specifically realizing the enhancement treatment can be flexibly set according to the requirements of the application scene.
In this embodiment, by obtaining an image to be enhanced with a set image code rate, where the image to be enhanced is generated by a pan-tilt camera, and an enhanced image generated by enhancing the image to be enhanced, quality indexes of the enhanced image are matched according to the set image code rate, so that an association relationship is established between the image code rate and the quality indexes of the image, a processing process of enhancement is further controllable, and difficulty of enhancement is finally reduced.
Further, fig. 4 is a block diagram of an image processing apparatus according to a fourth embodiment of the present disclosure; as shown in fig. 4, a preview processing module 303 is added on the basis of fig. 1, and the preview processing module 303 is configured to perform preview processing on the enhanced image according to an image preview request.
In this embodiment, if an image to be enhanced with a set image bitrate is obtained by the image obtaining module 301 on the side of the electronic device, the image to be enhanced is generated by the pan-tilt camera, the image enhancement module 302 performs enhancement processing on the image to be enhanced according to an image enhancement request to generate an enhanced image, the quality index of the enhanced image is matched according to the set image bitrate, and the preview processing module 303 performs preview processing on the enhanced image according to an image preview request. The image preview request is generated by the electronic device, for example, a physical key or a virtual key is provided on the electronic device, and the user operates the physical key or the virtual key to trigger the image preview request. Similarly, if an image to be enhanced with a set image code rate is obtained by the image obtaining module 301 on the side of the image capturing device, the image to be enhanced is generated by the pan-tilt camera, the image enhancement module 302 performs enhancement processing on the image to be enhanced according to an image enhancement request to generate an enhanced image, the quality index of the enhanced image is matched according to the set image code rate, and the preview processing module 303 performs preview processing on the enhanced image according to an image preview request, the image preview request is generated by the image capturing device, for example, a physical key or a virtual key is arranged on the image capturing device, and a user operates the physical key or the virtual key to trigger the image preview request.
In this embodiment, the enhanced image is previewed through the image preview request, so that the enhanced image is displayed to the user, and the user can visually know the effect of the enhancement processing conveniently.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to a fifth embodiment of the present application. As shown in fig. 5, it includes:
one or more processors 510 and a memory unit 520, one processor 510 being exemplified in fig. 5.
The electronic device may further include: an input device 530 and an output device 540.
The processor 510, the memory unit 520, the input device 530 and the output device 540 may be connected by a bus or other means, and fig. 5 illustrates an example of a connection by a bus.
The storage unit 520, which is a non-volatile computer-readable storage medium, may be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the methods in the embodiments of the present application. The processor 510 executes various functional applications of the server and data processing by executing nonvolatile software programs, instructions, and modules stored in the storage unit 520.
The storage unit 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like. In addition, the memory unit 520 may include a high speed random access memory unit 520, and may also include a non-volatile memory unit 520, such as at least one piece of disk memory unit 520, flash memory device, or other non-volatile solid state memory unit 520. In some embodiments, memory unit 520 may optionally include a memory unit located remotely from processor 510. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may receive input numeric or character information and generate key signal inputs related to user settings and function control. The input device 530 may include a pressing module.
The one or more modules are stored in the storage unit 520 and, when executed by the one or more processors 510, perform the steps of any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
For convenience of understanding of the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are exemplarily described herein with reference to specific application scenarios, but it should be noted herein that the technical solutions provided in the embodiments of the present application are not limited to be only applicable to the specific application scenarios described below.
Fig. 6 is a schematic view of an application scenario provided in a sixth embodiment of the present application; as shown in fig. 6, in this embodiment, the application scene includes a pan-tilt camera and an intelligent terminal, where the pan-tilt camera is used to take a picture of a target object to obtain an original image, and the original image may be understood as image data output by an image sensor in the camera, such as in a DNG format or other formats, and the original image or also referred to as a digital film retains more image information and has higher image quality.
In this embodiment, because the display screen of the pan-tilt camera is generally small and the image preview effect is poor, the display screen of the intelligent terminal is generally large and the image preview effect is good, so that the image to be enhanced is enhanced on the intelligent terminal, and the image can be previewed on the large display screen to improve the image preview effect.
Furthermore, because the image of the original image is large, the data volume of the file is large, and the file is difficult to transmit to the intelligent terminal in real time and is directly used as the image to be enhanced. In the compression process, in order to enable the compressed image as the image to be enhanced to have the quality index as close to the original image as possible, when the original image is compressed, the image code rate as large as possible is set to reserve more image information, so that the loss of the image information of the compressed image as the image to be enhanced is less, the quality index of the compressed image is further enabled to be closer to the quality index of the original image, the image quality of the enhanced image obtained after the enhancement process is also higher, and a good image preview effect is further achieved.
Here, it should be noted that the image code rate as large as possible may be larger than the image code rate used when compressing the image to be compressed in order to satisfy the normal preview image (in various situations except the preview enhanced image, such as the video recording mode situation) on the smart terminal, for example.
The intelligent terminal obtains the image to be enhanced in a wired or wireless mode, generates an image enhancement request according to hardware triggering or software triggering, and then performs enhancement processing on the image to be enhanced according to the image enhancement request to generate an enhanced image. The method comprises the steps of compressing a camera, generating an enhanced image, previewing the enhanced image, and performing electronic zooming on the enhanced image to match or approximate to the original image in the aspect of picture ratio, wherein the image code rate which can meet the requirement of performing enhancement processing on an intelligent terminal is used when the camera is compressed, so that more image information is reserved in the generated enhanced image, the image quality is higher, and a good image previewing effect is achieved when the image is previewed.
In this embodiment, the enhanced image may be stored locally in the intelligent terminal, so as to be directly obtained locally from the intelligent terminal during preview.
In an application scenario, the above image processing method may also be executed on a camera, and for this reason, unlike the above embodiment, the original image is compressed locally by using a set image code rate to obtain an image to be enhanced, and the image to be enhanced is enhanced locally by the camera according to an image enhancement request to generate an enhanced image, so that the enhanced image is previewed locally on the camera, and the enhanced image is directly stored locally on the camera.
In addition, in another scene, the image processing method can be realized locally, namely the image processing method can be realized locally in a camera, and the image processing method can also be realized locally in an intelligent terminal; when the image processing method is locally realized from the camera to the intelligent terminal, the display screen of the camera can not display the content or is in a screen-off state, so that the power consumption of the camera is saved.
Further, in order to implement the image enhancement processing method on the smart terminal, an application program (APP in the industry) may be installed on the smart terminal, and a user starts the APP to trigger the execution of the image processing method.
Further, the camera may be a pan-tilt camera or a motion camera, and the intelligent terminal may be a smart phone or the like.
Further, in some other application scenarios, the image to be enhanced may be acquired from a cloud.
Thus, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the storage unit controller may also be implemented as part of the control logic of the storage unit. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage units, CD-ROMs, optical storage units, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory unit that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory unit produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory cells (SRAM), dynamic random access memory cells (DRAM), other types of random access memory cells (RAM), read only memory cells (ROM), electrically erasable programmable read only memory cells (EEPROM), flash memory or other memory technology, compact disc read only memory cells (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage units, CD-ROMs, optical storage units, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular transactions or implement particular abstract data types. The application may also be practiced in distributed computing environments where transactions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An image processing method, comprising:
obtaining an image to be enhanced with a set image code rate, wherein the image to be enhanced is generated by a pan-tilt camera;
and according to the image enhancement request, enhancing the image to be enhanced to generate an enhanced image, wherein the quality index of the enhanced image is matched according to the set image code rate.
2. The image processing method according to claim 1, wherein the enhancement processing includes: at least one of a character beauty process, a filter process, a color tone adjustment, and an exposure adjustment.
3. The image processing method according to claim 1, further comprising: and previewing the enhanced image according to the image preview request.
4. The image processing method according to claim 1, wherein the image enhancement request is a hardware trigger or a software trigger.
5. An image processing apparatus characterized by comprising:
the device comprises an image obtaining module, a cloud platform camera and a video processing module, wherein the image obtaining module is used for obtaining an image to be enhanced with a set image code rate, and the image to be enhanced is generated by the cloud platform camera;
and the image enhancement module is used for enhancing the image to be enhanced according to the image enhancement request to generate an enhanced image, and the quality index of the enhanced image is matched according to the set image code rate.
6. The image processing apparatus according to claim 5, wherein the enhancement processing includes: at least one of a character beauty process, a filter process, a color tone adjustment, and an exposure adjustment.
7. The image processing apparatus according to claim 5, further comprising a preview processing module configured to perform preview processing on the enhanced image according to an image preview request.
8. The image processing apparatus according to claim 5, wherein the image enhancement request is a hardware trigger or a software trigger.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the method according to any one of claims 1-4.
10. A computer storage medium having stored thereon a computer program which, when executed by a processor, carries out the method of any one of claims 1 to 4.
CN202010032941.9A 2020-01-13 2020-01-13 Image processing method and device, electronic device and computer storage medium Pending CN111327816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010032941.9A CN111327816A (en) 2020-01-13 2020-01-13 Image processing method and device, electronic device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010032941.9A CN111327816A (en) 2020-01-13 2020-01-13 Image processing method and device, electronic device and computer storage medium

Publications (1)

Publication Number Publication Date
CN111327816A true CN111327816A (en) 2020-06-23

Family

ID=71166982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010032941.9A Pending CN111327816A (en) 2020-01-13 2020-01-13 Image processing method and device, electronic device and computer storage medium

Country Status (1)

Country Link
CN (1) CN111327816A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188085A (en) * 2020-09-04 2021-01-05 上海摩象网络科技有限公司 Image processing method and handheld pan-tilt camera

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007074296A (en) * 2005-09-06 2007-03-22 Canon Inc Cradle unit and control method thereof, viewer apparatus and control method thereof, and control program
CN101808233A (en) * 2009-02-18 2010-08-18 杭州海康威视数字技术股份有限公司 Universal system for realizing video monitoring of mobile phone and method thereof
CN104159015A (en) * 2014-08-28 2014-11-19 天津雷航光电科技有限公司 Image pickup system based on unmanned aerial vehicle
CN204761600U (en) * 2015-06-30 2015-11-11 江苏首控制造技术有限公司 Live monitored control system of handheld terminal remote of unmanned aerial vehicle
CN105163079A (en) * 2015-09-01 2015-12-16 深圳华侨城文化旅游科技股份有限公司 Smart shooting system and method thereof
CN105407297A (en) * 2015-10-30 2016-03-16 北京奇艺世纪科技有限公司 Multi-view-angle video acquisition systems
CN108024048A (en) * 2016-10-31 2018-05-11 河南蓝信科技股份有限公司 A kind of EMU drivers' cab circuit camera remote controlling method
CN109194916A (en) * 2018-09-17 2019-01-11 东莞市丰展电子科技有限公司 A kind of removable camera system with image processing module
CN109587401A (en) * 2019-01-02 2019-04-05 广州市奥威亚电子科技有限公司 The more scene capture realization method and systems of electronic platform
CN109982000A (en) * 2017-12-28 2019-07-05 天津益华微电子有限公司 A kind of live streaming platform
CN110024395A (en) * 2017-11-07 2019-07-16 深圳市大疆创新科技有限公司 Image real time transfer, transmission method and controlling terminal
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007074296A (en) * 2005-09-06 2007-03-22 Canon Inc Cradle unit and control method thereof, viewer apparatus and control method thereof, and control program
CN101808233A (en) * 2009-02-18 2010-08-18 杭州海康威视数字技术股份有限公司 Universal system for realizing video monitoring of mobile phone and method thereof
CN104159015A (en) * 2014-08-28 2014-11-19 天津雷航光电科技有限公司 Image pickup system based on unmanned aerial vehicle
CN204761600U (en) * 2015-06-30 2015-11-11 江苏首控制造技术有限公司 Live monitored control system of handheld terminal remote of unmanned aerial vehicle
CN105163079A (en) * 2015-09-01 2015-12-16 深圳华侨城文化旅游科技股份有限公司 Smart shooting system and method thereof
CN105407297A (en) * 2015-10-30 2016-03-16 北京奇艺世纪科技有限公司 Multi-view-angle video acquisition systems
CN108024048A (en) * 2016-10-31 2018-05-11 河南蓝信科技股份有限公司 A kind of EMU drivers' cab circuit camera remote controlling method
CN110024395A (en) * 2017-11-07 2019-07-16 深圳市大疆创新科技有限公司 Image real time transfer, transmission method and controlling terminal
CN109982000A (en) * 2017-12-28 2019-07-05 天津益华微电子有限公司 A kind of live streaming platform
CN109194916A (en) * 2018-09-17 2019-01-11 东莞市丰展电子科技有限公司 A kind of removable camera system with image processing module
CN109587401A (en) * 2019-01-02 2019-04-05 广州市奥威亚电子科技有限公司 The more scene capture realization method and systems of electronic platform
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188085A (en) * 2020-09-04 2021-01-05 上海摩象网络科技有限公司 Image processing method and handheld pan-tilt camera
CN112188085B (en) * 2020-09-04 2022-04-01 上海摩象网络科技有限公司 Image processing method and handheld pan-tilt camera

Similar Documents

Publication Publication Date Title
CN112394895B (en) Picture cross-device display method and device and electronic device
WO2021115194A1 (en) Application icon display method and electronic device
US20160373801A1 (en) Method and device for playing multimedia file
CN111464761A (en) Video processing method and device, electronic equipment and computer readable storage medium
WO2021180089A1 (en) Interface switching method and apparatus and electronic device
RU2619089C2 (en) Method and device for multiple videos reproduction
CN112527174A (en) Information processing method and electronic equipment
CN107613369A (en) Video broadcasting method, device and electronic equipment based on GStreamer frameworks
CN110933289A (en) Continuous shooting method based on binocular camera, shooting device and terminal equipment
CN117133306A (en) Stereo noise reduction method, apparatus and storage medium
KR102440341B1 (en) Video processing method, apparatus, terminal and storage medium
CN110968362A (en) Application running method and device and storage medium
CN112463391B (en) Memory control method, memory control device, storage medium and electronic equipment
CN109542430B (en) Method and device for realizing interface interaction effect and electronic equipment
CN111327816A (en) Image processing method and device, electronic device and computer storage medium
CN113626626A (en) Multi-person shared photo storage method, device and equipment
KR20200135535A (en) Display interface switching method, device and electronic device
CN116700601B (en) Memory optimization method, equipment and storage medium
CN116052701B (en) Audio processing method and electronic equipment
CN111767006A (en) Data processing method and device
CN114979533A (en) Video recording method, device and terminal
CN111367598B (en) Method and device for processing action instruction, electronic equipment and computer readable storage medium
CN110990357A (en) Data processing method, device and system, electronic equipment and storage medium
CN116055738B (en) Video compression method and electronic equipment
CN116055799B (en) Multi-track video editing method, graphical user interface and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200623