CN111200705A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN111200705A
CN111200705A CN201811369534.6A CN201811369534A CN111200705A CN 111200705 A CN111200705 A CN 111200705A CN 201811369534 A CN201811369534 A CN 201811369534A CN 111200705 A CN111200705 A CN 111200705A
Authority
CN
China
Prior art keywords
image
sub
effects
image processing
regions
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.)
Granted
Application number
CN201811369534.6A
Other languages
Chinese (zh)
Other versions
CN111200705B (en
Inventor
郑微
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision 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 Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811369534.6A priority Critical patent/CN111200705B/en
Publication of CN111200705A publication Critical patent/CN111200705A/en
Application granted granted Critical
Publication of CN111200705B publication Critical patent/CN111200705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure discloses an image processing method, an image processing device, an electronic device and a computer-readable storage medium. The image processing method comprises the following steps: acquiring an image to be processed; selecting a plurality of sub-special effects; receiving a segmentation signal of the image, and segmenting the image into a plurality of areas; processing the image in the plurality of regions using the plurality of sub-effects. The embodiment of the disclosure processes the images of the plurality of segmentation areas determined by the segmentation signals by selecting the plurality of sub-effects, thereby solving the technical problems of fixed display proportion of the effects and large calculation amount when the plurality of effects are mixed in the prior art.

Description

Image processing method and device
Technical Field
The present disclosure relates to the field of image processing, and in particular, to an image processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of computer technology, the application range of the intelligent terminal is widely improved, for example, the intelligent terminal can listen to music, play games, chat on internet, take pictures and the like. For the photographing technology of the intelligent terminal, the photographing pixels of the intelligent terminal reach more than ten million pixels, and the intelligent terminal has higher definition and the photographing effect comparable to that of a professional camera.
At present, when an intelligent terminal is used for photographing, not only can photographing effects of traditional functions be realized by using photographing software built in when the intelligent terminal leaves a factory, but also photographing effects with additional functions can be realized by downloading an Application program (APP for short) from a network end, for example, the APP with functions of dark light detection, a beauty camera, super pixels and the like can be realized. Various special effects such as beauty, filters, large eyes and thin face, etc. can be formed by combining various basic image processes.
At present, various special effects are generally implemented in the form of special effect packages, for example, various special effect packages exist in a terminal of a user, and when the user selects one of the special effect packages, the special effect package is used to process an image in the terminal to obtain an image with a special effect. However, in the current method, each special effect package can only contain one special effect, and various service logic is bound to realize the special effect package, and the expansibility of the special effect package is poor.
The current special effect packages also comprise a special effect package for mixing two special effects, but the special effect package is generally fixed in mixing proportion and inflexible in changing the mixing proportion, and the two special effects are generally used for processing images respectively and then are mixed according to a certain proportion, so that the calculation amount is large, and the calculation resources are wasted.
Disclosure of Invention
In a first aspect, an embodiment of the present disclosure provides an image processing method, including: acquiring an image to be processed; selecting a plurality of sub-special effects; receiving a segmentation signal of the image, segmenting the image into a plurality of areas, wherein each area comprises a sub-image of the image; processing the sub-images in the plurality of regions using the plurality of sub-effects.
Further, the method further comprises: receiving a segmentation variation signal of the image; changing the plurality of regions according to the division change signal; and processing the sub-images in the changed plurality of areas by using the plurality of sub-special effects.
Further, the selecting a plurality of sub-effects comprises: and selecting a plurality of sub-special effects from the sub-special effect pool.
Further, the receiving a division signal of the image, dividing the image into a plurality of regions, includes: and receiving a finger touch signal, and dividing the image into a plurality of areas according to the position of the finger.
Further, the receiving a finger touch signal, and dividing the image into a plurality of regions according to the position of the finger includes: receiving a touch signal of a finger, and making a vertical line in the horizontal direction through the position of the finger, wherein the vertical line divides the image into a plurality of areas.
Further, the processing the image in the plurality of regions using the plurality of sub-effects includes: calculating boundary point coordinates of the plurality of regions; inputting the coordinates of the boundary points into corresponding sub-special effects; and processing the image in the area determined by the boundary coordinate by using the sub special effect.
Further, after the selecting the plurality of sub-special effects, the method further includes: and mixing the plurality of sub-special effects to generate a mixed special effect.
Further, the processing the image in the plurality of regions using the plurality of sub-effects includes: processing the image in the plurality of regions using the hybrid special effect.
Further, the processing the image in the plurality of regions using the mixed special effect includes: calculating the proportion of each area in the whole image; and processing the image by using the mixed special effect according to the proportion.
Further, the mixing the plurality of sub-effects to generate a mixed effect includes: mixing the parameters of the plurality of sub-special effects to generate a parameter of a mixed special effect; and mixing the image processing methods of the plurality of sub-special effects to generate an image processing method of a mixed special effect.
In a second aspect, an embodiment of the present disclosure provides an image processing apparatus, including:
the image acquisition module is used for acquiring an image to be processed;
the sub-special effect selection module is used for selecting a plurality of sub-special effects;
the image segmentation module is used for receiving segmentation signals of the image and segmenting the image into a plurality of areas, wherein each area comprises a sub-image of the image;
an image processing module for processing the sub-images in the plurality of regions using the plurality of sub-special effects.
Further, the image processing apparatus further includes:
the segmentation signal updating module is used for receiving a segmentation change signal of the image;
a region updating module for changing the plurality of regions according to the division change signal;
and the image processing updating module is used for processing the sub-images in the changed regions by using the plurality of sub-special effects.
Further, the sub-special effect selection module is further configured to:
and selecting a plurality of sub-special effects from the sub-special effect pool.
Further, the image segmentation module is further configured to:
and receiving a finger touch signal, and dividing the image into a plurality of areas according to the position of the finger.
Further, the image segmentation module is further configured to:
receiving a touch signal of a finger, and making a vertical line in the horizontal direction through the position of the finger, wherein the vertical line divides the image into a plurality of areas.
Further, the image processing module is further configured to:
calculating boundary point coordinates of the plurality of regions;
inputting the coordinates of the boundary points into corresponding sub-special effects;
and processing the image in the area determined by the boundary coordinate by using the sub special effect.
Further, the image processing apparatus further includes:
and the special effect mixing module is used for mixing the plurality of sub-special effects after the plurality of sub-special effects are selected to generate a mixed special effect.
Further, the image processing module is further configured to:
processing the image in the plurality of regions using the hybrid special effect.
Further, the image processing module is further configured to:
calculating the proportion of each area in the whole image;
and processing the image by using the mixed special effect according to the proportion.
Further, the special effect mixing module is further configured to:
mixing the parameters of the plurality of sub-special effects to generate a parameter of a mixed special effect;
and mixing the image processing methods of the plurality of sub-special effects to generate an image processing method of a mixed special effect.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the image processing method of any of the preceding first aspects.
In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium, which stores computer instructions for causing a computer to execute the image processing method according to any one of the foregoing first aspects.
The disclosure discloses an image processing method, an image processing device, an electronic device and a computer-readable storage medium. The image processing method comprises the following steps: acquiring an image to be processed; selecting a plurality of sub-special effects; receiving a segmentation signal of the image, and segmenting the image into a plurality of areas; processing the image in the plurality of regions using the plurality of sub-effects. The embodiment of the disclosure processes the images of the plurality of segmentation areas determined by the segmentation signals by selecting the plurality of sub-effects, thereby solving the technical problems of fixed display proportion of the effects and large calculation amount when the plurality of effects are mixed in the prior art.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical means of the present disclosure, the present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and other drawings can be obtained according to the drawings without creative efforts for those skilled in the art.
Fig. 1 is a flowchart of a first embodiment of an image processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an image segmentation area provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a change in image segmentation area provided by an embodiment of the present disclosure;
fig. 4 is a flowchart of a second embodiment of an image processing method according to the present disclosure;
fig. 5 is a schematic structural diagram of an embodiment of an image processing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
Fig. 1 is a flowchart of a first embodiment of an image processing method provided in this embodiment of the present disclosure, where the image processing method provided in this embodiment may be executed by an image processing apparatus, the image processing apparatus may be implemented as software, or implemented as a combination of software and hardware, and the image processing apparatus may be integrated in a certain device in an image processing system, such as an image processing server or an image processing terminal device. As shown in fig. 1, the method comprises the steps of:
step S101, acquiring an image to be processed;
in one embodiment, the acquisition of the image to be processed may be obtained by an image sensor, which refers to various devices that can capture images, typical image sensors being video cameras, still cameras, etc. In this embodiment, the image sensor may be a camera on the terminal device, such as a front-facing or rear-facing camera on a smart phone, and an image acquired by the camera may be directly displayed on a display screen of the smart phone.
Step S102: selecting a plurality of sub-special effects;
in an embodiment, the sub-special effect is an image processing algorithm for processing an image to generate a special effect, optionally, the sub-special effect includes a color chart filter, a dichroic filter, a dispersion filter, a beauty filter, and the like, and the sub-special effect may be a special effect with any effect, which is not described herein again for example.
In one embodiment, a plurality of sub-special effects are selected from a sub-special effect pool, the sub-special effect pool is a sub-special effect pool in a general special effect package, the general special effect package comprises the sub-special effect pool, the sub-special effect pool comprises a plurality of sub-special effects, and the sub-special effects can be displayed independently or mixed through the function of the general special effect package. In this embodiment, the selected sub-effects may be any number, a mixing order of the plurality of sub-effects may be selected, or the selected order may be directly used as a mixing position, the mixing position determines a position of an area where an image is processed, optionally, the number of the sub-effects is 2, and the sub-effects are respectively a color chart filter and a two-color filter, and the selected order is the color chart filter and the two-color filter, and then the processing area is a color chart filter processing area and a two-color filter processing area in sequence according to the direction of the image. The specific processing manner will be described below, and will not be described herein again.
Step S103: receiving a segmentation signal of the image, and segmenting the image into a plurality of areas;
in one embodiment, the image to be processed is divided into a plurality of regions by a division signal. Optionally, the segmentation signal may be a finger touch signal, where the finger touch signal includes a position of a finger, and the image is segmented into a plurality of regions according to the position of the finger; in this embodiment, the image is an image collected by a terminal device and displayed on a display screen of the terminal image, the display screen is a touch screen, when a finger of a user touches the touch screen, a touch signal is generated, the touch signal includes a position of the finger on the touch screen, the image on the display screen can be divided into a plurality of regions according to the position of the finger and a certain processing mode, for example, a straight line is made to a horizontal direction of the display screen through the position of the finger or a perpendicular line is made to the horizontal direction of the display screen through the position of the finger, and the straight line and the perpendicular line divide the image into the plurality of regions. Optionally, the finger is 1,1 finger can divide into two regions with the image, and is optional, through the perpendicular line of display screen horizontal direction is done to the position of finger, divides into two regions about the image. It is to be understood that the segmentation signal in this embodiment may be generated by any signal, and is not limited to the touch signal of the finger, and may also be a segmentation signal generated according to another segmentation signal interface, for example, using a control, a user may input the segmentation direction, number, proportion, and the like in real time, and segment the image into a plurality of regions according to the parameters of the segmentation signal, and other segmentation signals and segmentation methods are not described again, and any method that can segment the image into a plurality of regions may be used in this disclosure.
Step S104: processing the image in the plurality of regions using the plurality of sub-effects.
In one embodiment, the number of the regions is the same as the number of the selected multiple sub-special effects, each sub-special effect corresponds to one region, the multiple sub-special effects are used for processing the images in the corresponding regions, and the processed images are output.
In one embodiment, the processing the image in the plurality of regions using the plurality of sub-effects comprises: calculating boundary point coordinates of the plurality of regions; inputting the coordinates of the boundary points into corresponding sub-special effects; and processing the image in the area determined by the boundary coordinate by using the sub special effect. Alternatively, the image is divided into two regions by a vertical line, as shown in fig. 2, the coordinates of the two regions can be obtained by the position of the vertical line L, in this alternative embodiment, the range of the display screen is determined by four coordinates, respectively the origin (0,0) of the lower left corner, the point (0,1) of the upper left corner, the point (1,1) of the upper right corner and the point (1,0) of the lower right corner, provided that the position of the finger is used in step S103 to determine the area of the image, and the position of the finger is a (a, b), the intersections of the vertical line L and the parallel lines above and below the screen are (a, 1) and (a,0), respectively, so that the ranges of the two regions 201 and 202 can be determined, the coordinates of the boundary points of the region 201 are input to the sub-special effects corresponding thereto, the coordinates of the boundary points of the region 202 are input to the sub-special effects corresponding thereto, and the image in the region determined by the boundary coordinates is processed using the sub-special effects.
In one embodiment, after step S104, the method further includes: receiving a segmentation variation signal of the image; changing the plurality of regions according to the division change signal; processing the image in the changed plurality of regions using the plurality of sub-effects. In this embodiment, after the image is divided and processed, the plurality of regions may be further changed, and the image in the changed region may be processed using the sub-special effect. Optionally, the image is divided into two regions by a vertical line, the image is divided into a left region and a right region by a touch position of a finger of a person, at this time, when the finger moves, the divided region of the image is recalculated according to a real-time position of the finger, and the sub-special effect processing is used to change the image in the region. As shown in fig. 3, the position of the finger is moved from point a to point B, the perpendicular line is moved from the position of the perpendicular line L to the position of the perpendicular line M, new intersection points (c,1) and (c,0) are generated with the top and bottom parallel lines of the screen, new areas 301 and 302 are generated, and the images of both areas are reprocessed using the sub-special effect according to the coordinates of the boundary points of the areas 301 and 301.
Fig. 4 is a flowchart of a second embodiment of an image processing method provided in the present disclosure, where the image processing method provided in this embodiment may be executed by an image processing apparatus, the image processing apparatus may be implemented as software, or implemented as a combination of software and hardware, and the image processing apparatus may be integrated in some device in an image processing system, such as an image processing server or an image processing terminal device. As shown in fig. 4, the method includes the steps of:
step S401: acquiring an image to be processed;
step S402: selecting a plurality of sub-special effects;
step S403: mixing the plurality of sub-special effects to generate a mixed special effect;
step S404: receiving a segmentation signal of the image, and segmenting the image into a plurality of areas;
step S405: processing the image in the plurality of regions using the hybrid special effect.
In this embodiment, on the basis of the first embodiment, the selected plurality of sub-effects are mixed to generate a mixed effect. Optionally, mixing the parameters of the multiple sub-effects to generate a parameter of a mixed effect; mixing the image processing methods of the plurality of sub-special effects to generate an image processing method of a mixed special effect; specifically, each of the sub-effects is composed of a head portion and an entity portion, wherein the head portion defines parameters used by the sub-effects, the entity portion defines an implementation method of the sub-effects, for example, for a color card filter, the head portion defines a source of a color card and area coordinate parameters of the filter, the entity portion defines how the color card is mixed with an image in an effective area, and when actual coordinates are input, the color card filter can be used for processing the image. In this embodiment, the mixing of the sub-effects is to mix the heads of the plurality of sub-effects and mix the solid portions of the plurality of sub-effects to generate a mixed effect. In one embodiment, after the heads of the various sub-effects are mixed, the coordinate parameters may be converted to scale parameters, and since the mixed effect is used as one effect, it may treat the entire image as a whole, only the segmentation scale needs to be defined. In one embodiment, the proportion of each region to the entire image is calculated; and processing the image by using the mixed special effect according to the proportion. Optionally, when there are two split areas, the ratio of the split area to the entire image area is calculated by the position of the finger, for example, 20% of the left area and 80% of the right area, at this time, the ratio may be input to an entity part of the mixed special effect as a parameter of the mixed special effect, and the entity part processes the image according to the ratio, so as to achieve the effect of dynamically adjusting the processing area.
The disclosure discloses an image processing method, an image processing device, an electronic device and a computer-readable storage medium. The image processing method comprises the following steps: acquiring an image to be processed; selecting a plurality of sub-special effects; receiving a segmentation signal of the image, and segmenting the image into a plurality of areas; processing the image in the plurality of regions using the plurality of sub-effects. The embodiment of the disclosure processes the images of the plurality of segmentation areas determined by the segmentation signals by selecting the plurality of sub-effects, thereby solving the technical problems of fixed display proportion of the effects and large calculation amount when the plurality of effects are mixed in the prior art.
Fig. 5 is a schematic structural diagram of an embodiment of an image processing apparatus according to an embodiment of the present disclosure, and as shown in fig. 5, the apparatus 500 includes: an image acquisition module 501, a sub-special effect selection module 502, an image segmentation module 503 and an image processing module 504. Wherein the content of the first and second substances,
an image obtaining module 501, configured to obtain an image to be processed;
a sub-effect selection module 502 for selecting a plurality of sub-effects;
an image dividing module 503, configured to receive a dividing signal of the image, divide the image into a plurality of regions, where each region includes a sub-image of the image;
an image processing module 504, configured to process the sub-images in the plurality of regions using the plurality of sub-special effects.
Further, the image processing apparatus 500 further includes:
the segmentation signal updating module is used for receiving a segmentation change signal of the image;
a region updating module for changing the plurality of regions according to the division change signal;
and the image processing updating module is used for processing the sub-images in the changed regions by using the plurality of sub-special effects.
Further, the sub special effect selecting module 502 is further configured to:
and selecting a plurality of sub-special effects from the sub-special effect pool.
Further, the image segmentation module 503 is further configured to:
and receiving a finger touch signal, and dividing the image into a plurality of areas according to the position of the finger.
Further, the image segmentation module 503 is further configured to:
receiving a touch signal of a finger, and making a vertical line in the horizontal direction through the position of the finger, wherein the vertical line divides the image into a plurality of areas.
Further, the image processing module 504 is further configured to:
calculating boundary point coordinates of the plurality of regions;
inputting the coordinates of the boundary points into corresponding sub-special effects;
and processing the image in the area determined by the boundary coordinate by using the sub special effect.
Further, the image processing apparatus 500 further includes:
and the special effect mixing module is used for mixing the plurality of sub-special effects after the plurality of sub-special effects are selected to generate a mixed special effect.
Further, the image processing module 504 is further configured to:
processing the image in the plurality of regions using the hybrid special effect.
Further, the image processing module 504 is further configured to:
calculating the proportion of each area in the whole image;
and processing the image by using the mixed special effect according to the proportion.
Further, the special effect mixing module is further configured to:
mixing the parameters of the plurality of sub-special effects to generate a parameter of a mixed special effect;
and mixing the image processing methods of the plurality of sub-special effects to generate an image processing method of a mixed special effect.
The apparatus shown in fig. 5 can perform the method of the embodiment shown in fig. 1 and 4, and the detailed description of this embodiment can refer to the related description of the embodiment shown in fig. 1 and 4. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 1 and fig. 4, and are not described herein again.
Referring now to FIG. 6, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (13)

1. An image processing method, comprising:
acquiring an image to be processed;
selecting a plurality of sub-special effects;
receiving a segmentation signal of the image, segmenting the image into a plurality of areas, wherein each area comprises a sub-image of the image;
processing the sub-images in the plurality of regions using the plurality of sub-effects.
2. The image processing method of claim 1, wherein the method further comprises:
receiving a segmentation variation signal of the image;
changing the plurality of regions according to the division change signal;
and processing the sub-images in the changed plurality of areas by using the plurality of sub-special effects.
3. The image processing method of claim 1, wherein said selecting a plurality of sub-effects comprises:
and selecting a plurality of sub-special effects from the sub-special effect pool.
4. The image processing method of claim 1, wherein receiving a segmentation signal of the image, segmenting the image into a plurality of regions, comprises:
and receiving a finger touch signal, and dividing the image into a plurality of areas according to the position of the finger.
5. The image processing method of claim 4, wherein the receiving a finger touch signal, segmenting an image into a plurality of regions according to the position of the finger, comprises:
receiving a touch signal of a finger, and making a vertical line in the horizontal direction through the position of the finger, wherein the vertical line divides the image into a plurality of areas.
6. The image processing method of claim 1, wherein the processing the image in the plurality of regions using the plurality of sub-effects comprises:
calculating boundary point coordinates of the plurality of regions;
inputting the coordinates of the boundary points into corresponding sub-special effects;
and processing the image in the area determined by the boundary coordinate by using the sub special effect.
7. The image processing method of claim 1, wherein after said selecting the plurality of sub effects, further comprising:
and mixing the plurality of sub-special effects to generate a mixed special effect.
8. The image processing method of claim 7, wherein the processing the image in the plurality of regions using the plurality of sub-effects comprises:
processing the image in the plurality of regions using the hybrid special effect.
9. The image processing method of claim 8, wherein the processing the image in the plurality of regions using the hybrid special effect comprises:
calculating the proportion of each area in the whole image;
and processing the image by using the mixed special effect according to the proportion.
10. The image processing method of claim 7, wherein said mixing the plurality of sub-effects to generate a mixed effect comprises:
mixing the parameters of the plurality of sub-special effects to generate a parameter of a mixed special effect;
and mixing the image processing methods of the plurality of sub-special effects to generate an image processing method of a mixed special effect.
11. An image processing apparatus characterized by comprising:
the image acquisition module is used for acquiring an image to be processed;
the sub-special effect selection module is used for selecting a plurality of sub-special effects;
the image segmentation module is used for receiving segmentation signals of the image and segmenting the image into a plurality of areas;
an image processing module to process the image in the plurality of regions using the plurality of sub-effects.
12. An electronic device, comprising:
a memory for storing non-transitory computer readable instructions; and
a processor for executing the computer readable instructions such that the processor when executing implements the image processing method according to any of claims 1-10.
13. A computer-readable storage medium storing non-transitory computer-readable instructions which, when executed by a computer, cause the computer to perform the image processing method of any one of claims 1-10.
CN201811369534.6A 2018-11-16 2018-11-16 Image processing method and device Active CN111200705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811369534.6A CN111200705B (en) 2018-11-16 2018-11-16 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811369534.6A CN111200705B (en) 2018-11-16 2018-11-16 Image processing method and device

Publications (2)

Publication Number Publication Date
CN111200705A true CN111200705A (en) 2020-05-26
CN111200705B CN111200705B (en) 2021-05-25

Family

ID=70746050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811369534.6A Active CN111200705B (en) 2018-11-16 2018-11-16 Image processing method and device

Country Status (1)

Country Link
CN (1) CN111200705B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173155A (en) * 2022-02-09 2022-03-11 檀沐信息科技(深圳)有限公司 Virtual live image processing method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738367A (en) * 2004-08-16 2006-02-22 威盛电子股份有限公司 Image switching method and device
US20110169820A1 (en) * 2009-11-09 2011-07-14 Panasonic Corporation 3d image special effect device and a method for creating 3d image special effect
CN102750685A (en) * 2011-12-05 2012-10-24 深圳市万兴软件有限公司 Image processing method and device
CN104079824A (en) * 2014-06-27 2014-10-01 宇龙计算机通信科技(深圳)有限公司 Displaying method, device and terminal for view-finding image
CN105357451A (en) * 2015-12-04 2016-02-24 Tcl集团股份有限公司 Image processing method and apparatus based on filter special efficacies
CN105847728A (en) * 2016-04-13 2016-08-10 腾讯科技(深圳)有限公司 Information processing method and terminal
CN106302124A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of method adding specially good effect and electronic equipment
CN106998423A (en) * 2016-01-26 2017-08-01 宇龙计算机通信科技(深圳)有限公司 Image processing method and device
CN107194963A (en) * 2017-04-28 2017-09-22 努比亚技术有限公司 A kind of dual camera image processing method and terminal
CN107633541A (en) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738367A (en) * 2004-08-16 2006-02-22 威盛电子股份有限公司 Image switching method and device
US20110169820A1 (en) * 2009-11-09 2011-07-14 Panasonic Corporation 3d image special effect device and a method for creating 3d image special effect
CN102750685A (en) * 2011-12-05 2012-10-24 深圳市万兴软件有限公司 Image processing method and device
CN104079824A (en) * 2014-06-27 2014-10-01 宇龙计算机通信科技(深圳)有限公司 Displaying method, device and terminal for view-finding image
CN105357451A (en) * 2015-12-04 2016-02-24 Tcl集团股份有限公司 Image processing method and apparatus based on filter special efficacies
CN106998423A (en) * 2016-01-26 2017-08-01 宇龙计算机通信科技(深圳)有限公司 Image processing method and device
CN105847728A (en) * 2016-04-13 2016-08-10 腾讯科技(深圳)有限公司 Information processing method and terminal
CN106302124A (en) * 2016-08-18 2017-01-04 北京奇虎科技有限公司 A kind of method adding specially good effect and electronic equipment
CN107194963A (en) * 2017-04-28 2017-09-22 努比亚技术有限公司 A kind of dual camera image processing method and terminal
CN107633541A (en) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173155A (en) * 2022-02-09 2022-03-11 檀沐信息科技(深圳)有限公司 Virtual live image processing method
CN114173155B (en) * 2022-02-09 2022-05-10 檀沐信息科技(深圳)有限公司 Virtual live image processing method

Also Published As

Publication number Publication date
CN111200705B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN110058685B (en) Virtual object display method and device, electronic equipment and computer-readable storage medium
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN110070496B (en) Method and device for generating image special effect and hardware device
CN110070495B (en) Image processing method and device and electronic equipment
CN110288551B (en) Video beautifying method and device and electronic equipment
CN111258519B (en) Screen split implementation method, device, terminal and medium
WO2024041637A1 (en) Special effect image generation method and apparatus, device, and storage medium
CN111862349A (en) Virtual brush implementation method and device and computer readable storage medium
CN111738316A (en) Image classification method and device for zero sample learning and electronic equipment
CN110070617B (en) Data synchronization method, device and hardware device
WO2020077912A1 (en) Image processing method, device, and hardware device
CN111200705B (en) Image processing method and device
CN113205601A (en) Roaming path generation method and device, storage medium and electronic equipment
CN112492399B (en) Information display method and device and electronic equipment
CN110070586B (en) Color card generation method and device and electronic equipment
CN111223105B (en) Image processing method and device
CN111292247A (en) Image processing method and device
CN116596748A (en) Image stylization processing method, apparatus, device, storage medium, and program product
CN114422698B (en) Video generation method, device, equipment and storage medium
CN111292227A (en) Image processing method and device
CN111221444A (en) Split screen special effect processing method and device, electronic equipment and storage medium
CN111199519B (en) Method and device for generating special effect package
CN111292276B (en) Image processing method and device
CN111292245A (en) Image processing method and device
CN113961280A (en) View display method and device, electronic equipment and computer-readable storage medium

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
GR01 Patent grant
GR01 Patent grant