CN113961113A - Image processing method and device, electronic equipment and readable storage medium - Google Patents

Image processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113961113A
CN113961113A CN202111260241.6A CN202111260241A CN113961113A CN 113961113 A CN113961113 A CN 113961113A CN 202111260241 A CN202111260241 A CN 202111260241A CN 113961113 A CN113961113 A CN 113961113A
Authority
CN
China
Prior art keywords
image
input
scroll screen
state
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111260241.6A
Other languages
Chinese (zh)
Inventor
张巧双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111260241.6A priority Critical patent/CN113961113A/en
Publication of CN113961113A publication Critical patent/CN113961113A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F3/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Abstract

The application discloses an image processing method, an image processing device, electronic equipment and a readable storage medium, and belongs to the technical field of image processing. The method comprises the following steps: displaying a second image on the first image; receiving a first input of a user to the scroll screen under the condition that the second image is in an editable state, wherein the first input is used for adjusting the unfolding distance of the scroll screen; updating second image parameters of the second image in response to the first input, the second image parameters determined according to an unwinding distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position.

Description

Image processing method and device, electronic equipment and readable storage medium
Technical Field
The present application belongs to the field of image processing technologies, and in particular, to an image processing method, an image processing apparatus, an electronic device, and a readable storage medium.
Background
With the rapid development of electronic technology, electronic devices are widely used, and with the development of image processing technology, users can use electronic devices to combine multiple images.
At present, when electronic equipment synthesizes a plurality of images, professional editing software is usually needed to adjust image parameters of a single image, and the operation is complex.
Disclosure of Invention
An embodiment of the present application provides an image processing method, an image processing apparatus, an electronic device, and a readable storage medium, which can solve the problem that an operation is complicated when an image parameter is adjusted.
In a first aspect, an embodiment of the present application provides an image processing method applied to an image processing apparatus having a scroll screen, including:
displaying a second image on the first image;
receiving a first input of a user to the scroll screen under the condition that the second image is in an editable state, wherein the first input is used for adjusting the unfolding distance of the scroll screen;
updating second image parameters of the second image in response to the first input, the second image parameters determined according to an unwinding distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position.
In a second aspect, an embodiment of the present application provides an image processing apparatus, the apparatus having a scroll screen, including:
a first display module for displaying a second image on a first image;
a first receiving module, configured to receive a first input to the scroll screen from a user when the second image is in an editable state, where the first input is used to adjust an unfolding distance of the scroll screen;
a first updating module for updating a second image parameter of the second image in response to the first input, the second image parameter being determined according to an unwinding distance of the scroll screen, the second image parameter comprising at least one of: transparency, image style, color parameters, image size, image position.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the method is applied to an image processing device with a scroll screen, and a second image is displayed on a first image; receiving a first input of a user to the scroll screen under the condition that the second image is in an editable state, wherein the first input is used for adjusting the unfolding distance of the scroll screen; updating second image parameters of the second image in response to the first input, the second image parameters determined according to an unwinding distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position. In this way, at the time of image composition, by the user performing the first input to the scroll screen of the image processing apparatus to adjust the deployment distance of the scroll screen and updating the image parameter of the editable state image based on the deployment distance of the scroll screen, the operation steps of image parameter adjustment can be simplified.
Drawings
Fig. 1 is a flowchart of an image processing method provided in an embodiment of the present application;
FIG. 2 is one of screen display diagrams in a double exposure capture scenario;
FIG. 3 is a second schematic diagram of a screen display in a double-exposure shooting scenario;
FIG. 4 is one of the screen display diagrams in an image composition scenario;
FIG. 5 is a second schematic diagram of a screen display in an image composition scene;
FIG. 6 is a third schematic diagram of a screen display in a double-exposure shooting scenario;
fig. 7 is a block diagram of an image processing apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the image processing provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of an image processing method provided in an embodiment of the present application, which is applied to an image processing apparatus having a scroll screen, as shown in fig. 1, and includes the following steps:
step 101, displaying a second image on the first image.
In the embodiment of the application, the image processing method is applied to an image processing device with a scroll screen, the scroll screen can change the screen size of an electronic device in a telescopic manner, and the scroll screen can include two states, the first state is an undeployed state, at this time, the screen size of the image processing device is minimum, the second state is a deployed state, and a user can stretch the scroll screen to enable the scroll screen to be deployed along a scroll, so that the screen size is increased, and the display area of the screen is increased.
In step 101, the first image may be any one of the images stored in the image processing apparatus, and the number of the first images may be one or more, which is not particularly limited herein.
The second image may be displayed on the first image, and the display time of the first image and the display time of the second image on the scroll screen may be displayed simultaneously or sequentially, which is not specifically limited herein.
Displaying the second image on the first image may refer to displaying the second image on the first image in an overlapping manner, and may also refer to displaying a first window on the first image, where the first window is used for displaying the second image, that is, displaying the second image on the first image in a picture-in-picture manner, and is not particularly limited herein.
The second image may be a preview image in the process of image capturing, or may be a preview of an already captured image, and is not limited specifically here.
In an optional implementation scenario, such as a scenario of double exposure shooting, the double exposure may refer to a process of presenting a plurality of images shot in different spaces and at different times in one image, in the implementation scenario, the first image and the second image may be sequentially displayed on the scroll screen, and in a case that the scroll screen is in an undeployed state, a user may start a first camera of the image processing apparatus, such as a rear camera, to capture one image, or may select one or more images from an album, and display the selected images on the scroll screen, that is, first obtain the first image and display the first image on the scroll screen. As shown in fig. 2, the user can activate the rear camera to take a landscape picture 201, which will be the background picture of the double exposure, and display it on the display area 202 of the scroll screen.
Then, on the basis that the first image is displayed on the scroll screen, the user can drag the scroll screen in the non-expansion state to expand the scroll screen, and correspondingly, the image processing device can respond to the operation of the user, start a second camera such as a front camera, and display a preview image of the front camera in a display area of the scroll screen, wherein the preview image is the second image.
In this implementation scenario, the first image and the second image are both displayed on a scroll screen, and the second image may be displayed superimposed on the first image, as shown in fig. 3, where the first image 301 includes image contents of the sun and the mountain, the second image 302 includes image contents of the character avatar, and the two images are displayed superimposed on the same display area.
In another optional implementation scenario, such as an image composition scenario, in which the first image and the second image may be displayed on the scroll screen at the same time, in the implementation process, several pre-stored images may be selected, such as several images selected from an album as a material for image composition, the several images may include the first image and the second image, the first selected image may be used as the second image and the later selected image may be used as the first image, or the first selected image may be used as the first image and the later selected image may be used as the second image, and then the first image and the second image may be displayed on the scroll screen at the same time, and a specific display manner of the first image and the second image may be displayed in a manner of superimposing the second image on the first image. As shown in fig. 4, five images in the album are selected as composite materials, namely, an image 401, an image 402, an image 403, an image 404 and an image 405, by a check method, and the selected images can be displayed in the display area of the scroll screen, and as shown in fig. 5, the selected five images can be displayed in the display area of the scroll screen in an overlapping manner according to the selection order in the album.
The image state of the second image may be default to the editable state and may also be the locked state when the second image is displayed on the first image, and then the image state of the second image is adjusted by user input so that the image state of the second image is the editable state.
And 102, receiving a first input of a user to the scroll screen under the condition that the second image is in an editable state, wherein the first input is used for adjusting the unfolding distance of the scroll screen.
In this step, the first input may be: the scroll screen may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit the scroll screen to be clicked by a user for inputting, or to be a voice instruction input by the user, or to be a specific gesture input by the user.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
With dragging the gesture as an example, under the condition that the second image is in editable state, the user can drag the frame of spool screen through dragging the gesture to make the spool screen flexible along the spool, if drag the frame of spool screen, with the frame of expansion spool screen, increase screen size promptly, if drag the frame of spool screen again, with shrink spool screen, reduce screen size promptly. That is, the unfolding distance of the scroll screen can be adjusted by dragging the frame of the scroll screen.
Step 103, in response to the first input, updating second image parameters of the second image, the second image parameters being determined according to the unwinding distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position.
Accordingly, the image processing apparatus may update the second image parameter of the second image in response to the first input in a case where the first input to the scroll screen by the user is received. In particular, a parameter value of the second image parameter may be determined according to the unwinding distance of the scroll screen, based on which the second image parameter of the second image is adjusted. Wherein the second image parameters may comprise at least one of: transparency, image style, color parameters, image size, image position.
The image styles may include freshness, art, fashion, black and white, etc., the image size may refer to an image size, such as a size of a second image displayed in a picture-in-picture form may be adjusted, the image position may refer to a display position of image contents of the second image on a first image, as shown in fig. 5, in the case where the second image is an image including sun image contents, the sun image contents are displayed at a right display position of the first image in an initial display state, and the sun image contents in the second image may be moved to a left display position on the first image according to an unfolding distance of the scroll screen.
In practical application, the image processing apparatus may store a correspondence table between the unwinding distance of the scroll screen and a parameter value of the second image parameter, and may obtain the unwinding distance of the scroll screen in real time or at intervals in the process of dragging the scroll screen by the user, and then may determine the parameter value of the second image parameter corresponding to the current unwinding distance of the scroll screen based on the correspondence table.
For example, the second image parameter takes transparency as an example, and the correspondence between the unwinding distance of the scroll screen and the parameter value of the transparency may be: the unfolding distance of the scroll screen is inversely proportional to the transparency, when the scroll screen is unfolded for 20% of the distance, the transparency is 80%, when the scroll screen is unfolded for 40% of the distance, the transparency is 60%, and so on. Accordingly, in the process of the user dragging the scroll screen, the transparency is adjusted to 80% when the scroll screen is unfolded by a distance of 20%, and the transparency is adjusted to 60% when the scroll screen is unfolded by a distance of 40%.
As shown in fig. 3, when the extending distance of the scroll screen is short, the front camera displays a scene of a boy student, and at this time, the image of the boy student, i.e., the second image, is superimposed on the background image, i.e., the first image, captured by the rear camera, and the exposure degree of the front camera is low, so that the effect displayed by the boy student is weak, and the transparency is high. As the spreading distance of the screen increases, the transparency decreases and the image content of the second image is more realistic. As shown in fig. 6, when the scroll screen is fully deployed, the transparency of the boy's image content 601 in the second image is minimized.
In this way, in the process of dragging the scroll screen by the user, the change of the image effect of the second image, such as the change of the transparency from virtual to real, the change of the size from large to small, the change of the image style or the change of the display position of the image content, can be realized, so that the user can select the final desired image effect in the process of dragging the scroll screen by the user.
In the embodiment, the method is applied to an image processing device with a scroll screen, and displays a second image on a first image; receiving a first input of a user to the scroll screen under the condition that the second image is in an editable state, wherein the first input is used for adjusting the unfolding distance of the scroll screen; updating second image parameters of the second image in response to the first input, the second image parameters determined according to an unwinding distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position. In this way, at the time of image composition, by the user performing the first input to the scroll screen of the image processing apparatus to adjust the deployment distance of the scroll screen and updating the image parameter of the editable state image based on the deployment distance of the scroll screen, the operation steps of image parameter adjustment can be simplified.
Optionally, after the updating of the second image parameter of the second image, the method further includes:
receiving a second input of the scroll screen by a user;
in response to the second input, outputting a target image.
In this embodiment, the second input may be: the scroll screen may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit the scroll screen to be clicked by a user for inputting, or to be a voice instruction input by the user, or to be a specific gesture input by the user.
In an alternative implementation scenario, if the second image is a preview image during a double exposure capture, the second input may be an input by the user to click a capture control displayed on the scroll screen for capture. After the second image parameters of the second image are updated and the image effect satisfied by the user is achieved, the user can click the shooting control, accordingly, the image processing device can respond to the second input, carry out double exposure on the first image and the updated second image, and output a target image, wherein the target image can be a composite image with the double exposure effect.
In another alternative implementation scenario, if the second image is a preview of a captured image, the second input may be an input by the user clicking a decision control displayed on the scroll screen, or clicking an input anywhere on the scroll screen, or the like. After the second image parameters of the second image are updated and the image effect satisfied by the user is achieved, the user can click the determination control, and accordingly, the image processing device can respond to the second input, synthesize the first image and the updated second image, and output the target image.
In the embodiment, a second input of the scroll screen by a user is received; in response to the second input, outputting a target image. Thus, the image composition can be realized very conveniently.
Optionally, after displaying the second image on the first image, the method further includes:
displaying a first control mark and a second control mark, wherein the first control mark is used for indicating the image state of the first image, the second control mark is used for indicating the image state of the second image, and the image state comprises an editable state and a locking state.
In this embodiment, the first control indicator and the second control indicator may be displayed at any position of the display area of the scroll screen, as shown in fig. 3, a first control indicator 303 and a second control indicator 304 may be respectively displayed at the upper left corner of the display area of the scroll screen, where the first control indicator 303 is used to indicate the image status of the first image and is named as lock 1, and the second control indicator 304 is used to indicate the image status of the second image and is named as lock 2. As shown in fig. 5, a first control identifier 501 and a second control identifier 502 may be respectively displayed at the upper left corner of the display area of the scroll screen, and since the number of the first images may include a plurality of images, the first control identifier 501 may be named as lock 1.1, lock 1.2, lock 1.3, and lock 1.4, respectively, and the second control identifier 502 may be named as lock 2.
In the initial display state, the image state of the first image is the locked state, and the image state of the second image is the editable state, as shown in fig. 3 and 5.
In this embodiment, by displaying a first control indicator and a second control indicator, the first control indicator is used to indicate an image status of the first image, and the second control indicator is used to indicate an image status of the second image, where the image status includes an editable status and a locked status. In this way, the image states of the first image and the second image can be made explicit, so that a user is reminded of the currently editable image during image synthesis, and the user experience is improved.
Optionally, in a case that the image state of the first image indicated by the first control identifier is a locked state, receiving a third input of the first control identifier from a user;
updating an image state of the first image from a locked state to an editable state in response to the third input;
receiving a fourth input of the scroll screen from the user;
updating first image parameters of the first image in response to the fourth input, the first image parameters including at least one of: transparency, image style, color parameters, image size.
In this embodiment, in the case where the first control indicator is displayed, the user may adjust the image state of the first image based on the first control indicator, for example, in the case where the image state of the first image indicated by the first control indicator is in the locked state, the user may perform the third input on the first control indicator.
The third input may be: the click input of the user to the first control identifier, or the voice instruction input by the user, or the specific gesture input by the user may be specifically determined according to the actual use requirement, which is not limited in the embodiment of the present application.
Accordingly, the image processing apparatus may update the image state of the first image from the locked state to the editable state in response to the third input. Thereafter, the user may perform a fourth input to the scroll screen to adjust the unwinding distance of the scroll screen. The fourth input may be: the scroll screen may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit the scroll screen to be clicked by a user for inputting, or to be a voice instruction input by the user, or to be a specific gesture input by the user.
Accordingly, the image processing apparatus may update the first image parameter of the first image in response to the fourth input. The first image parameter of the first image may be determined according to the expansion distance of the scroll screen, and the determination manner of the first image parameter of the first image may be similar to that of the second image parameter of the second image, which is not described herein again.
In this embodiment, the first image parameter of the first image may also be determined according to a telescopic distance of the scroll screen, where the telescopic distance may refer to a distance of expansion or contraction of the scroll screen from a time point when the image state of the first image is updated from the locked state to the editable state.
For example, when the image state of the first image is updated from the locked state to the editable state, the unwinding distance of the scroll screen is 1cm, and the user drags the scroll screen and extends the unwinding distance of the scroll screen to 4cm, at this time, the expansion and contraction distance of the scroll screen is 3 cm.
For another example, when the image state of the first image is updated from the locked state to the editable state, the unwinding distance of the scroll screen is 3cm, and the user drags the scroll screen and contracts the unwinding distance of the scroll screen to 2cm, at this time, the expansion distance of the scroll screen is-1 cm.
The update of the first image parameter of the first image may be performed before, after, or simultaneously with the update of the second image parameter of the second image. For example, when updating the first image parameter of the first image, if the image state of the second image is an editable state, the second image parameter of the second image may be updated according to the extending distance of the scroll screen. In this way, the image state of the first image can be adjusted through the first control identifier, so that the image state of the first image can be adjusted to be an editable state, and thus, the image effect of the integrated image can be adjusted by updating the first image parameter of the first image.
For example, by performing a third input to the first control flag by the user to update the image state of the first image from the locked state to the editable state and performing another input to the second control flag to update the image state of the second image from the editable state to the locked state, the parameter adjustment can be performed by switching from the second image to the first image, and the image effect integrated into the image can be adjusted by updating the first image parameter of the first image.
In this embodiment, when the image state of the first image indicated by the first control identifier is the locked state, a third input of the first control identifier by the user is received; updating an image state of the first image from a locked state to an editable state in response to the third input; receiving a fourth input of the scroll screen from the user; updating first image parameters of the first image in response to the fourth input, the first image parameters including at least one of: transparency, image style, color parameters, image size. Therefore, when the images are synthesized, the user executes the third input on the first control identifier to adjust the image state of the first image, and executes the fourth input on the scroll screen of the image processing device, so that the first image parameter of the first image can be updated, the image effect of integrating the first image parameter of the first image into the images can be adjusted by updating the first image parameter of the first image, the operation steps of adjusting the image parameters can be simplified, and the flexibility of effect change during image synthesis is improved.
Optionally, in a case that the image state of the first image indicated by the first control identifier is an editable state and the image state of the second image indicated by the second control identifier is an editable state, receiving a fifth input of the user;
updating a first image parameter of the first image and a second image parameter of the second image in response to the fifth input.
In this embodiment, the fifth input may be: the scroll screen may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit the scroll screen to be clicked by a user for inputting, or to be a voice instruction input by the user, or to be a specific gesture input by the user.
Accordingly, the image processing apparatus may update the first image parameter of the first image and the second image parameter of the second image in response to the fifth input.
The first image parameter may be the same as the second image parameter, such as updating transparency of the first image and the second image, or the first image parameter may be different from the second image parameter, such as the transparency of the first image parameter and the image size of the second image parameter.
The determination manner of the first image parameter according to the extending distance of the scroll screen may be the same as or different from the determination manner of the second image parameter according to the extending distance of the scroll screen, and is not specifically limited herein. For example, the correspondence between the parameter value of the first image parameter and the deployment distance of the scroll screen may be different from the correspondence between the parameter value of the second image parameter and the deployment distance of the scroll screen.
In this embodiment, when the image state of the first image indicated by the first control flag is an editable state and the image state of the second image indicated by the second control flag is an editable state, a fifth input from the user is received; updating a first image parameter of the first image and a second image parameter of the second image in response to the fifth input. Therefore, the first image parameter of the first image and the second image parameter of the second image can be adjusted simultaneously, the image effect of integrating the first image parameter of the first image and the second image parameter of the second image into the image can be adjusted by updating the first image parameter of the first image and the second image parameter of the second image simultaneously, the operation steps of adjusting the image parameters can be simplified, and the flexibility of effect change during image synthesis is improved.
Optionally, the displaying the second image on the first image comprises:
displaying a second image on the first image in an overlapping manner;
or displaying a first window on the first image, wherein the first window is used for displaying the second image.
In this embodiment, the manner of displaying the second image on the first image may be: the second image may be displayed superimposed on the first image, and the method may further include: a first window is displayed on the first image for displaying the second image, i.e., the second image is displayed on the first image in a picture-in-picture format.
In this embodiment, a second image is displayed by being superimposed on the first image; or displaying a first window on the first image, wherein the first window is used for displaying the second image. In this way, the second image can be flexibly displayed on the first image.
Optionally, after the updating of the second image parameter of the second image, the method further includes:
receiving a sixth input to the scroll screen by a user;
in response to the sixth input, displaying a third image on the first and second images.
In this embodiment, the sixth input may be: the scroll screen may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit the scroll screen to be clicked by a user for inputting, or to be a voice instruction input by the user, or to be a specific gesture input by the user.
The user may perform a sixth input on an adding control displayed on the scroll screen, where the adding control is used to add a material for image synthesis, for example, the adding control may be displayed on the scroll screen, and by clicking the adding control, the camera may be started to take a picture again to obtain a third image, or the third image may be selected from the album.
Accordingly, the image processing apparatus may display the third image on the first image and the second image in response to the sixth input, and thereafter may control the scroll screen to implement the composition of the first image, the second image, and the third image.
In the embodiment, the sixth input of the scroll screen by the user is received; in response to a sixth input, a third image is displayed on the first image and the second image. Thus, the third image can be flexibly added, and the image composition of a plurality of images can be realized.
It should be noted that, in the image processing method provided in the embodiment of the present application, the execution subject may be an image processing apparatus, or a control module in the image processing apparatus for executing the image processing method. The image processing apparatus provided in the embodiment of the present application is described with an example in which an image processing apparatus executes an image processing method.
Referring to fig. 7, fig. 7 is a structural diagram of an image processing apparatus provided in an embodiment of the present application, the apparatus having a scroll screen, and as shown in fig. 7, an image processing apparatus 700 includes:
a first display module 701, configured to display a second image on a first image;
a first receiving module 702, configured to receive a first input of the scroll screen from a user when the second image is in an editable state, where the first input is used to adjust an unfolding distance of the scroll screen;
a first updating module 703 for updating a second image parameter of the second image in response to the first input, the second image parameter being determined according to the unwinding distance of the scroll screen, the second image parameter comprising at least one of: transparency, image style, color parameters, image size, image position.
In this embodiment, by applying to an image processing apparatus having a scroll screen, a second image is displayed on a first image by the first display module 701; receiving a first input of a user to the scroll screen through a first receiving module 702 when the second image is in an editable state, wherein the first input is used for adjusting the unfolding distance of the scroll screen; updating, by a first updating module 703, second image parameters of the second image in response to the first input, the second image parameters being determined according to an unwinding distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position. In this way, at the time of image composition, by the user performing the first input to the scroll screen of the image processing apparatus to adjust the deployment distance of the scroll screen and updating the image parameter of the editable state image based on the deployment distance of the scroll screen, the operation steps of image parameter adjustment can be simplified.
Optionally, the method further comprises:
the second receiving module is used for receiving a second input of the scroll screen by a user;
an output module to output a target image in response to the second input.
In the embodiment, a second input of the user to the scroll screen is received through a second receiving module; outputting, by an output module, a target image in response to the second input. Thus, the image composition can be realized very conveniently.
Optionally, the method further comprises:
the second display module is used for displaying a first control identifier and a second control identifier, the first control identifier is used for indicating the image state of the first image, the second control identifier is used for indicating the image state of the second image, and the image state comprises an editable state and a locked state.
In this embodiment, a first control identifier and a second control identifier are displayed by a second display module, where the first control identifier is used to indicate an image status of the first image, and the second control identifier is used to indicate an image status of the second image, where the image status includes an editable status and a locked status. In this way, the image states of the first image and the second image can be made explicit, so that a user is reminded of the currently editable image during image synthesis, and the user experience is improved.
Optionally, the method further comprises:
the third receiving module is used for receiving a third input of the first control identifier from a user under the condition that the image state of the first image indicated by the first control identifier is a locked state;
a second updating module for updating an image state of the first image from a locked state to an editable state in response to the third input;
the fourth receiving module is used for receiving a fourth input of the scroll screen by a user;
a third updating module for updating a first image parameter of the first image in response to the fourth input, the first image parameter comprising at least one of: transparency, image style, color parameters, image size.
In this embodiment, a third receiving module receives a third input of the first control identifier from the user when the image state of the first image indicated by the first control identifier is the locked state; updating, by a second update module, an image state of the first image from a locked state to an editable state in response to the third input; receiving a fourth input of the scroll screen by a user through a fourth receiving module; updating, by a third update module, first image parameters of the first image in response to the fourth input, the first image parameters including at least one of: transparency, image style, color parameters, image size. Therefore, when the images are synthesized, the user executes the third input on the first control identifier to adjust the image state of the first image, and executes the fourth input on the scroll screen of the image processing device, so that the first image parameter of the first image can be updated, the image effect of integrating the first image parameter of the first image into the images can be adjusted by updating the first image parameter of the first image, the operation steps of adjusting the image parameters can be simplified, and the flexibility of effect change during image synthesis is improved.
Optionally, the method further comprises:
a fifth receiving module, configured to receive a fifth input from the user when the image state of the first image indicated by the first control identifier is an editable state and the image state of the second image indicated by the second control identifier is an editable state;
a fourth updating module for updating the first image parameters of the first image and the second image parameters of the second image in response to the fifth input.
In this embodiment, a fifth receiving module receives a fifth input from the user when the image status of the first image indicated by the first control identifier is in an editable state and the image status of the second image indicated by the second control identifier is in an editable state; updating, by a fourth update module, a first image parameter of the first image and a second image parameter of the second image in response to the fifth input. Therefore, the first image parameter of the first image and the second image parameter of the second image can be adjusted simultaneously, the image effect of integrating the first image parameter of the first image and the second image parameter of the second image into the image can be adjusted by updating the first image parameter of the first image and the second image parameter of the second image simultaneously, the operation steps of adjusting the image parameters can be simplified, and the flexibility of effect change during image synthesis is improved.
Optionally, the first display module 701 is specifically configured to:
displaying a second image on the first image in an overlapping manner;
or displaying a first window on the first image, wherein the first window is used for displaying the second image.
In this embodiment, a second image is superimposed and displayed on the first image by the first display module 701; or displaying a first window on the first image, wherein the first window is used for displaying the second image. In this way, the second image can be flexibly displayed on the first image.
Optionally, the method further comprises:
the sixth receiving module is used for receiving a sixth input of the scroll screen by a user;
a third display module to display a third image on the first image and the second image in response to the sixth input.
In this embodiment, a sixth input of the scroll screen from the user is received by a sixth receiving module; and displaying, by a third display module, a third image on the first image and the second image in response to a sixth input. Thus, the third image can be flexibly added, and the image composition of a plurality of images can be realized.
The image processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The image processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The image processing apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing 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, and a processor 910. The electronic device is also provided with a scroll screen.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein, the display unit 906 is used for displaying the second image on the first image;
a user input unit 907 for receiving a first input to the scroll screen by a user when the second image is in an editable state, wherein the first input is used for adjusting the unwinding distance of the scroll screen;
a processor 910 for updating a second image parameter of the second image in response to the first input, the second image parameter being determined according to an unwinding distance of the scroll screen, the second image parameter comprising at least one of: transparency, image style, color parameters, image size, image position.
In the present embodiment, by being applied to an electronic apparatus having a scroll screen, and displaying a second image on a first image through the display unit 906; receiving a first input of the scroll screen by a user for adjusting an unwinding distance of the scroll screen in a case where the second image is in an editable state through the user input unit 907; updating, by processor 910 in response to the first input, second image parameters of the second image, the second image parameters determined according to an unwind distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position. In this way, at the time of image composition, by the user performing the first input to the scroll screen of the image processing apparatus to adjust the deployment distance of the scroll screen and updating the image parameter of the editable state image based on the deployment distance of the scroll screen, the operation steps of image parameter adjustment can be simplified.
Optionally, a user input unit 907, further configured to receive a second input to the scroll screen from the user;
a processor 910, further configured to output a target image in response to the second input.
In this embodiment, a second input to the scroll screen by the user is received through the user input unit 907; outputting, by the processor 910, the target image in response to the second input. Thus, the image composition can be realized very conveniently.
Optionally, the display unit 906 is further configured to display a first control identifier and a second control identifier, where the first control identifier is used to indicate an image status of the first image, and the second control identifier is used to indicate an image status of the second image, where the image status includes an editable status and a locked status.
In this embodiment, a first control indicator for indicating an image state of the first image and a second control indicator for indicating an image state of the second image, which includes an editable state and a locked state, are displayed by the display unit 906. In this way, the image states of the first image and the second image can be made explicit, so that a user is reminded of the currently editable image during image synthesis, and the user experience is improved.
Optionally, the user input unit 907 is further configured to receive a third input of the first control identifier from the user in a case that the image state of the first image indicated by the first control identifier is a locked state;
a processor 910 further configured to update an image state of the first image from a locked state to an editable state in response to the third input;
a user input unit 907 for receiving a fourth input from the user to the scroll screen;
processor 910, further configured to update first image parameters of the first image in response to the fourth input, the first image parameters including at least one of: transparency, image style, color parameters, image size.
In this embodiment, when the image state of the first image indicated by the first control indicator is in the locked state, the user input unit 907 receives a third input to the first control indicator from the user; updating, by processor 910, an image state of the first image from a locked state to an editable state in response to the third input; receiving a fourth input of the scroll screen by the user through the user input unit 907; updating, by processor 910 in response to the fourth input, first image parameters of the first image, the first image parameters including at least one of: transparency, image style, color parameters, image size. Therefore, when the images are synthesized, the user executes the third input on the first control identifier to adjust the image state of the first image, and executes the fourth input on the scroll screen of the image processing device, so that the first image parameter of the first image can be updated, the image effect of integrating the first image parameter of the first image into the images can be adjusted by updating the first image parameter of the first image, the operation steps of adjusting the image parameters can be simplified, and the flexibility of effect change during image synthesis is improved.
Optionally, the user input unit 907 is further configured to receive a fifth input from the user if the image state of the first image indicated by the first control identifier is an editable state and the image state of the second image indicated by the second control identifier is an editable state;
a processor 910, further configured to update a first image parameter of the first image and a second image parameter of the second image in response to the fifth input.
In this embodiment, when the image state of the first image indicated by the first control indicator is an editable state and the image state of the second image indicated by the second control indicator is an editable state, the user input unit 907 receives a fifth input from the user; updating, by processor 910, a first image parameter of the first image and a second image parameter of the second image in response to the fifth input. Therefore, the first image parameter of the first image and the second image parameter of the second image can be adjusted simultaneously, the image effect of integrating the first image parameter of the first image and the second image parameter of the second image into the image can be adjusted by updating the first image parameter of the first image and the second image parameter of the second image simultaneously, the operation steps of adjusting the image parameters can be simplified, and the flexibility of effect change during image synthesis is improved.
Optionally, the display unit 906 is further configured to:
displaying a second image on the first image in an overlapping manner;
or displaying a first window on the first image, wherein the first window is used for displaying the second image.
In the present embodiment, a second image is superimposed and displayed on the first image by the display unit 906; or displaying a first window on the first image, wherein the first window is used for displaying the second image. In this way, the second image can be flexibly displayed on the first image.
Optionally, a user input unit 907, further configured to receive a sixth input from the user to the scroll screen;
a display unit 906 further configured to display a third image on the first image and the second image in response to the sixth input.
In the present embodiment, a sixth input to the scroll screen by the user is received through the user input unit 907; in response to a sixth input through the display unit 906, a third image is displayed on the first image and the second image. Thus, the third image can be flexibly added, and the image composition of a plurality of images can be realized.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. 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. A touch panel 9071 also referred to as 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 (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the image processing method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An image processing method applied to an image processing apparatus having a scroll screen, comprising:
displaying a second image on the first image;
receiving a first input of a user to the scroll screen under the condition that the second image is in an editable state, wherein the first input is used for adjusting the unfolding distance of the scroll screen;
updating second image parameters of the second image in response to the first input, the second image parameters determined according to an unwinding distance of the scroll screen, the second image parameters including at least one of: transparency, image style, color parameters, image size, image position.
2. The image processing method according to claim 1, wherein after the updating the second image parameter of the second image, further comprising:
receiving a second input of the scroll screen by a user;
in response to the second input, outputting a target image.
3. The image processing method according to claim 1, further comprising, after displaying the second image on the first image:
displaying a first control mark and a second control mark, wherein the first control mark is used for indicating the image state of the first image, the second control mark is used for indicating the image state of the second image, and the image state comprises an editable state and a locking state.
4. The image processing method according to claim 3,
receiving a third input of a user to the first control identifier under the condition that the image state of the first image indicated by the first control identifier is a locked state;
updating an image state of the first image from a locked state to an editable state in response to the third input;
receiving a fourth input of the scroll screen from the user;
updating first image parameters of the first image in response to the fourth input, the first image parameters including at least one of: transparency, image style, color parameters, image size.
5. The image processing method according to claim 3, wherein in a case where the image state of the first image indicated by the first control flag is an editable state and the image state of the second image indicated by the second control flag is an editable state, a fifth input by the user is received;
updating a first image parameter of the first image and a second image parameter of the second image in response to the fifth input.
6. The image processing method according to claim 1, wherein the displaying the second image on the first image comprises:
displaying a second image on the first image in an overlapping manner;
or displaying a first window on the first image, wherein the first window is used for displaying the second image.
7. The image processing method according to claim 1, wherein after the updating the second image parameter of the second image, further comprising:
receiving a sixth input to the scroll screen by a user;
in response to the sixth input, displaying a third image on the first and second images.
8. An image processing apparatus having a scroll screen, comprising:
a first display module for displaying a second image on a first image;
a first receiving module, configured to receive a first input to the scroll screen from a user when the second image is in an editable state, where the first input is used to adjust an unfolding distance of the scroll screen;
a first updating module for updating a second image parameter of the second image in response to the first input, the second image parameter being determined according to an unwinding distance of the scroll screen, the second image parameter comprising at least one of: transparency, image style, color parameters, image size, image position.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the image processing method according to any one of claims 1 to 7.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the image processing method according to any one of claims 1 to 7.
CN202111260241.6A 2021-10-28 2021-10-28 Image processing method and device, electronic equipment and readable storage medium Pending CN113961113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111260241.6A CN113961113A (en) 2021-10-28 2021-10-28 Image processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111260241.6A CN113961113A (en) 2021-10-28 2021-10-28 Image processing method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113961113A true CN113961113A (en) 2022-01-21

Family

ID=79467877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111260241.6A Pending CN113961113A (en) 2021-10-28 2021-10-28 Image processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113961113A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237326A (en) * 2022-07-21 2022-10-25 Oppo广东移动通信有限公司 Equipment control method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237326A (en) * 2022-07-21 2022-10-25 Oppo广东移动通信有限公司 Equipment control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN112135049B (en) Image processing method and device and electronic equipment
CN111756995A (en) Image processing method and device
CN111857512A (en) Image editing method and device and electronic equipment
CN111669506A (en) Photographing method and device and electronic equipment
CN113961113A (en) Image processing method and device, electronic equipment and readable storage medium
CN113794832A (en) Video recording method, video recording device, electronic equipment and medium
WO2023155858A1 (en) Document editing method and apparatus
CN112698762A (en) Icon display method and device and electronic equipment
CN112162805B (en) Screenshot method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN114995713A (en) Display control method and device, electronic equipment and readable storage medium
CN115291778A (en) Display control method and device, electronic equipment and readable storage medium
CN115640092A (en) Interface display method and device, electronic equipment and readable storage medium
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
CN115037874A (en) Photographing method and device and electronic equipment
CN112333389B (en) Image display control method and device and electronic equipment
CN113835578A (en) Display method and device and electronic equipment
CN114285922A (en) Screenshot method, screenshot device, electronic equipment and media
CN114579233A (en) Desktop deformer display method and device, electronic equipment and storage medium
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN114578899A (en) Display method, display device, electronic equipment and readable storage medium
CN114518821A (en) Application icon management method and device and electronic equipment
CN114173029A (en) Shooting method and device and electronic equipment
CN111857474A (en) Application program control method and device and electronic equipment
CN114520875B (en) Video processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination