WO2021239036A1 - Image processing method and apparatus, and electronic device - Google Patents

Image processing method and apparatus, and electronic device Download PDF

Info

Publication number
WO2021239036A1
WO2021239036A1 PCT/CN2021/096256 CN2021096256W WO2021239036A1 WO 2021239036 A1 WO2021239036 A1 WO 2021239036A1 CN 2021096256 W CN2021096256 W CN 2021096256W WO 2021239036 A1 WO2021239036 A1 WO 2021239036A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
target image
floating frame
target
image
Prior art date
Application number
PCT/CN2021/096256
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 WO2021239036A1 publication Critical patent/WO2021239036A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • This application belongs to the field of communication technology, and specifically relates to an image processing method, device, and electronic equipment.
  • the pictures are stored in the default albums of the mobile phone system.
  • the photographs obtained are stored in the camera album
  • the pictures obtained through screenshots are stored In the screenshot photo album, etc.
  • image processing such as changing, editing, or sending a picture
  • the purpose of the embodiments of the present application is to provide an image processing method, device, and electronic device, which can solve the problem of complicated operation process in image processing in the related art.
  • an image processing method including:
  • the target image is processed.
  • an image processing device including:
  • the first receiving module is used to receive the first input
  • the first response module is configured to obtain a target image in response to the first input, and display a floating frame, wherein the floating frame includes a thumbnail of the target image;
  • the second receiving module is configured to receive a second input to the floating frame
  • the second response module is configured to process the target image in response to the second input.
  • an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor.
  • the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the chip as in the first aspect The method described.
  • embodiments of the present application provide a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the computer program product described in the first aspect Method steps.
  • an embodiment of the present application provides an image processing device configured to execute the steps of the method described in the first aspect.
  • a first input is received; in response to the first input, a target image is acquired, and a floating frame is displayed, wherein the floating frame includes a thumbnail of the target image;
  • the second input in response to the second input, the target image is processed.
  • the target image can be associated with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed through the floating frame, which prevents the user from entering the album to find and select the image.
  • the defect of processing the selected image is realized, and the convenience of processing the target image is improved.
  • Fig. 1 is a flowchart of an image processing method provided by an embodiment of the present application
  • FIG. 2 is one of the application scene diagrams of an image processing method provided by an embodiment of the present application
  • FIG. 3 is the second application scene diagram of an image processing method provided by an embodiment of the present application.
  • FIG. 4 is the third application scene diagram of an image processing method provided by an embodiment of the present application.
  • FIG. 5 is the fourth application scene diagram of an image processing method provided by an embodiment of the present application.
  • Fig. 6 is a flowchart of another image processing method provided by an embodiment of the present application.
  • FIG. 7 is one of the structural diagrams of an image processing device provided by an embodiment of the present application.
  • FIG. 8 is a second structural diagram of an image processing device provided by an embodiment of the present application.
  • Fig. 9 is a structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1 is a flowchart of an image processing method provided by an embodiment of the present application. As shown in Figure 1, the image processing method may include the following steps:
  • Step 101 Receive a first input.
  • the above-mentioned first input may be an input received on a first interface, and the first interface may be a shooting interface, a picture downloading interface, a picture receiving interface, or any display interface, etc., and the above-mentioned first input is used to obtain The target image, specifically, when the first interface is a shooting interface, the first input is a photographing operation to obtain the target image through a camera, for example: clicking a camera button in the shooting interface;
  • the above-mentioned first input is an operation to store the target image in the picture download interface or the picture receiving interface, for example: long press to store the target image in the picture download interface or the picture receiving interface , And after the prompt box about whether to download the target image appears, click the download button; in addition, the above-mentioned first input can also be a screenshot operation of any display interface.
  • the above-mentioned first interface may be any interface that can obtain images, and the above-mentioned first input may include: one or more of click, long-press, double-press, and slide operations, which will not be detailed here. limited.
  • Step 102 In response to the first input, obtain a target image and display a floating frame, where the floating frame includes a thumbnail of the target image.
  • the target image may be one image or multiple images, and at least part of the thumbnail of the target image may be displayed in the floating frame.
  • the above floating frame is always displayed on the current display interface, and it can be displayed in a blank area of the current display interface.
  • the floating frame 23 is displayed in the shooting interface 21 without displaying the captured image. Area. In this way, the floating frame can be avoided to block the content displayed in the current display interface.
  • the content of the current display interface can be recognized to display the floating frame in the area with the least displayed content in the current display interface.
  • the floating frame can also be displayed in the historical blank area, which can display the area with the largest blank probability in the historical display record, for example: the upper left corner and the upper right corner of the display screen.
  • the floating frame is associated with the plurality of images, and at least part of one image or at least part of each image is displayed.
  • the target image 22 is captured in the shooting interface 21, the target image is associated with the floating frame 23, and at least part of the target image 22 is displayed in the floating frame 23.
  • the case where the target image 22 is multiple images may be that after the shooting interface 21 is opened, multiple images are taken continuously, or multiple images are taken through the shooting interface 21 within a preset time, then the multiple images are taken. The images are associated with the floating frame 23.
  • the target image after the target image is acquired, the target image can be stored in a temporary space, and the temporary storage space is associated with the floating frame, so that the target image in the temporary storage space can be displayed in the floating frame and displayed in the temporary storage space.
  • the target image in the temporary storage space can be called to process it according to the input operation.
  • the above-mentioned first input may include multiple input operations for acquiring images that are continuously performed or multiple input operations for acquiring images that are performed within a preset time period. Input operation.
  • the first input includes: turning on the camera to display the camera shooting interface, and clicking the shooting button multiple times in the camera shooting interface to capture multiple images, and then closing the camera or exiting the camera shooting interface.
  • the above-mentioned target image includes multiple images obtained between the operation of opening the camera and the operation of closing the camera.
  • multiple images captured in a single shooting process often have the same scene or the same user correlation.
  • multiple images captured in a single shooting process can be placed in a floating frame to facilitate comparison.
  • Related multiple images are processed uniformly.
  • the first input includes: multiple input operations performed within a preset time period for acquiring images,
  • the user performs multiple first input operations within 2 minutes to obtain multiple first images, and performs other input operations after 2 minutes to obtain a second image, then after obtaining multiple first images,
  • the floating frame includes multiple first images, but does not include the second image.
  • the first input includes: multiple images continuously acquired.
  • the user performs the first operation, the second operation, and the third operation in sequence, where the first operation is used to obtain the first image, the second operation is used to obtain the second image, and the third operation is used to obtain the third image, and
  • the time interval between the first operation and the second operation is less than 30 seconds, and the time interval between the second operation and the third operation is greater than or equal to 30 seconds, then the floating frame includes multiple first images and second images , Excluding the third image.
  • Step 103 Receive a second input to the floating frame.
  • the floating frame is displayed floating on the display interface, that is, the floating frame can still be displayed floating after the display interface is switched, then the above-mentioned second input may be an input operation received in the second interface, and the second interface may It is the same interface or a different interface from the first interface.
  • all the acquired target images may be acquired in accordance with the first interface in the interface where one or more target images are acquired. Two inputs are processed to avoid processing each target image separately.
  • the acquired target image can be stored, edited, transmitted, etc. in the application program interface in the second interface or in the desktop according to the second input. Therefore, in the process of processing the target image in the application program interface in the second interface or in the desktop, there is no need to search for and select the target image from the default storage location of the target image.
  • the above-mentioned second input may include any one or more of a touch input, a drag input, or a long-press input to the floating frame, which is not specifically limited herein.
  • Step 104 In response to the second input, process the target image.
  • the foregoing processing may be any of the processing of storage, editing, transmission, system setting, and deletion of the target image, which is not exhaustive here.
  • the target image is a plurality of images, the plurality of images are all processed.
  • the processing of the target image includes at least one of the following:
  • the target image is transmitted.
  • the system when the target image is acquired, the system stores the acquired target image in a preset album by default.
  • the target image needs to be processed, it is necessary to enter the gallery interface first and select the corresponding album. To find and select the target image in the album.
  • the second input can be input through the floating box to accurately store the target image in the target storage location, edit the target image, or transmit the target image, so as to prevent the user from unknowing the target storage
  • the user needs to change the storage location of the target image, he needs to enter the gallery interface first, and after selecting the corresponding album, search and select each image in the target image in the album, and Perform operations related to changing the storage location respectively.
  • the above-mentioned second input may be any input used to determine the target storage location, for example: Slide the floating frame to the target folder or target album.
  • the above-mentioned second input may also be the link address of the input target storage location, etc., which is not specifically limited here.
  • the second input may be any editing operation on the target image, such as editing the size, brightness, and Image parameters such as color tone, puzzles, graffiti, etc., are not exhaustive here.
  • the image editing interface can be triggered by long pressing the floating frame, sliding the floating frame to the image editing application, touching the editing controls on the floating frame, etc., and receiving the above-mentioned second input in the image editing interface.
  • the above-mentioned second input may be any input for determining a target object, and the target object may be a social network in a social application program.
  • Account number, cloud storage space, online sharing platform, etc., are not specifically limited here.
  • the receiving a second input to the floating frame includes:
  • the processing the target image in response to the second input includes:
  • the target image is stored in a target position, the target position being associated with an end position of the sliding input.
  • the above-mentioned second input may be a sliding input received on the second interface, and the end position of the sliding input may be the end position of the sliding input on the second interface.
  • the The second interface can be a gallery interface or a storage library interface, and the interface includes multiple display areas corresponding to the storage location one-to-one. When the floating frame slides to a certain display area, it is determined that the target storage location corresponds to the display area Storage location.
  • prompt information can also be output to prompt the user whether to confirm the storage of the target image in the target storage location, for example: output a prompt box, the prompt The box includes the prompt "Are you sure to store the image in a certain album". If the user clicks the "Yes” operation button, the above process of storing the target image in the target location will be executed; if the user clicks the "No" operation Button to cancel the above process of storing the target image in the target storage location.
  • the target image in the floating frame can be stored in the target storage location corresponding to the end position of the sliding operation through the sliding operation of the floating frame, which simplifies the complexity of the operation of storing the target image in the designated location.
  • the target storage location can also be determined according to the pressing force in the sliding track of the sliding input. Specifically: the storage location corresponding to the position with the greatest pressing force in the sliding track is determined as the target storage location, or The end position can also be determined according to the dwell time in the sliding trajectory. Specifically, it is determined that the storage location corresponding to the position in the sliding trajectory whose dwell time is longer than the preset time (for example: 2 seconds) is the target storage location.
  • the floating frame includes a target control
  • the target image includes N images, where N is an integer greater than 1
  • the receiving a second input to the floating frame includes:
  • the processing the target image in response to the second input includes:
  • editing processing is performed on the N images.
  • the above-mentioned editing process can be to adjust the parameters of the target image, such as: image size, brightness, color temperature, etc., in addition, it can also be to perform arbitrary processing such as filter processing, puzzles, graffiti, etc. on the target image.
  • the above-mentioned editing processing for the N images may be editing processing for all the N images, for example: in the case where the thumbnails of 4 images are displayed in the floating frame, if the editing processing For filter processing, filter processing is performed on the 4 images, and 4 filter processed images are generated.
  • the foregoing editing processing on the N images can also be the jigsaw puzzle of the N images into one image, etc., which is not specifically limited here.
  • the floating frame 23 includes: an image display control 231, a delete control 232, a storage control 233, and an edit control 234.
  • the image display control 231 displays at least part of the target image, and the touch image display
  • the control 231 can display the target image; the touch delete control 232 can delete a recently acquired image or delete all images in the target image.
  • This deletion can be understood as deleting in the floating frame, and after deleting the image in the floating frame, the image Can be stored in the default storage location; in one embodiment, the touch storage control 233 can open the gallery interface, and perform a second input in the interface, so as to achieve the goal of storing the target image in the floating box in the gallery Location; in another embodiment, the touch storage control 233 can store the target image in the system default preset storage location, for example: the target image obtained by shooting is stored in the camera album; in addition, in an embodiment , The touch editing control 234 can open the image editing interface, and perform a second input in the interface, so as to realize that the target image in the floating box is edited according to the second input; in another embodiment, touch The control editing control 234 can edit the target images in the floating frame according to the editing mode preset by the touch editing control 234. For example, if the floating frame includes 4 pictures, touch the editing control 234 to edit The 4 pictures are subjected to preset puzzle processing.
  • the operation process of uniformly editing a target image including a plurality of images can be simplified.
  • performing editing processing on the N images in this embodiment may include:
  • Editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
  • an input to the floating frame can also be received to perform further processing on the processed image.
  • the floating frame includes a thumbnail of the image processed by the filter, and when a sliding input to the floating frame is received, the floating frame is also
  • the image processed by the filter can be stored or transmitted according to the end position of the sliding input and the current display interface.
  • the receiving a second input to the floating frame includes:
  • the processing the target image in response to the second input includes:
  • the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
  • the aforementioned target transmission object may be any object that can transmit images, such as a social account, a conversation box, a cloud storage space, a shared social platform, etc., which is not specifically limited here.
  • the above-mentioned second input may be an input performed in a second interface.
  • the second interface may be a social application program interface.
  • the interface may include one or more transmission objects, and each transmission object is displayed on the social application program interface. When the end position of the sliding input is located in the display area of a certain transmission object, the transmission object is determined as the target transmission object.
  • the target image is transmitted to the target object corresponding to the end position of the sliding input, which simplifies the transmission of the target image to the target object. Operation process.
  • the processed image thumbnails can also be retained in the floating frame to facilitate subsequent processing of the processed image through the floating frame, for example: After the target image in is edited, the edited image is obtained. The edited image is still associated with the floating frame, so that when the user operates the floating frame to send the image, the edited image can be transmitted.
  • a first input is received; in response to the first input, a target image is acquired, and a floating frame is displayed, wherein the floating frame includes a thumbnail of the target image;
  • the second input in response to the second input, the target image is processed.
  • the target image can be associated with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed through the floating frame, which prevents the user from entering the album to find and select the image.
  • the defect of processing the selected image is realized, and the convenience of processing the target image is improved.
  • FIG. 6 is a flowchart of another image processing method provided by an embodiment of the present application. As shown in FIG. 6, the image method may include the following steps:
  • Step 601 Receive a first input on the first interface.
  • Step 602 In response to the first input, obtain a target image and display a floating frame, where the floating frame includes the target image.
  • Step 603 Receive a second input of the floating frame on the second interface.
  • Step 604 In response to the second input, process the target image.
  • Step 605 If the third input is not received within the preset time, or if the fourth input is received, perform at least one of the following: hide the floating frame; cancel the thumbnail of the target image in the floating frame Display.
  • the embodiment of the application can also associate the target image with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed in other interfaces, avoiding the user from entering the album to find and select
  • the defect of processing the selected image can be realized only after the image, which improves the convenience of processing the target image.
  • the difference between the image method shown in FIG. 6 and the image method shown in FIG. 1 is that after the target image is acquired in response to the first input, and the floating frame is displayed, the method further includes: The third input is not received within the preset time, or if the fourth input is received, at least one of the following is performed: hide the floating frame; cancel the display of the thumbnail of the target image in the floating frame.
  • the third input may be the same as the first input or the second input
  • the fourth input may be used to close the first interface or close the application corresponding to the first interface.
  • the first interface is used to obtain
  • the interface of the target image such as the shooting interface, the image downloading interface, etc., and the above-mentioned preset time can be determined according to the user's settings or factory settings, for example: it can be set to 2 minutes, 5 minutes, etc., which are not specifically limited here.
  • the floating frame may be displayed when the user inputs a fifth input for displaying the floating frame, and the floating frame still includes the target image.
  • the floating frame may be displayed when the user inputs a fifth input for displaying the floating frame, and the floating frame does not include an image.
  • the execution subject of the image processing method provided in the embodiments of the present application may be an image processing device, or a control module in the image processing device for executing the method of loading image processing.
  • the method of loading image processing performed by the image processing apparatus is taken as an example to illustrate the image processing method provided in the embodiment of the present application.
  • FIG. 7 is one of the structural diagrams of an image processing device provided by an embodiment of the present application.
  • the image processing device 700 includes:
  • the first receiving module 701 is configured to receive a first input
  • the first response module 702 is configured to obtain a target image in response to the first input, and display a floating frame, where the floating frame includes a thumbnail of the target image;
  • the second receiving module 703 is configured to receive a second input to the floating frame
  • the second response module 704 is configured to process the target image in response to the second input.
  • processing of the target image executed by the second response module 704 includes at least one of the following:
  • the target image is transmitted.
  • the second receiving module 703 is specifically configured to:
  • the second response module 704 is specifically used for:
  • the target image is stored in a target position, the target position being associated with an end position of the sliding input.
  • the floating frame includes a target control
  • the target image includes N images
  • the N is an integer greater than 1
  • the second receiving module 703 is specifically configured to:
  • the second response module 704 is specifically used for:
  • editing processing is performed on the N images.
  • the second response module 704 is specifically configured to:
  • editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
  • the second receiving module 703 is specifically configured to:
  • the second response module 704 is specifically used for:
  • the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
  • the apparatus 700 further includes:
  • the execution module 705 is configured to execute after obtaining the target image in response to the first input, and displaying the floating frame, if the third input is not received within a preset time, or if the fourth input is received At least one of the following:
  • the image processing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device can be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • Non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
  • the image processing device in the embodiment of the present application may be a 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 application.
  • the image processing device provided by the embodiment of the present application can implement the various processes implemented by the image processing device in the method embodiments of FIG. 1 to FIG.
  • the image processing device provided by the embodiment of the present application can associate a target image with a floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed in other interfaces, thereby preventing the user from entering the album Only after the image is searched and selected, can the defect of processing the selected image be realized, which improves the convenience of processing the target image, and has the same beneficial effects as the method embodiment of the present application, which will not be repeated here.
  • an embodiment of the present application further provides an electronic device, including a processor 910, a memory 909, a program or instruction that is stored in the memory 909 and can run on the processor 910, which When the program or instruction is executed by the processor 910, each process of the above-mentioned image processing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • the electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, etc. part.
  • the electronic device 900 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the processor 910 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions.
  • the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
  • the input unit 904 is configured to receive the first input
  • the processor 910 is configured to obtain a target image in response to the first input, and control the display unit 906 to display a floating frame, where the floating frame includes a thumbnail of the target image;
  • the input unit 904 is further configured to receive a second input to the floating frame
  • the processor 910 is further configured to process the target image in response to the second input.
  • the electronic device provided by the embodiment of the application can associate the target image with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed through the floating frame, which prevents the user from entering the album to search After the image is selected, the defect of processing the selected image can be realized, which improves the convenience of processing the target image, and has the same beneficial effects as the method embodiment of the present application, which will not be repeated here.
  • the processing of the target image executed by the processor 910 includes at least one of the following:
  • the target image is transmitted.
  • the embodiment of the present application can simplify the complexity of the operation of setting the storage location, editing, or transmission processing on the target image.
  • the receiving the second input to the floating frame performed by the input unit 904 includes:
  • the processing of the target image performed by the processor 910 in response to the second input includes:
  • the target image is stored in a target position, the target position being associated with an end position of the sliding input.
  • the user can store the target image in the floating frame in the target storage location by sliding the floating frame to the display area corresponding to the target storage location in the display interface, which simplifies the operation of determining the target storage location. process.
  • the floating frame includes a target control
  • the target image includes N images, where N is an integer greater than 1
  • the receiving of the second input to the floating frame performed by the input unit 904 includes:
  • the processing of the target image performed by the processor 910 in response to the second input includes:
  • editing processing is performed on the N images.
  • the target control is set on the floating frame, so that when the user touches the target control, the target image can be edited corresponding to the target control, thereby simplifying the operation process of editing the target image.
  • the editing processing on the N images executed by the processor 910 includes:
  • Editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
  • the receiving the second input to the floating frame performed by the input unit 904 includes:
  • the processing of the target image performed by the processor 910 in response to the second input includes:
  • the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
  • the user can transmit the target image in the floating frame to the target transmission object by sliding the floating frame to the display area corresponding to the target transmission object in the display interface, which simplifies the operation process of determining the target transmission object.
  • the processor 910 executes the acquisition of the target image in response to the first input, and controls the display unit 906 to display the floating frame, the processor 910 is further configured to:
  • the input unit 904 does not receive the third input within the preset time, or if the input unit 904 receives the fourth input, at least one of the following is performed:
  • the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042.
  • the graphics processor 9041 is paired by the image capture device ( For example, the image data of the still picture or video obtained by the camera) is processed.
  • the display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 907 includes a touch panel 9071 and other input devices 9072.
  • the touch panel 9071 is also called a touch screen.
  • the touch panel 9071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 9072 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 memory 909 may be used to store software programs and various data, including but not limited to application programs and operating systems.
  • the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
  • the embodiments of the present application also provide a readable storage medium with a program or instruction stored on the readable storage medium.
  • the program or instruction is executed by a processor, each process of the above-mentioned image processing method embodiment is realized, and the same can be achieved. In order to avoid repetition, I won’t repeat them here.
  • the processor is the processor in the electronic device described in the foregoing embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
  • An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the above-mentioned image processing method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled with the processor
  • the processor is used to run a program or an instruction to implement the above-mentioned image processing method embodiment
  • chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
  • 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. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing 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, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Abstract

Disclosed in the present application are an image processing method and apparatus, and an electronic device, which belong to the technical field of communications. The method comprises: receiving a first input; in response to the first input, acquiring a target image, and displaying a popup window, wherein the popup window comprises a thumbnail of the target image; receiving a second input for the popup window; and in response to the second input, processing the target image.

Description

图像处理方法、装置及电子设备Image processing method, device and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年5月28日在中国提交的中国专利申请号No.202010466231.7的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010466231.7 filed in China on May 28, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于通信技术领域,具体涉及一种图像处理方法、装置及电子设备。This application belongs to the field of communication technology, and specifically relates to an image processing method, device, and electronic equipment.
背景技术Background technique
随着移动通信技术的发展,图片作为一种信息载体,在手机上的应用越来越广泛。With the development of mobile communication technology, pictures, as a kind of information carrier, are used more and more widely on mobile phones.
在相关技术中,手机通过拍摄、下载以及截图等方式获取到图片后,将图片分别存储于手机系统默认设置的相册中,例如:拍摄得到的照片存储于相机相册中,通过截屏获取的图片存储于截屏相册中等。当需要对图片进行存储位置更换、编辑或者发送等图像处理时,需要从相应的存储位置选择待处理的图片,并对选择的图片分别执行存储位置更换、编辑或者发送等操作。In related technologies, after the mobile phone obtains pictures through shooting, downloading, and screenshots, the pictures are stored in the default albums of the mobile phone system. For example, the photographs obtained are stored in the camera album, and the pictures obtained through screenshots are stored In the screenshot photo album, etc. When you need to perform image processing such as changing, editing, or sending a picture, you need to select the picture to be processed from the corresponding storage position, and perform operations such as changing, editing, or sending the selected picture.
由上可知,相关技术中的对图像进行处理时存在操作过程复杂的缺陷。It can be seen from the above that there are defects in the related art that the operation process is complicated when processing images.
发明内容Summary of the invention
本申请实施例的目的是提供一种图像处理方法、装置及电子设备,能够解决相关技术中对图像进行处理时存在的操作过程复杂的问题。The purpose of the embodiments of the present application is to provide an image processing method, device, and electronic device, which can solve the problem of complicated operation process in image processing in the related art.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种图像处理方法,包括:In the first aspect, an embodiment of the present application provides an image processing method, including:
接收第一输入;Receive the first input;
响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;In response to the first input, acquiring a target image and displaying a floating frame, wherein the floating frame includes a thumbnail of the target image;
接收对所述悬浮框的第二输入;Receiving a second input to the floating frame;
响应于所述第二输入,对所述目标图像进行处理。In response to the second input, the target image is processed.
第二方面,本申请实施例还提供了一种图像处理装置,包括:In the second aspect, an embodiment of the present application also provides an image processing device, including:
第一接收模块,用于接收第一输入;The first receiving module is used to receive the first input;
第一响应模块,用于响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;The first response module is configured to obtain a target image in response to the first input, and display a floating frame, wherein the floating frame includes a thumbnail of the target image;
第二接收模块,用于接收对所述悬浮框的第二输入;The second receiving module is configured to receive a second input to the floating frame;
第二响应模块,用于响应于所述第二输入,对所述目标图像进行处理。The second response module is configured to process the target image in response to the second input.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor. The program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the chip as in the first aspect The method described.
第六方面,本申请实施例提供了一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, embodiments of the present application provide a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the computer program product described in the first aspect Method steps.
第七方面,本申请实施例提供了一种图像处理装置,所述装置被配置成执行如第一方面所述的方法的步骤。In a seventh aspect, an embodiment of the present application provides an image processing device configured to execute the steps of the method described in the first aspect.
在本申请实施例中,接收第一输入;响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;接收对所述悬浮框的第二输入;响应于所述第二输入,对所述目标图像进行处理。这样,可以将目标图像与悬浮框关联,从而实现在第一界面内获取到目标图像之后,通过悬浮框便捷的调用该目标图像并进行处理,避免了用户进入相册中查找并选中图像后,才能实现对选中的图像进行处理的缺陷,提升了处理目标图像的便捷程度。In the embodiment of the present application, a first input is received; in response to the first input, a target image is acquired, and a floating frame is displayed, wherein the floating frame includes a thumbnail of the target image; The second input; in response to the second input, the target image is processed. In this way, the target image can be associated with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed through the floating frame, which prevents the user from entering the album to find and select the image. The defect of processing the selected image is realized, and the convenience of processing the target image is improved.
附图说明Description of the drawings
图1是本申请实施例提供的一种图像处理方法的流程图;Fig. 1 is a flowchart of an image processing method provided by an embodiment of the present application;
图2是本申请实施例提供的一种图像处理方法的应用场景图之一;FIG. 2 is one of the application scene diagrams of an image processing method provided by an embodiment of the present application;
图3是本申请实施例提供的一种图像处理方法的应用场景图之二;FIG. 3 is the second application scene diagram of an image processing method provided by an embodiment of the present application;
图4是本申请实施例提供的一种图像处理方法的应用场景图之三;FIG. 4 is the third application scene diagram of an image processing method provided by an embodiment of the present application;
图5是本申请实施例提供的一种图像处理方法的应用场景图之四;FIG. 5 is the fourth application scene diagram of an image processing method provided by an embodiment of the present application;
图6是本申请实施例提供的另一种图像处理方法的流程图;Fig. 6 is a flowchart of another image processing method provided by an embodiment of the present application;
图7是本申请实施例提供的一种图像处理装置的结构图之一;FIG. 7 is one of the structural diagrams of an image processing device provided by an embodiment of the present application;
图8是本申请实施例提供的一种图像处理装置的结构图之二;FIG. 8 is a second structural diagram of an image processing device provided by an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的结构图。Fig. 9 is a structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first" and "second" in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in a sequence other than those illustrated or described herein. In addition, "and/or" in the description and claims means at least one of the connected objects, and the character "/" generally means that the associated objects before and after are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像处理方法进行详细地说明。The image processing method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios thereof.
请参阅图1,是本申请实施例提供的一种图像处理方法的流程图。如图1所示,该图像处理方法可以包括以下步骤:Please refer to FIG. 1, which is a flowchart of an image processing method provided by an embodiment of the present application. As shown in Figure 1, the image processing method may include the following steps:
步骤101、接收第一输入。Step 101: Receive a first input.
在具体实施中,上述第一输入可以是在第一界面上接收的输入,该第一界面可以是拍摄界面、图片下载界面、图片接收界面或者任意显示界面等, 且上述第一输入用于获取目标图像,具体地,在上述第一界面为拍摄界面的情况下,上述第一输入为拍照操作,以通过摄像头拍摄得到所述目标图像,例如:点击拍摄界面内的拍照按钮等;在上述第一界面为图片下载界面或者图片接收界面等情况下,上述第一输入为存储图片下载界面或者图片接收界面内的目标图像的操作,例如:长按存储图片下载界面或者图片接收界面内的目标图像,并在出现是否下载该目标图像的提示框后,点击下载按钮;另外,上述第一输入还可以是对任意显示界面的截屏操作。In a specific implementation, the above-mentioned first input may be an input received on a first interface, and the first interface may be a shooting interface, a picture downloading interface, a picture receiving interface, or any display interface, etc., and the above-mentioned first input is used to obtain The target image, specifically, when the first interface is a shooting interface, the first input is a photographing operation to obtain the target image through a camera, for example: clicking a camera button in the shooting interface; When the first interface is a picture download interface or a picture receiving interface, the above-mentioned first input is an operation to store the target image in the picture download interface or the picture receiving interface, for example: long press to store the target image in the picture download interface or the picture receiving interface , And after the prompt box about whether to download the target image appears, click the download button; in addition, the above-mentioned first input can also be a screenshot operation of any display interface.
当然,在具体实施中,上述第一界面可以是任意能够获取到图像的界面,且上述第一输入可以包括:点击、长按、重按、滑动操作中的一个或者多个,在此不作具体限定。Of course, in a specific implementation, the above-mentioned first interface may be any interface that can obtain images, and the above-mentioned first input may include: one or more of click, long-press, double-press, and slide operations, which will not be detailed here. limited.
步骤102、响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图。Step 102: In response to the first input, obtain a target image and display a floating frame, where the floating frame includes a thumbnail of the target image.
在具体实施中,上述目标图像可以是一个图像或者多个图像,且上述悬浮框中可以显示目标图像的缩略图的至少部分。在应用中,上述悬浮框始终悬浮显示与当前显示界面上,其具体可以显示于当前显示界面的空白区域,例如:如图2中所述,悬浮框23显示于拍摄界面21内未显示拍摄图像的区域。这样,可以避免悬浮框遮挡当前显示界面中显示的内容,在具体实施中,可以对当前显示界面的内容进行识别,以将所述悬浮框显示于当前显示界面中显示内容最少的区域,另外,还可以将所述悬浮框显示于历史空白区域,该历史空白区域可以历史显示记录中空白概率最大的区域,例如:显示屏的左上角、右上角等。In a specific implementation, the target image may be one image or multiple images, and at least part of the thumbnail of the target image may be displayed in the floating frame. In the application, the above floating frame is always displayed on the current display interface, and it can be displayed in a blank area of the current display interface. For example, as shown in FIG. 2, the floating frame 23 is displayed in the shooting interface 21 without displaying the captured image. Area. In this way, the floating frame can be avoided to block the content displayed in the current display interface. In specific implementation, the content of the current display interface can be recognized to display the floating frame in the area with the least displayed content in the current display interface. In addition, The floating frame can also be displayed in the historical blank area, which can display the area with the largest blank probability in the historical display record, for example: the upper left corner and the upper right corner of the display screen.
另外,在实际应用中,还可以对上述悬浮框输入其他操作,例如:删除悬浮框中的一个或者多个图像等在此不作具体限定。In addition, in actual applications, other operations can also be input to the above floating box, for example: deleting one or more images in the floating box, etc., which are not specifically limited here.
另外,在所述目标图像为多个图像的情况下,所述悬浮框与该多张图像关联,并且显示一张图像的至少部分或者显示每一图像的至少部分。In addition, when the target image is a plurality of images, the floating frame is associated with the plurality of images, and at least part of one image or at least part of each image is displayed.
例如,如图2中所示,在拍摄界面21内拍摄得到目标图像22,则将该目标图像与悬浮框23关联,且悬浮框23内显示目标图像22的至少部分。在本实施例中,目标图像22为多个图像的情况可以是,在打开拍摄界面21后,连续拍摄多张图像,或者在预设时间内通过拍摄界面21拍摄多张图像,则将 该多张图像与悬浮框23关联。For example, as shown in FIG. 2, if the target image 22 is captured in the shooting interface 21, the target image is associated with the floating frame 23, and at least part of the target image 22 is displayed in the floating frame 23. In this embodiment, the case where the target image 22 is multiple images may be that after the shooting interface 21 is opened, multiple images are taken continuously, or multiple images are taken through the shooting interface 21 within a preset time, then the multiple images are taken. The images are associated with the floating frame 23.
在具体实施中,在获取到目标图像后,可以将该目标图像存储于一个临时空间,且该临时存储空间与悬浮框关联,从而能够在悬浮框中显示临时存储空间中的目标图像,并在对悬浮框进行输入操作时,能够根据输入的操作调用临时存储空间中的目标图像,以对其进行处理。In a specific implementation, after the target image is acquired, the target image can be stored in a temporary space, and the temporary storage space is associated with the floating frame, so that the target image in the temporary storage space can be displayed in the floating frame and displayed in the temporary storage space. When an input operation is performed on the floating frame, the target image in the temporary storage space can be called to process it according to the input operation.
在应用中,在上述目标图像为多个图像的情况下,上述第一输入可以包括连续执行的用于获取图像的多个输入操作或者在预设时间段内执行的用于获取图像的多个输入操作。In the application, in the case where the above-mentioned target image is multiple images, the above-mentioned first input may include multiple input operations for acquiring images that are continuously performed or multiple input operations for acquiring images that are performed within a preset time period. Input operation.
在一种应用场景中,第一输入包括:打开相机,以显示相机拍摄界面,并在该相机拍摄界面内多次点击拍摄按钮,以拍摄得到多个图像,然后关闭相机或者退出相机拍摄界面,则上述目标图像包括打开相机操作和关闭相机操作之间获得的多张图像。In an application scenario, the first input includes: turning on the camera to display the camera shooting interface, and clicking the shooting button multiple times in the camera shooting interface to capture multiple images, and then closing the camera or exiting the camera shooting interface. Then the above-mentioned target image includes multiple images obtained between the operation of opening the camera and the operation of closing the camera.
在应用中,一次拍摄过程中拍摄的多张图像往往具有场景相同、或者用户相同等相关性,本实施方式中,可以将一次拍摄过程中获取的多张图像放置于悬浮框中,以方便对相关的多张图像进行统一处理。In applications, multiple images captured in a single shooting process often have the same scene or the same user correlation. In this embodiment, multiple images captured in a single shooting process can be placed in a floating frame to facilitate comparison. Related multiple images are processed uniformly.
在另一种应用场景中,第一输入包括:在预设时间段内执行的用于获取图像的多个输入操作,In another application scenario, the first input includes: multiple input operations performed within a preset time period for acquiring images,
例如:用户在2分钟内执行多个第一输入操作,以获取多个第一图像,并在2分钟后执行其他输入操作,以获取第二图像,则在获取到多个第一图像之后,悬浮框中包括多个第一图像,而不包括第二图像。For example: the user performs multiple first input operations within 2 minutes to obtain multiple first images, and performs other input operations after 2 minutes to obtain a second image, then after obtaining multiple first images, The floating frame includes multiple first images, but does not include the second image.
在另一种应用场景中,第一输入包括:连续获取的多张图像。In another application scenario, the first input includes: multiple images continuously acquired.
例如:用户依次执行第一操作、第二操作和第三操作,其中,第一操作用于获取第一图像、第二操作用于获取第二图像、第三操作用于获取第三图像,且第一操作与第二操作之间的时间间隔小于30秒,第二操作与第三操作之间的时间间隔大于或者等于30秒,则所述悬浮框中包括多个第一图像和第二图像,而不包括第三图像。For example: the user performs the first operation, the second operation, and the third operation in sequence, where the first operation is used to obtain the first image, the second operation is used to obtain the second image, and the third operation is used to obtain the third image, and The time interval between the first operation and the second operation is less than 30 seconds, and the time interval between the second operation and the third operation is greater than or equal to 30 seconds, then the floating frame includes multiple first images and second images , Excluding the third image.
步骤103、接收对所述悬浮框的第二输入。Step 103: Receive a second input to the floating frame.
在具体实施中,悬浮框在显示界面上悬浮显示,即在切换显示界面后仍然可以悬浮显示该悬浮框,则上述第二输入可以是在第二界面内接收的输入 操作,该第二界面可以与第一界面为相同界面或者不同界面,在所述第二界面与第一界面为相同界面的情况下,可以在获取到一个或者多个目标图像的界面内对获取到的全部目标图像按照第二输入进行处理,以避免对每一个目标图像分别进行处理。另外,在所述第二界面与第一界面为不同界面的情况下,可以将获取到的目标图像在第二界面内的应用程序界面内或者桌面内按照第二输入进行存储、编辑、传输等处理,从而需要在第二界面内的应用程序界面内或者桌面内对目标图像处理的过程中,无需从目标图像的默认存储位置查找并选择该目标图像。In a specific implementation, the floating frame is displayed floating on the display interface, that is, the floating frame can still be displayed floating after the display interface is switched, then the above-mentioned second input may be an input operation received in the second interface, and the second interface may It is the same interface or a different interface from the first interface. In the case where the second interface and the first interface are the same interface, all the acquired target images may be acquired in accordance with the first interface in the interface where one or more target images are acquired. Two inputs are processed to avoid processing each target image separately. In addition, in the case where the second interface and the first interface are different interfaces, the acquired target image can be stored, edited, transmitted, etc. in the application program interface in the second interface or in the desktop according to the second input. Therefore, in the process of processing the target image in the application program interface in the second interface or in the desktop, there is no need to search for and select the target image from the default storage location of the target image.
另外,在具体实施中,上述第二输入可以包括对悬浮框的触控输入、拖动输入或者长按输入中的任一种或者多种输入,在此不作具体限定。In addition, in a specific implementation, the above-mentioned second input may include any one or more of a touch input, a drag input, or a long-press input to the floating frame, which is not specifically limited herein.
步骤104、响应于所述第二输入,对所述目标图像进行处理。Step 104: In response to the second input, process the target image.
在具体实施中,上述处理可以是对目标图像的存储、编辑、传输、系统设置以及删除等处理中的任一项,在此并不穷举。并且,在所述目标图像为多个图像时,对该多个图像均进行处理。In a specific implementation, the foregoing processing may be any of the processing of storage, editing, transmission, system setting, and deletion of the target image, which is not exhaustive here. Moreover, when the target image is a plurality of images, the plurality of images are all processed.
作为一种可选的实施方式,所述对所述目标图像进行处理,包括以下至少一项:As an optional implementation manner, the processing of the target image includes at least one of the following:
将所述目标图像存储于目标存储位置;Storing the target image in a target storage location;
对所述目标图像进行编辑;Edit the target image;
传输所述目标图像。The target image is transmitted.
在相关技术中,当获取到目标图像后,系统默认将获取到的目标图形存储至预设的相册中,当需要对该目标图像进行处理时,需要先进入图库界面,并选择相应的相册后,在该相册内查找并选中目标图像。In related technologies, when the target image is acquired, the system stores the acquired target image in a preset album by default. When the target image needs to be processed, it is necessary to enter the gallery interface first and select the corresponding album. To find and select the target image in the album.
本实施方式中,可以通过悬浮框输入第二输入,以将所述目标图像准确的存储于目标存储位置、对所述目标图像进行编辑或者传输所述目标图像,从而避免用户在未知该目标存储位置的情况下,或者需要对所述目标图像进行编辑或者传输所述目标图像的情况下,需要先进入图库界面,并选择相应的相册后,在该相册内查找并选中目标图像。另外,在现有技术中,当用户需要更换目标图像的存储位置时,需要先进入图库界面,并选择相应的相册后,在该相册内分别查找并选中目标图像中的每一张图像,并分别执行更换 存储位置的相关操作。In this embodiment, the second input can be input through the floating box to accurately store the target image in the target storage location, edit the target image, or transmit the target image, so as to prevent the user from unknowing the target storage In the case of location, or in the case where the target image needs to be edited or the target image needs to be transmitted, it is necessary to enter the gallery interface first, and after selecting the corresponding album, search for and select the target image in the album. In addition, in the prior art, when the user needs to change the storage location of the target image, he needs to enter the gallery interface first, and after selecting the corresponding album, search and select each image in the target image in the album, and Perform operations related to changing the storage location respectively.
在具体实施中,在所述对所述目标图像进行处理,包括:将所述目标图像存储于目标存储位置的情况下,上述第二输入可以是用于确定目标存储位置的任意输入,例如:将悬浮框滑动至目标文件夹或者目标相册中。当然,在具体实施中,上述第二输入还可以是输入目标存储位置的链接地址等,在此不作具体限定。In a specific implementation, when the processing of the target image includes storing the target image in a target storage location, the above-mentioned second input may be any input used to determine the target storage location, for example: Slide the floating frame to the target folder or target album. Of course, in specific implementation, the above-mentioned second input may also be the link address of the input target storage location, etc., which is not specifically limited here.
另外,在所述对所述目标图像进行处理,包括:对所述目标图像进行编辑的情况下,上述第二输入可以是对目标图像的任意编辑操作,例如:编辑目标图像的尺寸、亮度、色调等图像参数、拼图、涂鸦等,在此并不穷举。具体地,可以通过长按悬浮框、将悬浮框滑动至图像编辑应用程序、触控悬浮框上具有的编辑控件等触发图像编辑界面,并在图像编辑界面内接收上述第二输入。In addition, in the case where the processing of the target image includes: editing the target image, the second input may be any editing operation on the target image, such as editing the size, brightness, and Image parameters such as color tone, puzzles, graffiti, etc., are not exhaustive here. Specifically, the image editing interface can be triggered by long pressing the floating frame, sliding the floating frame to the image editing application, touching the editing controls on the floating frame, etc., and receiving the above-mentioned second input in the image editing interface.
以及,在所述对所述目标图像进行处理,包括:传输所述目标图像的情况下,上述第二输入可以是用于确定目标对象的任意输入,该目标对象可以是社交应用程序中的社交账号,云端存储空间、线上分享平台等,在此并不具体限定。And, in the case where the processing of the target image includes: transmitting the target image, the above-mentioned second input may be any input for determining a target object, and the target object may be a social network in a social application program. Account number, cloud storage space, online sharing platform, etc., are not specifically limited here.
作为一种可选的实施方式,所述接收对所述悬浮框的第二输入,包括:As an optional implementation manner, the receiving a second input to the floating frame includes:
接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing the target image in response to the second input includes:
响应于所述滑动输入,将所述目标图像存储于目标位置,所述目标位置与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is stored in a target position, the target position being associated with an end position of the sliding input.
在具体实施中,上述第二输入可以是在第二界面上接收的滑动输入,则所述滑动输入的终点位置可以是该滑动输入在该第二界面上的终点位置,本实施方式中,该第二界面可以是图库界面或者存储库界面,且该界面中包括多个与存储位置一一对应的显示区域,当悬浮框滑动至某一显示区域时,确定目标存储位置为与该显示区域对应的存储位置。In a specific implementation, the above-mentioned second input may be a sliding input received on the second interface, and the end position of the sliding input may be the end position of the sliding input on the second interface. In this embodiment, the The second interface can be a gallery interface or a storage library interface, and the interface includes multiple display areas corresponding to the storage location one-to-one. When the floating frame slides to a certain display area, it is determined that the target storage location corresponds to the display area Storage location.
例如:如图3所示图库界面31中,将悬浮框32滑动至目标相册33所在的显示区域中,从而确定目标存储位置为该目标相册33。For example, in the gallery interface 31 as shown in FIG. 3, slide the floating frame 32 to the display area where the target album 33 is located, thereby determining that the target storage location is the target album 33.
另外,在获取所述滑动输入在所述第二界面上的终点位置之后,还可输 出提示信息,以提示用户是否确认将目标图像存储于所述目标存储位置,例如:输出提示框,该提示框包括提示语“是否确认将图像存储于某某相册中”,若用户点击“是”的操作按钮,则执行上述将所述目标图像存储于目标位置的过程;若用户点击“否”的操作按钮,则取消上述将所述目标图像存储于所述目标存储位置的过程。In addition, after acquiring the end position of the sliding input on the second interface, prompt information can also be output to prompt the user whether to confirm the storage of the target image in the target storage location, for example: output a prompt box, the prompt The box includes the prompt "Are you sure to store the image in a certain album". If the user clicks the "Yes" operation button, the above process of storing the target image in the target location will be executed; if the user clicks the "No" operation Button to cancel the above process of storing the target image in the target storage location.
本实施方式中,能够通过对悬浮框的滑动操作,实现将悬浮框中的目标图像存储于该滑动操作的终点位置对应的目标存储位置,简化了将目标图像存储于指定位置的操作复杂程度。In this embodiment, the target image in the floating frame can be stored in the target storage location corresponding to the end position of the sliding operation through the sliding operation of the floating frame, which simplifies the complexity of the operation of storing the target image in the designated location.
需要说明的是,在具体实施中,还可以根据滑动输入的滑动轨迹中的按压力度来确定目标存储位置,具体的:确定滑动轨迹中按压力度最大的位置对应的存储位置为目标存储位置,或者还可以根据滑动轨迹中的停留时间来确定终点位置,具体的:确定滑动轨迹中停留时间大于预设时间(例如:2秒)的位置对应的存储位置为目标存储位置。It should be noted that, in specific implementation, the target storage location can also be determined according to the pressing force in the sliding track of the sliding input. Specifically: the storage location corresponding to the position with the greatest pressing force in the sliding track is determined as the target storage location, or The end position can also be determined according to the dwell time in the sliding trajectory. Specifically, it is determined that the storage location corresponding to the position in the sliding trajectory whose dwell time is longer than the preset time (for example: 2 seconds) is the target storage location.
作为一种可选的实施方式,所述悬浮框包括目标控件,所述目标图像包括N个图像,所述N为大于1的整数,所述接收对所述悬浮框的第二输入,包括:As an optional implementation manner, the floating frame includes a target control, the target image includes N images, where N is an integer greater than 1, and the receiving a second input to the floating frame includes:
接收对所述目标控件的第二输入;Receiving a second input to the target control;
所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing the target image in response to the second input includes:
响应于所述第二输入,对所述N个图像进行编辑处理。In response to the second input, editing processing is performed on the N images.
在具体实施中,上述编辑处理可以是调整目标图像的参数,例如:图像尺寸、亮度、色温等,另外,还可以是对目标图像进行滤镜处理、拼图、涂鸦等任意处理,在此并不穷举。另外,上述对所述N个图像进行编辑处理可以是对所述N个图像均进行编辑处理,例如:在所述悬浮框中显示有4个图像的缩略图的情况下,若所述编辑处理为滤镜处理,则对该4个图像均进行滤镜处理,并生成4个滤镜处理后的图像。当然,上述对所述N个图像进行编辑处理还可以是将N个图像拼图成一张图像等,在此不作具体限定。In specific implementation, the above-mentioned editing process can be to adjust the parameters of the target image, such as: image size, brightness, color temperature, etc., in addition, it can also be to perform arbitrary processing such as filter processing, puzzles, graffiti, etc. on the target image. Exhaustive. In addition, the above-mentioned editing processing for the N images may be editing processing for all the N images, for example: in the case where the thumbnails of 4 images are displayed in the floating frame, if the editing processing For filter processing, filter processing is performed on the 4 images, and 4 filter processed images are generated. Of course, the foregoing editing processing on the N images can also be the jigsaw puzzle of the N images into one image, etc., which is not specifically limited here.
具体地,如图2所示,悬浮框23包括:图像显示控件231、删除控件232、存储控件233以及编辑控件234,其中,图像显示控件231中显示有目标图像的至少部分,触控图像显示控件231可以显示目标图像;触控删除控件232 可以删除目标图像中最近获取到的一个图像或者删除全部图像,该删除可以理解为在悬浮框中删除,并且在悬浮框中删除图像后,该图像可以存储于默认的存储位置;在一种实施方式中,触控存储控件233可以打开图库界面,并在该界面内执行第二输入,从而实现将悬浮框中的目标图像存储于图库中的目标位置;在另一种实施方式中,触控存储控件233可以将目标图像存储于系统默认的预设存储位置,例如:将拍摄得到的目标图像存储于相机相册中;另外,在一种实施方式中,触控编辑控件234可以打开图像编辑界面,并在该界面内执行第二输入,从而实现将悬浮框中的目标图像均按照第二输入进行图像编辑;在另一种实施方式中,触控编辑控件234可以将悬浮框中的目标图像均按照该触控编辑控件234预设的编辑方式进行图像编辑,例如:悬浮框中包括4张图片的情况下,触控编辑控件234,则将该4张图片进行预设的拼图处理。Specifically, as shown in FIG. 2, the floating frame 23 includes: an image display control 231, a delete control 232, a storage control 233, and an edit control 234. The image display control 231 displays at least part of the target image, and the touch image display The control 231 can display the target image; the touch delete control 232 can delete a recently acquired image or delete all images in the target image. This deletion can be understood as deleting in the floating frame, and after deleting the image in the floating frame, the image Can be stored in the default storage location; in one embodiment, the touch storage control 233 can open the gallery interface, and perform a second input in the interface, so as to achieve the goal of storing the target image in the floating box in the gallery Location; in another embodiment, the touch storage control 233 can store the target image in the system default preset storage location, for example: the target image obtained by shooting is stored in the camera album; in addition, in an embodiment , The touch editing control 234 can open the image editing interface, and perform a second input in the interface, so as to realize that the target image in the floating box is edited according to the second input; in another embodiment, touch The control editing control 234 can edit the target images in the floating frame according to the editing mode preset by the touch editing control 234. For example, if the floating frame includes 4 pictures, touch the editing control 234 to edit The 4 pictures are subjected to preset puzzle processing.
本实施方式中,可以简化对包括多个图像的目标图像进行统一编辑处理的操作过程。In this embodiment, the operation process of uniformly editing a target image including a plurality of images can be simplified.
进一步地,本实施方式中的对所述N个图像进行编辑处理,可以包括:Further, performing editing processing on the N images in this embodiment may include:
对所述N个图像进行编辑处理,并生成处理后的图像,所述悬浮框包括所述处理后的图像的缩略图。Editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
在具体实施中,在悬浮框包括所述处理后的图像的缩略图之后,还可以接收对悬浮框的输入,以对所述处理后的图像进行进一步的处理。In a specific implementation, after the floating frame includes the thumbnail of the processed image, an input to the floating frame can also be received to perform further processing on the processed image.
例如:在所述编辑处理为添加滤镜效果的编辑处理的情况下,所述悬浮框包括滤镜处理后的图像的缩略图,并在接收到对该悬浮框的滑动输入的情况下,还可以根据该滑动输入的终点位置和当前的显示界面,对该滤镜处理后的图像进行存储或者传输等操作。For example: in the case where the editing process is an editing process for adding a filter effect, the floating frame includes a thumbnail of the image processed by the filter, and when a sliding input to the floating frame is received, the floating frame is also The image processed by the filter can be stored or transmitted according to the end position of the sliding input and the current display interface.
作为一种可选的实施方式,所述接收对所述悬浮框的第二输入,包括:As an optional implementation manner, the receiving a second input to the floating frame includes:
接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing the target image in response to the second input includes:
响应于所述滑动输入,将所述目标图像发送至目标传输对象,所述目标传输对象与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
在具体实施中,上述目标传输对象可以是社交账号、会话框、云端存储 空间、共享社交平台等任意可传输图像的对象,在此不作具体限定。In a specific implementation, the aforementioned target transmission object may be any object that can transmit images, such as a social account, a conversation box, a cloud storage space, a shared social platform, etc., which is not specifically limited here.
另外,上述第二输入可以是在第二界面内执行的输入,该第二界面可以是社交应用程序界面,该界面内可以包括一个或者多个传输对象,每一传输对象显示于社交应用程序界面中的不同区域,当滑动输入的终点位置位于某一传输对象的显示区域内的情况下,将该传输对象确定为目标传输对象。In addition, the above-mentioned second input may be an input performed in a second interface. The second interface may be a social application program interface. The interface may include one or more transmission objects, and each transmission object is displayed on the social application program interface. When the end position of the sliding input is located in the display area of a certain transmission object, the transmission object is determined as the target transmission object.
例如:如图4所示,在社交应用程序界面41中,将悬浮框42滑动至目标会话43所在的显示区域,则确定目标对象为目标会话43,从而实现将悬浮框42中的目标图像发送至该目标会话43中。再例如:如图5所示,在线上分享平台界面51中,将悬浮框52滑动至分享控件53所在的显示区域,则确定目标对象为分享控件53对应的分享平台,从而实现将悬浮框42中的目标图像分享至分享控件53对应的分享平台中。For example: as shown in Figure 4, in the social application interface 41, sliding the floating frame 42 to the display area where the target conversation 43 is located, then the target object is determined to be the target conversation 43, so that the target image in the floating frame 42 is sent To the target conversation 43. For another example: as shown in FIG. 5, in the online sharing platform interface 51, sliding the floating frame 52 to the display area where the sharing control 53 is located, then the target object is determined to be the sharing platform corresponding to the sharing control 53, so as to realize the floating frame 42 The target image in is shared to the sharing platform corresponding to the sharing control 53.
本实施方式中,通过将目标图像与悬浮框关联,并根据针对悬浮框的滑动操作,将目标图像传输至滑动输入的终点位置对应的目标对象,简化了将所述目标图像传输至目标对象的操作过程。In this embodiment, by associating the target image with the floating frame, and according to the sliding operation for the floating frame, the target image is transmitted to the target object corresponding to the end position of the sliding input, which simplifies the transmission of the target image to the target object. Operation process.
需要说明的是,在步骤104之后,还可以在悬浮框中保留处理后的图像的缩略图,以方便通过悬浮框对该处理后的图像进行后续处理,例如:在通过第二输入对悬浮框中的目标图像进行编辑处理后,得出编辑后的图像,该编辑后的图像仍然与悬浮框关联,从而在用户操作悬浮框发送图像时,可以对编辑后的图像进行传输。It should be noted that after step 104, the processed image thumbnails can also be retained in the floating frame to facilitate subsequent processing of the processed image through the floating frame, for example: After the target image in is edited, the edited image is obtained. The edited image is still associated with the floating frame, so that when the user operates the floating frame to send the image, the edited image can be transmitted.
在本申请实施例中,接收第一输入;响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;接收对所述悬浮框的第二输入;响应于所述第二输入,对所述目标图像进行处理。这样,可以将目标图像与悬浮框关联,从而实现在第一界面内获取到目标图像之后,通过悬浮框便捷的调用该目标图像并进行处理,避免了用户进入相册中查找并选中图像后,才能实现对选中的图像进行处理的缺陷,提升了处理目标图像的便捷程度。In the embodiment of the present application, a first input is received; in response to the first input, a target image is acquired, and a floating frame is displayed, wherein the floating frame includes a thumbnail of the target image; The second input; in response to the second input, the target image is processed. In this way, the target image can be associated with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed through the floating frame, which prevents the user from entering the album to find and select the image. The defect of processing the selected image is realized, and the convenience of processing the target image is improved.
请参阅图6,是本申请实施例提供的另一种图像处理方法的流程图,如图6所示图像方法可以包括以下步骤:Please refer to FIG. 6, which is a flowchart of another image processing method provided by an embodiment of the present application. As shown in FIG. 6, the image method may include the following steps:
步骤601、在第一界面接收第一输入。Step 601: Receive a first input on the first interface.
步骤602、响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像。Step 602: In response to the first input, obtain a target image and display a floating frame, where the floating frame includes the target image.
步骤603、在第二界面接收对所述悬浮框的第二输入。Step 603: Receive a second input of the floating frame on the second interface.
步骤604、响应于所述第二输入,对所述目标图像进行处理。Step 604: In response to the second input, process the target image.
步骤605、若在预设时间内未接收到第三输入,或者若接收到第四输入,则执行以下至少一项:隐藏所述悬浮框;取消对所述悬浮框中的目标图像的缩略图的显示。Step 605: If the third input is not received within the preset time, or if the fourth input is received, perform at least one of the following: hide the floating frame; cancel the thumbnail of the target image in the floating frame Display.
本申请实施例同样能够将目标图像与悬浮框关联,从而实现在第一界面内获取到目标图像之后,便捷的在其他界面内调用该目标图像并进行处理,避免了用户进入相册中查找并选中图像后,才能实现对选中的图像进行处理的缺陷,提升了处理目标图像的便捷程度。如图6所示图像方法与如图1所示图像方法的不同之处在于:在所述响应于所述第一输入,获取目标图像,并显示悬浮框之后,所述方法还包括:若在预设时间内未接收到第三输入,或者若接收到第四输入,则执行以下至少一项:隐藏所述悬浮框;取消对所述悬浮框中的目标图像的缩略图的显示。The embodiment of the application can also associate the target image with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed in other interfaces, avoiding the user from entering the album to find and select The defect of processing the selected image can be realized only after the image, which improves the convenience of processing the target image. The difference between the image method shown in FIG. 6 and the image method shown in FIG. 1 is that after the target image is acquired in response to the first input, and the floating frame is displayed, the method further includes: The third input is not received within the preset time, or if the fourth input is received, at least one of the following is performed: hide the floating frame; cancel the display of the thumbnail of the target image in the floating frame.
在具体实施中,上述第三输入可以与上述第一输入或者第二输入相同,上述第四输入可以用于关闭第一界面或者关闭第一界面对应的应用程序,该第一界面为用于获取目标图像的界面,例如:拍摄界面、图像下载界面等,且上述预设时间可以根据用户的设置或者出厂设置而确定,例如:可以设置为2分钟、5分钟等,在此不作具体限定。In a specific implementation, the third input may be the same as the first input or the second input, and the fourth input may be used to close the first interface or close the application corresponding to the first interface. The first interface is used to obtain The interface of the target image, such as the shooting interface, the image downloading interface, etc., and the above-mentioned preset time can be determined according to the user's settings or factory settings, for example: it can be set to 2 minutes, 5 minutes, etc., which are not specifically limited here.
其中,上述隐藏所述悬浮框之后,还可以在用户输入用于显示所述悬浮框的第五输入的情况下,显示所述悬浮框,且该悬浮框仍然包括所述目标图像。Wherein, after the above-mentioned hiding the floating frame, the floating frame may be displayed when the user inputs a fifth input for displaying the floating frame, and the floating frame still includes the target image.
另外,在上述清除所述悬浮框中的目标图像之后,还可以在用户输入用于显示所述悬浮框的第五输入的情况下,显示所述悬浮框,且该悬浮框中不包括图像。In addition, after the target image in the floating frame is cleared, the floating frame may be displayed when the user inputs a fifth input for displaying the floating frame, and the floating frame does not include an image.
本实施方式中,能够在显示悬浮框之后,若在较长时间内不再获取图像、或者未对获取的目标图像进行操作,或者终止获取目标图像的过程的情况下隐藏所述悬浮框和/或取消对所述悬浮框中的目标图像的缩略图的显示,避免 悬浮框长期显示而遮挡显示内容,或者避免悬浮框中的目标图像长期占用资源,在清除所述悬浮框中的目标图像之后,还能够为下一次获取目标图像和对获取的目标图像进行处理作初始化配置的作用,避免很久以前获取的目标图像与近期获取的目标图像混淆。In this embodiment, after displaying the floating frame, the floating frame and/ Or cancel the display of the thumbnail of the target image in the floating frame to avoid long-term display of the floating frame and block the display content, or avoid the target image in the floating frame from occupying resources for a long time, after clearing the target image in the floating frame , It can also be used as the initial configuration for the next acquisition of the target image and the processing of the acquired target image, avoiding the confusion between the target image acquired a long time ago and the target image acquired recently.
需要说明的是,本申请实施例提供的图像处理方法,执行主体可以为图像处理装置,或者该图像处理装置中的用于执行加载图像处理的方法的控制模块。本申请实施例中以图像处理装置执行加载图像处理的方法为例,说明本申请实施例提供的图像处理的方法。It should be noted that the execution subject of the image processing method provided in the embodiments of the present application may be an image processing device, or a control module in the image processing device for executing the method of loading image processing. In the embodiment of the present application, the method of loading image processing performed by the image processing apparatus is taken as an example to illustrate the image processing method provided in the embodiment of the present application.
请参阅图7,是本申请实施例提供的一种图像处理装置的结构图之一,如图7所示,该图像处理装置700包括:Please refer to FIG. 7, which is one of the structural diagrams of an image processing device provided by an embodiment of the present application. As shown in FIG. 7, the image processing device 700 includes:
第一接收模块701,用于接收第一输入;The first receiving module 701 is configured to receive a first input;
第一响应模块702,用于响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;The first response module 702 is configured to obtain a target image in response to the first input, and display a floating frame, where the floating frame includes a thumbnail of the target image;
第二接收模块703,用于接收对所述悬浮框的第二输入;The second receiving module 703 is configured to receive a second input to the floating frame;
第二响应模块704,用于响应于所述第二输入,对所述目标图像进行处理。The second response module 704 is configured to process the target image in response to the second input.
可选地,第二响应模块704执行的对所述目标图像进行处理,包括以下至少一项:Optionally, the processing of the target image executed by the second response module 704 includes at least one of the following:
将所述目标图像存储于目标存储位置;Storing the target image in a target storage location;
对所述目标图像进行编辑;Edit the target image;
传输所述目标图像。The target image is transmitted.
可选地,第二接收模块703,具体用于:Optionally, the second receiving module 703 is specifically configured to:
接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
第二响应模块704,具体用于:The second response module 704 is specifically used for:
响应于所述滑动输入,将所述目标图像存储于目标位置,所述目标位置与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is stored in a target position, the target position being associated with an end position of the sliding input.
可选地,所述悬浮框包括目标控件,所述目标图像包括N个图像,所述N为大于1的整数,Optionally, the floating frame includes a target control, the target image includes N images, and the N is an integer greater than 1,
第二接收模块703,具体用于:The second receiving module 703 is specifically configured to:
接收对所述目标控件的第二输入;Receiving a second input to the target control;
第二响应模块704,具体用于:The second response module 704 is specifically used for:
响应于所述第二输入,对所述N个图像进行编辑处理。In response to the second input, editing processing is performed on the N images.
进一步地,第二响应模块704,具体用于:Further, the second response module 704 is specifically configured to:
响应于所述第二输入,对所述N个图像进行编辑处理,并生成处理后的图像,所述悬浮框包括所述处理后的图像的缩略图。In response to the second input, editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
可选地,第二接收模块703,具体用于:Optionally, the second receiving module 703 is specifically configured to:
接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
第二响应模块704,具体用于:The second response module 704 is specifically used for:
响应于所述滑动输入,将所述目标图像发送至目标传输对象,所述目标传输对象与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
可选地,如图8所示,装置700还包括:Optionally, as shown in FIG. 8, the apparatus 700 further includes:
执行模块705,用于在所述响应于所述第一输入,获取目标图像,并显示悬浮框之后,若在预设时间内未接收到第三输入,或者若接收到第四输入,则执行以下至少一项:The execution module 705 is configured to execute after obtaining the target image in response to the first input, and displaying the floating frame, if the third input is not received within a preset time, or if the fourth input is received At least one of the following:
隐藏所述悬浮框;Hide the floating frame;
取消对所述悬浮框中的目标图像的缩略图的显示。Cancel the display of the thumbnail of the target image in the floating frame.
本申请实施例中的图像处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image processing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc. Non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
本申请实施例中的图像处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The image processing device in the embodiment of the present application may be a 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 application.
本申请实施例提供的图像处理装置能够实现图1至图6的方法实施例中 图像处理装置实现的各个过程,为避免重复,这里不再赘述。The image processing device provided by the embodiment of the present application can implement the various processes implemented by the image processing device in the method embodiments of FIG. 1 to FIG.
本申请实施例提供的图像处理装置能够将目标图像与悬浮框关联,从而实现在第一界面内获取到目标图像之后,便捷的在其他界面内调用该目标图像并进行处理,避免了用户进入相册中查找并选中图像后,才能实现对选中的图像进行处理的缺陷,提升了处理目标图像的便捷程度,且具有本申请方法实施例相同的有益效果,在此不再赘述。The image processing device provided by the embodiment of the present application can associate a target image with a floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed in other interfaces, thereby preventing the user from entering the album Only after the image is searched and selected, can the defect of processing the selected image be realized, which improves the convenience of processing the target image, and has the same beneficial effects as the method embodiment of the present application, which will not be repeated here.
可选地,如图9所示,本申请实施例还提供一种电子设备,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的程序或指令,该程序或指令被处理器910执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 9, an embodiment of the present application further provides an electronic device, including a processor 910, a memory 909, a program or instruction that is stored in the memory 909 and can run on the processor 910, which When the program or instruction is executed by the processor 910, each process of the above-mentioned image processing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图9为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、以及处理器910等部件。The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, etc. part.
本领域技术人员可以理解,电子设备900还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 900 may also include a power source (such as a battery) for supplying power to various components. The power source may be logically connected to the processor 910 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions. The structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
其中,输入单元904,用于接收第一输入;Wherein, the input unit 904 is configured to receive the first input;
处理器910,用于响应于所述第一输入,获取目标图像,并控制显示单元906显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;The processor 910 is configured to obtain a target image in response to the first input, and control the display unit 906 to display a floating frame, where the floating frame includes a thumbnail of the target image;
输入单元904,还用于接收对所述悬浮框的第二输入;The input unit 904 is further configured to receive a second input to the floating frame;
处理器910,还用于响应于所述第二输入,对所述目标图像进行处理。The processor 910 is further configured to process the target image in response to the second input.
本申请实施例提供的电子设备能够将目标图像与悬浮框关联,从而实现在第一界面内获取到目标图像之后,通过悬浮框便捷的调用该目标图像并进行处理,避免了用户进入相册中查找并选中图像后,才能实现对选中的图像 进行处理的缺陷,提升了处理目标图像的便捷程度,且具有本申请方法实施例相同的有益效果,在此不再赘述。The electronic device provided by the embodiment of the application can associate the target image with the floating frame, so that after the target image is acquired in the first interface, the target image can be conveniently called and processed through the floating frame, which prevents the user from entering the album to search After the image is selected, the defect of processing the selected image can be realized, which improves the convenience of processing the target image, and has the same beneficial effects as the method embodiment of the present application, which will not be repeated here.
可选地,处理器910执行的所述对所述目标图像进行处理,包括以下至少一项:Optionally, the processing of the target image executed by the processor 910 includes at least one of the following:
将所述目标图像存储于目标存储位置;Storing the target image in a target storage location;
对所述目标图像进行编辑;Edit the target image;
传输所述目标图像。The target image is transmitted.
本实施方式中,能够对悬浮框中的目标图像进行设置存储位置、编辑或者传输处理,避免在对图像进行设置存储位置、编辑或者传输处理的过程中需要打开图库并在对应的相册中一一选择各图像,并分别进行设置存储位置、编辑或者传输处理,因此,本申请实施例能够简化对目标图像进行设置存储位置、编辑或者传输处理的操作复杂程度。In this embodiment, it is possible to set the storage location, edit or transfer the target image in the floating frame, so as to avoid the need to open the gallery during the process of setting the storage location, edit or transfer the image and display it in the corresponding album one by one. Each image is selected, and the storage location setting, editing, or transmission processing is performed respectively. Therefore, the embodiment of the present application can simplify the complexity of the operation of setting the storage location, editing, or transmission processing on the target image.
可选地,输入单元904执行的所述接收对所述悬浮框的第二输入,包括:Optionally, the receiving the second input to the floating frame performed by the input unit 904 includes:
接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
处理器910执行的所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing of the target image performed by the processor 910 in response to the second input includes:
响应于所述滑动输入,将所述目标图像存储于目标位置,所述目标位置与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is stored in a target position, the target position being associated with an end position of the sliding input.
本实施方式中,用户通过将悬浮框滑动至显示界面中目标存储位置对应的显示区域内,便可以实现将悬浮框中的目标图像储于所述目标存储位置,简化了确定目标存储位置的操作过程。In this embodiment, the user can store the target image in the floating frame in the target storage location by sliding the floating frame to the display area corresponding to the target storage location in the display interface, which simplifies the operation of determining the target storage location. process.
可选地,所述悬浮框包括目标控件,所述目标图像包括N个图像,所述N为大于1的整数,输入单元904执行的所述接收对所述悬浮框的第二输入,包括:Optionally, the floating frame includes a target control, the target image includes N images, where N is an integer greater than 1, and the receiving of the second input to the floating frame performed by the input unit 904 includes:
接收对所述目标控件的第二输入;Receiving a second input to the target control;
处理器910执行的所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing of the target image performed by the processor 910 in response to the second input includes:
响应于所述第二输入,对所述N个图像进行编辑处理。In response to the second input, editing processing is performed on the N images.
本实施方式中,在悬浮框上设置目标控件,从而在用户触控目标控件时, 便能够对目标图像进行目标控件对应的编辑处理,从而简化了编辑目标图像的操作过程。In this embodiment, the target control is set on the floating frame, so that when the user touches the target control, the target image can be edited corresponding to the target control, thereby simplifying the operation process of editing the target image.
进一步地,处理器910执行的所述对所述N个图像进行编辑处理,包括:Further, the editing processing on the N images executed by the processor 910 includes:
对所述N个图像进行编辑处理,并生成处理后的图像,所述悬浮框包括所述处理后的图像的缩略图。Editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
可选地,输入单元904执行的所述接收对所述悬浮框的第二输入,包括:Optionally, the receiving the second input to the floating frame performed by the input unit 904 includes:
接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
处理器910执行的所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing of the target image performed by the processor 910 in response to the second input includes:
响应于所述滑动输入,将所述目标图像发送至目标传输对象,所述目标传输对象与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
本实施方式中,用户通过将悬浮框滑动至显示界面中目标传输对象对应的显示区域内,便可以实现将悬浮框中的目标图像传输至目标传输对象,简化了确定目标传输对象的操作过程。In this embodiment, the user can transmit the target image in the floating frame to the target transmission object by sliding the floating frame to the display area corresponding to the target transmission object in the display interface, which simplifies the operation process of determining the target transmission object.
可选地,在处理器910执行所述响应于所述第一输入,获取目标图像,并控制显示单元906显示悬浮框之后,处理器910还用于:Optionally, after the processor 910 executes the acquisition of the target image in response to the first input, and controls the display unit 906 to display the floating frame, the processor 910 is further configured to:
若输入单元904在预设时间内未接收到第三输入,或者若输入单元904接收到第四输入,则执行以下至少一项:If the input unit 904 does not receive the third input within the preset time, or if the input unit 904 receives the fourth input, at least one of the following is performed:
控制显示单元906隐藏所述悬浮框;Controlling the display unit 906 to hide the floating frame;
取消对所述悬浮框中的目标图像的缩略图的显示。Cancel the display of the thumbnail of the target image in the floating frame.
本实施方式中,能够在用户间隔较长时间未对悬浮框进行操作或者退出第一界面时,执行清除所述悬浮框中的目标图像和取消对所述悬浮框中的目标图像的缩略图的显示中的至少一项,避免悬浮框长时间显示而遮挡显示内容,且在清除所述悬浮框中的目标图像后,便于下一次获取图像时,在悬浮框中仅包括新获取的图像,从而避免了新获取图像与历史图像混淆。In this embodiment, when the user does not operate the floating frame for a long time or exits the first interface, it is possible to perform clearing the target image in the floating frame and canceling the thumbnail of the target image in the floating frame. At least one item in the display, to prevent the floating frame from being displayed for a long time and blocking the display content, and after the target image in the floating frame is cleared, it is convenient for the next image acquisition to include only the newly acquired image in the floating frame, thereby Avoid confusion between newly acquired images and historical images.
应理解的是,本申请实施例中,输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元906可包括显示面板9061,可以 采用液晶显示器、有机发光二极管等形式来配置显示面板9061。用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器909可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。It should be understood that, in this embodiment of the application, the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042. The graphics processor 9041 is paired by the image capture device ( For example, the image data of the still picture or video obtained by the camera) is processed. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 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 memory 909 may be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application also provide a readable storage medium with a program or instruction stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above-mentioned image processing method embodiment is realized, and the same can be achieved. In order to avoid repetition, I won’t repeat them here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the above-mentioned image processing method embodiment Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还 可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that in this article, the terms "including", "including" 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 that are 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. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. The functions are performed, for example, the described method may be performed in an order different from the described order, and various steps may also be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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 this application essentially or the part that contributes to the existing 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, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above with reference to the accompanying drawings, but the present application 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 this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can be made, all of which fall within the protection of this application.

Claims (19)

  1. 一种图像处理方法,包括:An image processing method, including:
    接收第一输入;Receive the first input;
    响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;In response to the first input, acquiring a target image and displaying a floating frame, wherein the floating frame includes a thumbnail of the target image;
    接收对所述悬浮框的第二输入;Receiving a second input to the floating frame;
    响应于所述第二输入,对所述目标图像进行处理。In response to the second input, the target image is processed.
  2. 根据权利要求1所述方法,其中,所述对所述目标图像进行处理,包括以下至少一项:The method according to claim 1, wherein said processing said target image includes at least one of the following:
    将所述目标图像存储于目标存储位置;Storing the target image in a target storage location;
    对所述目标图像进行编辑;Edit the target image;
    传输所述目标图像。The target image is transmitted.
  3. 根据权利要求1所述方法,其中,所述接收对所述悬浮框的第二输入,包括:The method according to claim 1, wherein said receiving a second input to said floating frame comprises:
    接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
    所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing the target image in response to the second input includes:
    响应于所述滑动输入,将所述目标图像存储于目标位置,所述目标位置与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is stored in a target position, the target position being associated with an end position of the sliding input.
  4. 根据权利要求1所述方法,其中,所述悬浮框包括目标控件,所述目标图像包括N个图像,所述N为大于1的整数,所述接收对所述悬浮框的第二输入,包括:The method according to claim 1, wherein the floating frame includes a target control, the target image includes N images, and the N is an integer greater than 1, and the receiving a second input to the floating frame includes :
    接收对所述目标控件的第二输入;Receiving a second input to the target control;
    所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing the target image in response to the second input includes:
    响应于所述第二输入,对所述N个图像进行编辑处理。In response to the second input, editing processing is performed on the N images.
  5. 根据权利要求4所述的方法,其中,所述对所述N个图像进行编辑处理,包括:The method according to claim 4, wherein said editing the N images comprises:
    对所述N个图像进行编辑处理,并生成处理后的图像,所述悬浮框包括所述处理后的图像的缩略图。Editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
  6. 根据权利要求1所述方法,其中,所述接收对所述悬浮框的第二输入,包括:The method according to claim 1, wherein said receiving a second input to said floating frame comprises:
    接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
    所述响应于所述第二输入,对所述目标图像进行处理,包括:The processing the target image in response to the second input includes:
    响应于所述滑动输入,将所述目标图像发送至目标传输对象,所述目标传输对象与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
  7. 根据权利要求1至6中任一项所述方法,其中,在所述响应于所述第一输入,获取目标图像,并显示悬浮框之后,所述方法还包括:8. The method according to any one of claims 1 to 6, wherein, after said acquiring a target image and displaying a floating frame in response to said first input, said method further comprises:
    若在预设时间内未接收到第三输入,或者若接收到第四输入,则执行以下至少一项:If the third input is not received within the preset time, or if the fourth input is received, perform at least one of the following:
    隐藏所述悬浮框;Hide the floating frame;
    取消对所述悬浮框中的目标图像的缩略图的显示。Cancel the display of the thumbnail of the target image in the floating frame.
  8. 一种图像处理装置,包括:An image processing device, including:
    第一接收模块,用于接收第一输入;The first receiving module is used to receive the first input;
    第一响应模块,用于响应于所述第一输入,获取目标图像,并显示悬浮框,其中,所述悬浮框包括所述目标图像的缩略图;The first response module is configured to obtain a target image in response to the first input, and display a floating frame, wherein the floating frame includes a thumbnail of the target image;
    第二接收模块,用于接收对所述悬浮框的第二输入;The second receiving module is configured to receive a second input to the floating frame;
    第二响应模块,用于响应于所述第二输入,对所述目标图像进行处理。The second response module is configured to process the target image in response to the second input.
  9. 根据权利要求8所述装置,其中,所述第二响应模块执行的对所述目标图像进行处理,包括以下至少一项:The device according to claim 8, wherein the processing of the target image executed by the second response module includes at least one of the following:
    将所述目标图像存储于目标存储位置;Storing the target image in a target storage location;
    对所述目标图像进行编辑;Edit the target image;
    传输所述目标图像。The target image is transmitted.
  10. 根据权利要求8所述装置,其中,The device according to claim 8, wherein:
    所述第二接收模块,具体用于:The second receiving module is specifically configured to:
    接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
    所述第二响应模块,具体用于:The second response module is specifically used for:
    响应于所述滑动输入,将所述目标图像存储于目标位置,所述目标位置与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is stored in a target position, the target position being associated with an end position of the sliding input.
  11. 根据权利要求8所述装置,其中,所述悬浮框包括目标控件,所述目标图像包括N个图像,所述N为大于1的整数,8. The device according to claim 8, wherein the floating frame includes a target control, the target image includes N images, and the N is an integer greater than 1,
    所述第二接收模块,具体用于:The second receiving module is specifically configured to:
    接收对所述目标控件的第二输入;Receiving a second input to the target control;
    所述第二响应模块,具体用于:The second response module is specifically used for:
    响应于所述第二输入,对所述N个图像进行编辑处理。In response to the second input, editing processing is performed on the N images.
  12. 根据权利要求11所述装置,其中,所述第二响应模块,具体用于:The device according to claim 11, wherein the second response module is specifically configured to:
    响应于所述第二输入,对所述N个图像进行编辑处理,并生成处理后的图像,所述悬浮框包括所述处理后的图像的缩略图。In response to the second input, editing processing is performed on the N images, and a processed image is generated, and the floating frame includes a thumbnail of the processed image.
  13. 根据权利要求8所述装置,其中,The device according to claim 8, wherein:
    所述第二接收模块,具体用于:The second receiving module is specifically configured to:
    接收对所述悬浮框的滑动输入;Receiving a sliding input to the floating frame;
    所述第二响应模块,具体用于:The second response module is specifically used for:
    响应于所述滑动输入,将所述目标图像发送至目标传输对象,所述目标传输对象与所述滑动输入的终点位置相关联。In response to the sliding input, the target image is sent to a target transmission object, the target transmission object being associated with the end position of the sliding input.
  14. 根据权利要求8至13中任一项所述装置,其中,所述装置还包括:The device according to any one of claims 8 to 13, wherein the device further comprises:
    执行模块,用于在所述响应于所述第一输入,获取目标图像,并显示悬浮框之后,若在预设时间内未接收到第三输入,或者若接收到第四输入,则执行以下至少一项:The execution module is configured to execute the following if the third input is not received within the preset time, or if the fourth input is received after the target image is acquired and the floating frame is displayed in response to the first input At least one:
    隐藏所述悬浮框;Hide the floating frame;
    取消对所述悬浮框中的目标图像的缩略图的显示。Cancel the display of the thumbnail of the target image in the floating frame.
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7中任一项所述的图像处理方法的步骤。An electronic device comprising a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor, and the program or instruction is executed by the processor as claimed in claims 1-7 The steps of any one of the image processing methods.
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7中任一项所述的图像处理方法的步骤。A readable storage medium storing a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the image processing method according to any one of claims 1-7 are realized.
  17. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7中任一项所述的 图像处理方法的步骤。A chip comprising a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the image processing method according to any one of claims 1-7 step.
  18. 一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-7中任一项所述的图像处理方法的步骤。A computer program product, the program product is stored in a non-volatile storage medium, the program product is executed by at least one processor to implement the image processing method according to any one of claims 1-7 step.
  19. 一种图像处理装置,所述装置被配置成执行如权利要求1-7中任一项所述的图像处理方法的步骤。An image processing device configured to execute the steps of the image processing method according to any one of claims 1-7.
PCT/CN2021/096256 2020-05-28 2021-05-27 Image processing method and apparatus, and electronic device WO2021239036A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010466231.7A CN111601012B (en) 2020-05-28 2020-05-28 Image processing method and device and electronic equipment
CN202010466231.7 2020-05-28

Publications (1)

Publication Number Publication Date
WO2021239036A1 true WO2021239036A1 (en) 2021-12-02

Family

ID=72189408

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096256 WO2021239036A1 (en) 2020-05-28 2021-05-27 Image processing method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN111601012B (en)
WO (1) WO2021239036A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851040B (en) * 2019-10-28 2021-07-20 维沃移动通信有限公司 Information processing method and electronic equipment
CN111601012B (en) * 2020-05-28 2022-10-25 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN114995698A (en) * 2022-06-17 2022-09-02 维沃移动通信有限公司 Image processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685724A (en) * 2012-09-11 2014-03-26 Lg电子株式会社 Mobile terminal and method for controlling of the same
CN104125508A (en) * 2013-04-25 2014-10-29 华为技术有限公司 Video sharing method and terminal
CN108536365A (en) * 2018-03-16 2018-09-14 维沃移动通信有限公司 A kind of images share method and terminal
CN109814786A (en) * 2019-01-25 2019-05-28 维沃移动通信有限公司 Image storage method and terminal device
CN111601012A (en) * 2020-05-28 2020-08-28 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459769B (en) * 2007-12-14 2010-06-02 鸿富锦精密工业(深圳)有限公司 Digital camera and image management method
CN106406709A (en) * 2016-09-28 2017-02-15 北京金山安全软件有限公司 Picture processing method and device and terminal equipment
CN108228020B (en) * 2016-12-12 2021-09-07 腾讯科技(深圳)有限公司 Information processing method and terminal
CN107229389A (en) * 2017-05-24 2017-10-03 努比亚技术有限公司 A kind of method of shared file, equipment and computer-readable recording medium
CN107463310A (en) * 2017-09-04 2017-12-12 深圳天珑无线科技有限公司 Method, apparatus, mobile terminal and the computer-readable recording medium that a kind of picture is shared
EP3675460B1 (en) * 2017-10-09 2022-06-22 Huawei Technologies Co., Ltd. File sharing method and terminal
CN108509122B (en) * 2018-03-16 2020-05-19 维沃移动通信有限公司 Image sharing method and terminal
CN110851040B (en) * 2019-10-28 2021-07-20 维沃移动通信有限公司 Information processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685724A (en) * 2012-09-11 2014-03-26 Lg电子株式会社 Mobile terminal and method for controlling of the same
CN104125508A (en) * 2013-04-25 2014-10-29 华为技术有限公司 Video sharing method and terminal
CN108536365A (en) * 2018-03-16 2018-09-14 维沃移动通信有限公司 A kind of images share method and terminal
CN109814786A (en) * 2019-01-25 2019-05-28 维沃移动通信有限公司 Image storage method and terminal device
CN111601012A (en) * 2020-05-28 2020-08-28 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN111601012A (en) 2020-08-28
CN111601012B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
WO2021239036A1 (en) Image processing method and apparatus, and electronic device
WO2021259100A1 (en) Sharing method and apparatus, and electronic device
WO2019137429A1 (en) Picture processing method and mobile terminal
CN109683714B (en) Multimedia resource management method, device and storage medium
EP4109878A1 (en) Content operation method and device, terminal, and storage medium
WO2023143531A1 (en) Photographing method and apparatus, and electronic device
WO2023072156A1 (en) Photographing method, photographing apparatus, electronic device, and readable storage medium
WO2023061414A1 (en) File generation method and apparatus, and electronic device
WO2022206582A1 (en) Video processing method and apparatus, electronic device and storage medium
CN112540821A (en) Information sending method and electronic equipment
CN111857460A (en) Split screen processing method, split screen processing device, electronic equipment and readable storage medium
CN110764845A (en) Application program setting method and electronic equipment
CN111159449A (en) Image display method and electronic equipment
CN112954046A (en) Information sending method, information sending device and electronic equipment
CN112911147A (en) Display control method, display control device and electronic equipment
WO2024041468A1 (en) File processing method and apparatus, and electronic device and storage medium
WO2024061134A1 (en) Photographing method and apparatus, electronic device, and medium
WO2024051522A1 (en) Message sending method and apparatus, and electronic device and storage medium
WO2023143529A1 (en) Photographing method and apparatus, and electronic device
WO2023198064A1 (en) Application program starting method and apparatus, and electronic device and storage medium
US10146959B2 (en) Information processing apparatus to manage operation authority of an application program
WO2022228301A1 (en) Document generation method and apparatus and electronic device
CN112578959B (en) Content publishing method and device
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN111796733B (en) Image display method, image display device and electronic equipment

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: 21813940

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21813940

Country of ref document: EP

Kind code of ref document: A1