WO2020192298A1 - Image processing method and terminal device - Google Patents

Image processing method and terminal device Download PDF

Info

Publication number
WO2020192298A1
WO2020192298A1 PCT/CN2020/075377 CN2020075377W WO2020192298A1 WO 2020192298 A1 WO2020192298 A1 WO 2020192298A1 CN 2020075377 W CN2020075377 W CN 2020075377W WO 2020192298 A1 WO2020192298 A1 WO 2020192298A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
area
input
terminal device
sub
Prior art date
Application number
PCT/CN2020/075377
Other languages
French (fr)
Chinese (zh)
Inventor
齐双成
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020192298A1 publication Critical patent/WO2020192298A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to an image processing method and terminal equipment.
  • terminal devices As the application range of terminal devices becomes wider and wider, users can beautify pictures (for example, filter processing) through terminal devices.
  • pictures for example, filter processing
  • the terminal device can respond to the input and use the filter style to process the image so that the image presentation corresponds to the filter style Filter effects.
  • the embodiments of the present disclosure provide an image processing method and a terminal device to solve the problem that the existing terminal device has poor flexibility for filtering pictures, resulting in poor picture processing effects.
  • an embodiment of the present disclosure provides an image processing method applied to a terminal device.
  • the method includes: displaying a first image and a second image.
  • the first image is processed by a first filter processing method on a first target.
  • the image processed by the image, the second image is the image after the second target image is processed by the second filter processing method; the first input from the user is received, and the first input is the selection of the first area on the third image Input; in response to the first input, the image of the first area is used to update the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first input One image, the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
  • a terminal device which includes a display module and a receiving module.
  • the display module is used to display a first image and a second image.
  • the first image is an image processed by the first target image using the first filter processing method
  • the second image is the second image processed by the second filter processing method.
  • the receiving module is used for receiving a user's first input, and the first input is an input for selecting the first area on the third image.
  • the display module is further configured to respond to the first input received by the receiving module and use the image of the first area to update the image of the second area, where the second area is an area associated with the first input in the fourth image.
  • the third image is the first image and the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
  • the embodiments of the present disclosure provide a terminal device.
  • the terminal device includes a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program implements the foregoing first The steps of the image processing method in one aspect.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the image processing method in the first aspect are implemented.
  • a first image and a second image can be displayed.
  • the first image is the image processed by the first target image by the first filter processing method, and the second image is processed by the second filter.
  • the second target image is processed by the method; the first input of the user is received, and the first input is the input of selecting the first area on the third image; in response to the first input, the image of the first area is adopted, Update the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, the fourth image is the second image; or, the third image
  • the image is the second image, and the fourth image is the first image.
  • the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole.
  • the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure
  • FIG. 3 is the second schematic diagram of the image processing method provided by an embodiment of the disclosure.
  • FIG. 5 is the second schematic diagram of the interface of the image processing method application provided by the embodiments of the disclosure.
  • FIG. 6 is the third schematic diagram of the interface of the image processing method application provided by the embodiments of the disclosure.
  • FIG. 7 is the fourth schematic diagram of the interface of the image processing method application provided by the embodiments of the disclosure.
  • FIG. 10 is one of schematic structural diagrams of a terminal device provided by an embodiment of the disclosure.
  • FIG. 11 is a second structural diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 12 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects.
  • first area and the second area are used to distinguish different areas, not to describe a specific order of areas.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units, etc.
  • the embodiments of the present disclosure provide an image processing method and a terminal device, which can display a first image and a second image.
  • the first image is an image processed by a first target image using a first filter processing method, and the second image
  • receive the user’s first input which is the input of selecting the first area on the third image
  • receive the user’s first input which is the input of selecting the first area on the third image
  • use The image of the first area updates the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, and the fourth image is the second Image; or, the third image is the second image, and the fourth image is the first image.
  • the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole.
  • the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
  • the terminal device in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
  • the following uses the Android operating system as an example to introduce the software environment to which the image processing method provided in the embodiments of the present disclosure is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the image processing method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG.
  • the processing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the image processing method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
  • the terminal device in the embodiment of the present disclosure may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the execution subject of the image processing method provided by the embodiments of the present disclosure may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the image processing method, and the specifics may be determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited. The following takes a terminal device as an example to illustrate the image processing method provided by the embodiment of the present disclosure.
  • an embodiment of the present disclosure provides an image processing method, and the image processing method may include the following S200-S202.
  • the terminal device displays a first image and a second image, where the first image is an image processed by the first target image using the first filter processing method, and the second image is the second image processed by the second filter processing method.
  • the processed image of the target image is an image processed by the first target image using the first filter processing method, and the second image is the second image processed by the second filter processing method.
  • the user can trigger the terminal device to display the first target image simultaneously on the display screen.
  • the target image and the second target image (used as a reference image).
  • the user can trigger the terminal device to use the first filter processing method to process the first target image to obtain the first image, and display the first image; and trigger the terminal device to use the second filter processing method to perform the second target image Process to obtain a second image, and display the second image.
  • the terminal device displays the first image and the second image, so as to further perform various filter processing on the first target image.
  • the display effect of the first image processed by the first filter processing method (may be simply referred to as the first filter effect) is different from the display of the second image processed by the second filter processing method Effect (can be referred to as the second filter effect for short).
  • the first filter processing method can correspond to the first filter style
  • the second filter processing method can correspond to the second filter style.
  • the first filter style and the second filter style are among multiple filter styles. Different filter styles.
  • the aforementioned multiple filter styles may include black and white filter style, nostalgic filter style, unreal filter style, watercolor filter style, and the like. It can be understood that the above-mentioned various filter styles are all exemplary lists, that is, the embodiments of the present disclosure include but are not limited to the above-mentioned various filter styles. In actual implementation, the above-mentioned multiple filter styles may also include any other possible filter styles, which may be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present disclosure.
  • the above-mentioned multiple filter styles may also include the original image filter style, that is, the display effect of the image obtained by the original image filter style processing is unchanged (that is, displayed according to the original image).
  • any one of the first image and the second image may be an image obtained by processing in the original image filter style.
  • the first image may be an image processed using the original image filter style, that is, the first image and the first target image are the same (that is, the first image is displayed according to the original image).
  • the terminal device may display the first image and the second image on the same display screen of the terminal device.
  • the terminal device may display the first image and the second image on the same display screen in a split-screen display mode, so that the first image and the second image are displayed in different areas on the same display screen.
  • the display position and display size of the first image and the second image on the same display screen can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the terminal device may display the first image and the second image on different display screens of the terminal device.
  • the terminal device may display the first image and the second image on any two screens of the terminal device.
  • the terminal device may display the first image on the first screen and the second image on the second screen.
  • the terminal device includes a first screen and a second screen.
  • the user can drag the first target image to the second screen for display by copying, so that the second target image is displayed on the second screen.
  • the terminal device can use the first filter processing method to filter the first target image To obtain the first image, and display the first image on the first screen.
  • the first image can be used as a basic image
  • the first filter style can be used as a basic filter style.
  • the terminal device can use the second filter style to filter the second target image.
  • the second filter processing method for example, the second filter style
  • the terminal device can use the second filter style to filter the second target image.
  • the second image can be used as a contrast image
  • the second filter style can be used as a contrast filter style.
  • the terminal device respectively displays images with two different filter effects on the first screen and the second screen
  • the user can find the elements satisfactory to the user in the different filter effects through intuitive comparison, and then pass the image in one image Select an area to trigger the terminal device to perform image processing, and replace or superimpose the image of the area with the image of a specific area in another image.
  • the embodiments of the present disclosure can compare the entire image according to the actual needs of users.
  • Various filter processing methods are used for filter processing in different areas of, which can enhance the flexibility of terminal equipment to filter pictures.
  • the image processing method provided by the embodiments of the present disclosure can be applied not only to double-sided folding screens, but also to multi-sided folding screens, and can also be applied to a single screen (the first area and the second area are displayed in a split screen), or It is applicable to any other display screens that may be implemented, and can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure. It should be noted that, for ease of description, a double-sided folding screen is taken as an example below to exemplarily describe the specific implementation of the image processing method provided by the embodiment of the present disclosure.
  • the above-mentioned first target image and the second target image may be the same image or different images, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the specific implementation manners in which the first target image and the second target image are the same image or different images are respectively described below.
  • the first image and the second image are respectively the images obtained by processing the same image by the terminal device using different filter processing methods, namely the first image and the second image
  • the content is the same, but the display effect is different.
  • the user can refer to the filter effect of the second image to trigger the terminal device to perform filter processing on the first image, that is, multiple different filter processing for the first target image can be realized, thereby improving the filter processing of the image Flexibility.
  • the first image and the second image are respectively the images obtained by the terminal device using different filter processing methods to process different images, that is, the first image and the second image.
  • the content of the image is different and the display effect is different.
  • the user can refer to the display effect of the second image to trigger the terminal device to perform filter processing on the first image, that is, multiple different filter processing on the first target image can be realized, thereby improving the filter processing of the image flexibility.
  • the following takes the first target image and the second target image as the same image as an example to illustrate the image processing method provided by the embodiment of the present disclosure.
  • the terminal device receives a user's first input, where the first input is an input of selecting a first area on the third image.
  • the third image is the first image or the second image, that is, the user can input the first image to select the first area, or can input the second image to select the first area, Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the user can select the first area on the first image (that is, the third image) to trigger the terminal device to use the partial image of the first area in the first image to update A partial image of a specific area in the second image.
  • the user may select the first area on the second image (that is, the third image) to trigger the terminal device to adopt the partial image of the first area in the second image. Update the partial image of the specific area in the first image.
  • the first input of the user may be a click input (for example, a single-click input or a double-click input), a drag input, or any other possible form of input, which may be specifically based on The actual use requirement is determined, and the embodiment of the present disclosure does not limit it.
  • a click input for example, a single-click input or a double-click input
  • a drag input or any other possible form of input, which may be specifically based on The actual use requirement is determined, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned first input may be an input that the user selects the first area using a regular graphic, or an input that the user selects the first area using a brush, or may be an input that selects the first area in any other possible manner. It can be determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
  • the shape of the above-mentioned first area may be a rectangle, a circle, an irregular shape, or any other possible shapes.
  • the size of the aforementioned first region may be smaller than or equal to the size of the first image.
  • the parameters such as the shape, size, and position of the first region described above may be determined according to actual usage requirements, which are not limited in the embodiment of the present disclosure.
  • the terminal device uses the image of the first area to update the image of the second area, where the second area is an area associated with the first input in the fourth image.
  • the third image is the first image
  • the fourth image is the second image
  • the third image is the second image
  • the fourth image is the first image
  • the terminal device may respond to the user's first input of selecting the first area on the second image and use the image of the first area to update An image of a second area, where the second area is an area associated with the first input in the first image.
  • the second area is the area associated with the first input in the fourth image, which can be understood according to the following situations (1) and (2). It should be noted that the embodiments of the present disclosure include but are not limited to the two cases listed, which can be specifically determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
  • the second area can be an area in the fourth image that has a positional mapping relationship with the first area (that is, the area of the first input in the third image), that is, the first area There is a location mapping relationship with the second area.
  • the second area may be the area where the end position of the first input is located in the fourth image.
  • the terminal device can determine the second area according to the first input.
  • the following is an example of how to determine the possible implementation of the second area according to the first input.
  • the above-mentioned second area may be an area having a position mapping relationship with the first area in the fourth image.
  • the first input includes a click sub-input to select the first area on the third image, and a drag to drag the image in the first area from the third image to the fourth image.
  • the mover input, then the above-mentioned second area may be the area corresponding to the end position of the drag sub-input in the fourth image.
  • the second area can be Click the corresponding area of the sub-input in the fourth image.
  • the above-mentioned first input is an exemplary enumeration, that is, the embodiment of the present disclosure includes but is not limited to the above-mentioned first input.
  • the foregoing first input may also be any other possible input. Accordingly, the manner of determining the second area according to the first input may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the foregoing S202 may be specifically implemented by the following S202a.
  • S202a The terminal device replaces and displays the image of the second area with the image of the first area.
  • the terminal device can respond to the input and display the image in the second area instead of the image in the first area , That is, the first filter effect of the image in the second area can be replaced with the second filter effect.
  • the image of the second area in the first image presents the second filter effect
  • the image of the area other than the second area in the first image presents the first filter effect.
  • the foregoing S202 may be specifically implemented by the following S202b.
  • the terminal device superimposes and displays the image in the first area on the image in the second area.
  • the terminal device can respond to the input by superimposing and displaying the image in the first area onto the image in the second area , That is, the image in the second area can present the superimposed effect of the first filter effect and the second filter effect.
  • the image of the second area in the first image presents the superimposition effect
  • the image of the area other than the second area in the first image presents the first filter effect.
  • the entire first image can present the first filter.
  • the superimposition effect of the mirror effect and the second filter effect which can improve the flexibility of filtering the image.
  • the image processing method provided by the embodiments of the present disclosure can display a first image and a second image.
  • the first image is an image processed by using the first filter processing method on the first target image
  • the second image is The image processed by the filter processing method on the second target image; receiving the user's first input, the first input being the input of selecting the first area on the third image; in response to the first input, using the first area Update the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, and the fourth image is the second image; or, The third image is the second image, and the fourth image is the first image.
  • the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole.
  • the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
  • the image processing method provided by the embodiment of the present disclosure may further include the following S203 and S204.
  • the terminal device determines an area corresponding to the first input in the third image as the first area.
  • the area corresponding to the first input may be the area selected by the user using a regular graph, or it may be used by the user
  • the area outlined by the brush may also be an area selected by the user in any other possible manner, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the terminal device determines a second area in the fourth image according to the first element of the first area, and the second element of the second area is the same as the first element.
  • the first element may include at least one of the following: the content of the first region in the first target image, and the first region in the first target image Location information.
  • the second element may include at least one of the following: content of the second area in the second target image, and position information of the second area in the second target image.
  • the first element may include the content of the first area in the first target image, may also include the position information of the first area in the first target image, and may also include the content of the first area in the first target image and the The location information of a region in the first target image can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the second element please refer to the related description of the first element, which will not be repeated here.
  • the content of the first area in the first target image described above may be understood as the content of the first area in the first image without the filter effect.
  • the content of the second area in the above second target image can be understood as the content of the second area in the second image without the filter effect.
  • the third image is the first image and the fourth image is the second image as an example. It can be understood that, in actual implementation, the embodiments of the present disclosure are not limited to the foregoing implementation manners.
  • the first element may include at least one of the following: the content of the first region in the second target image, and the first region in the second target image Location information.
  • the second element may include at least one of the following: content of the second area in the first target image, and position information of the second area in the first target image.
  • the content of the first area in the second target image can be understood as the content of the first area in the second image without filter effect
  • the content of the second area in the first target image can be understood as the second area in the first image.
  • the content of the area without filter effect can be understood as the content of the area without filter effect.
  • each of the aforementioned elements is an exemplary enumeration, that is, the embodiments of the present disclosure include but are not limited to the aforementioned elements.
  • the above-mentioned first element and second element may also include any other elements that can meet actual use requirements, which may be specifically determined according to actual use requirements, which are not limited in the embodiments of the present disclosure.
  • the terminal device may respond to the first input, determine the area corresponding to the first input in the third image as the first area, and obtain the elements of the first area, and then the terminal device may determine the area corresponding to the first area according to the first input.
  • the element determines the second area in the fourth image, and the element of the second area is the same as the element of the first area.
  • the size and shape of the second area may be equal to the size and shape of the first area, and the second area and the first area have a position mapping relationship.
  • the terminal device may adopt a smart image recognition technology and use the content elements of the first area to determine the second area.
  • the terminal device may use smart image recognition technology to recognize the image content of the first region in the third image, and determine the region with the same image content in the fourth image as the second region.
  • the terminal device may adopt a location mapping method and use the location information element of the first area to determine the second area.
  • the terminal device may detect the position information (for example, track coordinate points) of the user's first input in the third image, and determine an area with the same position information in the fourth image as the second area.
  • the embodiments of the present disclosure include, but are not limited to, the above-mentioned smart map recognition technology and location mapping method.
  • the embodiments of the present disclosure may also use any other possible implementation methods to determine the second area, which may be determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited.
  • FIG. 4 FIG. 4, FIG. 5, and FIG. 6, in combination with the foregoing S203 and S204, the specific implementation of the image processing method provided by the embodiment of the present disclosure is exemplarily described.
  • the terminal device 30 includes a first screen 31 and a second screen 32.
  • the terminal device 30 displays the first image 33 on the first screen 31 and displays the second image 34 on the second screen 32.
  • the first image 33 and the second image 34 are respectively the images obtained by the terminal device 30 using different filter processing methods to process the same image, that is, the first image 33 and the second image 34 have the same content and different filter effects, for example ,
  • the first image 33 is an image processed by using the first filter style on the first target image
  • the second image 34 is an image processed by using the second filter style on the second target image.
  • the user can select the first areas E1 and E2 in the second image 34 by using a regular pattern or a brush by comparing the filter effects of the first image 33 and the second image 34.
  • the terminal device can determine the second areas E3 and E4 in the first image 33.
  • the second area E3 is determined according to the first area E1 (the second area E3 has a positional mapping relationship with the first area E1)
  • the second area E4 is determined according to the first area E2 (the second area E4 and the first area E2 have Location mapping relationship).
  • the terminal device uses the image of the first area E1, updates the image of the second area E3, and uses the image of the first area E2,
  • the image of the second area E4 is updated.
  • the filter effect presented by the image of the first area E1 can be replaced (or superimposed) on the second area E3 to realize the update of the filter effect of the second area E3; and the filter effect presented by the image of the first area E2
  • the mirror effect is replaced (or superimposed) on the second area E4 to realize the update of the filter effect of the second area E4.
  • the above description takes the user selecting the first areas E1 and E2 in the second image as an example. It can be understood that the embodiments of the present disclosure do not limit the number of the first areas selected by the user, which can be specifically based on actual usage requirements. Certainly, the embodiments of the present disclosure are not limited.
  • the characteristics of the folding screen can be used to apply two different styles of filter effects to the same picture on the two screens.
  • the user can find the user-satisfied elements in the different filter effects through intuitive comparison, and then
  • the terminal device can replace or superimpose elements of the image through image processing, and in this way, a variety of filter beautification effects on the image can be achieved.
  • the foregoing first input includes a first sub-input and a second sub-input
  • the first sub-input is an input for selecting the foregoing first region in a third image
  • the The second sub-input is an input for dragging the image of the first area to the second area.
  • the aforementioned S202 can be specifically implemented by the following S202c and S202d.
  • the terminal device determines an area corresponding to the first sub-input in the third image as the first area.
  • the terminal device determines the area corresponding to the second sub-input in the fourth image as the second area, and uses the image of the first area to update the image of the second area.
  • the terminal device may respond to the user's selection sub-input of selecting the first area in the second image (for example, using a brush to outline a target area), and determine the target area corresponding to the selection sub-input in the second image as the first area.
  • the terminal device may, in response to the drag sub-input to drag the image of the first area to the second area, determine the area in the first image corresponding to the end position of the drag sub-input as the second area, and adopt The image in the first area updates the image in the second area.
  • the terminal device can replace and display the image of the second area in the first image with the image of the first area in the second image, or superimpose the image of the first area in the second image on the image of the second area in the first image. on.
  • This situation of selecting part of an image to update another image can be understood as a combination of matting.
  • the terminal device 30 can respond to the user’s presence in the second image 34
  • the selector input of the first area E5 is selected in the middle, and the target area E5 corresponding to the selector input in the second image 34 is determined as the first area E5.
  • the terminal device 30 may, in response to the drag sub input of dragging the image of the first area E5 to the second area, determine the area E6 in the first image 33 corresponding to the end position of the drag sub input as the second Area E6.
  • the terminal device can use the image of the first area E5 to update the image of the second area E6.
  • the filter effect presented by the image in the first area E5 can be replaced (or superimposed) on the second area E6 to realize the update of the filter effect of the second area E6.
  • two images that present different filter effects can be subjected to matting and combination processing, so that multiple filter processing methods can be used to perform filter processing on the image, which can improve the terminal device to filter the image Processing flexibility.
  • the image processing method provided by the embodiment of the present disclosure may further include the following S205 and S206.
  • the terminal device receives a second input from the user, where the second input is an input for a second image.
  • the first input of the user may be a click input (for example, a single-click input or a double-click input), a sliding input, or any other possible form of input.
  • the specific input may be based on actual conditions. The use requirements are determined, and the embodiments of the present disclosure are not limited.
  • the terminal device uses the image of the first area to update the image of the second area
  • the user can input the second image, for example, click the second image, and click the third filter processing method (such as the first The option of three filter styles) to trigger the terminal device to apply other filter styles to the image selected by the first input, obtain the fifth image, and update the second image to the fifth image.
  • the third filter processing method such as the first The option of three filter styles
  • the terminal device updates the second image to a fifth image, and the fifth image is an image processed by using the third filter processing method on the second target image.
  • the terminal device may respond to the user's input for the second image, apply other filter styles to the image selected by the first input, for example, use the third filter processing method to process the second target image to obtain the fifth Image, and update the second image to the fifth image. In this way, the terminal device currently displays two images with different filter effects.
  • the user can compare the filter effects presented by the first image and the fifth image, and select the third area in the fifth image to trigger the terminal device to adopt the image of the third area and update the image of the fourth area.
  • the terminal device can use the image of the third region in the second image to update the image of the fourth region in the first image in response to the input according to the image processing method described in the above method embodiment, where the fourth region is The area associated with the first input in the first image.
  • the terminal device can perform the above-mentioned filter processing again on the partial image or the whole image of the first target image according to the image processing method described in the above method embodiment in response to the user's input, thereby improving the terminal device to filter the image.
  • an embodiment of the present disclosure provides a terminal device 700.
  • the terminal device 700 may include a display module 701 and a receiving module 702.
  • the display module 701 is used to display a first image and a second image.
  • the first image is an image processed by the first target image using the first filter processing method
  • the second image is the second image processed by the second filter processing method. 2.
  • the receiving module 702 is configured to receive a user's first input, and the first input is an input of selecting a first area on the third image displayed by the display module 701.
  • the display module 701 is further configured to respond to the first input received by the receiving module 702 and use the image of the first area to update the image of the second area, where the second area is an area associated with the first input in the fourth image.
  • the third image is the first image
  • the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
  • the display module 701 is specifically configured to display the first image and the second image on the same display screen of the terminal device 700.
  • the display module 701 is specifically configured to display the first image and the second image on different display screens of the terminal device 700.
  • the terminal device 700 provided in the embodiment of the present disclosure may further include a determining module 703.
  • the determining module 703 is configured to determine the area corresponding to the first input in the third image as the first area before the display module 701 uses the image of the first area to update the image of the second area.
  • the determining module 703 is further configured to determine a second area in the fourth image according to the first element of the first area, and the second element of the second area is the same as the first element.
  • the first element may include at least one of the following: content of the first area in the first target image, and position information of the first area in the first target image.
  • the second element may include at least one of the following: content of the second area in the second target image, and position information of the second area in the second target image.
  • the above-mentioned first input may include a first sub-input and a second sub-input.
  • the first sub-input is an input for selecting the above-mentioned first region in the third image
  • the second sub-input is This is the input of dragging the image of the first area to the above-mentioned second area.
  • the display module 701 is specifically configured to determine the area corresponding to the first sub-input in the third image as the first area in response to the first sub-input.
  • the display module 701 is specifically further configured to determine the area corresponding to the second sub-input in the fourth image as the second area in response to the second sub-input, and use the image of the first area to update the second area Image.
  • the display module 701 is specifically further configured to replace and display the image in the second area with the image in the first area.
  • the display module 701 is specifically configured to superimpose and display the image of the first area on the image of the second area.
  • the receiving module 702 is further configured to receive a second input from the user after the image in the first area is used to update the image in the second area, and the second input is an input for the second image.
  • the display module 701 is further configured to update the second image to a fifth image in response to the second input received by the receiving module 702, and the fifth image is the image processed by the third filter processing method on the above-mentioned second target image .
  • the terminal device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the terminal device can display a first image and a second image.
  • the first image is an image processed by the first target image in the first filter processing mode, and the second image is the second image processed by the second filter.
  • the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole.
  • the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
  • FIG. 12 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure.
  • the terminal device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • a radio frequency unit 801 includes a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • the structure of the terminal device shown in FIG. 12 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet
  • the display unit 806 is configured to display a first image and a second image, the first image is an image processed by the first target image by the first filter processing method, and the second image is processed by the second filter.
  • the second target image is processed by the method;
  • the user input unit 807 is used to receive the first input of the user, and the first input is the input of selecting the first area on the third image;
  • the display unit 806 is used to respond to The first input received by the user input unit 807 uses the image of the first area to update the image of the second area, where the second area is the area associated with the first input in the fourth image; wherein, the third image Is the first image and the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
  • An embodiment of the present disclosure provides a terminal device that can display a first image and a second image, the first image is an image processed by a first target image using a first filter processing method, and the second image is Use the second filter processing method to process the image of the second target image; receive the user's first input, which is the input of selecting the first area on the third image; in response to the first input, use the The image of the first area updates the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, and the fourth image is the second image Or, the third image is the second image, and the fourth image is the first image.
  • the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole.
  • the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
  • the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 810; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device 800 provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal device 800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is used to capture still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 806.
  • the image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
  • the terminal device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 806 is used to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 807 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed.
  • the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 807 may also include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 8071 can cover the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device with the terminal device 800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 800 or can be used to connect to the terminal device 800 and external devices. Transfer data between devices.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor.
  • the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the terminal device 800 may also include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 800 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor 810 as shown in FIG. 12, a memory 809, a computer program stored in the memory 809 and running on the processor 810, and the computer program is
  • the processor 810 implements each process of the foregoing image processing method embodiment when executing, and can achieve the same technical effect. In order to avoid repetition, details are not repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, each process of the above-mentioned image processing method embodiment is realized, and the same technology can be achieved. The effect, to avoid repetition, will not be repeated here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present disclosure.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

An image processing method and a terminal device. The method comprises: displaying a first image and a second image, the first image being an image obtained after processing a first target image using a first filter processing method, and the second image being an image obtained after processing a second target image using a second filter processing method (S200); receiving a first input of a user, the first input being an input of selecting a first area on a third image (S201); and in response to the first input, updating an image of a second area using an image of the first area, the second area being an area associated with the first input in a fourth image, wherein the third image is the first image and the fourth image is the second image, or, the third image is the second image and the fourth image is the first image (S202).

Description

图像处理方法及终端设备Image processing method and terminal equipment
相关申请的交叉引用Cross references to related applications
本申请要求于2019年3月25日提交国家知识产权局、申请号为201910228154.9、申请名称为“一种图像处理方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on March 25, 2019, the application number is 201910228154.9, and the application name is "an image processing method and terminal equipment", the entire content of which is incorporated herein by reference Applying.
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种图像处理方法及终端设备。The embodiments of the present disclosure relate to the field of communication technologies, and in particular, to an image processing method and terminal equipment.
背景技术Background technique
随着终端设备的应用范围越来越广,用户可以通过终端设备对图片进行美化处理(例如滤镜处理)。As the application range of terminal devices becomes wider and wider, users can beautify pictures (for example, filter processing) through terminal devices.
目前,在图片处理过程中,若用户针对一张图片选中一种滤镜风格,则终端设备可以响应于该输入,采用该滤镜风格对图片进行处理,使得该图片呈现与该滤镜风格对应的滤镜效果。At present, in the process of image processing, if the user selects a filter style for a picture, the terminal device can respond to the input and use the filter style to process the image so that the image presentation corresponds to the filter style Filter effects.
然而,上述图片处理过程中,由于滤镜风格有限、且一张图片仅限应用一种滤镜风格,因此对图片进行滤镜处理的灵活性较差,导致对图片处理的效果较差。However, in the above image processing process, since the filter style is limited and only one filter style is applied to a picture, the flexibility of filter processing on the picture is poor, resulting in poor image processing effect.
发明内容Summary of the invention
本公开实施例提供一种图像处理方法及终端设备,以解决现有终端设备对图片进行滤镜处理的灵活性较差,导致对图片处理的效果较差的问题。The embodiments of the present disclosure provide an image processing method and a terminal device to solve the problem that the existing terminal device has poor flexibility for filtering pictures, resulting in poor picture processing effects.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种图像处理方法,应用于终端设备,该方法包括:显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入;响应于该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域;其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。In a first aspect, an embodiment of the present disclosure provides an image processing method applied to a terminal device. The method includes: displaying a first image and a second image. The first image is processed by a first filter processing method on a first target. The image processed by the image, the second image is the image after the second target image is processed by the second filter processing method; the first input from the user is received, and the first input is the selection of the first area on the third image Input; in response to the first input, the image of the first area is used to update the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first input One image, the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
第二方面,本公开实施例提供了一种终端设备,该终端设备包括显示模块和接收模块。显示模块用于显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像。接收模块用于接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入。显示模块还用于响应于接收模块接收的该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域。其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。In the second aspect, embodiments of the present disclosure provide a terminal device, which includes a display module and a receiving module. The display module is used to display a first image and a second image. The first image is an image processed by the first target image using the first filter processing method, and the second image is the second image processed by the second filter processing method. The processed image of the target image. The receiving module is used for receiving a user's first input, and the first input is an input for selecting the first area on the third image. The display module is further configured to respond to the first input received by the receiving module and use the image of the first area to update the image of the second area, where the second area is an area associated with the first input in the fourth image. Wherein, the third image is the first image and the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
第三方面,本公开实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时 实现上述第一方面中的图像处理方法的步骤。In a third aspect, the embodiments of the present disclosure provide a terminal device. The terminal device includes a processor, a memory, and a computer program stored on the memory and running on the processor. The computer program implements the foregoing first The steps of the image processing method in one aspect.
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的图像处理方法的步骤。In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the image processing method in the first aspect are implemented.
在本公开实施例中,可以显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入;响应于该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域;其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。通过该方案,由于终端设备同时显示具有不同滤镜效果的第一图像和第二图像,因此用户可以对比第一图像和第二图像的滤镜效果,在其中一个图像选中一个区域,进而终端设备可以根据该输入,将已选中区域的图像与另一图像中特定区域的图像执行图像替换或者叠加处理,使得图像可以局部或整体呈现多种滤镜效果。如此,由于可以根据用户实际使用需求,采用多种滤镜处理方式对图像的局部或整体进行滤镜处理,从而本公开实施例可以提升终端设备对图片进行滤镜处理的灵活性。In the embodiment of the present disclosure, a first image and a second image can be displayed. The first image is the image processed by the first target image by the first filter processing method, and the second image is processed by the second filter. The second target image is processed by the method; the first input of the user is received, and the first input is the input of selecting the first area on the third image; in response to the first input, the image of the first area is adopted, Update the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, the fourth image is the second image; or, the third image The image is the second image, and the fourth image is the first image. With this solution, since the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole. In this way, since a variety of filter processing methods can be used to perform filter processing on part or the whole of an image according to actual use needs of users, the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
附图说明Description of the drawings
图1为本公开实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure;
图2为本公开实施例提供的图像处理方法的流程示意图之一;2 is one of the schematic flowcharts of the image processing method provided by the embodiments of the disclosure;
图3为本公开实施例提供的图像处理方法的流程示意图之二;FIG. 3 is the second schematic diagram of the image processing method provided by an embodiment of the disclosure;
图4为本公开实施例提供的图像处理方法应用的界面示意图之一;4 is one of the schematic diagrams of the interface of the image processing method application provided by the embodiments of the disclosure;
图5为本公开实施例提供的图像处理方法应用的界面示意图之二;FIG. 5 is the second schematic diagram of the interface of the image processing method application provided by the embodiments of the disclosure;
图6为本公开实施例提供的图像处理方法应用的界面示意图之三;6 is the third schematic diagram of the interface of the image processing method application provided by the embodiments of the disclosure;
图7为本公开实施例提供的图像处理方法应用的界面示意图之四;FIG. 7 is the fourth schematic diagram of the interface of the image processing method application provided by the embodiments of the disclosure;
图8为本公开实施例提供的图像处理方法应用的界面示意图之五;8 is the fifth schematic diagram of the interface of the image processing method application provided by the embodiments of the disclosure;
图9为本公开实施例提供的图像处理方法的流程示意图之三;9 is the third schematic flowchart of the image processing method provided by an embodiment of the disclosure;
图10为本公开实施例提供的终端设备的结构示意图之一;FIG. 10 is one of schematic structural diagrams of a terminal device provided by an embodiment of the disclosure;
图11为本公开实施例提供的终端设备的结构示意图之二;FIG. 11 is a second structural diagram of a terminal device provided by an embodiment of the disclosure;
图12为本公开实施例提供的终端设备的硬件示意图。FIG. 12 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone These three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一区域和第二区域等是用于区别不 同的区域,而不是用于描述区域的特定顺序。The terms "first" and "second" in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first area and the second area are used to distinguish different areas, not to describe a specific order of areas.
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等。In the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of “multiple” refers to two or more than two, for example, multiple processing units refers to two or more processing units, etc.
本公开实施例提供一种图像处理方法及终端设备,可以显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入;响应于该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域;其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。通过该方案,由于终端设备同时显示具有不同滤镜效果的第一图像和第二图像,因此用户可以对比第一图像和第二图像的滤镜效果,在其中一个图像选中一个区域,进而终端设备可以根据该输入,将已选中区域的图像与另一图像中特定区域的图像执行图像替换或者叠加处理,使得图像可以局部或整体呈现多种滤镜效果。如此,由于可以根据用户实际使用需求,采用多种滤镜处理方式对图像的局部或整体进行滤镜处理,从而本公开实施例可以提升终端设备对图片进行滤镜处理的灵活性。The embodiments of the present disclosure provide an image processing method and a terminal device, which can display a first image and a second image. The first image is an image processed by a first target image using a first filter processing method, and the second image To use the second filter processing method to process the image of the second target image; receive the user’s first input, which is the input of selecting the first area on the third image; in response to the first input, use The image of the first area updates the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, and the fourth image is the second Image; or, the third image is the second image, and the fourth image is the first image. With this solution, since the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole. In this way, since a variety of filter processing methods can be used to perform filter processing on part or the whole of an image according to actual use needs of users, the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
本公开实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。The terminal device in the embodiment of the present disclosure may be a terminal device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
下面以安卓操作系统为例,介绍一下本公开实施例提供的图像处理方法所应用的软件环境。The following uses the Android operating system as an example to introduce the software environment to which the image processing method provided in the embodiments of the present disclosure is applied.
如图1所示,为本公开实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的图像处理方法的软件程序,从而使得该图像处理方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端 设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的图像处理方法。Taking the Android operating system as an example, in the embodiments of the present disclosure, developers can develop software programs that implement the image processing method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. The processing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the image processing method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
本公开实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。The terminal device in the embodiment of the present disclosure may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant, The non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
本公开实施例提供的图像处理方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该图像处理方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以终端设备为例,对本公开实施例提供的图像处理方法进行示例性的说明。The execution subject of the image processing method provided by the embodiments of the present disclosure may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the image processing method, and the specifics may be determined according to actual usage requirements. The embodiments of the present disclosure are not limited. The following takes a terminal device as an example to illustrate the image processing method provided by the embodiment of the present disclosure.
如图2所示,本公开实施例提供一种图像处理方法,该图像处理方法可以包括下述的S200-S202。As shown in FIG. 2, an embodiment of the present disclosure provides an image processing method, and the image processing method may include the following S200-S202.
S200、终端设备显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像。S200. The terminal device displays a first image and a second image, where the first image is an image processed by the first target image using the first filter processing method, and the second image is the second image processed by the second filter processing method. The processed image of the target image.
本公开实施例中,如果用户需要使用终端设备对终端设备中的第一目标图像(例如照片或图片等)进行滤镜处理,那么此时,用户可以触发终端设备在显示屏上同时显示第一目标图像和第二目标图像(用作参照图像)。然后,用户可以触发终端设备采用第一滤镜处理方式对第一目标图像进行处理,得到第一图像,并显示第一图像;并且触发终端设备采用第二滤镜处理方式对第二目标图像进行处理,得到第二图像,并显示第二图像。如此,终端设备显示第一图像和第二图像,以便进一步对第一目标图像进行多种滤镜处理。In the embodiments of the present disclosure, if the user needs to use the terminal device to filter the first target image (such as a photo or picture, etc.) in the terminal device, then at this time, the user can trigger the terminal device to display the first target image simultaneously on the display screen. The target image and the second target image (used as a reference image). Then, the user can trigger the terminal device to use the first filter processing method to process the first target image to obtain the first image, and display the first image; and trigger the terminal device to use the second filter processing method to perform the second target image Process to obtain a second image, and display the second image. In this way, the terminal device displays the first image and the second image, so as to further perform various filter processing on the first target image.
本公开实施例中,采用第一滤镜处理方式处理得到的第一图像的显示效果(可简称为第一滤镜效果),不同于采用第二滤镜处理方式处理得到的第二图像的显示效果(可简称为第二滤镜效果)。其中,第一滤镜处理方式可以对应第一滤镜风格,第二滤镜处理方式可以对应第二滤镜风格,其中,第一滤镜风格和第二滤镜风格为多种滤镜风格中的不同滤镜风格。In the embodiments of the present disclosure, the display effect of the first image processed by the first filter processing method (may be simply referred to as the first filter effect) is different from the display of the second image processed by the second filter processing method Effect (can be referred to as the second filter effect for short). Among them, the first filter processing method can correspond to the first filter style, and the second filter processing method can correspond to the second filter style. The first filter style and the second filter style are among multiple filter styles. Different filter styles.
示例性的,上述多种滤镜风格可以包括黑白滤镜风格、怀旧滤镜风格、虚幻滤镜风格、水彩滤镜风格等。可以理解,上述的各种滤镜风格均是示例性的列举,即本公开实施例包括但不限于上述列举的各种滤镜风格。实际实现时,上述多种滤镜风格还可以包括其它任意可能的滤镜风格,具体可以根据实际使用需求确定,本公开实施例不作限定。Exemplarily, the aforementioned multiple filter styles may include black and white filter style, nostalgic filter style, unreal filter style, watercolor filter style, and the like. It can be understood that the above-mentioned various filter styles are all exemplary lists, that is, the embodiments of the present disclosure include but are not limited to the above-mentioned various filter styles. In actual implementation, the above-mentioned multiple filter styles may also include any other possible filter styles, which may be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present disclosure.
需要说明的是,上述多种滤镜风格还可以包括原图滤镜风格,即采用原图滤镜风格处理得到的图像的显示效果不变(即按照原图显示)。具体的,第一图像和第二图像中的任一者可以为采用原图滤镜风格处理得到的图像。示例性的,第一图像可以为采用原图滤镜风格处理得到的图像,即第一图像和第一目标图像相同(即第一图像按照原图显示)。It should be noted that the above-mentioned multiple filter styles may also include the original image filter style, that is, the display effect of the image obtained by the original image filter style processing is unchanged (that is, displayed according to the original image). Specifically, any one of the first image and the second image may be an image obtained by processing in the original image filter style. Exemplarily, the first image may be an image processed using the original image filter style, that is, the first image and the first target image are the same (that is, the first image is displayed according to the original image).
可选的,在一种可能的实现方式中,终端设备可以在终端设备的同一显示屏上显示第一图像和第二图像。具体的,终端设备可以以分屏显示的方式将第一图像和第二图像显示在同一显示屏上,使得第一图像和第二图像显示在同一显示屏上的不同区域。具体的,第一图像和第二图像在同一显示屏上的显示位置和显示尺寸等,具体可以根 据实际使用需求确定,本公开实施例不作限定。Optionally, in a possible implementation manner, the terminal device may display the first image and the second image on the same display screen of the terminal device. Specifically, the terminal device may display the first image and the second image on the same display screen in a split-screen display mode, so that the first image and the second image are displayed in different areas on the same display screen. Specifically, the display position and display size of the first image and the second image on the same display screen can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
可选的,在一种可能的实现方式中,终端设备可以在终端设备的不同显示屏上显示第一图像和第二图像。具体的,在终端设备包括至少两个屏的情况下,终端设备可以在终端设备的任意两个屏上显示第一图像和第二图像。示例性的,以双面屏终端设备为例,假设终端设备包括第一屏和第二屏,那么终端设备可以在第一屏上显示第一图像,以及在第二屏上显示第二图像。Optionally, in a possible implementation manner, the terminal device may display the first image and the second image on different display screens of the terminal device. Specifically, in the case where the terminal device includes at least two screens, the terminal device may display the first image and the second image on any two screens of the terminal device. Illustratively, taking a double-sided screen terminal device as an example, assuming that the terminal device includes a first screen and a second screen, the terminal device may display the first image on the first screen and the second image on the second screen.
示例性的,以双面折叠屏式终端设备为例,假设终端设备包括第一屏和第二屏。在第一屏显示第一目标图像的情况下,用户可以将第一目标图像通过复制方式拖动到第二屏显示,使得在第二屏显示第二目标图像。Illustratively, taking a double-sided folding screen terminal device as an example, it is assumed that the terminal device includes a first screen and a second screen. In the case where the first target image is displayed on the first screen, the user can drag the first target image to the second screen for display by copying, so that the second target image is displayed on the second screen.
然后,若用户点击选中第一目标图像,再点击第一滤镜处理方式(例如第一滤镜风格)的选项,则终端设备可以采用第一滤镜处理方式对第一目标图像进行滤镜处理,得到第一图像,并在第一屏显示该第一图像。该第一图像可以作为基础图像,第一滤镜风格可以作为基础滤镜风格。Then, if the user clicks to select the first target image, and then clicks the option of the first filter processing method (for example, the first filter style), the terminal device can use the first filter processing method to filter the first target image To obtain the first image, and display the first image on the first screen. The first image can be used as a basic image, and the first filter style can be used as a basic filter style.
然后,若用户点击选中第二目标图像,再点击第二滤镜处理方式(例如第二滤镜风格)的选项,则终端设备可以采用第二滤镜风格对第二目标图像进行滤镜处理,得到第二图像,并在第二屏显示该第二图像。该第二图像可以作为对比图像,第二滤镜风格可以作为对比滤镜风格。Then, if the user clicks to select the second target image, and then clicks the option of the second filter processing method (for example, the second filter style), the terminal device can use the second filter style to filter the second target image. Obtain the second image, and display the second image on the second screen. The second image can be used as a contrast image, and the second filter style can be used as a contrast filter style.
进一步的,由于终端设备在第一屏和第二屏分别显示具有两种不同滤镜效果的图像,因此用户通过直观的对比,找到不同滤镜效果中用户满意的元素,然后通过在一个图像中选中一个区域,以触发终端设备进行图像处理,将该区域的图像与另一图像中特定区域的图像进行元素替换或者叠加,以此方式本公开实施例可以根据用户实际使用需求,对整张图像的不同区域采用多种滤镜处理方式进行滤镜处理,从而可以提升终端设备对图片进行滤镜处理的灵活性。Furthermore, since the terminal device respectively displays images with two different filter effects on the first screen and the second screen, the user can find the elements satisfactory to the user in the different filter effects through intuitive comparison, and then pass the image in one image Select an area to trigger the terminal device to perform image processing, and replace or superimpose the image of the area with the image of a specific area in another image. In this way, the embodiments of the present disclosure can compare the entire image according to the actual needs of users. Various filter processing methods are used for filter processing in different areas of, which can enhance the flexibility of terminal equipment to filter pictures.
可以理解,本公开实施例提供的图像处理方法可以不仅适用于双面折叠屏,也可以适用于多面折叠屏,还可以适用于单屏(分屏显示第一区域和第二区域),或者可以适用于其它任意可能实现的显示屏,具体可以根据实际使用需求确定,本公开实施例不作限定。需要说明的是,为了便于说明,下文中以双面折叠屏为例,示例性的说明本公开实施例提供的图像处理方法的具体实现方式。It is understandable that the image processing method provided by the embodiments of the present disclosure can be applied not only to double-sided folding screens, but also to multi-sided folding screens, and can also be applied to a single screen (the first area and the second area are displayed in a split screen), or It is applicable to any other display screens that may be implemented, and can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure. It should be noted that, for ease of description, a double-sided folding screen is taken as an example below to exemplarily describe the specific implementation of the image processing method provided by the embodiment of the present disclosure.
可选的,本公开实施例中,上述第一目标图像和第二目标图像可以为同一图像,也可以为不同图像,具体可以根据实际使用需求确定,本公开实施例不作限定。下面分别说明第一目标图像和第二目标图像为同一图像或不同图像的具体实现方式。Optionally, in the embodiment of the present disclosure, the above-mentioned first target image and the second target image may be the same image or different images, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it. The specific implementation manners in which the first target image and the second target image are the same image or different images are respectively described below.
在第一目标图像和第二目标图像为同一图像的情况下,第一图像和第二图像分别为终端设备采用不同滤镜处理方式对相同图像处理得到的图像,即第一图像和第二图像的内容相同,而显示效果不同。如此,用户可以参照第二图像的滤镜效果,触发终端设备对第一图像进行滤镜处理,即可以实现对第一目标图像的多次不同滤镜处理,从而可以提升对图像进行滤镜处理的灵活性。In the case where the first target image and the second target image are the same image, the first image and the second image are respectively the images obtained by processing the same image by the terminal device using different filter processing methods, namely the first image and the second image The content is the same, but the display effect is different. In this way, the user can refer to the filter effect of the second image to trigger the terminal device to perform filter processing on the first image, that is, multiple different filter processing for the first target image can be realized, thereby improving the filter processing of the image Flexibility.
在第一目标图像和第二目标图像可以为不同图像的情况下,第一图像和第二图像分别为终端设备采用不同滤镜处理方式对不同图像处理得到的图像,即第一图像和第二图像的内容不同且显示效果不同。如此,用户可以参照第二图像的显示效果,触发终端设备对第 一图像进行滤镜处理,即可以实现对第一目标图像的多次不同滤镜处理,从而可以提升对图像进行滤镜处理的灵活性。In the case that the first target image and the second target image can be different images, the first image and the second image are respectively the images obtained by the terminal device using different filter processing methods to process different images, that is, the first image and the second image. The content of the image is different and the display effect is different. In this way, the user can refer to the display effect of the second image to trigger the terminal device to perform filter processing on the first image, that is, multiple different filter processing on the first target image can be realized, thereby improving the filter processing of the image flexibility.
需要说明的是,为了便于说明,下文中以第一目标图像和第二目标图像为相同图像为例,示例性地说明本公开实施例提供的图像处理方法。It should be noted that, for ease of description, the following takes the first target image and the second target image as the same image as an example to illustrate the image processing method provided by the embodiment of the present disclosure.
S201、终端设备接收用户的第一输入,第一输入为在第三图像上选中第一区域的输入。S201. The terminal device receives a user's first input, where the first input is an input of selecting a first area on the third image.
本公开实施例中,上述第三图像为上述第一图像,或者为上述第二图像,即用户可以对第一图像输入以选中第一区域,或者可以对第二图像输入以选中第一区域,具体可以根据实际使用需求确定,本公开实施例不作限定。In the embodiment of the present disclosure, the third image is the first image or the second image, that is, the user can input the first image to select the first area, or can input the second image to select the first area, Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
示例性的,在一种可能的实现方式中,用户可以在第一图像(即上述第三图像)上选中第一区域,以触发终端设备采用第一图像中的第一区域的局部图像,更新第二图像中的特定区域的局部图像。Exemplarily, in a possible implementation manner, the user can select the first area on the first image (that is, the third image) to trigger the terminal device to use the partial image of the first area in the first image to update A partial image of a specific area in the second image.
示例性的,在另一种可能的实现方式中,用户可以在第二图像(即上述第三图像)上选中第一区域,以触发终端设备采用第二图像中的第一区域的局部图像,更新第一图像中的特定区域的局部图像。Exemplarily, in another possible implementation manner, the user may select the first area on the second image (that is, the third image) to trigger the terminal device to adopt the partial image of the first area in the second image. Update the partial image of the specific area in the first image.
可选的,本公开实施例中,上述用户的第一输入可以为点击输入(例如单击输入或双击输入),也可以为拖动输入,还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the first input of the user may be a click input (for example, a single-click input or a double-click input), a drag input, or any other possible form of input, which may be specifically based on The actual use requirement is determined, and the embodiment of the present disclosure does not limit it.
示例性的,上述第一输入可以为用户采用规则图形选中第一区域的输入,也可以为用户采用画笔选中第一区域的输入,还可以为采用其它任意可能方式选中第一区域的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。Exemplarily, the above-mentioned first input may be an input that the user selects the first area using a regular graphic, or an input that the user selects the first area using a brush, or may be an input that selects the first area in any other possible manner. It can be determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
可选的,本公开实施例中,上述第一区域的形状可以为矩形,也可以为圆形,还可以为不规则形状,或者可以为其它任意可能的形状。上述第一区域的尺寸可以小于或等于第一图像的尺寸。具体的,上述第一区域的形状、尺寸和位置等参数可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the shape of the above-mentioned first area may be a rectangle, a circle, an irregular shape, or any other possible shapes. The size of the aforementioned first region may be smaller than or equal to the size of the first image. Specifically, the parameters such as the shape, size, and position of the first region described above may be determined according to actual usage requirements, which are not limited in the embodiment of the present disclosure.
S202、终端设备响应于第一输入,采用第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域。S202. In response to the first input, the terminal device uses the image of the first area to update the image of the second area, where the second area is an area associated with the first input in the fourth image.
其中,该第三图像为第一图像,该第四图像为第二图像。或者,该第三图像为第二图像,该第四图像为第一图像。Wherein, the third image is the first image, and the fourth image is the second image. Or, the third image is the second image, and the fourth image is the first image.
示例性的,假设第三图像为第二图像以及第四图像为第一图像,那么终端设备可以响应于用户在第二图像上选中第一区域的第一输入,采用第一区域的图像,更新第二区域的图像,该第二区域为第一图像中与该第一输入关联的区域。Exemplarily, assuming that the third image is the second image and the fourth image is the first image, the terminal device may respond to the user's first input of selecting the first area on the second image and use the image of the first area to update An image of a second area, where the second area is an area associated with the first input in the first image.
本公开实施例中,第二区域为第四图像中与第一输入关联的区域可以按照下述情况(1)和情况(2)理解。需要说明的是,本公开实施例包括但不限于列举的这两种情况,具体可以根据实际使用需求确定,本公开实施例不作限定。In the embodiment of the present disclosure, the second area is the area associated with the first input in the fourth image, which can be understood according to the following situations (1) and (2). It should be noted that the embodiments of the present disclosure include but are not limited to the two cases listed, which can be specifically determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
(1)以第一输入为点击输入为例,第二区域可以为第四图像中与第一区域(即第一输入在第三图像中的区域)具有位置映射关系的区域,即第一区域和第二区域存在位置映射关系。(1) Taking the first input as a click input as an example, the second area can be an area in the fourth image that has a positional mapping relationship with the first area (that is, the area of the first input in the third image), that is, the first area There is a location mapping relationship with the second area.
(2)以第一输入包括点击子输入和拖动子输入为例,第二区域可以为在第四图像 中第一输入的终止位置所在的区域。(2) Taking the first input including the click sub-input and the drag sub-input as an example, the second area may be the area where the end position of the first input is located in the fourth image.
基于此,终端设备可以根据第一输入,确定第二区域。下面分别示例性的说明如何根据第一输入确定第二区域的可能实现方式。Based on this, the terminal device can determine the second area according to the first input. The following is an example of how to determine the possible implementation of the second area according to the first input.
在一种可能的实现方式中,假设第一输入为选中第一区域的点击输入,那么上述第二区域可以为在第四图像中与第一区域具有位置映射关系的区域。In a possible implementation manner, assuming that the first input is a click input for selecting the first area, the above-mentioned second area may be an area having a position mapping relationship with the first area in the fourth image.
在另一种可能的实现方式中,假设第一输入包括在第三图像上选中第一区域的点击子输入、以及将第一区域中的图像从第三图像拖动到第四图像上的拖动子输入,那么上述第二区域可以为在第四图像中拖动子输入的终止位置对应的区域。In another possible implementation manner, it is assumed that the first input includes a click sub-input to select the first area on the third image, and a drag to drag the image in the first area from the third image to the fourth image. The mover input, then the above-mentioned second area may be the area corresponding to the end position of the drag sub-input in the fourth image.
在又一种可能的实现方式中,假设第一输入包括在第三图像上选中第一区域的点击子输入、以及在第四图像上选中第二区域的点击子输入,那么上述第二区域可以为在第四图像中点击子输入对应的区域。In another possible implementation manner, assuming that the first input includes a click sub-input to select the first area on the third image and a click sub-input to select the second area on the fourth image, then the second area can be Click the corresponding area of the sub-input in the fourth image.
可以理解,上述的第一输入为示例性的列举,即本公开实施例包括但不限于上述列举的第一输入。实际实现时,上述第一输入还可以为其它任意可能的输入,相应地,根据第一输入确定第二区域的方式具体可以根据实际使用需求确定,本公开实施例不作限定。It can be understood that the above-mentioned first input is an exemplary enumeration, that is, the embodiment of the present disclosure includes but is not limited to the above-mentioned first input. In actual implementation, the foregoing first input may also be any other possible input. Accordingly, the manner of determining the second area according to the first input may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
可选的,本公开实施例中,上述的S202具体可以通过下述的S202a实现。Optionally, in the embodiment of the present disclosure, the foregoing S202 may be specifically implemented by the following S202a.
S202a、终端设备将第二区域的图像替换显示为第一区域的图像。S202a: The terminal device replaces and displays the image of the second area with the image of the first area.
本公开实施例中,假设第一图像呈现第一滤镜效果以及第二图像呈现第二滤镜效果,且第三图像为第二图像以及第四图像为第一图像。那么,若用户在第二图像中选中第一区域(第一区域的图像呈现第二滤镜效果),则终端设备可以响应于该输入,将第二区域的图像替换显示为第一区域的图像,即可以将第二区域的图像的第一滤镜效果替换显示为第二滤镜效果。如此,第一图像中第二区域的图像呈现第二滤镜效果,且第一图像中除第二区域之外的区域的图像呈现第一滤镜效果。通过该方案,由于第一图像中可以分区域地呈现两种滤镜效果,因此本公开实施例可以提升对图像进行滤镜处理的灵活性。In the embodiment of the present disclosure, it is assumed that the first image presents the first filter effect and the second image presents the second filter effect, and the third image is the second image and the fourth image is the first image. Then, if the user selects the first area in the second image (the image in the first area presents the second filter effect), the terminal device can respond to the input and display the image in the second area instead of the image in the first area , That is, the first filter effect of the image in the second area can be replaced with the second filter effect. In this way, the image of the second area in the first image presents the second filter effect, and the image of the area other than the second area in the first image presents the first filter effect. With this solution, since the first image can present two filter effects in different regions, the embodiments of the present disclosure can improve the flexibility of filtering the image.
可选的,本公开实施例中,上述的S202具体可以通过下述的S202b实现。Optionally, in the embodiment of the present disclosure, the foregoing S202 may be specifically implemented by the following S202b.
S202b、终端设备将第一区域的图像叠加显示到第二区域的图像上。S202b. The terminal device superimposes and displays the image in the first area on the image in the second area.
本公开实施例中,同样假设第一图像呈现第一滤镜效果以及第二图像呈现第二滤镜效果,且第三图像为第二图像以及第四图像为第一图像。那么,若用户在第二图像中选中第一区域(第一区域的图像呈现第二滤镜效果),则终端设备可以响应于该输入,将第一区域的图像叠加显示到第二区域的图像,即第二区域的图像可以呈现第一滤镜效果和第二滤镜效果的叠加效果。如此,第一图像中第二区域的图像呈现该叠加效果,且第一图像中除第二区域之外的区域的图像呈现第一滤镜效果。通过该方案,由于第一图像中可以分区域地呈现两种滤镜效果,因此本公开实施例可以提升对图像进行滤镜处理的灵活性。In the embodiments of the present disclosure, it is also assumed that the first image presents the first filter effect and the second image presents the second filter effect, and the third image is the second image and the fourth image is the first image. Then, if the user selects the first area in the second image (the image in the first area presents the second filter effect), the terminal device can respond to the input by superimposing and displaying the image in the first area onto the image in the second area , That is, the image in the second area can present the superimposed effect of the first filter effect and the second filter effect. In this way, the image of the second area in the first image presents the superimposition effect, and the image of the area other than the second area in the first image presents the first filter effect. With this solution, since the first image can present two filter effects in different regions, the embodiments of the present disclosure can improve the flexibility of filtering the image.
可以理解,在用户选中的第一区域为第二图像的整个区域的情况下,若终端设备将第一区域的图像叠加显示到第二区域的图像上,则第一图像整体可以呈现第一滤镜效果和第二滤镜效果的叠加效果,如此可以提升对图像进行滤镜处理的灵活性。It can be understood that in the case where the first area selected by the user is the entire area of the second image, if the terminal device superimposes and displays the image of the first area on the image of the second area, the entire first image can present the first filter. The superimposition effect of the mirror effect and the second filter effect, which can improve the flexibility of filtering the image.
本公开实施例提供的图像处理方法,可以显示第一图像和第二图像,该第一图像为采 用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入;响应于该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域;其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。通过该方案,由于终端设备同时显示具有不同滤镜效果的第一图像和第二图像,因此用户可以对比第一图像和第二图像的滤镜效果,在其中一个图像选中一个区域,进而终端设备可以根据该输入,将已选中区域的图像与另一图像中特定区域的图像执行图像替换或者叠加处理,使得图像可以局部或整体呈现多种滤镜效果。如此,由于可以根据用户实际使用需求,采用多种滤镜处理方式对图像的局部或整体进行滤镜处理,从而本公开实施例可以提升终端设备对图片进行滤镜处理的灵活性。The image processing method provided by the embodiments of the present disclosure can display a first image and a second image. The first image is an image processed by using the first filter processing method on the first target image, and the second image is The image processed by the filter processing method on the second target image; receiving the user's first input, the first input being the input of selecting the first area on the third image; in response to the first input, using the first area Update the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, and the fourth image is the second image; or, The third image is the second image, and the fourth image is the first image. With this solution, since the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole. In this way, since a variety of filter processing methods can be used to perform filter processing on part or the whole of an image according to actual use needs of users, the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
可选的,结合图2,如图3所示,在上述的S201以后,以及在上述的S202之前,本公开实施例提供的图像处理方法还可以包括下述的S203和S204。Optionally, with reference to FIG. 2, as shown in FIG. 3, after the above S201 and before the above S202, the image processing method provided by the embodiment of the present disclosure may further include the following S203 and S204.
S203、终端设备将第三图像中,与第一输入对应的区域确定为第一区域。S203. The terminal device determines an area corresponding to the first input in the third image as the first area.
本公开实施例中,由于上述第一输入为在第三图像中选中第一区域的输入,因此与第一输入对应的区域可以为用户采用规则图形所框选出的区域,也可以为用户采用画笔所勾画出的区域,还可以为用户采用其它任意可能方式选中的区域,具体可以根据实际使用需求确定,本公开实施例不作限定。In the embodiment of the present disclosure, since the above-mentioned first input is the input of selecting the first area in the third image, the area corresponding to the first input may be the area selected by the user using a regular graph, or it may be used by the user The area outlined by the brush may also be an area selected by the user in any other possible manner, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
S204、终端设备根据第一区域的第一要素,在第四图像中,确定第二区域,该第二区域的第二要素与该第一要素相同。S204. The terminal device determines a second area in the fourth image according to the first element of the first area, and the second element of the second area is the same as the first element.
其中,假设第三图像为第一图像以及第四图像为第二图像,那么第一要素可以包括以下至少一项:第一目标图像中第一区域的内容、第一区域在第一目标图像中的位置信息。第二要素可以包括以下至少一项:第二目标图像中第二区域的内容、第二区域在第二目标图像中的位置信息。Wherein, assuming that the third image is the first image and the fourth image is the second image, the first element may include at least one of the following: the content of the first region in the first target image, and the first region in the first target image Location information. The second element may include at least one of the following: content of the second area in the second target image, and position information of the second area in the second target image.
具体的,第一要素可以包括第一目标图像中第一区域的内容,也可以包括第一区域在第一目标图像中的位置信息,还可以包括第一目标图像中第一区域的内容以及第一区域在第一目标图像中的位置信息,具体可以根据实际使用需求确定,本公开实施例不作限定。同理,对于第二要素的描述具体可以参见对第一要素的相关描述,此处不再赘述。Specifically, the first element may include the content of the first area in the first target image, may also include the position information of the first area in the first target image, and may also include the content of the first area in the first target image and the The location information of a region in the first target image can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure. Similarly, for the description of the second element, please refer to the related description of the first element, which will not be repeated here.
本公开实施例中,上述第一目标图像中第一区域的内容可以理解为第一图像中第一区域的不带滤镜效果的内容。上述第二目标图像中第二区域的内容可以理解为第二图像中第二区域的不带滤镜效果的内容。In the embodiments of the present disclosure, the content of the first area in the first target image described above may be understood as the content of the first area in the first image without the filter effect. The content of the second area in the above second target image can be understood as the content of the second area in the second image without the filter effect.
需要说明的是,本公开实施例中是以第三图像为第一图像以及第四图像为第二图像为例说明的。可以理解,实际实现时,本公开实施例不限于上述实现方式。例如,假设第三图像为第二图像以及第四图像为第一图像,那么第一要素可以包括以下至少一项:第二目标图像中第一区域的内容、第一区域在第二目标图像中的位置信息。第二要素可以包括以下至少一项:第一目标图像中第二区域的内容、第二区域在第一目标图像中的位置信息。其中,第二目标图像中第一区域的内容可以理解为第二图像中第一区域的不带滤镜效果的内容,第一目标图像中第二区域的内容可以理解为第一图像中第二区域的不带滤镜效果的内容。It should be noted that, in the embodiments of the present disclosure, the third image is the first image and the fourth image is the second image as an example. It can be understood that, in actual implementation, the embodiments of the present disclosure are not limited to the foregoing implementation manners. For example, assuming that the third image is the second image and the fourth image is the first image, the first element may include at least one of the following: the content of the first region in the second target image, and the first region in the second target image Location information. The second element may include at least one of the following: content of the second area in the first target image, and position information of the second area in the first target image. Among them, the content of the first area in the second target image can be understood as the content of the first area in the second image without filter effect, and the content of the second area in the first target image can be understood as the second area in the first image. The content of the area without filter effect.
可以理解,上述的各个要素均是示例性的列举,即本公开实施例包括但不限于上述列举的各个要素。实际实现时,上述第一要素和第二要素还可以包括其它任意能够满足实际使用需求的要素,具体可以根据实际使用需求确定,本公开实施例不作限定。It can be understood that each of the aforementioned elements is an exemplary enumeration, that is, the embodiments of the present disclosure include but are not limited to the aforementioned elements. In actual implementation, the above-mentioned first element and second element may also include any other elements that can meet actual use requirements, which may be specifically determined according to actual use requirements, which are not limited in the embodiments of the present disclosure.
本公开实施例中,终端设备可以响应于第一输入,将第三图像中与第一输入对应的区域确定为第一区域,并获取第一区域的要素,然后终端设备可以根据第一区域的要素,确定第四图像中的第二区域,该第二区域的要素与第一区域的要素相同。其中,第二区域的尺寸和形状可以等同于第一区域的尺寸和形状,第二区域和第一区域具有位置映射关系。In the embodiment of the present disclosure, the terminal device may respond to the first input, determine the area corresponding to the first input in the third image as the first area, and obtain the elements of the first area, and then the terminal device may determine the area corresponding to the first area according to the first input. The element determines the second area in the fourth image, and the element of the second area is the same as the element of the first area. Wherein, the size and shape of the second area may be equal to the size and shape of the first area, and the second area and the first area have a position mapping relationship.
可选的,本公开实施例中,终端设备可以采用智慧识图技术,利用第一区域的内容要素,确定第二区域。具体的,终端设备可以采用智慧识图技术,识别第三图像中第一区域的图像内容,并将第四图像中具有同样图像内容的区域确定为第二区域。Optionally, in the embodiments of the present disclosure, the terminal device may adopt a smart image recognition technology and use the content elements of the first area to determine the second area. Specifically, the terminal device may use smart image recognition technology to recognize the image content of the first region in the third image, and determine the region with the same image content in the fourth image as the second region.
可选的,本公开实施例中,终端设备可以采用位置映射方式,利用第一区域的位置信息要素,确定第二区域。具体的,终端设备可以检测用户的第一输入在第三图像中的位置信息(例如轨迹坐标点),将第四图像中具有相同位置信息的区域确定为第二区域。Optionally, in the embodiment of the present disclosure, the terminal device may adopt a location mapping method and use the location information element of the first area to determine the second area. Specifically, the terminal device may detect the position information (for example, track coordinate points) of the user's first input in the third image, and determine an area with the same position information in the fourth image as the second area.
可以理解,本公开实施例包括但不限于上述智慧识图技术和位置映射方式,实际实现时,本公开实施例还可以采用其它任意可能实现的方式确定第二区域,具体可以根据实际使用需求确定,本公开实施例不作限定。It is understandable that the embodiments of the present disclosure include, but are not limited to, the above-mentioned smart map recognition technology and location mapping method. In actual implementation, the embodiments of the present disclosure may also use any other possible implementation methods to determine the second area, which may be determined according to actual usage requirements. The embodiments of the present disclosure are not limited.
下面参考图4、图5和图6,结合上述的S203和S204,示例性的说明本公开实施例提供的图像处理方法的具体实现方式。Hereinafter, referring to FIG. 4, FIG. 5, and FIG. 6, in combination with the foregoing S203 and S204, the specific implementation of the image processing method provided by the embodiment of the present disclosure is exemplarily described.
如图4所示,以双面折叠屏式终端设备为例,终端设备30包括第一屏31和第二屏32。终端设备30在第一屏31显示该第一图像33,并在第二屏32显示该第二图像34。其中,第一图像33和第二图像34分别为终端设备30采用不同滤镜处理方式对相同图像处理得到的图像,即第一图像33和第二图像34的内容相同且滤镜效果不同,例如,第一图像33为采用第一滤镜风格对第一目标图像处理后的图像,第二图像34为采用第二滤镜风格对第二目标图像处理后的图像。As shown in FIG. 4, taking a double-sided folding screen terminal device as an example, the terminal device 30 includes a first screen 31 and a second screen 32. The terminal device 30 displays the first image 33 on the first screen 31 and displays the second image 34 on the second screen 32. Among them, the first image 33 and the second image 34 are respectively the images obtained by the terminal device 30 using different filter processing methods to process the same image, that is, the first image 33 and the second image 34 have the same content and different filter effects, for example , The first image 33 is an image processed by using the first filter style on the first target image, and the second image 34 is an image processed by using the second filter style on the second target image.
结合图4,如图5所示,用户可以通过对比第一图像33和第二图像34的滤镜效果,在第二图像34中使用规则图形或者画笔选中第一区域E1和E2。终端设备可以响应于该输入,在第一图像33中,确定第二区域E3和E4。其中,第二区域E3根据第一区域E1确定(第二区域E3与第一区域E1具有位置映射关系),以及第二区域E4根据第一区域E2确定(第二区域E4与第一区域E2具有位置映射关系)。With reference to FIG. 4, as shown in FIG. 5, the user can select the first areas E1 and E2 in the second image 34 by using a regular pattern or a brush by comparing the filter effects of the first image 33 and the second image 34. In response to the input, the terminal device can determine the second areas E3 and E4 in the first image 33. Among them, the second area E3 is determined according to the first area E1 (the second area E3 has a positional mapping relationship with the first area E1), and the second area E4 is determined according to the first area E2 (the second area E4 and the first area E2 have Location mapping relationship).
结合图4和图5,如图6所示,终端设备在确定第二区域E3和E4之后,采用第一区域E1的图像,更新第二区域E3的图像,以及采用第一区域E2的图像,更新第二区域E4的图像。如此,可以将第一区域E1的图像呈现的滤镜效果替换(或叠加)到第二区域E3上,实现该第二区域E3的滤镜效果更新;以及将第一区域E2的图像呈现的滤镜效果替换(或叠加)到第二区域E4上,实现该第二区域E4的滤镜效果更新。With reference to Figures 4 and 5, as shown in Figure 6, after determining the second areas E3 and E4, the terminal device uses the image of the first area E1, updates the image of the second area E3, and uses the image of the first area E2, The image of the second area E4 is updated. In this way, the filter effect presented by the image of the first area E1 can be replaced (or superimposed) on the second area E3 to realize the update of the filter effect of the second area E3; and the filter effect presented by the image of the first area E2 The mirror effect is replaced (or superimposed) on the second area E4 to realize the update of the filter effect of the second area E4.
需要说明的是,上述以用户在第二图像中选中第一区域E1和E2为例示例性的说明,可以理解,本公开实施例不限定用户选中第一区域的数量,具体可以根据实际使用需求确定,本公开实施例不作限定。It should be noted that the above description takes the user selecting the first areas E1 and E2 in the second image as an example. It can be understood that the embodiments of the present disclosure do not limit the number of the first areas selected by the user, which can be specifically based on actual usage requirements. Certainly, the embodiments of the present disclosure are not limited.
本公开实施例中,可以利用折叠屏特点,在两个屏上对同一张图片应用两种不同风格的滤镜效果,用户可以通过直观的对比,找到不同滤镜效果中用户满意的元素,然后终端设备可以通过图像处理对图像进行元素替换或者叠加,以此方式可以实现对图像的多种滤镜美化效果。In the embodiments of the present disclosure, the characteristics of the folding screen can be used to apply two different styles of filter effects to the same picture on the two screens. The user can find the user-satisfied elements in the different filter effects through intuitive comparison, and then The terminal device can replace or superimpose elements of the image through image processing, and in this way, a variety of filter beautification effects on the image can be achieved.
示例性的,在另一种可能的实现方式中,假设上述第一输入包括第一子输入和第二子输入,该第一子输入为在第三图像中选中上述第一区域的输入,该第二子输入为将该第一区域的图像拖动至第二区域的输入。在此情况下,上述的S202具体可以通过下述的S202c和S202d实现。Exemplarily, in another possible implementation manner, it is assumed that the foregoing first input includes a first sub-input and a second sub-input, and the first sub-input is an input for selecting the foregoing first region in a third image, and the The second sub-input is an input for dragging the image of the first area to the second area. In this case, the aforementioned S202 can be specifically implemented by the following S202c and S202d.
S202c、终端设备响应于第一子输入,将第三图像中,与第一子输入对应的区域确定为第一区域。S202c. In response to the first sub-input, the terminal device determines an area corresponding to the first sub-input in the third image as the first area.
S202d、终端设备响应于第二子输入,将第四图像中,与第二子输入对应的区域确定为第二区域,并采用该第一区域的图像,更新第二区域的图像。S202d. In response to the second sub-input, the terminal device determines the area corresponding to the second sub-input in the fourth image as the second area, and uses the image of the first area to update the image of the second area.
本公开实施例中,假设第三图像为第二图像以及第四图像为第一图像,那么若用户在第二图像中选中第一区域并将该第一区域的图像拖动至第二区域,则终端设备可以响应于用户在第二图像中选中第一区域的选择子输入(例如采用画笔勾画出一个目标区域),将第二图像中与选择子输入对应的目标区域确定为第一区域。In the embodiment of the present disclosure, assuming that the third image is the second image and the fourth image is the first image, if the user selects the first area in the second image and drags the image of the first area to the second area, Then, the terminal device may respond to the user's selection sub-input of selecting the first area in the second image (for example, using a brush to outline a target area), and determine the target area corresponding to the selection sub-input in the second image as the first area.
并且,终端设备可以响应于将该第一区域的图像拖动至第二区域的拖动子输入,将第一图像中与拖动子输入的终止位置对应的区域确定为第二区域,并采用该第一区域的图像,更新第二区域的图像。In addition, the terminal device may, in response to the drag sub-input to drag the image of the first area to the second area, determine the area in the first image corresponding to the end position of the drag sub-input as the second area, and adopt The image in the first area updates the image in the second area.
如此,终端设备可以将第一图像中第二区域的图像替换显示为第二图像中第一区域的图像,或者将第二图像中第一区域的图像叠加到第一图像中第二区域的图像上。这种从一个图像中选取部分图像来更新另一图像的情况可以理解为抠图组合处理。In this way, the terminal device can replace and display the image of the second area in the first image with the image of the first area in the second image, or superimpose the image of the first area in the second image on the image of the second area in the first image. on. This situation of selecting part of an image to update another image can be understood as a combination of matting.
下面结合图4,参考图7和图8,结合上述的S202c和S202d,示例性的说明本公开实施例提供的图像处理方法的具体实现方式。Hereinafter, in conjunction with FIG. 4, referring to FIG. 7 and FIG. 8, in combination with the foregoing S202c and S202d, the specific implementation of the image processing method provided by the embodiment of the present disclosure is exemplarily described.
如图7所示,若用户在第二图像34中采用画笔勾画出一个目标区域E5,并将该区域E5的图像拖动至第二区域,则终端设备30可以响应于用户在第二图像34中选中第一区域E5的选择子输入,将第二图像34中与选择子输入对应的目标区域E5确定为第一区域E5。并且,终端设备30可以响应于将该第一区域E5的图像拖动至第二区域的拖动子输入,将第一图像33中与拖动子输入的终止位置对应的区域E6确定为第二区域E6。As shown in FIG. 7, if the user uses a brush to outline a target area E5 in the second image 34, and drags the image of the area E5 to the second area, the terminal device 30 can respond to the user’s presence in the second image 34 The selector input of the first area E5 is selected in the middle, and the target area E5 corresponding to the selector input in the second image 34 is determined as the first area E5. In addition, the terminal device 30 may, in response to the drag sub input of dragging the image of the first area E5 to the second area, determine the area E6 in the first image 33 corresponding to the end position of the drag sub input as the second Area E6.
如图8所示,终端设备可以采用该第一区域E5的图像,更新第二区域E6的图像。如此,可以将第一区域E5的图像呈现的滤镜效果替换(或叠加)到第二区域E6上,实现该第二区域E6的滤镜效果更新。As shown in FIG. 8, the terminal device can use the image of the first area E5 to update the image of the second area E6. In this way, the filter effect presented by the image in the first area E5 can be replaced (or superimposed) on the second area E6 to realize the update of the filter effect of the second area E6.
本公开实施例中,可以对两个呈现不同滤镜效果的图像进行抠图组合处理,从而可以实现采用多种滤镜处理方式对图像执行滤镜处理,如此可以提升终端设备对图像进行滤镜处理的灵活性。In the embodiments of the present disclosure, two images that present different filter effects can be subjected to matting and combination processing, so that multiple filter processing methods can be used to perform filter processing on the image, which can improve the terminal device to filter the image Processing flexibility.
可选的,结合图2,如图9所示,在上述的S202之后,本公开实施例提供的图像处理方法还可以包括下述的S205和S206。Optionally, in conjunction with FIG. 2, as shown in FIG. 9, after the above S202, the image processing method provided by the embodiment of the present disclosure may further include the following S205 and S206.
S205、终端设备接收用户的第二输入,该第二输入为针对第二图像的输入。S205. The terminal device receives a second input from the user, where the second input is an input for a second image.
可选的,本公开实施例中,上述用户的第一输入可以为点击输入(例如单击输入或双 击输入),也可以为滑动输入,还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the first input of the user may be a click input (for example, a single-click input or a double-click input), a sliding input, or any other possible form of input. The specific input may be based on actual conditions. The use requirements are determined, and the embodiments of the present disclosure are not limited.
本公开实施例中,在终端设备采用该第一区域的图像,更新第二区域的图像之后,用户可以针对第二图像输入,例如点击第二图像,并点击第三滤镜处理方式(比如第三滤镜风格)的选项,以触发终端设备对第一输入选中的图像应用其它滤镜风格,获取第五图像,并将第二图像更新为第五图像。In the embodiment of the present disclosure, after the terminal device uses the image of the first area to update the image of the second area, the user can input the second image, for example, click the second image, and click the third filter processing method (such as the first The option of three filter styles) to trigger the terminal device to apply other filter styles to the image selected by the first input, obtain the fifth image, and update the second image to the fifth image.
S206、终端设备响应于第二输入,将第二图像更新为第五图像,该第五图像为采用第三滤镜处理方式对第二目标图像处理后的图像。S206. In response to the second input, the terminal device updates the second image to a fifth image, and the fifth image is an image processed by using the third filter processing method on the second target image.
本公开实施例中,终端设备可以响应于用户针对第二图像的输入,对第一输入选中的图像应用其它滤镜风格,例如采用第三滤镜处理方式对第二目标图像处理,获取第五图像,并将第二图像更新为第五图像。如此,终端设备当前显示具有不同滤镜效果的两个图像。In the embodiments of the present disclosure, the terminal device may respond to the user's input for the second image, apply other filter styles to the image selected by the first input, for example, use the third filter processing method to process the second target image to obtain the fifth Image, and update the second image to the fifth image. In this way, the terminal device currently displays two images with different filter effects.
进一步的,用户可以通过对比第一图像和第五图像各自呈现的滤镜效果,在第五图像中选中第三区域,以触发终端设备采用第三区域的图像,更新第四区域的图像。相应地,终端设备可以按照上述方法实施例中说明的图像处理方法,响应于该输入,采用第二图像中第三区域的图像,更新第一图像中第四区域的图像,该第四区域为第一图像中与该第一输入关联的区域。Further, the user can compare the filter effects presented by the first image and the fifth image, and select the third area in the fifth image to trigger the terminal device to adopt the image of the third area and update the image of the fourth area. Correspondingly, the terminal device can use the image of the third region in the second image to update the image of the fourth region in the first image in response to the input according to the image processing method described in the above method embodiment, where the fourth region is The area associated with the first input in the first image.
如此,终端设备可以按照上述方法实施例中说明的图像处理方法,响应于用户的输入,对第一目标图像的部分图像或整体图像再次执行上述滤镜处理,从而可以提升终端设备对图片进行滤镜处理的灵活性。In this way, the terminal device can perform the above-mentioned filter processing again on the partial image or the whole image of the first target image according to the image processing method described in the above method embodiment in response to the user's input, thereby improving the terminal device to filter the image. The flexibility of mirror processing.
如图10所示,本公开实施例提供一种终端设备700,该终端设备700可以包括显示模块701和接收模块702。显示模块701用于显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像。接收模块702用于接收用户的第一输入,该第一输入为在显示模块701显示的第三图像上选中第一区域的输入。显示模块701还用于响应于接收模块702接收的第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域。其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。As shown in FIG. 10, an embodiment of the present disclosure provides a terminal device 700. The terminal device 700 may include a display module 701 and a receiving module 702. The display module 701 is used to display a first image and a second image. The first image is an image processed by the first target image using the first filter processing method, and the second image is the second image processed by the second filter processing method. 2. The processed image of the target image. The receiving module 702 is configured to receive a user's first input, and the first input is an input of selecting a first area on the third image displayed by the display module 701. The display module 701 is further configured to respond to the first input received by the receiving module 702 and use the image of the first area to update the image of the second area, where the second area is an area associated with the first input in the fourth image. Wherein, the third image is the first image, and the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
可选的,本公开实施例中,显示模块701具体用于在终端设备700的同一显示屏上显示第一图像和第二图像。或者,显示模块701具体用于在终端设备700的不同显示屏上显示第一图像和第二图像。Optionally, in the embodiment of the present disclosure, the display module 701 is specifically configured to display the first image and the second image on the same display screen of the terminal device 700. Alternatively, the display module 701 is specifically configured to display the first image and the second image on different display screens of the terminal device 700.
可选的,结合图10,如图11所示,本公开实施例提供的终端设备700还可以包括确定模块703。确定模块703用于在显示模块701采用第一区域的图像,更新第二区域的图像之前,将上述第三图像中,与第一输入对应的区域确定为第一区域。确定模块703还用于根据第一区域的第一要素,在第四图像中,确定第二区域,该第二区域的第二要素与该第一要素相同。其中,第一要素可以包括以下至少一项:第一目标图像中第一区域的内容、第一区域在第一目标图像中的位置信息。第二要素可以包括以下至少一项:第二目标图像中第二区域的内容、第二区域在第二目标图像中的位置信息。Optionally, in conjunction with FIG. 10, as shown in FIG. 11, the terminal device 700 provided in the embodiment of the present disclosure may further include a determining module 703. The determining module 703 is configured to determine the area corresponding to the first input in the third image as the first area before the display module 701 uses the image of the first area to update the image of the second area. The determining module 703 is further configured to determine a second area in the fourth image according to the first element of the first area, and the second element of the second area is the same as the first element. The first element may include at least one of the following: content of the first area in the first target image, and position information of the first area in the first target image. The second element may include at least one of the following: content of the second area in the second target image, and position information of the second area in the second target image.
可选的,本公开实施例中,上述第一输入可以包括第一子输入和第二子输入,该 第一子输入为在第三图像中选中上述第一区域的输入,该第二子输入为将该第一区域的图像拖动至上述第二区域的输入。显示模块701具体用于响应于该第一子输入,将第三图像中,与该第一子输入对应的区域确定为第一区域。显示模块701具体还用于响应于该第二子输入,将第四图像中,与该第二子输入对应的区域确定为第二区域,并采用该第一区域的图像,更新该第二区域的图像。Optionally, in the embodiment of the present disclosure, the above-mentioned first input may include a first sub-input and a second sub-input. The first sub-input is an input for selecting the above-mentioned first region in the third image, and the second sub-input is This is the input of dragging the image of the first area to the above-mentioned second area. The display module 701 is specifically configured to determine the area corresponding to the first sub-input in the third image as the first area in response to the first sub-input. The display module 701 is specifically further configured to determine the area corresponding to the second sub-input in the fourth image as the second area in response to the second sub-input, and use the image of the first area to update the second area Image.
可选的,本公开实施例中,显示模块701具体还用于将上述第二区域的图像替换显示为上述第一区域的图像。或者,显示模块701具体还用于将上述第一区域的图像叠加显示到上述第二区域的图像上。Optionally, in this embodiment of the present disclosure, the display module 701 is specifically further configured to replace and display the image in the second area with the image in the first area. Alternatively, the display module 701 is specifically configured to superimpose and display the image of the first area on the image of the second area.
可选的,本公开实施例中,接收模块702还用于在采用第一区域的图像,更新第二区域的图像之后,接收用户的第二输入,该第二输入为针对第二图像的输入。显示模块701还用于响应于接收模块702接收的第二输入,将该第二图像更新为第五图像,该第五图像为采用第三滤镜处理方式对上述第二目标图像处理后的图像。Optionally, in the embodiment of the present disclosure, the receiving module 702 is further configured to receive a second input from the user after the image in the first area is used to update the image in the second area, and the second input is an input for the second image. . The display module 701 is further configured to update the second image to a fifth image in response to the second input received by the receiving module 702, and the fifth image is the image processed by the third filter processing method on the above-mentioned second target image .
本公开实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
本公开实施例提供的终端设备,可以显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入;响应于该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域;其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。通过该方案,由于终端设备同时显示具有不同滤镜效果的第一图像和第二图像,因此用户可以对比第一图像和第二图像的滤镜效果,在其中一个图像选中一个区域,进而终端设备可以根据该输入,将已选中区域的图像与另一图像中特定区域的图像执行图像替换或者叠加处理,使得图像可以局部或整体呈现多种滤镜效果。如此,由于可以根据用户实际使用需求,采用多种滤镜处理方式对图像的局部或整体进行滤镜处理,从而本公开实施例可以提升终端设备对图片进行滤镜处理的灵活性。The terminal device provided by the embodiment of the present disclosure can display a first image and a second image. The first image is an image processed by the first target image in the first filter processing mode, and the second image is the second image processed by the second filter. The image processed by the second target image in the mirror processing mode; the first input from the user is received, and the first input is the input of selecting the first area on the third image; in response to the first input, the first area is used Image, update the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, and the fourth image is the second image; or, the The third image is the second image, and the fourth image is the first image. With this solution, since the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole. In this way, since a variety of filter processing methods can be used to perform filter processing on part or the whole of an image according to actual use needs of users, the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
图12为实现本公开各个实施例的一种终端设备的硬件结构示意图。如图12所示,该终端设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图12中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 12 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure. As shown in FIG. 12, the terminal device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 12 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,显示单元806,用于显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;用户输入单元807,用于接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入;显示单元806,用于响应于用户输入单元807接收的该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域;其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图 像为第二图像,该第四图像为第一图像。Wherein, the display unit 806 is configured to display a first image and a second image, the first image is an image processed by the first target image by the first filter processing method, and the second image is processed by the second filter. The second target image is processed by the method; the user input unit 807 is used to receive the first input of the user, and the first input is the input of selecting the first area on the third image; the display unit 806 is used to respond to The first input received by the user input unit 807 uses the image of the first area to update the image of the second area, where the second area is the area associated with the first input in the fourth image; wherein, the third image Is the first image and the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image.
本公开实施例提供一种终端设备,该终端设备可以显示第一图像和第二图像,该第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,该第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;接收用户的第一输入,该第一输入为在第三图像上选中第一区域的输入;响应于该第一输入,采用该第一区域的图像,更新第二区域的图像,该第二区域为第四图像中与该第一输入关联的区域;其中,该第三图像为第一图像,该第四图像为第二图像;或者,该第三图像为第二图像,该第四图像为第一图像。通过该方案,由于终端设备同时显示具有不同滤镜效果的第一图像和第二图像,因此用户可以对比第一图像和第二图像的滤镜效果,在其中一个图像选中一个区域,进而终端设备可以根据该输入,将已选中区域的图像与另一图像中特定区域的图像执行图像替换或者叠加处理,使得图像可以局部或整体呈现多种滤镜效果。如此,由于可以根据用户实际使用需求,采用多种滤镜处理方式对图像的局部或整体进行滤镜处理,从而本公开实施例可以提升终端设备对图片进行滤镜处理的灵活性。An embodiment of the present disclosure provides a terminal device that can display a first image and a second image, the first image is an image processed by a first target image using a first filter processing method, and the second image is Use the second filter processing method to process the image of the second target image; receive the user's first input, which is the input of selecting the first area on the third image; in response to the first input, use the The image of the first area updates the image of the second area, the second area is the area associated with the first input in the fourth image; wherein, the third image is the first image, and the fourth image is the second image Or, the third image is the second image, and the fourth image is the first image. With this solution, since the terminal device simultaneously displays the first image and the second image with different filter effects, the user can compare the filter effects of the first image and the second image, select an area in one of the images, and then the terminal device According to the input, the image of the selected area and the image of a specific area in another image can be subjected to image replacement or superposition processing, so that the image can present multiple filter effects locally or as a whole. In this way, since a variety of filter processing methods can be used to perform filter processing on part or the whole of an image according to actual use needs of users, the embodiments of the present disclosure can improve the flexibility of the terminal device for filter processing on the image.
应理解的是,本公开实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 810; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
终端设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device 800 provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与终端设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。The audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal device 800 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The graphics processor 8041 is used to capture still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame may be displayed on the display unit 806. The image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
终端设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在终端设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light. The proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元807可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 807 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating). The touch panel 8071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed. In addition, the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 may also include other input devices 8072. Specifically, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图12中,触控面板8071与显示面板8061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 8071 can cover the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 8061. Although in FIG. 12, the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元808为外部装置与终端设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备800内的一个或多个元件或者可以用于在终端设备800和外部装置之间传输数据。The interface unit 808 is an interface for connecting an external device with the terminal device 800. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 800 or can be used to connect to the terminal device 800 and external devices. Transfer data between devices.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器810是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器810可包括一个或多个处理单元;可选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor. The application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
终端设备800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放 电、以及功耗管理等功能。The terminal device 800 may also include a power source 811 (such as a battery) for supplying power to various components. Optionally, the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备800包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 800 includes some functional modules not shown, which will not be repeated here.
可选的,本公开实施例还提供一种终端设备,包括如图12所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a terminal device, including a processor 810 as shown in FIG. 12, a memory 809, a computer program stored in the memory 809 and running on the processor 810, and the computer program is The processor 810 implements each process of the foregoing image processing method embodiment when executing, and can achieve the same technical effect. In order to avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned image processing method embodiment is realized, and the same technology can be achieved. The effect, to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例公开的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the protection of the present disclosure.

Claims (14)

  1. 一种图像处理方法,应用于终端设备,所述方法包括:An image processing method applied to a terminal device, the method including:
    显示第一图像和第二图像,所述第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,所述第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;Display a first image and a second image, the first image is the image processed by the first target image using the first filter processing method, and the second image is the second target image processed by the second filter processing method The processed image;
    接收用户的第一输入,所述第一输入为在第三图像上选中第一区域的输入;Receiving a first input from a user, where the first input is an input for selecting a first area on the third image;
    响应于所述第一输入,采用所述第一区域的图像,更新第二区域的图像,所述第二区域为第四图像中与所述第一输入关联的区域;In response to the first input, using the image of the first area to update the image of the second area, the second area being an area associated with the first input in the fourth image;
    其中,所述第三图像为所述第一图像,所述第四图像为所述第二图像;或者,所述第三图像为所述第二图像,所述第四图像为所述第一图像。Wherein, the third image is the first image, and the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image. image.
  2. 根据权利要求1所述的方法,其中,所述显示第一图像和第二图像,包括:The method according to claim 1, wherein said displaying the first image and the second image comprises:
    在所述终端设备的同一显示屏上显示所述第一图像和所述第二图像;Displaying the first image and the second image on the same display screen of the terminal device;
    或者,or,
    在所述终端设备的不同显示屏上显示所述第一图像和所述第二图像。Displaying the first image and the second image on different display screens of the terminal device.
  3. 根据权利要求1所述的方法,其中,在采用第一区域的图像,更新第二区域的图像之前,所述方法还包括:The method according to claim 1, wherein before using the image of the first area to update the image of the second area, the method further comprises:
    根据所述第一区域的第一要素,在所述第四图像中,确定所述第二区域,所述第二区域的第二要素与所述第一要素相同;Determining the second area in the fourth image according to the first element of the first area, and the second element of the second area is the same as the first element;
    其中,所述第一要素包括以下至少一项:所述第一目标图像中所述第一区域的内容、所述第一区域在所述第一目标图像中的位置信息;所述第二要素包括以下至少一项:所述第二目标图像中所述第二区域的内容、所述第二区域在所述第二目标图像中的位置信息。Wherein, the first element includes at least one of the following: content of the first area in the first target image, position information of the first area in the first target image; and the second element It includes at least one of the following: content of the second area in the second target image, and position information of the second area in the second target image.
  4. 根据权利要求1所述的方法,其中,所述第一输入包括第一子输入和第二子输入,所述第一子输入为在所述第三图像中选中所述第一区域的输入,所述第二子输入为将所述第一区域的图像拖动至所述第二区域的输入;The method according to claim 1, wherein the first input includes a first sub-input and a second sub-input, and the first sub-input is an input for selecting the first region in the third image, The second sub-input is an input for dragging the image of the first area to the second area;
    所述响应于所述第一输入,采用第一区域的图像,更新第二区域的图像,包括:In response to the first input, using the image of the first area to update the image of the second area includes:
    响应于所述第一子输入,将所述第三图像中,与所述第一子输入对应的区域确定为所述第一区域;In response to the first sub-input, determining an area corresponding to the first sub-input in the third image as the first area;
    响应于所述第二子输入,将所述第四图像中,与所述第二子输入对应的区域确定为所述第二区域,并采用所述第一区域的图像,更新所述第二区域的图像。In response to the second sub-input, the area corresponding to the second sub-input in the fourth image is determined as the second area, and the image of the first area is used to update the second The image of the area.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述采用第一区域的图像,更新第二区域的图像,包括:The method according to any one of claims 1 to 4, wherein said using the image of the first area to update the image of the second area comprises:
    将所述第二区域的图像替换显示为所述第一区域的图像;Replacing and displaying the image of the second area with the image of the first area;
    或者,or,
    将所述第一区域的图像叠加显示到所述第二区域的图像上。The image of the first area is superimposed and displayed on the image of the second area.
  6. 根据权利要求5所述的方法,其中,在采用第一区域的图像,更新第二区域的图像之后,所述方法还包括:The method according to claim 5, wherein after the image in the first region is used and the image in the second region is updated, the method further comprises:
    接收用户的第二输入,所述第二输入为针对所述第二图像的输入;Receiving a second input from a user, where the second input is an input for the second image;
    响应于所述第二输入,将所述第二图像更新为第五图像,所述第五图像为采用第 三滤镜处理方式对所述第二目标图像处理后的图像。In response to the second input, the second image is updated to a fifth image, and the fifth image is an image processed by using a third filter processing method on the second target image.
  7. 一种终端设备,包括显示模块和接收模块;A terminal device including a display module and a receiving module;
    所述显示模块,用于显示第一图像和第二图像,所述第一图像为采用第一滤镜处理方式对第一目标图像处理后的图像,所述第二图像为采用第二滤镜处理方式对第二目标图像处理后的图像;The display module is configured to display a first image and a second image, the first image is an image processed by a first target image using a first filter processing method, and the second image is an image using a second filter The image processed by the second target image by the processing method;
    所述接收模块,用于接收用户的第一输入,所述第一输入为在所述显示模块显示的第三图像上选中第一区域的输入;The receiving module is configured to receive a user's first input, where the first input is an input of selecting a first area on a third image displayed by the display module;
    所述显示模块,还用于响应于所述接收模块接收的所述第一输入,采用所述第一区域的图像,更新第二区域的图像,所述第二区域为第四图像中与所述第一输入关联的区域;The display module is further configured to respond to the first input received by the receiving module and use the image of the first area to update the image of the second area. The area associated with the first input;
    其中,所述第三图像为所述第一图像,所述第四图像为所述第二图像;或者,所述第三图像为所述第二图像,所述第四图像为所述第一图像。Wherein, the third image is the first image, and the fourth image is the second image; or, the third image is the second image, and the fourth image is the first image. image.
  8. 根据权利要求7所述的终端设备,其中,所述显示模块,具体用于在所述终端设备的同一显示屏上显示所述第一图像和所述第二图像;或者,The terminal device according to claim 7, wherein the display module is specifically configured to display the first image and the second image on the same display screen of the terminal device; or,
    所述显示模块,具体用于在所述终端设备的不同显示屏上显示所述第一图像和所述第二图像。The display module is specifically configured to display the first image and the second image on different display screens of the terminal device.
  9. 根据权利要求7所述的终端设备,其中,所述终端设备还包括确定模块;The terminal device according to claim 7, wherein the terminal device further comprises a determining module;
    所述确定模块,用于在所述显示模块采用第一区域的图像,更新第二区域的图像之前,将所述第三图像中,与所述第一输入对应的区域确定为所述第一区域;The determining module is configured to determine, in the third image, the area corresponding to the first input as the first area before the display module uses the image of the first area to update the image of the second area. area;
    所述确定模块,还用于根据所述第一区域的第一要素,在所述第四图像中,确定所述第二区域,所述第二区域的第二要素与所述第一要素相同;The determining module is further configured to determine the second area in the fourth image according to the first element of the first area, and the second element of the second area is the same as the first element ;
    其中,所述第一要素包括以下至少一项:所述第一目标图像中所述第一区域的内容、所述第一区域在所述第一目标图像中的位置信息;所述第二要素包括以下至少一项:所述第二目标图像中所述第二区域的内容、所述第二区域在所述第二目标图像中的位置信息。Wherein, the first element includes at least one of the following: content of the first area in the first target image, position information of the first area in the first target image; and the second element It includes at least one of the following: content of the second area in the second target image, and position information of the second area in the second target image.
  10. 根据权利要求7所述的终端设备,其中,所述第一输入包括第一子输入和第二子输入,所述第一子输入为在所述第三图像中选中所述第一区域的输入,所述第二子输入为将所述第一区域的图像拖动至所述第二区域的输入;The terminal device according to claim 7, wherein the first input includes a first sub-input and a second sub-input, and the first sub-input is an input for selecting the first area in the third image , The second sub-input is an input for dragging the image of the first area to the second area;
    所述显示模块,具体用于响应于所述第一子输入,将所述第三图像中,与所述第一子输入对应的区域确定为所述第一区域;The display module is specifically configured to determine, in response to the first sub-input, an area corresponding to the first sub-input in the third image as the first area;
    所述显示模块,具体还用于响应于所述第二子输入,将所述第四图像中,与所述第二子输入对应的区域确定为所述第二区域,并采用所述第一区域的图像,更新所述第二区域的图像。The display module is specifically further configured to, in response to the second sub-input, determine an area corresponding to the second sub-input in the fourth image as the second area, and use the first The image of the area, updating the image of the second area.
  11. 根据权利要求7至10中任一项所述的终端设备,其中,所述显示模块,具体还用于将所述第二区域的图像替换显示为所述第一区域的图像;或者,The terminal device according to any one of claims 7 to 10, wherein the display module is specifically further configured to replace and display the image of the second area with the image of the first area; or,
    所述显示模块,具体还用于将所述第一区域的图像叠加显示到所述第二区域的图像上。The display module is specifically further configured to superimpose and display the image of the first area on the image of the second area.
  12. 根据权利要求11所述的终端设备,其中,所述接收模块,还用于在采用第一区域的图像,更新第二区域的图像之后,接收用户的第二输入,所述第二输入为针对 所述第二图像的输入;The terminal device according to claim 11, wherein the receiving module is further configured to receive a second input from the user after the image in the first area is used to update the image in the second area, and the second input is for The input of the second image;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,将所述第二图像更新为第五图像,所述第五图像为采用第三滤镜处理方式对所述第二目标图像处理后的图像。The display module is further configured to update the second image to a fifth image in response to the second input received by the receiving module, and the fifth image is a third filter processing method for the The processed image of the second target image.
  13. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的图像处理方法的步骤。A terminal device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 6 One of the steps of the image processing method.
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的图像处理方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the image processing method according to any one of claims 1 to 6 are realized.
PCT/CN2020/075377 2019-03-25 2020-02-14 Image processing method and terminal device WO2020192298A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910228154.9 2019-03-25
CN201910228154.9A CN109993711A (en) 2019-03-25 2019-03-25 A kind of image processing method and terminal device

Publications (1)

Publication Number Publication Date
WO2020192298A1 true WO2020192298A1 (en) 2020-10-01

Family

ID=67131367

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075377 WO2020192298A1 (en) 2019-03-25 2020-02-14 Image processing method and terminal device

Country Status (2)

Country Link
CN (1) CN109993711A (en)
WO (1) WO2020192298A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070497A (en) * 2019-03-08 2019-07-30 维沃移动通信(深圳)有限公司 A kind of image processing method and terminal device
CN109993711A (en) * 2019-03-25 2019-07-09 维沃移动通信有限公司 A kind of image processing method and terminal device
CN111402273A (en) * 2020-03-23 2020-07-10 维沃移动通信(杭州)有限公司 Image processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980791A (en) * 2014-04-08 2015-10-14 腾讯科技(北京)有限公司 Method and device for performing filter processing on video
CN105631803A (en) * 2015-12-17 2016-06-01 小米科技有限责任公司 Method and device for filter processing
US20170045957A1 (en) * 2015-08-12 2017-02-16 Smart Technologies Ulc System and Method of Object Recognition for an Interactive Input System
CN108898555A (en) * 2018-07-27 2018-11-27 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109144361A (en) * 2018-07-09 2019-01-04 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109993711A (en) * 2019-03-25 2019-07-09 维沃移动通信有限公司 A kind of image processing method and terminal device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049703A (en) * 2015-06-17 2015-11-11 青岛海信移动通信技术股份有限公司 Shooting method for mobile communication terminal and mobile communication terminal
CN105049704A (en) * 2015-06-17 2015-11-11 青岛海信移动通信技术股份有限公司 Shooting method and equipment
CN105163041A (en) * 2015-10-08 2015-12-16 广东欧珀移动通信有限公司 Realization method and apparatus for local double exposure, and mobile terminal
CN106530222A (en) * 2016-11-25 2017-03-22 维沃移动通信有限公司 Picture saving method and mobile terminal
CN106875452A (en) * 2016-12-30 2017-06-20 深圳天珑无线科技有限公司 Image processing method and terminal
CN108109100B (en) * 2017-12-19 2019-11-22 维沃移动通信有限公司 A kind of image processing method, mobile terminal
CN107948530B (en) * 2017-12-28 2020-07-28 努比亚技术有限公司 Image processing method, terminal and computer readable storage medium
CN108259756B (en) * 2018-03-14 2020-07-28 维沃移动通信有限公司 Image shooting method and mobile terminal
CN109002243B (en) * 2018-06-28 2021-06-29 维沃移动通信有限公司 Image parameter adjusting method and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980791A (en) * 2014-04-08 2015-10-14 腾讯科技(北京)有限公司 Method and device for performing filter processing on video
US20170045957A1 (en) * 2015-08-12 2017-02-16 Smart Technologies Ulc System and Method of Object Recognition for an Interactive Input System
CN105631803A (en) * 2015-12-17 2016-06-01 小米科技有限责任公司 Method and device for filter processing
CN109144361A (en) * 2018-07-09 2019-01-04 维沃移动通信有限公司 A kind of image processing method and terminal device
CN108898555A (en) * 2018-07-27 2018-11-27 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109993711A (en) * 2019-03-25 2019-07-09 维沃移动通信有限公司 A kind of image processing method and terminal device

Also Published As

Publication number Publication date
CN109993711A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
US20220276909A1 (en) Screen projection control method and electronic device
WO2020063091A1 (en) Picture processing method and terminal device
WO2020181942A1 (en) Icon control method and terminal device
WO2021082711A1 (en) Image display method and electronic device
CN108762634B (en) Control method and terminal
WO2020151525A1 (en) Message sending method, and terminal device
WO2021036531A1 (en) Screenshot method and terminal device
WO2021004327A1 (en) Method for setting application permission, and terminal device
CN109032486B (en) Display control method and terminal equipment
WO2020192296A1 (en) Interface display method and terminal device
CN109857289B (en) Display control method and terminal equipment
WO2021104163A1 (en) Icon arrangement method and electronic device
WO2020192298A1 (en) Image processing method and terminal device
WO2021129536A1 (en) Icon moving method and electronic device
WO2021004407A1 (en) Screenshot method and terminal device
WO2020181954A1 (en) Application program control method and terminal device
WO2020155980A1 (en) Control method and terminal device
WO2020192297A1 (en) Screen interface switching method and terminal device
WO2021093766A1 (en) Message display method, and electronic apparatus
WO2021169885A1 (en) Display method and electronic device
WO2019184902A1 (en) Method for controlling icon display, and terminal
WO2020215982A1 (en) Desktop icon management method and terminal device
WO2020215950A1 (en) Interface display method and terminal device
WO2020168882A1 (en) Interface display method and terminal device
WO2020220893A1 (en) Screenshot method and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20776841

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20776841

Country of ref document: EP

Kind code of ref document: A1