WO2021110022A1 - Image display control method, terminal, and computer readable storage medium - Google Patents
Image display control method, terminal, and computer readable storage medium Download PDFInfo
- Publication number
- WO2021110022A1 WO2021110022A1 PCT/CN2020/133293 CN2020133293W WO2021110022A1 WO 2021110022 A1 WO2021110022 A1 WO 2021110022A1 CN 2020133293 W CN2020133293 W CN 2020133293W WO 2021110022 A1 WO2021110022 A1 WO 2021110022A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- processing operation
- target image
- display
- image information
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/32—Indexing scheme for image data processing or generation, in general involving image mosaicing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Definitions
- the embodiments of the present disclosure relate to, but are not limited to, the field of image processing technology, and in particular to, but are not limited to, an image display control method, a terminal, and a computer-readable storage medium.
- the above terminal takes a smart phone as an example.
- shooting is an important function of the mobile phone and is loved by users.
- the user In order to make the captured video or photo present a better aesthetic and self-style, the user usually adopts some images.
- Processing technology such as beauty, stylization, etc., but in some cases, the processing method is to directly display the processed effect, and the display method is relatively simple; and if the user wants to view the image effect before processing, it needs to be manually switched. The operation is very cumbersome, brings a lot of inconvenience to users, and greatly reduces user experience satisfaction.
- the image display control method, terminal, and computer-readable storage medium provided by the embodiments of the present disclosure mainly solve the technical problem of directly displaying the image after the processing operation in the related art, the display mode is single, and it is inconvenient for the user to view the image before the processing operation. Images, resulting in poor user experience satisfaction.
- an image display control method including:
- the display image is determined according to the processing operation, and the display image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation.
- a terminal including a processor, a memory, and a communication bus;
- the communication bus is used to implement connection and communication between the processor and the memory
- the processor is configured to execute one or more programs stored in the memory to implement the steps of the image display control method described above.
- embodiments of the present disclosure provide a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be used by one or more processors. Executed to implement the steps of the image display control method as described above.
- FIG. 1 is a schematic diagram of the basic flow of an image display control method provided by Embodiment 1 of the present disclosure
- FIG. 2 is a schematic diagram 1 of the basic flow chart for detecting the processing operation performed on the target image according to the first embodiment of the disclosure, and determining the display image according to the processing operation;
- Figure 3-1 is the first target image before processing operation provided by the first embodiment of the present disclosure
- FIG. 3-2 is a target image 1 after processing operation provided in Embodiment 1 of the present disclosure.
- Figure 3-3 is a display image 1 provided by Embodiment 1 of the present disclosure.
- Figure 3-4 is the second display image provided by the first embodiment of the present disclosure.
- FIG. 4 is a schematic diagram of the second embodiment of the processing operation of detecting the target image provided by the first embodiment of the disclosure, and determining the basic flow of the display image according to the processing operation;
- FIG. 5-1 is the second target image before the processing operation provided in the first embodiment of the disclosure.
- Fig. 5-2 is the second target image after processing operation provided in the first embodiment of the disclosure.
- 6-1 is a schematic diagram of dividing a display screen to obtain multiple triangular area blocks according to Embodiment 1 of the present disclosure
- FIG. 6-2 is a schematic diagram of a user after adjusting a plurality of triangular area blocks according to Embodiment 1 of the present disclosure
- FIG. 7 is a schematic diagram of the basic flow of the image display control method provided by the second embodiment of the disclosure.
- FIG. 8 is a schematic diagram of the basic flow of the image display control method provided by the third embodiment of the disclosure.
- FIG. 9 is a schematic diagram of the basic flow of the image display control method provided by the fourth embodiment of the disclosure.
- FIG. 10 is a schematic structural diagram of a terminal provided by Embodiment 5 of the disclosure.
- an embodiment of the present disclosure provides an image display control The method is to detect the processing operation performed on the target image, and determine the display image according to the processing operation, wherein the display image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation; see figure 1 is a schematic flowchart of an image display control method provided by an embodiment of the present disclosure.
- the processing operations in the embodiments of the present disclosure include, but are not limited to, enhanced beautification operations, where the enhanced beautification operations include, but are not limited to, contrast operations, blur operations, mosaic operations, filter operations, beautification operations, and cropping operations. It is worth noting that the types listed here are only a few common types of processing operations. In actual applications, they can be flexibly adjusted according to specific application scenarios.
- the target image in the embodiments of the present disclosure refers to the image to be processed, which may be the image obtained after the shooting is completed, or the image obtained during the shooting process.
- the shooting process includes In the video process, if the image is obtained during the shooting process, the processing operation can be matched with the current shooting mode, for example, the beauty operation and the beauty shooting mode are matched.
- the processing operation in the embodiment of the present disclosure comes from a native application, the processing operation can be obtained directly from the native application to know the type of the processing operation. If the processing operation comes from a third-party application, The processing operation can be obtained by using touch information combined with text recognition, etc., so as to know the type of the processing operation. It is worth noting that as long as the method of obtaining the processing operation type is within the protection scope of the present disclosure, the present disclosure does not specifically limit this.
- S102 Determine a display image according to the processing operation, where the display image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation.
- detecting the processing operation performed on the target image and determining the display image according to the processing operation includes at least the following two situations:
- S202 Acquire at least part of the target image information after the processing operation and at least part of the target image information before the processing operation.
- S203 Splicing and integrating at least part of the target image information after the processing operation and at least part of the target image information before the processing operation to form a display image.
- Figure 3-1 is the target image (or original image) before the processing operation
- Figure 3-2 is the target image after the processing operation. Perform processing operations on all areas to obtain the target image information after the processing operation, and the dotted line shows the area to indicate the target image area where the processing operation has been performed so as to distinguish it from the original image;
- the target image information after the processing operation and at least part of the target image information before the processing operation are acquired; in some embodiments, the area 3021 shown in FIG. 3-2 is selected as the target image information after the processing operation, and The area 3011 shown in Fig. 3-1 is used as the target image information before the processing operation;
- FIG. 3-3 is a display image formed by splicing and integrating the target image information after the processing operation and the target image information before the processing operation.
- the display content of the display image in the embodiment of the present disclosure and the display content of the target image before the processing operation are completely the same, that is, the display content of the final display image is completely the same as the display content of the original image.
- the area 3021 shown in Fig. 3-2 is selected as the target image information after the processing operation
- the area 3012 shown in Fig. 3-1 is selected as the target image information before the processing operation.
- Figure 3-4 is a display image formed by splicing and integrating the target image information after the processing operation and the target image information before the processing operation.
- S401 Detect processing operations on a partial area of the target image.
- S402 Directly use the target image after the processing operation as the display image, where the image of a partial area of the target image is used as the target image information after the processing operation, and the image of the other area of the target image except the partial area is used as the target image information before the processing operation .
- Figure 5-1 is the target image (or original image) before the processing operation
- Figure 5-2 is the target image after the processing operation.
- Part of the area 5011 performs processing operations to obtain the target image information after the processing operation. Except for the partial area 5011, the other areas 5012 have not performed any processing operations.
- the dotted line indicates the area of the target image that has been processed so as to compare with the original image. distinguish;
- the target image after the processing operation is directly used as the display image, that is, the final display image is shown in Fig. 5-2, where the image of the partial area 5021 of the target image is used as the target image information after the processing operation, and the target image is divided by part of the area.
- the image of the area 5022 other than 5021 is used as the target image information before the processing operation.
- the above-listed are only two detection processing operations performed on the target image. According to the processing operations, the condition of the displayed image is determined. In actual applications, it can be flexibly adjusted according to specific application scenarios.
- the method further includes: displaying the display image.
- displaying the display image before displaying the display image in the embodiments of the present disclosure, it further includes: encrypting the target image information after the processing operation or the target image information before the processing operation; wherein, displaying the display image includes: displaying the unencrypted Target image information; when the password information is received and the standard password information is matched successfully, the encrypted target image information is displayed.
- the user can set a standard password information in advance, and set the target image information after the processing operation or the target image information before the processing operation to be encrypted according to the standard password information, and then the user can use the standard password information to encrypt the target image information before the processing operation.
- the encrypted information encrypts the set target image information, that is, the encrypted target information is not displayed, only the unencrypted target image information is displayed. If you need to view the encrypted target image information, you must match the received password information with the standard password information Only when successful, the encrypted target image information is displayed; this improves the display flexibility of the displayed image to a certain extent, which is more in line with user needs and protects user privacy.
- displaying the display image before displaying the display image in the embodiments of the present disclosure, it further includes: setting the transparency of the target image information after the processing operation or the target image information before the processing operation; wherein, displaying the display image includes: according to the setting The transparency of the corresponding display target image information.
- the user can set the transparency threshold in advance, and set the transparency threshold to set the transparency of the target image information after the processing operation or the target image information before the processing operation.
- the transparency of the target image information after the processing operation is set.
- the target image information and the target image information before the processing operation are respectively corresponding to set the transparency threshold.
- the transparency threshold can also be set for only one of them; then before the display image is displayed, the transparency of the set target image information is set according to the transparency threshold. ; This improves the display flexibility and interest of the displayed image to a certain extent, which is more in line with user needs.
- the display image before displaying the displayed image in the embodiments of the present disclosure, it further includes: acquiring image size information and display screen size information, and dividing the display screen into arbitrary shapes according to the image size information and display screen size information; Display image, including: display the display image in the divided area.
- P P>5 points on the display screen.
- the P value can be set by the user or the default value.
- the four corners of the display screen must have 1 point each, and then calculate the distance between the points. If the distance is If it is closer, delete one of the points to ensure that the points are scattered, and record the number and position of the last reserved points. If the number of points is less than 5, then regenerate P points;
- the user can adjust the vertices and edges of the triangle according to their needs, such as deleting a certain edge, moving the vertex position, etc., and finally get a combination of arbitrary shapes of regional blocks, as shown in Figure 6-2, in the case of Figure 6-1
- the user deletes 1 vertex and 5 edges to obtain a pentagonal area block, and the others are all triangular area blocks;
- the display image is displayed in the divided area blocks.
- the target image information after the processing operation included in the display image is displayed in the pentagonal area block, and the display image includes the target image information before the processing operation.
- the image information is displayed in each triangular area block. It is worth noting that the display of the display image in the divided area blocks can be customized by the user. At the same time, when the display image is displayed in the divided area blocks, the shape of the displayed image changes with the shape of the divided area blocks.
- the display image is displayed in a plurality of areas of arbitrary shape, which further improves the display flexibility and interest of the displayed image, which is more in line with user needs, and the user experience satisfaction is greatly improved.
- the image display control method detects the processing operation performed on the target image, and further determines the display image according to the processing operation, wherein the display image includes at least a part of the target image information after the processing operation, and at least a part of the area To process the target image information before the operation; compared with related technologies, it has at least the following advantages:
- the image effects before and after the processing operation can be displayed at the same time, which is convenient for the user to view the image effect comparison before and after the processing operation, avoiding the phenomenon that the user needs to manually switch to view the image effect comparison before and after the processing operation in the related technology. Bring a lot of convenience;
- the display screen is divided into areas of any shape, so that the displayed image is displayed in the divided areas of any shape, which improves the display flexibility and interest of the displayed image;
- the target image information can be correspondingly displayed according to the set transparency, which further enhances the display flexibility and interest of the displayed image;
- the target image information can be correspondingly displayed according to the set standard password information, which is more in line with user needs and protects user privacy.
- the embodiments of the present disclosure take a specific image display control process as an example for description, please refer to FIG. 7.
- S701 Detect beautifying operations performed on all areas of the target image.
- S702 Acquire at least part of the target image information after the beautification operation and at least part of the target image information before the beautification operation.
- S703 Splice and integrate at least part of the target image information after the beautification operation and at least part of the target image information before the beautification operation to form a display image, and the display content of the display image is exactly the same as the display content of the target image before the beautification operation.
- S705 Divide the display screen into any shape according to the image size information and the display size information, and divide it into N area blocks.
- S706 Display the target image information after the beautification operation included in the display image in M (M ⁇ N) area blocks, and display the target image information before the beautification operation included in the display image in N-M area blocks.
- the embodiments of the present disclosure take a specific image display control process as an example for description, please refer to FIG. 8.
- S801 Detect a beautifying operation performed on a partial area of the target image.
- S802 Directly use the target image after the beautification operation as the display image, where the image of a part of the target image is used as the target image information after the beautification operation, and the image of the target image except for the partial area is used as the image before the beautification operation Target image information.
- S804 Divide the display screen into any shape according to the image size information and the display size information, and divide it into N area blocks.
- S805 Display the target image information after the beautification operation included in the display image in M (M ⁇ N) area blocks, and display the target image information before the beautification operation included in the display image in N-M area blocks.
- the embodiments of the present disclosure take a specific image display control process as an example for description, please refer to FIG. 9.
- S901 Detect processing operations performed on all areas of the target image.
- S902 Acquire at least part of the target image information after the processing operation and at least part of the target image information before the processing operation.
- S903 Splice and integrate at least part of the target image information after the processing operation and at least part of the target image information before the processing operation to form a display image, and the display content of the display image is exactly the same as the display content of the target image before the processing operation.
- S905 Divide the display screen into any shape according to the image size information and the display size information, and divide it into N area blocks.
- S906 Encrypt the target image information before the processing operation.
- S904 ⁇ S905 and S906 can be executed interactively in sequence or simultaneously.
- S907 Display the target image information after the processing operation included in the display image in M (M ⁇ N) area blocks, and display the target image information before the processing operation included in the display image occupies the NM area blocks but is not displayed. blank.
- An embodiment of the present disclosure provides a terminal.
- the terminal provided in an embodiment of the present disclosure includes a processor 1001, a memory 1002, and a communication bus 1003;
- the communication bus 1003 is used to implement connection and communication between the processor 1001 and the memory 1002;
- the processor 1001 is configured to execute one or more programs stored in the memory 1002 to implement the steps of the image display control method in the first to fourth embodiments.
- the embodiments of the present disclosure also provide a computer-readable storage medium, and the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, so as to implement the above-mentioned first to fourth embodiments.
- the steps of the image display control method are also provided.
- the computer-readable storage medium includes volatile or nonvolatile, removable or Non-removable media.
- Computer-readable storage media include but are not limited to RAM (Random Access Memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory), and electrically erasable programmable read-only memory ), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or any other medium that can be used to store desired information and that can be accessed by a computer.
- the image display control method, the terminal, and the technical solutions of the computer-readable storage medium provided by the embodiments of the present disclosure. These technical solutions detect the processing operation performed on the target image, and determine the display image according to the processing operation, wherein the display image includes at least a part of the area At least a part of the target image information after the processing operation is the target image information before the processing operation, which solves the problem of directly displaying the image after the processing operation in the related art.
- the display mode is single and it is inconvenient for the user to view the image before the processing operation. The problem of poor user experience satisfaction.
- the displayed image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation.
- the display mode is more flexible, and the user can directly compare the image effect before and after the processing operation by viewing the displayed image, which avoids the phenomenon that the user needs to manually switch to view the comparison of the image effect before and after the processing in the related technology. It brings a lot of convenience to users and greatly improves user experience satisfaction.
- the computer-readable medium may include computer storage Medium (or non-transitory medium) and communication medium (or temporary medium).
- computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. . Therefore, the present disclosure is not limited to any specific combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
相关申请的交叉引用Cross-references to related applications
本公开要求享有2019年12月06日提交的名称为“图像显示控制方法、终端及计算机可读存储介质”的中国专利申请CN201911244180.7的优先权,其全部内容通过引用并入本文中。This disclosure claims the priority of the Chinese patent application CN201911244180.7 entitled "Image display control method, terminal and computer readable storage medium" filed on December 6, 2019, the entire content of which is incorporated herein by reference.
本公开实施例涉及但不限于图像处理技术领域,尤其涉及但不限于一种图像显示控制方法、终端及计算机可读存储介质。The embodiments of the present disclosure relate to, but are not limited to, the field of image processing technology, and in particular to, but are not limited to, an image display control method, a terminal, and a computer-readable storage medium.
随着终端技术的发展,智能手机、平板电脑等智能终端的普及率越来越高,人们对智能终端的要求也越来越高,不仅需要较高的处理速度,还希望操作越来越便捷。为方便描述,上述终端以智能手机为例,目前拍摄作为手机的一个重要功能深受用户的喜爱,用户为了使拍摄的视频或照片呈现出更好的美感和自我的风格,通常会采用一些图像处理技术,如美颜、风格化等操作,但在一些情形中的处理方式是直接显示处理后的效果,显示方式较为单一;且若用户想要查看处理前的图像效果还需手动进行切换,操作十分繁琐,给用户带来诸多不便,大大降低了用户的体验满意度。With the development of terminal technology, the penetration rate of smart terminals such as smart phones and tablet computers is getting higher and higher, and people’s requirements for smart terminals are getting higher and higher. Not only do they need higher processing speed, but also hope that the operation will become more and more convenient . For the convenience of description, the above terminal takes a smart phone as an example. Currently, shooting is an important function of the mobile phone and is loved by users. In order to make the captured video or photo present a better aesthetic and self-style, the user usually adopts some images. Processing technology, such as beauty, stylization, etc., but in some cases, the processing method is to directly display the processed effect, and the display method is relatively simple; and if the user wants to view the image effect before processing, it needs to be manually switched. The operation is very cumbersome, brings a lot of inconvenience to users, and greatly reduces user experience satisfaction.
发明内容Summary of the invention
本公开实施例提供的图像显示控制方法、终端及计算机可读存储介质,主要解决的技术问题是相关技术中直接显示进行处理操作后的图像,显示方式单一,且不便于用户查看处理操作前的图像,造成用户体验满意度差。The image display control method, terminal, and computer-readable storage medium provided by the embodiments of the present disclosure mainly solve the technical problem of directly displaying the image after the processing operation in the related art, the display mode is single, and it is inconvenient for the user to view the image before the processing operation. Images, resulting in poor user experience satisfaction.
为解决上述技术问题,本公开实施例提供了一种图像显示控制方法,包括:To solve the above technical problems, embodiments of the present disclosure provide an image display control method, including:
检测对目标图像进行的处理操作;Detect processing operations performed on the target image;
根据所述处理操作确定显示图像,所述显示图像包括至少一部分区域为处理操作后的目标图像信息,至少一部分区域为处理操作前的目标图像信息。The display image is determined according to the processing operation, and the display image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation.
为解决上述技术问题,本公开实施例提供了一种终端,包括处理器、存储器和通信总线;In order to solve the foregoing technical problems, embodiments of the present disclosure provide a terminal, including a processor, a memory, and a communication bus;
所述通信总线用于实现所述处理器和存储器之间的连接通信;The communication bus is used to implement connection and communication between the processor and the memory;
所述处理器用于执行所述存储器中存储的一个或者多个程序,以实现如上所述的图像显示控制方法的步骤。The processor is configured to execute one or more programs stored in the memory to implement the steps of the image display control method described above.
为解决上述技术问题,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上所述的图像显示控制方法的步骤。In order to solve the above technical problems, embodiments of the present disclosure provide a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be used by one or more processors. Executed to implement the steps of the image display control method as described above.
本公开其他特征和相应的有益效果在说明书的后面部分进行阐述说明,且应当理解,至少部分有益效果从本公开说明书中的记载变的显而易见。Other features of the present disclosure and corresponding beneficial effects are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects will become apparent from the description in the specification of the present disclosure.
下面将结合附图及实施例对本公开作进一步说明,附图中:The present disclosure will be further described below in conjunction with the accompanying drawings and embodiments. In the accompanying drawings:
图1为本公开实施例一提供的图像显示控制方法的基本流程示意图;FIG. 1 is a schematic diagram of the basic flow of an image display control method provided by Embodiment 1 of the present disclosure;
图2为本公开实施例一提供的检测对目标图像进行的处理操作,根据处理操作确定显示图像的基本流程示意图一;2 is a schematic diagram 1 of the basic flow chart for detecting the processing operation performed on the target image according to the first embodiment of the disclosure, and determining the display image according to the processing operation;
图3-1为本公开实施例一提供的进行处理操作前的目标图像一;Figure 3-1 is the first target image before processing operation provided by the first embodiment of the present disclosure;
图3-2为本公开实施例一提供的进行处理操作后的目标图像一;FIG. 3-2 is a target image 1 after processing operation provided in Embodiment 1 of the present disclosure;
图3-3为本公开实施例一提供的显示图像一;Figure 3-3 is a display image 1 provided by Embodiment 1 of the present disclosure;
图3-4为本公开实施例一提供的显示图像二;Figure 3-4 is the second display image provided by the first embodiment of the present disclosure;
图4为本公开实施例一提供的检测对目标图像进行的处理操作,根据处理操作确定显示图像的基本流程示意图二;4 is a schematic diagram of the second embodiment of the processing operation of detecting the target image provided by the first embodiment of the disclosure, and determining the basic flow of the display image according to the processing operation;
图5-1为本公开实施例一提供的进行处理操作前的目标图像二;FIG. 5-1 is the second target image before the processing operation provided in the first embodiment of the disclosure;
图5-2为本公开实施例一提供的进行处理操作后的目标图像二;Fig. 5-2 is the second target image after processing operation provided in the first embodiment of the disclosure;
图6-1为本公开实施例一提供的对显示屏进行划分得到多个三角形区域块的示意图;6-1 is a schematic diagram of dividing a display screen to obtain multiple triangular area blocks according to Embodiment 1 of the present disclosure;
图6-2为本公开实施例一提供的用户调整多个三角形区域块后的示意图;FIG. 6-2 is a schematic diagram of a user after adjusting a plurality of triangular area blocks according to Embodiment 1 of the present disclosure; FIG.
图7为本公开实施例二提供的图像显示控制方法的基本流程示意图;FIG. 7 is a schematic diagram of the basic flow of the image display control method provided by the second embodiment of the disclosure; FIG.
图8为本公开实施例三提供的图像显示控制方法的基本流程示意图;FIG. 8 is a schematic diagram of the basic flow of the image display control method provided by the third embodiment of the disclosure; FIG.
图9为本公开实施例四提供的图像显示控制方法的基本流程示意图;FIG. 9 is a schematic diagram of the basic flow of the image display control method provided by the fourth embodiment of the disclosure; FIG.
图10为本公开实施例五提供的终端的结构示意图FIG. 10 is a schematic structural diagram of a terminal provided by Embodiment 5 of the disclosure
为了使本公开的目的、技术方案及优点更加清楚明白,下面通过具体实施方式结合附图对本公开实施例作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。In order to make the objectives, technical solutions, and advantages of the present disclosure clearer, the following further describes the embodiments of the present disclosure in detail through specific implementations in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present disclosure, but not used to limit the present disclosure.
实施例一:Example one:
为了解决相关技术中直接显示进行处理操作后的图像,显示方式单一,且不便于用户查看处理操作前的图像,造成用户体验满意度差的问题,本公开实施例中提供了一种图像显示控制方法,通过检测对目标图像进行的处理操作,根据处理操作确定显示图像,其中显示图像包括至少一部分区域为处理操作后的目标图像信息,至少一部分区域为处理操作前的目标图像信息;请参见图1所示,为本公开实施例提供的图像显示控制方法的流程示意图。In order to solve the problem of directly displaying the image after the processing operation in the related art, the display mode is single, and it is inconvenient for the user to view the image before the processing operation, resulting in poor user experience satisfaction, an embodiment of the present disclosure provides an image display control The method is to detect the processing operation performed on the target image, and determine the display image according to the processing operation, wherein the display image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation; see figure 1 is a schematic flowchart of an image display control method provided by an embodiment of the present disclosure.
S101:检测对目标图像进行的处理操作。S101: Detect a processing operation performed on the target image.
本公开实施例中处理操作包括但不限于增强美化操作,其中增强美化操作包括但不限于对比度操作、模糊操作、马赛克操作、滤镜操作、美颜操作、裁剪操作。值得注意的是,这里所列举的只是常见的几种处理操作类型,在实际应用中,可根据具体应用场景做灵活调整。The processing operations in the embodiments of the present disclosure include, but are not limited to, enhanced beautification operations, where the enhanced beautification operations include, but are not limited to, contrast operations, blur operations, mosaic operations, filter operations, beautification operations, and cropping operations. It is worth noting that the types listed here are only a few common types of processing operations. In actual applications, they can be flexibly adjusted according to specific application scenarios.
应当理解的是,本公开实施例中的目标图像指代的是待进行处理操作的图像,其中其可以是拍摄完成获取得到的图像,也可以是拍摄过程中获取得到的图像,当然拍摄过程包括视频过程,如果是拍摄过程中获取得到的图像,则处理操作可和当前的拍摄模式相匹配,例如美颜操作和美颜拍摄模式匹配。It should be understood that the target image in the embodiments of the present disclosure refers to the image to be processed, which may be the image obtained after the shooting is completed, or the image obtained during the shooting process. Of course, the shooting process includes In the video process, if the image is obtained during the shooting process, the processing operation can be matched with the current shooting mode, for example, the beauty operation and the beauty shooting mode are matched.
还应当理解的是,本公开实施例中的处理操作若是来自于本机应用,则可直接从本机应用中获取处理操作从而得知处理操作的类型,处理操作若是来自于第三方应用,则可采用触控信息结合文字识别等方式获取处理操作从而得知处理操作的类型。值得注意的是,只要能实现获取处理操作类型的方式均在本公开的保护范畴内,对此本公开不做具体限定。It should also be understood that if the processing operation in the embodiment of the present disclosure comes from a native application, the processing operation can be obtained directly from the native application to know the type of the processing operation. If the processing operation comes from a third-party application, The processing operation can be obtained by using touch information combined with text recognition, etc., so as to know the type of the processing operation. It is worth noting that as long as the method of obtaining the processing operation type is within the protection scope of the present disclosure, the present disclosure does not specifically limit this.
S102:根据处理操作确定显示图像,显示图像包括至少一部分区域为处理操作后的目标图像信息,至少一部分区域为处理操作前的目标图像信息。S102: Determine a display image according to the processing operation, where the display image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation.
本公开实施例中检测对目标图像进行的处理操作,根据处理操作确定显示图像,包括至少以下两种情况:In the embodiment of the present disclosure, detecting the processing operation performed on the target image and determining the display image according to the processing operation includes at least the following two situations:
情况一,请参见图2所示:Case 1, please refer to Figure 2:
S201:检测对目标图像的全部区域进行的处理操作。S201: Detect processing operations performed on all regions of the target image.
S202:获取至少部分处理操作后的目标图像信息和至少部分处理操作前的目标图像信息。S202: Acquire at least part of the target image information after the processing operation and at least part of the target image information before the processing operation.
S203:将至少部分处理操作后的目标图像信息和至少部分处理操作前的目标图像信息进行拼接整合形成显示图像。S203: Splicing and integrating at least part of the target image information after the processing operation and at least part of the target image information before the processing operation to form a display image.
为了更好地理解,这里以一个具体示例进行说明:In order to better understand, here is a specific example for illustration:
请参见图3-1、3-2所示,图3-1为进行处理操作前的目标图像(即原图),图3-2为进 行处理操作后的目标图像,其中是对原图的全部区域进行处理操作得到处理操作后的目标图像信息,虚线示出区域表示进行了处理操作的目标图像区域以便于和原图相区分;Please refer to Figures 3-1 and 3-2. Figure 3-1 is the target image (or original image) before the processing operation, and Figure 3-2 is the target image after the processing operation. Perform processing operations on all areas to obtain the target image information after the processing operation, and the dotted line shows the area to indicate the target image area where the processing operation has been performed so as to distinguish it from the original image;
进一步地,获取至少部分处理操作后的目标图像信息和至少部分进行处理操作前的目标图像信息;在一些实施方案中,选取图3-2所示区域3021作为处理操作后的目标图像信息,选取图3-1所示区域3011作为处理操作前的目标图像信息;Further, at least part of the target image information after the processing operation and at least part of the target image information before the processing operation are acquired; in some embodiments, the
进一步地,请参见图3-3所示,为将处理操作后的目标图像信息和处理操作前的目标图像信息进行拼接整合形成的显示图像。Further, please refer to FIG. 3-3, which is a display image formed by splicing and integrating the target image information after the processing operation and the target image information before the processing operation.
在一些实施方案中,本公开实施例中显示图像的显示内容和处理操作前的目标图像的显示内容完全相同,即最终的显示图像的显示内容和原图的显示内容完全相同。In some embodiments, the display content of the display image in the embodiment of the present disclosure and the display content of the target image before the processing operation are completely the same, that is, the display content of the final display image is completely the same as the display content of the original image.
仍以上述图3-1、3-2进行示例说明,选取图3-2所示区域3021作为处理操作后的目标图像信息,选取图3-1所示区域3012作为处理操作前的目标图像信息;进一步地,请参见图3-4所示,为将处理操作后的目标图像信息和处理操作前的目标图像信息进行拼接整合形成的显示图像。Still taking the above figures 3-1 and 3-2 as an example, the
值得注意的是,最终的显示图像的显示内容和原图的显示内容是否相同取决于获取的处理操作后的目标图像信息和处理操作前的目标图像信息,在实际应用中,可根据具体应用场景做灵活调整。It is worth noting that whether the display content of the final display image is the same as that of the original image depends on the acquired target image information after the processing operation and the target image information before the processing operation. In actual applications, it can be based on specific application scenarios. Make flexible adjustments.
情况二,请参见图4所示:Situation two, please refer to Figure 4:
S401:检测对目标图像的部分区域进行处理操作。S401: Detect processing operations on a partial area of the target image.
S402:将处理操作后的目标图像直接作为显示图像,其中目标图像部分区域的图像作为处理操作后的目标图像信息,目标图像除部分区域之外的其他区域的图像作为处理操作前的目标图像信息。S402: Directly use the target image after the processing operation as the display image, where the image of a partial area of the target image is used as the target image information after the processing operation, and the image of the other area of the target image except the partial area is used as the target image information before the processing operation .
为了更好地理解,这里仍以一个具体示例进行说明:In order to better understand, here is still a specific example for explanation:
请参见图5-1、5-2所示,图5-1为进行处理操作前的目标图像(即原图),图5-2为进行处理操作后的目标图像,其中是对原图的部分区域5011进行处理操作得到处理操作后的目标图像信息,除部分区域5011之外的其他区域5012未进行任何处理操作,虚线示出区域表示进行了处理操作的目标图像区域以便于和原图相区分;Please refer to Figures 5-1 and 5-2. Figure 5-1 is the target image (or original image) before the processing operation, and Figure 5-2 is the target image after the processing operation. Part of the
进一步地,将处理操作后的目标图像直接作为显示图像,即最终的显示图像为图5-2所示,其中目标图像部分区域5021的图像作为处理操作后的目标图像信息,目标图像除部分区域5021之外的其他区域5022的图像作为处理操作前的目标图像信息。Further, the target image after the processing operation is directly used as the display image, that is, the final display image is shown in Fig. 5-2, where the image of the partial area 5021 of the target image is used as the target image information after the processing operation, and the target image is divided by part of the area. The image of the area 5022 other than 5021 is used as the target image information before the processing operation.
值得注意的是,上述所列举的只是两种检测对目标图像进行的处理操作,根据处理操作确定显示图像的情况,在实际应用中,可根据具体应用场景做灵活调整。It is worth noting that the above-listed are only two detection processing operations performed on the target image. According to the processing operations, the condition of the displayed image is determined. In actual applications, it can be flexibly adjusted according to specific application scenarios.
在一些实施方案中,本公开实施例中根据处理操作确定显示图像之后,还包括:显示 显示图像。In some embodiments, after determining the display image according to the processing operation in the embodiments of the present disclosure, the method further includes: displaying the display image.
在一些实施方案中,本公开实施例中显示显示图像之前,还包括:对处理操作后的目标图像信息或处理操作前的目标图像信息进行加密;其中,显示显示图像,包括:显示未加密的目标图像信息;在接收到密码信息和标准密码信息匹配成功时,显示加密的目标图像信息。In some embodiments, before displaying the display image in the embodiments of the present disclosure, it further includes: encrypting the target image information after the processing operation or the target image information before the processing operation; wherein, displaying the display image includes: displaying the unencrypted Target image information; when the password information is received and the standard password information is matched successfully, the encrypted target image information is displayed.
应当理解的是,用户可以预先设置一个标准密码信息,并设定根据该标准密码信息对处理操作后的目标图像信息或处理操作前的目标图像信息进行加密,那么在显示显示图像之前便先根据加密信息对设定的目标图像信息进行加密即加密的目标信息不显示,仅显示未加密的目标图像信息,若需查看加密的目标图像信息,则必须在接收到的密码信息和标准密码信息匹配成功时,才显示加密的目标图像信息;这样在一定程度上提升了显示图像的显示灵活性,更加符合用户需求,保护了用户的隐私。It should be understood that the user can set a standard password information in advance, and set the target image information after the processing operation or the target image information before the processing operation to be encrypted according to the standard password information, and then the user can use the standard password information to encrypt the target image information before the processing operation. The encrypted information encrypts the set target image information, that is, the encrypted target information is not displayed, only the unencrypted target image information is displayed. If you need to view the encrypted target image information, you must match the received password information with the standard password information Only when successful, the encrypted target image information is displayed; this improves the display flexibility of the displayed image to a certain extent, which is more in line with user needs and protects user privacy.
在一些实施方案中,本公开实施例中显示显示图像之前,还包括:对处理操作后的目标图像信息或处理操作前的目标图像信息的透明度进行设置;其中,显示显示图像,包括:根据设置的透明度对应显示目标图像信息。In some embodiments, before displaying the display image in the embodiments of the present disclosure, it further includes: setting the transparency of the target image information after the processing operation or the target image information before the processing operation; wherein, displaying the display image includes: according to the setting The transparency of the corresponding display target image information.
应当理解的是,用户可以预先设置透明度阈值,并设定根据该透明度阈值对处理操作后的目标图像信息或处理操作前的目标图像信息的透明度进行设置,在一些实施方案中,处理操作后的目标图像信息和处理操作前的目标图像信息分别对应设置透明度阈值,当然,也可仅对其中一个设置透明度阈值;那么在显示显示图像之前便先根据透明度阈值对设定的目标图像信息进行透明度设置;这样在一定程度上提升了显示图像的显示灵活性和趣味性,更加符合用户需求。It should be understood that the user can set the transparency threshold in advance, and set the transparency threshold to set the transparency of the target image information after the processing operation or the target image information before the processing operation. In some embodiments, the transparency of the target image information after the processing operation is set. The target image information and the target image information before the processing operation are respectively corresponding to set the transparency threshold. Of course, the transparency threshold can also be set for only one of them; then before the display image is displayed, the transparency of the set target image information is set according to the transparency threshold. ; This improves the display flexibility and interest of the displayed image to a certain extent, which is more in line with user needs.
在一些实施方案中,本公开实施例中显示显示图像之前,还包括:获取图像尺寸信息、显示屏尺寸信息,根据图像尺寸信息、显示屏尺寸信息对显示屏进行任意形状的划分;其中,显示显示图像,包括:将显示图像显示在划分的区域中。In some embodiments, before displaying the displayed image in the embodiments of the present disclosure, it further includes: acquiring image size information and display screen size information, and dividing the display screen into arbitrary shapes according to the image size information and display screen size information; Display image, including: display the display image in the divided area.
为了更好的理解,这里以一个具体示例进行说明:For a better understanding, here is a specific example for illustration:
首先,在显示屏上随机生成P(P>5)个点,其中P值可以用户设置也可以采用默认值,显示屏四角各必有1点,然后计算点与点之间的距离,如果距离较近则删除其中1个点,保证点与点之间是分散的,记录最后保留点的个数和位置,如果点数小于5,则重新生成P个点;First, randomly generate P (P>5) points on the display screen. The P value can be set by the user or the default value. The four corners of the display screen must have 1 point each, and then calculate the distance between the points. If the distance is If it is closer, delete one of the points to ensure that the points are scattered, and record the number and position of the last reserved points. If the number of points is less than 5, then regenerate P points;
其次,利用delaunay三角剖分算法对整个显示屏进行划分,得到多个三角形区域块,如图6-1所示;Secondly, use the delaunay triangulation algorithm to divide the entire display screen to obtain multiple triangular area blocks, as shown in Figure 6-1;
然后,用户可以根据需求调整三角形的顶点和边,如删除某条边、移动顶点位置等,最终得到任意形状的区域块组合,如图6-2所示,为在图6-1的情况下用户删除1个顶点 和5条边获得一个五边形区域块,其他均为三角形区域块;Then, the user can adjust the vertices and edges of the triangle according to their needs, such as deleting a certain edge, moving the vertex position, etc., and finally get a combination of arbitrary shapes of regional blocks, as shown in Figure 6-2, in the case of Figure 6-1 The user deletes 1 vertex and 5 edges to obtain a pentagonal area block, and the others are all triangular area blocks;
最后,将显示图像显示在划分的区域块中,在一些实施方案中,将显示图像包括的处理操作后的目标图像信息显示在五边形区域块中,将显示图像包括的处理操作前的目标图像信息显示在各个三角形区域块中。值得注意的是,将显示图像显示在划分的区域块中可由用户自定义设置,同时显示图像显示在划分的区域块中时,显示图像的形状跟随划分区域块的形状变化而变化。Finally, the display image is displayed in the divided area blocks. In some embodiments, the target image information after the processing operation included in the display image is displayed in the pentagonal area block, and the display image includes the target image information before the processing operation. The image information is displayed in each triangular area block. It is worth noting that the display of the display image in the divided area blocks can be customized by the user. At the same time, when the display image is displayed in the divided area blocks, the shape of the displayed image changes with the shape of the divided area blocks.
这样,将显示图像显示在多个任意形状的区域中,进一步提升了显示图像的显示灵活性和趣味性,更加符合用户需求,大大提升了用户的体验满意度。In this way, the display image is displayed in a plurality of areas of arbitrary shape, which further improves the display flexibility and interest of the displayed image, which is more in line with user needs, and the user experience satisfaction is greatly improved.
值得注意的是,这里所列举的只是一种根据图像尺寸信息、显示屏尺寸信息对显示屏进行划分的方式,在实际应用中,可根据具体应用场景做灵活调整。It is worth noting that what is listed here is just a way to divide the display screen based on image size information and display size information. In actual applications, it can be flexibly adjusted according to specific application scenarios.
同时还值得注意的是,上述所列举的三种显示图像的显示方式可任意结合,也可单独执行,在实际应用中,可根据具体应用场景做灵活调整。At the same time, it is also worth noting that the display modes of the three display images listed above can be combined arbitrarily or executed separately, and can be flexibly adjusted according to specific application scenarios in actual applications.
本公开实施例提供的图像显示控制方法,通过检测对目标图像进行的处理操作,进一步地,根据处理操作确定显示图像,其中显示图像包括至少一部分区域为处理操作后的目标图像信息,至少一部分区域为处理操作前的目标图像信息;和相关技术相比,至少具备以下优点:The image display control method provided by the embodiments of the present disclosure detects the processing operation performed on the target image, and further determines the display image according to the processing operation, wherein the display image includes at least a part of the target image information after the processing operation, and at least a part of the area To process the target image information before the operation; compared with related technologies, it has at least the following advantages:
一、可以同时显示处理操作前后的图像效果,便于用户查看处理操作前后的图像效果对比,避免了相关技术中用户想要查看处理操作前后的图像效果对比还需手动进行切换的现象发生,为用户带来诸多便利;1. The image effects before and after the processing operation can be displayed at the same time, which is convenient for the user to view the image effect comparison before and after the processing operation, avoiding the phenomenon that the user needs to manually switch to view the image effect comparison before and after the processing operation in the related technology. Bring a lot of convenience;
二、通过获取图像尺寸信息、显示屏尺寸信息对显示屏进行了任意形状的区域划分,从而将显示图像显示在划分的任意形状的区域中,提升了显示图像的显示灵活性和趣味性;2. By obtaining image size information and display size information, the display screen is divided into areas of any shape, so that the displayed image is displayed in the divided areas of any shape, which improves the display flexibility and interest of the displayed image;
三、可以根据设置的透明度对应显示目标图像信息,进一步提升了显示图像的显示灵活性和趣味性;3. The target image information can be correspondingly displayed according to the set transparency, which further enhances the display flexibility and interest of the displayed image;
四、可以根据设置的标准密码信息对应显示目标图像信息,更加符合用户需求,保护了用户的隐私。Fourth, the target image information can be correspondingly displayed according to the set standard password information, which is more in line with user needs and protects user privacy.
实施例二:Embodiment two:
本公开实施例在实施例一的基础上,以一种具体的图像显示控制过程为例进行说明,请参见图7所示。On the basis of the first embodiment, the embodiments of the present disclosure take a specific image display control process as an example for description, please refer to FIG. 7.
S701:检测对目标图像的全部区域进行的美颜操作。S701: Detect beautifying operations performed on all areas of the target image.
S702:获取至少部分美颜操作后的目标图像信息和至少部分美颜操作前的目标图像信息。S702: Acquire at least part of the target image information after the beautification operation and at least part of the target image information before the beautification operation.
S703:将至少部分美颜操作后的目标图像信息和至少部分美颜操作前的目标图像信息进行拼接整合形成显示图像,该显示图像的显示内容和美颜操作前的目标图像的显示内容完全相同。S703: Splice and integrate at least part of the target image information after the beautification operation and at least part of the target image information before the beautification operation to form a display image, and the display content of the display image is exactly the same as the display content of the target image before the beautification operation.
S704:获取图像尺寸信息、显示屏尺寸信息。S704: Obtain image size information and display size information.
S705:根据图像尺寸信息、显示屏尺寸信息对显示屏进行任意形状的划分,划分为N个区域块。S705: Divide the display screen into any shape according to the image size information and the display size information, and divide it into N area blocks.
S706:将显示图像包括的美颜操作后的目标图像信息显示在M(M<N)个区域块中,将显示图像包括的美颜操作前的目标图像信息显示在N-M个区域块中。S706: Display the target image information after the beautification operation included in the display image in M (M<N) area blocks, and display the target image information before the beautification operation included in the display image in N-M area blocks.
实施例三:Embodiment three:
本公开实施例在实施例一的基础上,以一种具体的图像显示控制过程为例进行说明,请参见图8所示。On the basis of the first embodiment, the embodiments of the present disclosure take a specific image display control process as an example for description, please refer to FIG. 8.
S801:检测对目标图像的部分区域进行的美颜操作。S801: Detect a beautifying operation performed on a partial area of the target image.
S802:将美颜操作后的目标图像直接作为显示图像,其中目标图像部分区域的图像作为美颜操作后的目标图像信息,目标图像除部分区域之外的其他区域的图像作为美颜操作前的目标图像信息。S802: Directly use the target image after the beautification operation as the display image, where the image of a part of the target image is used as the target image information after the beautification operation, and the image of the target image except for the partial area is used as the image before the beautification operation Target image information.
S803:获取图像尺寸信息、显示屏尺寸信息。S803: Obtain image size information and display size information.
S804:根据图像尺寸信息、显示屏尺寸信息对显示屏进行任意形状的划分,划分为N个区域块。S804: Divide the display screen into any shape according to the image size information and the display size information, and divide it into N area blocks.
S805:将显示图像包括的美颜操作后的目标图像信息显示在M(M<N)个区域块中,将显示图像包括的美颜操作前的目标图像信息显示在N-M个区域块中。S805: Display the target image information after the beautification operation included in the display image in M (M<N) area blocks, and display the target image information before the beautification operation included in the display image in N-M area blocks.
实施例四:Embodiment four:
本公开实施例在实施例一的基础上,以一种具体的图像显示控制过程为例进行说明,请参见图9所示。On the basis of the first embodiment, the embodiments of the present disclosure take a specific image display control process as an example for description, please refer to FIG. 9.
S901:检测对目标图像的全部区域进行的处理操作。S901: Detect processing operations performed on all areas of the target image.
S902:获取至少部分处理操作后的目标图像信息和至少部分处理操作前的目标图像信息。S902: Acquire at least part of the target image information after the processing operation and at least part of the target image information before the processing operation.
S903:将至少部分处理操作后的目标图像信息和至少部分处理操作前的目标图像信息进行拼接整合形成显示图像,该显示图像的显示内容和处理操作前的目标图像的显示内容完全相同。S903: Splice and integrate at least part of the target image information after the processing operation and at least part of the target image information before the processing operation to form a display image, and the display content of the display image is exactly the same as the display content of the target image before the processing operation.
S904:获取图像尺寸信息、显示屏尺寸信息。S904: Obtain image size information and display size information.
S905:根据图像尺寸信息、显示屏尺寸信息对显示屏进行任意形状的划分,划分为N个区域块。S905: Divide the display screen into any shape according to the image size information and the display size information, and divide it into N area blocks.
S906:对处理操作前的目标图像信息进行加密。S906: Encrypt the target image information before the processing operation.
其中S904~S905和S906可交互顺序执行,也可同时执行。Among them, S904~S905 and S906 can be executed interactively in sequence or simultaneously.
S907:将显示图像包括的处理操作后的目标图像信息显示在M(M<N)个区域块中,显示图像包括的处理操作前的目标图像信息占据在N-M个区域块中但未显示即显示空白。S907: Display the target image information after the processing operation included in the display image in M (M<N) area blocks, and display the target image information before the processing operation included in the display image occupies the NM area blocks but is not displayed. blank.
实施例五:Embodiment five:
本公开实施例中提供了一种终端,请参见图10所示,本公开实施例提供的终端包括处理器1001、存储器1002和通信总线1003;An embodiment of the present disclosure provides a terminal. As shown in FIG. 10, the terminal provided in an embodiment of the present disclosure includes a
通信总线1003用于实现处理器1001和存储器1002之间的连接通信;The
处理器1001用于执行存储器1002中存储的一个或者多个程序,以实现如实施例一至四中图像显示控制方法的步骤。The
值得注意的是,为了不累赘说明,在本公开实施例中并未完全阐述实施例一至四中的所有示例,应当明确的是,实施例一至四中的所有示例均适用于本实施例。It is worth noting that, in order not to cumbersome descriptions, all the examples in the first to fourth embodiments are not fully described in the embodiments of the present disclosure. It should be clear that all the examples in the first to fourth embodiments are applicable to this embodiment.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器执行,以实现如上述实施例一至四中图像显示控制方法的步骤。The embodiments of the present disclosure also provide a computer-readable storage medium, and the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, so as to implement the above-mentioned first to fourth embodiments. The steps of the image display control method.
该计算机可读存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、计算机程序模块或其他数据)的任何方法或技术中实施的易失性或非易失性、可移除或不可移除的介质。计算机可读存储介质包括但不限于RAM(Random Access Memory,随机存取存储器),ROM(Read-Only Memory,只读存储器),EEPROM(Electrically Erasable Programmable read only memory,带电可擦可编程只读存储器)、闪存或其他存储器技术、CD-ROM(Compact Disc Read-Only Memory,光盘只读存储器),数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。The computer-readable storage medium includes volatile or nonvolatile, removable or Non-removable media. Computer-readable storage media include but are not limited to RAM (Random Access Memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory), and electrically erasable programmable read-only memory ), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or any other medium that can be used to store desired information and that can be accessed by a computer.
本公开实施例提供的图像显示控制方法、终端及计算机可读存储介质的技术方案,这些技术方案通过检测对目标图像进行的处理操作,根据处理操作确定显示图像,其中显示图像包括至少一部分区域为处理操作后的目标图像信息,至少一部分区域为处理操作前的目标图像信息,解决了相关技术中直接显示进行处理操作后的图像,显示方式单一,且不便于用户查看处理操作前的图像,造成用户体验满意度差的问题。也即本公开实施例提供的 图像显示控制方法、终端及计算机可读存储介质,显示图像包括至少一部分区域为处理操作后的目标图像信息,至少一部分区域为处理操作前的目标图像信息,这样图像的显示方式更为灵活,且用户通过查看该显示图像便可直接对比处理操作前后的图像效果,避免了相关技术中用户想要查看处理前后的图像效果的对比还需手动进行切换的现象发生,为用户带来诸多便利,在极大程度上提升了用户的体验满意度。The image display control method, the terminal, and the technical solutions of the computer-readable storage medium provided by the embodiments of the present disclosure. These technical solutions detect the processing operation performed on the target image, and determine the display image according to the processing operation, wherein the display image includes at least a part of the area At least a part of the target image information after the processing operation is the target image information before the processing operation, which solves the problem of directly displaying the image after the processing operation in the related art. The display mode is single and it is inconvenient for the user to view the image before the processing operation. The problem of poor user experience satisfaction. That is, in the image display control method, terminal, and computer-readable storage medium provided by the embodiments of the present disclosure, the displayed image includes at least a part of the target image information after the processing operation, and at least a part of the target image information before the processing operation. The display mode is more flexible, and the user can directly compare the image effect before and after the processing operation by viewing the displayed image, which avoids the phenomenon that the user needs to manually switch to view the comparison of the image effect before and after the processing in the related technology. It brings a lot of convenience to users and greatly improves user experience satisfaction.
显然,本领域的技术人员应该明白,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件(可以用计算装置可执行的程序代码来实现)、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。Obviously, those skilled in the art should understand that all or some of the steps, functional modules/units in the system and the device in the method disclosed above can be implemented as software (which can be implemented by the program code executable by the computing device) , Firmware, hardware and their appropriate combination. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on a computer-readable medium and executed by a computing device. In some cases, the steps shown or described may be executed in a different order than here. The computer-readable medium may include computer storage Medium (or non-transitory medium) and communication medium (or temporary medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。所以,本公开不限制于任何特定的硬件和软件结合。In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. . Therefore, the present disclosure is not limited to any specific combination of hardware and software.
以上内容是结合具体的实施方式对本公开实施例所作的进一步详细说明,不能认定本公开的具体实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本公开的保护范围。The above content is a further detailed description of the embodiments of the present disclosure in conjunction with specific implementations, and it cannot be considered that the specific implementations of the present disclosure are limited to these descriptions. For those of ordinary skill in the technical field to which the present disclosure belongs, several simple deductions or substitutions can be made without departing from the concept of the present disclosure, which should be regarded as falling within the protection scope of the present disclosure.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911244180.7 | 2019-12-06 | ||
| CN201911244180.7A CN112927126A (en) | 2019-12-06 | 2019-12-06 | Image display control method, terminal, and computer-readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021110022A1 true WO2021110022A1 (en) | 2021-06-10 |
Family
ID=76161860
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/133293 Ceased WO2021110022A1 (en) | 2019-12-06 | 2020-12-02 | Image display control method, terminal, and computer readable storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112927126A (en) |
| WO (1) | WO2021110022A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114052793B (en) * | 2021-09-18 | 2024-11-12 | 武汉联影医疗科技有限公司 | A medical equipment auxiliary method, device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107862653A (en) * | 2017-11-30 | 2018-03-30 | 广东欧珀移动通信有限公司 | Method for displaying image, device, storage medium and electronic equipment |
| CN107909634A (en) * | 2017-11-30 | 2018-04-13 | 努比亚技术有限公司 | Image display method, mobile terminal and computer-readable recording medium |
| CN108234865A (en) * | 2017-12-20 | 2018-06-29 | 深圳市商汤科技有限公司 | Image processing method, device, computer readable storage medium and electronic equipment |
| CN109144384A (en) * | 2018-07-27 | 2019-01-04 | 北京微播视界科技有限公司 | Display methods, device, hardware device and computer readable storage medium |
| US20190208119A1 (en) * | 2016-08-19 | 2019-07-04 | Huawei Technologies Co., Ltd. | Image processing method and apparatus |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103605928B (en) * | 2013-11-18 | 2016-03-30 | 清华大学 | A kind of image method for secret protection and system |
| CN105825106B (en) * | 2015-11-30 | 2018-10-23 | 南京步步高通信科技有限公司 | It takes pictures and encrypts inspection method and mobile terminal |
| CN106372522A (en) * | 2016-09-29 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Photo shooting method, corresponding device, photo viewing method and corresponding device |
| CN107590770A (en) * | 2017-08-31 | 2018-01-16 | 努比亚技术有限公司 | Image obscures encryption method, mobile terminal and storage medium |
| CN109525888A (en) * | 2018-09-28 | 2019-03-26 | Oppo广东移动通信有限公司 | Image display method, image display device, electronic apparatus, and storage medium |
-
2019
- 2019-12-06 CN CN201911244180.7A patent/CN112927126A/en not_active Withdrawn
-
2020
- 2020-12-02 WO PCT/CN2020/133293 patent/WO2021110022A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190208119A1 (en) * | 2016-08-19 | 2019-07-04 | Huawei Technologies Co., Ltd. | Image processing method and apparatus |
| CN107862653A (en) * | 2017-11-30 | 2018-03-30 | 广东欧珀移动通信有限公司 | Method for displaying image, device, storage medium and electronic equipment |
| CN107909634A (en) * | 2017-11-30 | 2018-04-13 | 努比亚技术有限公司 | Image display method, mobile terminal and computer-readable recording medium |
| CN108234865A (en) * | 2017-12-20 | 2018-06-29 | 深圳市商汤科技有限公司 | Image processing method, device, computer readable storage medium and electronic equipment |
| CN109144384A (en) * | 2018-07-27 | 2019-01-04 | 北京微播视界科技有限公司 | Display methods, device, hardware device and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112927126A (en) | 2021-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20170171592A1 (en) | Method and electronic apparatus for adjusting viewing angle of Smart Television playing panorama videos | |
| KR102499139B1 (en) | Electronic device for displaying image and method for controlling thereof | |
| KR20180120022A (en) | Electronic apparatus and method for displaying image thereof | |
| CN109961406A (en) | Image processing method and device and terminal equipment | |
| WO2018058813A1 (en) | Electronic device and display method | |
| CN106528879A (en) | Picture processing method and device | |
| WO2016192325A1 (en) | Method and device for processing logo on video file | |
| CN103945275B (en) | Picture recording control method and device and mobile terminal | |
| KR102424296B1 (en) | Method, storage medium and electronic device for providing a plurality of images | |
| CN104539843A (en) | Terminal shooting method | |
| CN106464799A (en) | Automatic zooming method and device | |
| US20150187056A1 (en) | Electronic apparatus and image processing method | |
| US10013623B2 (en) | System and method for determining the position of an object displaying media content | |
| CN105430269B (en) | A kind of photographic method and device applied to mobile terminal | |
| CN106375874A (en) | Video processing method, device, terminal equipment and server | |
| US11770603B2 (en) | Image display method having visual effect of increasing size of target image, mobile terminal, and computer-readable storage medium | |
| CN106469446B (en) | Depth image segmentation method and segmentation device | |
| WO2016179883A1 (en) | Method and apparatus for rotating display picture of terminal screen | |
| WO2021110022A1 (en) | Image display control method, terminal, and computer readable storage medium | |
| CN107133361B (en) | Gesture recognition method and device and terminal equipment | |
| CN114897915B (en) | Image segmentation method, device, electronic device and storage medium | |
| CN104580890A (en) | Terminal | |
| US20150356058A1 (en) | Method for displaying images and electronic device for implementing the same | |
| WO2018157655A1 (en) | Method and device for redefining control display area of screen | |
| JP2016526246A (en) | User data update method, apparatus, program, and recording medium |
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: 20897297 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20897297 Country of ref document: EP Kind code of ref document: A1 |