WO2017045126A1 - Image processing method and terminal - Google Patents

Image processing method and terminal Download PDF

Info

Publication number
WO2017045126A1
WO2017045126A1 PCT/CN2015/089625 CN2015089625W WO2017045126A1 WO 2017045126 A1 WO2017045126 A1 WO 2017045126A1 CN 2015089625 W CN2015089625 W CN 2015089625W WO 2017045126 A1 WO2017045126 A1 WO 2017045126A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
display image
pattern
image
occlusion pattern
Prior art date
Application number
PCT/CN2015/089625
Other languages
French (fr)
Chinese (zh)
Inventor
陈苑锋
王利强
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580058789.9A priority Critical patent/CN107148775B/en
Priority to PCT/CN2015/089625 priority patent/WO2017045126A1/en
Publication of WO2017045126A1 publication Critical patent/WO2017045126A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an image processing method and a terminal.
  • the terminal is gradually deepened and widely used in people's daily life.
  • the terminal also has functions of personal information management, browser, Global Positioning System (GPS) and email.
  • GPS Global Positioning System
  • the terminal can provide various application services for users through software operation and content services, and by combining the support of the communication network, it becomes a powerful combination of call, short message, network access, film and television entertainment. Therefore, people are increasingly demanding the safe use of terminals.
  • the security protection work of the terminal is mainly completed by a third-party platform, and cannot be completed based on the terminal itself.
  • Embodiments of the present invention provide an image processing method and a terminal by setting an occlusion pattern on a display image. Combined with the principle of visual pause, the anti-sneak shot of the display content of the terminal is realized. The security of the user's use of the terminal is guaranteed.
  • an embodiment of the present invention provides an image processing method, which is applied to a portable electronic device, where the electronic device has a display, and the method includes:
  • the occlusion pattern occluding a portion of the pixels of the display image
  • each pixel of the display image is occluded by at least one unoccluded pattern in the output image continuously outputted by N frames.
  • the determining the occlusion pattern of the display image includes:
  • n takes a positive integer from 1 to N-1.
  • the method further includes :
  • the method further includes:
  • the operation instruction is for instructing to turn on the occlusion pattern.
  • an embodiment of the present invention provides an image processing apparatus, where the apparatus includes:
  • a receiving module configured to receive a display image frame by frame
  • a determining module configured to determine an occlusion pattern of the display image of each frame, the occlusion pattern occluding a part of pixels of the display image
  • an output module configured to output an image frame by frame, where the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
  • each pixel of the display image is at N
  • the image that is continuously outputted by the frame appears at least once without being occluded by the occlusion pattern.
  • the determining module is specifically configured to:
  • n takes a positive integer from 1 to N-1.
  • the determining module when the occlusion pattern is a grid-type pattern, the determining module further And configured to determine a width of the gate strip pattern and a pitch of the grid pattern.
  • the receiving module is further configured to receive an operation instruction input by a user, where the operation instruction is used to indicate that the occlusion pattern is turned on.
  • an embodiment of the present invention provides a portable electronic device, where the portable electronic device includes:
  • a memory for storing instructions
  • the occlusion pattern occluding a portion of the pixels of the display image
  • the image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
  • an embodiment of the present invention provides a non-volatile meter that stores one or more programs.
  • the computer readable storage medium, the one or more programs comprising instructions that, when executed by a portable electronic device including a display, cause the portable electronic device to:
  • the occlusion pattern occluding a portion of the pixels of the display image
  • the image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
  • the terminal sets an occlusion pattern for the display image of each frame, and according to the frequency of the output signal of the terminal, combined with the principle of visual pause, in the case of satisfying the user's demand,
  • the terminal display image can be protected from being photographed to ensure the security of the user using the terminal.
  • FIG. 1 is a schematic flow chart of an image processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic view showing a display image in another embodiment of the present invention.
  • 3A is a schematic diagram of an nth frame occlusion pattern in another embodiment of the present invention.
  • 3B is a schematic diagram of an n+1th frame occlusion pattern in another embodiment of the present invention.
  • FIG. 4 is a schematic view showing an occlusion pattern distributed over a partial display image
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a determining module in a terminal according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • a user equipment (User Equipment, referred to as "UE") is also called a terminal (Terminal).
  • the terminal performs image processing on the display image outputted frame by frame, and superimposes the occlusion pattern on the display image of each frame.
  • the occlusion patterns in consecutive frames are changed in a certain order, and the terminal outputs the display image after the occlusion pattern is superimposed frame by frame.
  • the terminal may be a device with a display such as a mobile phone, a tablet computer, or a television.
  • FIG. 1 is a schematic flow chart of an image processing method according to an embodiment of the present invention.
  • the execution body of the image processing method 100 shown in FIG. 1 is a terminal, and the method 100 includes:
  • the terminal receives the display image frame by frame at a preset frame rate.
  • the terminal outputs images frame by frame at a preset frame rate, and each output image is continuously output in N frames.
  • the display images in the output image continuously outputted by the N frames are the same.
  • Each pixel of the image displayed per frame is at least in the output image continuously outputted in N frames It is now blocked by an occlusion pattern.
  • the display image of the unoccluded portion of each frame of the occlusion pattern satisfies the principle of visual pause.
  • N takes a positive integer.
  • the terminal outputs an image according to a preset frame rate.
  • the terminal superimposes the occlusion pattern corresponding to the display image on each frame display image.
  • the occlusion pattern superimposed on the display image and the display image is superimposed into an output image.
  • the occlusion pattern corresponding to each frame display image only blocks part of the pixels of the frame display image.
  • Each pixel of the image displayed per frame is occluded by the occlusion pattern at least once in the output image continuously outputted by N frames.
  • the preset frame rate satisfies the time of the user's visual pause
  • the image is output in consecutive N frames, combined with the principle of visual pause or the principle of visual detention, the user can keep the image of the previous frame while the next frame is output. In the line of sight, the user can see the complete display image.
  • the occlusion patterns of different frames may be different and may be changed in a certain order.
  • the display image may be a display image that the terminal needs to output.
  • the terminal receives the display image that needs to be output frame by frame.
  • the occlusion pattern can be used to occlude partial information of the displayed image.
  • the terminal determines an occlusion pattern for each frame display image.
  • the occlusion pattern of each frame may block a part of pixels of the corresponding frame display image.
  • the occlusion patterns of successive frames may be different and may vary in a certain order. According to the number of frames of the output image of the terminal for one second, it is determined that each pixel of the display image is occluded by the occlusion pattern at least once in the continuous frame output image. In order to meet the user's needs, the display image that is not blocked by the occlusion pattern in each frame satisfies the principle of visual pause, so that the user can see the complete display image.
  • N is the number of frames of the output image output by the terminal per second.
  • the terminal outputs an image frame by frame, and the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
  • the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot acquire the display content of the terminal by photographing.
  • Ben The technical solution of the embodiment of the invention can protect the privacy of the individual, can prevent the terminal from displaying the image to be photographed, and can ensure the security of the user using the terminal.
  • the occlusion pattern comprises a pattern of a regular shape or a pattern of an irregular shape.
  • each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously outputted by the N frames.
  • the occlusion pattern corresponding to the display image of different frames blocks the content of different parts of the displayed image.
  • determining the occlusion pattern of the display image includes:
  • the n-th frame occlusion pattern is moved in the first direction to obtain an n+1th frame occlusion pattern.
  • the partial pixel of the display image blocked by the n+1th occlusion pattern may be a partial pixel of the display image that is not blocked by the nth frame occlusion pattern, and n takes a positive integer from 1 to N-1.
  • n is a previous frame signal in the continuous received frame signal
  • n+1 is a frame signal subsequent to the nth frame signal in the continuous received frame signal.
  • the first direction is any direction preset by the terminal. After the terminal determines the occlusion pattern for the nth frame display image, the terminal moves the occlusion pattern of the nth frame display image in a preset first direction. The occlusion pattern after the movement is used as an occlusion pattern of the image displayed in the n+1th frame.
  • the pixel of the display image that is not blocked by the n+1th frame occlusion pattern may be all or part of the pixels of the display image occluded by the nth frame occlusion pattern.
  • the terminal outputs 60 frames of images per second, and the occlusion pattern is a horizontal grid.
  • the occlusion pattern is a horizontal grid.
  • FIG. 2 is a display image
  • FIG. 3A is an n-th frame output image
  • FIG. 3B is an n+1th frame output image.
  • the pixels that are not obscured by the occlusion pattern in FIGS. 3A and 3B are portions of the transparent strip 310.
  • the occlusion pattern occlusion portion displays the information of the image.
  • the terminal moves the occlusion pattern that blocks the display image of the 20th frame in a certain direction as the occlusion pattern of the 21st frame display image.
  • the terminal outputs 60 frames of images per second, and blocks the pattern.
  • the horizontal bar is taken as an example for the purpose of explaining the technical solution of the present invention, but the technical solution of the present invention is not limited thereto.
  • images occluded by occlusion patterns in different frame output images may partially overlap.
  • Each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously output for consecutive N frames.
  • the occlusion pattern is a regular-shaped grid-type pattern
  • the grid-type pattern may be a pattern of other grid shapes such as a horizontal grid pattern, a vertical grid pattern, or a diagonal grid pattern.
  • the occlusion pattern in consecutive frames moves in a certain direction.
  • the occlusion patterns can be moved in a certain order. For example, you can move at a certain speed.
  • each frame occlusion pattern occludes a portion of the corresponding frame display image, and each pixel of each frame display image is not at least once in the output image continuously outputted by N frames.
  • the occlusion pattern is occluded, and in the output image continuously outputted by N frames, the display image whose occlusion pattern is not occluded per frame satisfies the principle of visual stagnation, and N is the number of frames of the display image outputted per second.
  • the occlusion pattern can also move irregularly. There is no limitation on this in the embodiment of the present invention.
  • the method 100 further includes determining a width of the grid-type pattern and a pitch of the grid-type pattern when the occlusion pattern is a grid-type pattern.
  • the terminal may determine the width and the pitch of the grid-type pattern. For example, the terminal determines the width and spacing of the grid-type pattern according to the size of the output image to be output.
  • the occlusion pattern may be a pattern of equal pitch, unequal pitch, equal width, and/or unequal width.
  • the method 100 may further include: determining a color of each frame occlusion pattern.
  • the terminal may set a color for each frame occlusion pattern.
  • the color of each frame occlusion pattern can be a fixed color or a different color.
  • the terminal may also set different visual effects for the occlusion pattern of each frame. For example, the terminal sets different transparency for the occlusion pattern, or the terminal sets the occlusion pattern to a special effect, for example, a frosted glass effect.
  • the occlusion pattern of each output image of the output is the same color, the same transparency and/or the same special effect to reduce color and transparency. And/or special effects change the eye's stimuli to protect the eyes.
  • the terminal opens the occlusion pattern multiple times the occlusion pattern color, transparency, and/or special effects may be inconsistent for the user to use the visual diversity during use to improve the user experience.
  • the terminal may further adjust the brightness and gray level of the occlusion pattern.
  • the terminal may adjust the brightness of the adjustment terminal display screen in combination with the brightness and gray level of the adjustment occlusion pattern, and adjust the terminal display screen.
  • each frame of the occlusion pattern is distributed on the partial display image or each frame of the occlusion pattern is distributed on the entire display image.
  • the occlusion pattern of each frame may be distributed over the entire display image, or may be distributed over part of the display image of the entire display image, that is, the terminal occlusion pattern may block the display image of all areas of the display, and may also block the display portion.
  • the display image of the area may be distributed over the entire display image, or may be distributed over part of the display image of the entire display image, that is, the terminal occlusion pattern may block the display image of all areas of the display, and may also block the display portion.
  • the display image of the area may be distributed over the entire display image, or may be distributed over part of the display image of the entire display image, that is, the terminal occlusion pattern may block the display image of all areas of the display, and may also block the display portion.
  • the display image of the area may be distributed over the entire display image, or may be distributed over part of the display image of the entire display image, that is, the terminal occlusion pattern may block the display image of all areas of the display, and may also block the display portion.
  • FIG. 4 is a schematic view showing a display image in which an occlusion pattern blocks a partial area of the display.
  • the occlusion pattern is distributed over the central region of the display.
  • the occlusion pattern is distributed to the central portion of the display, for the purpose of describing the technical solutions of the embodiments of the present invention in detail, but does not limit the scope of the embodiments of the present invention.
  • the occlusion pattern when the occlusion pattern blocks the display image of the partial area of the display, the occlusion pattern may also be distributed at the top position, the bottom position, the left position, the right position of the display, or any possible position of the display. There is no limitation on this in the embodiment of the present invention.
  • the occlusion pattern can be a regular shaped pattern of any shape or irregular. Shape pattern.
  • the method further includes: receiving an operation instruction input by the user, the operation instruction being used to indicate that the occlusion pattern is turned on.
  • the terminal receives an instruction of the user to input an occlusion pattern for setting an occlusion pattern for the display image received for each frame according to the instruction.
  • the operation instruction may be triggered by the user pressing a button on the terminal, or may be triggered by a gesture.
  • the user may press the power button and/or the upper volume button to trigger the mobile phone to open the occlusion pattern; or trigger the mobile phone to open the occlusion pattern according to the user's rotation gesture.
  • the terminal may also close the occlusion pattern according to an operation instruction input by the user.
  • the operation command may be triggered by a user pressing a button on the terminal, and may be triggered by a software switch or a specific program, which is not limited in the embodiment of the present invention.
  • the terminal sets an occlusion pattern for each frame of the display image, and according to the frequency of the output signal of the terminal, combined with the principle of visual stagnation, can protect the display image while satisfying the user's demand. Was photographed to ensure the security of the user's use of the terminal.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 500 shown in FIG. 5 includes a receiving module 510, a determining module 520, and an output module 530.
  • the receiving module 510 is configured to receive the display image frame by frame
  • a determining module configured to determine an occlusion pattern of the displayed image of each frame, the occlusion pattern occluding a portion of the displayed image
  • the output module 530 is configured to output an image frame by frame, and the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
  • each pixel of each frame display image is occluded at least once by the occlusion pattern in the output image continuously outputted by the N frames, and the output image of the unblocked portion of each frame occlusion pattern satisfies the visual pause in the output image continuously outputted by the N frames.
  • N takes a positive integer.
  • the terminal outputs an image according to a preset frame rate.
  • the frame rate used by each terminal satisfies the principle of visual pause.
  • the determining module 520 processes each frame of the display image received by the receiving module 510, and superimposes the occlusion pattern on the display image of each frame to synthesize the final output image.
  • the occlusion pattern of each frame may only obscure a portion of the pixels of the frame display image. Since the output image includes the display image and the occlusion pattern, in each frame output image, since some pixels of the display image are blocked by the occlusion pattern, the output image of each frame may not be able to present a complete display image, and each pixel of the image is displayed per frame.
  • the unoccluded pattern is occluded at least once in the output image continuously outputted by N frames.
  • the user can see the complete display image.
  • the occlusion patterns in the continuous output frame may be changed in a certain order.
  • the display image may be a display image that the terminal needs to output.
  • the receiving module 510 receives the display image that needs to be output frame by frame.
  • the determination module 520 determines an occlusion pattern for each frame of display image. The occlusion pattern can be used to occlude part of the information of the displayed image.
  • the occlusion pattern of each frame occludes a part of the pixels of the corresponding frame display image, and the occlusion patterns of the continuous frames may be changed in a certain order. According to the number of frames of the output image of the terminal for one second, it is determined that each pixel of the display image is occluded at least once by the occlusion pattern in the specified continuous frame output image, and the display is blocked by the occlusion pattern in each frame to meet the user's demand. Part of the display image satisfies the principle of visual pause so that the user can see the complete display image.
  • the preset frame rate satisfies the time of the user's visual pause
  • the user when the image is output in consecutive N frames, the user can keep the image of the previous frame in the line of sight of the user when the next frame image is seen, so that the user can See the full display image.
  • N is the number of frames in which the terminal outputs the display image every second.
  • the terminal superimposes the display image of each frame and the occlusion pattern of the corresponding frame display image to form a final output image.
  • the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot obtain the display content of the terminal by photographing, and the technical solution of the embodiment of the present invention can protect the individual. Privacy can prevent the terminal from displaying images and can be used to ensure the security of the user.
  • the occlusion pattern comprises a pattern of a regular shape or a pattern of an irregular shape.
  • each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously outputted by the N frames.
  • each frame of the occlusion pattern can block the content of different parts of the displayed image.
  • the determining module 520 is specifically configured to:
  • n takes a positive integer from 1 to N-1.
  • n is a previous frame signal in the continuous received frame signal
  • n+1 is a frame signal subsequent to the nth frame signal in the continuous received frame signal.
  • the first direction is any direction preset by the terminal.
  • the determining module 520 determines the occlusion pattern for the display image received by the previous frame receiving module 510
  • the determining module 520 moves according to the occlusion pattern determined in the previous frame along the preset first direction, and uses the moved occlusion pattern as the latter one.
  • the occlusion pattern of the frame, the pixel of the display image that is not occluded by the occlusion pattern of the latter frame may be the pixel of the display image occluded by the previous frame occlusion pattern.
  • the contents of the display image occluded by the occlusion pattern in the output patterns of two consecutive frames may partially overlap.
  • the occlusion pattern is a regular-shaped grid-type pattern
  • the grid-type pattern may be a pattern of other grid shapes such as a horizontal grid strip, a vertical grid strip, or a diagonal grid strip.
  • the occlusion pattern in consecutive frames may be in accordance with one Moving in a fixed direction, the occlusion pattern can be moved in a certain order in either direction, for example, at a prescribed speed.
  • each frame occlusion pattern occludes a portion of the corresponding frame display image, and each pixel of each frame display image appears at least once in the output image continuously outputted in N frames.
  • the display image of the unoccluded portion of each frame of the occlusion pattern satisfies the principle of visual pause, and when N is the number of frames of the display image outputted per second, the occlusion pattern can also move irregularly.
  • the determining module 520 is further configured to determine a width of the grid-type pattern and a pitch of the grid-type pattern.
  • the determining module 520 can determine the width and spacing of the grid-type pattern. For example, the determination module 520 determines the width and spacing of the grid-type pattern based on the size of the output image.
  • the occlusion pattern may be a pattern of equal pitch, unequal pitch, equal width, and/or unequal width.
  • the determining module 520 is further configured to determine a color of each frame occlusion pattern.
  • the determining module 520 may set a color for each frame occlusion pattern, and the color of each frame occlusion pattern may be a fixed color or a different color.
  • the determining module 520 may further set different visual effects for each frame occlusion pattern. For example, the determining module 520 sets different transparency for the occlusion pattern, or the determining module 520 sets the occlusion pattern to a special effect, for example, for example. , frosted glass effect.
  • the determining module 520 when the terminal opens the occlusion pattern once, sets the same color, the same transparency, and/or the same special effect for the occlusion pattern in the output image of each frame of the output. It is used to protect the eyes by reducing the irritation of the eyes by reducing color, transparency and/or special effects.
  • the determining module 520 may set each occlusion pattern color, transparency, and/or special effect to be inconsistent for use. The user uses the visual diversity of the process to improve the user experience.
  • the determining module 520 can also adjust the brightness of the occlusion pattern.
  • the terminal can adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjusted occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to enhance the user experience.
  • the terminal may further adjust the brightness of the occlusion pattern.
  • the determining module 520 may adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjustment occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to enhance the user experience.
  • FIG. 6 is a schematic structural diagram of a determining module in a terminal according to another embodiment of the present invention.
  • the determining module 520 may include an encryption unit 521, a coloring unit 522, and a filtering unit 523.
  • the encryption unit 521 is configured to set an occlusion pattern for each frame of the display image;
  • the coloring unit 522 is configured to set a color for each frame of the occlusion pattern;
  • the filtering unit 523 is configured to superimpose the occlusion pattern of each frame and the display image of the corresponding frame to obtain The final output image.
  • the determining module 520 may further set other units according to the inherent logic, and is not limited in the embodiment of the present invention.
  • the determining module 520 is further configured to set each frame occlusion pattern to be distributed on the partial display image or each frame occlusion pattern is distributed on the entire display image.
  • the occlusion pattern of each frame may be distributed over the entire display image, or may be distributed over part of the display image of the entire display image, that is, the terminal occlusion pattern may block a part of the display screen of the terminal, or may block the terminal.
  • the full area of the monitor screen As shown in Figure 4.
  • the occlusion pattern is distributed in the middle position of the display image, and is only for the detailed description of the technical solutions of the embodiments of the present invention, but does not limit the scope of the embodiments of the present invention.
  • the occlusion pattern when the occlusion pattern is distributed on a part of the display image, the occlusion pattern may also be In the embodiment of the present invention, no limitation is imposed on the top position, the bottom position, the left position, the right position, or any possible position of the display image.
  • the occlusion pattern can be a regular shaped pattern of any shape or a pattern of irregular shapes.
  • the receiving module 510 is further configured to receive an operation instruction input by the user, where the operation instruction is used to indicate that the occlusion pattern is turned on.
  • the receiving module 510 receives an instruction of the user to input an occlusion pattern for setting an occlusion pattern for the display image received for each frame according to the instruction.
  • the operation instruction may be triggered by the user through a button on the terminal, or may be triggered by a gesture on the terminal.
  • the terminal is a mobile phone, and the mobile phone can trigger the mobile phone to open the occlusion pattern according to the user pressing the power button and the upper volume button; or the mobile phone triggers the mobile phone to open the occlusion pattern according to the user rotating the mobile phone.
  • the terminal may also close the occlusion pattern according to an operation instruction input by the user.
  • the operation command may be triggered by a software switch or a specific program, which is not limited in the embodiment of the present invention.
  • the terminal can set the occlusion pattern for the display image of each frame, and according to the frequency of the output signal of the terminal, combined with the principle of visual stagnation, the sneak shot of the display image can be protected against the user's demand. To ensure the security of the user's use of the terminal.
  • FIG. 7 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • the terminal 600 shown in FIG. 7 includes a content cache module 710, a display output module 720, a processing module 730, and a parallel display.
  • the specific process of the terminal outputting the image is:
  • the display output module 720 acquires the display image from the content cache module 710, and sends the display image frame by frame to the processing module 730.
  • the processing module 730 determines an occlusion pattern for each frame of the display image according to the display image received frame by frame, and blocks the occlusion pattern and The display image is superimposed to obtain an output image.
  • the processing module 730 sends the output image to the digital-to-analog conversion module 750 through a parallel display interface (English: Display Serial Interface, "DSI") 740, and converts the digital signal of the output image into an analog signal through the digital-to-analog conversion module 750, and outputs An image display is output to the display module 760.
  • DSI Display Serial Interface
  • the terminal 600 according to the embodiment of the present invention may correspond to the execution body of the method 100 according to the embodiment of the present invention, and the foregoing and other operations of the respective modules in the terminal 600 and/or The functions are respectively implemented in order to implement the corresponding processes of the respective methods in FIG. 1. For the sake of brevity, details are not described herein again.
  • the processing module 730 includes a receiving module 510 and a determining module 520 in the terminal 500.
  • the processing module 730 can also implement the operations and/or functions of the receiving module 510 and the determining module 520 in the terminal 500.
  • the corresponding process of the method 100 in FIG. 1 is implemented, and for brevity, it will not be described here.
  • the processing module 730 further includes a sending module, configured to send the obtained output image to the digital-to-analog conversion module 750 through the parallel display interface 740.
  • the terminal sets the occlusion pattern on the display image of each frame, and according to the frequency of the output signal of the terminal, combined with the principle of visual pause, the display image can be prevented from being sneak shot when the user's needs are met. To ensure the security of the user's use of the terminal.
  • the processing module 730 is disposed between the display output module 720 and the parallel display interface 740.
  • the technical solution of the present invention is not Limited to this.
  • the processing module 730 may also process the image displayed by each frame through a software algorithm to obtain an output image. For example, packaging the display image at the parallel display interface 740 Previously, the operation of the processing module 730 is performed, or before the display image enters the content cache module 710, the operation of the processing module 730 is performed to complete the encryption of the display image, to achieve anti-snapping of the displayed image, and to ensure the security of the user.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • terminal 800 includes a processor 810, a display 820, a memory 830, and a communication bus system 840.
  • the processor 810, the display 820, and the memory 830 are connected by a communication bus system 840. among them,
  • a memory 830 configured to store an instruction
  • the processor 810 is configured to invoke an instruction stored in the memory 830 to perform the following steps;
  • the display 820 is configured to display an output image, and the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
  • each pixel of the image displayed in each frame is occluded at least once by the occlusion pattern in the output image continuously outputted by the N frames, and the output image of the unblocked portion of the occlusion pattern of each frame satisfies the principle of visual pause in the output image continuously outputted by the N frames.
  • N takes a positive integer.
  • the principle of visual pause is that when the user looks at an image for a long time, the image is removed within a certain period of time, and the user keeps the image in the line of sight.
  • the terminal outputs the display image according to a preset frame rate.
  • the frame rate used by each terminal satisfies the principle of visual pause.
  • the processor 810 processes the received image for each frame received, superimposes the occlusion pattern on the display image of each frame, and synthesizes the final output image.
  • the occlusion pattern of each frame only blocks part of the pixels of the frame display image.
  • a complete display image because the occluded pattern obscures part of the pixels, the output image of each frame is the superposition of the display image and the occlusion pattern, and the output image of a certain frame cannot present the complete display image, but combined with the principle of visual pause, the user can see Complete output image.
  • the occlusion pattern in the continuous output frame can be determined according to a certain The order changes.
  • the display image may be a display image that the terminal needs to output.
  • the processor 810 receives the display image that needs to be output frame by frame.
  • the processor 810 displays an image for each frame to determine an occlusion pattern.
  • the occlusion pattern can be used to occlude part of the information of the displayed image.
  • the occlusion pattern of each frame occludes a part of the pixels of the corresponding frame display image, and the occlusion patterns of the continuous frames may be changed in a certain order. Determining, according to the number of frames of the output image of the terminal one second, that each pixel of the display image is occluded by the occlusion pattern at least once in the specified continuous frame output image, and the display portion that is not blocked by the occlusion pattern in each frame to meet the user's needs The display image satisfies the principle of visual pause so that the user can see the complete display image.
  • N is the number of frames in which the terminal outputs the display image every second.
  • the terminal superimposes the display image of each frame and the occlusion pattern corresponding to the display image to form a final output image.
  • the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot obtain the display content of the terminal by photographing, and the technical solution of the embodiment of the present invention can protect the individual. Privacy can prevent the terminal from displaying images and can be used to ensure the security of the user.
  • the occlusion pattern comprises a pattern of a regular shape or a pattern of an irregular shape.
  • the processor 810 may be a central processing unit (CPU), and the processor 810 may also be other general-purpose processors, digital signal processors (DSPs), and application specific integrated circuits. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the bus system 840 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 840 in the figure.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 810 or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 830, and the processor 810 reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously outputted by the N frames.
  • the processor 810 is specifically configured to:
  • n takes a positive integer from 1 to N-1.
  • n is a previous frame signal in the continuous received frame signal
  • n+1 is a frame signal subsequent to the nth frame signal in the continuous received frame signal.
  • the first direction is any direction preset by the terminal. After the terminal determines the occlusion pattern for the nth frame display image, the terminal moves the occlusion pattern of the nth frame display image along the preset first direction, and uses the moved occlusion pattern as the occlusion pattern of the n+1th frame display image.
  • the pixel of the display image that is not blocked by the n+1th frame occlusion pattern may be all or part of the pixels of the display image occluded by the nth frame occlusion pattern.
  • the occlusion pattern is a regular-shaped grid-type pattern
  • the grid-type pattern may be a pattern of other grid shapes such as a horizontal grid pattern, a vertical grid pattern, or a diagonal grid pattern.
  • the occlusion patterns in consecutive frames move in a certain direction, and the occlusion patterns may move in a certain order, for example, may move at a certain speed.
  • each frame occlusion pattern occludes a portion of the corresponding frame display image, and each pixel of each frame display image is continuously transmitted in N frames.
  • the output image is occluded at least once without the occlusion pattern.
  • the display image that is not blocked by each frame occlusion pattern satisfies the principle of visual pause, and N is the number of frames of the display image outputted per second, occlusion
  • the pattern can also be moved in an irregular manner, which is not limited in the embodiment of the invention.
  • the processor 810 is further configured to determine a width of the grid-type pattern and a pitch of the grid-type pattern.
  • the processor 810 may determine the width and the pitch of the grid-type pattern. For example, the processor 810 determines the width and spacing of the grid-type pattern based on the size of the output display image.
  • the occlusion pattern may be a pattern of equal pitch, unequal pitch, equal width, and/or unequal width.
  • the processor 810 may be further configured to determine a color of each frame occlusion pattern.
  • the processor 810 may set a color for each frame occlusion pattern, and the color of each frame occlusion pattern may be a fixed color or a different color.
  • the processor 810 may also set different visual effects for each frame occlusion pattern, for example, the processor 810 sets different transparency for the occlusion pattern, or the processor 810 sets the occlusion pattern to a special effect, for example, for example. , frosted glass effect.
  • the processor 810 when the terminal turns on the occlusion pattern once, the processor 810 sets the same color, the same transparency, and/or the same special effect for the occlusion pattern in the output image of each frame of the output. It is used to protect the eyes by reducing the irritation of the eyes by reducing color, transparency and/or special effects.
  • the processor 810 may set each occlusion pattern color, transparency, and/or special effect to be inconsistent for the diversity of the medium vision of the user using the process, thereby improving the user experience.
  • the processor 810 can also adjust the brightness of the occlusion pattern.
  • the terminal can adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjustment occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to improve the user's body Test.
  • the terminal may further adjust the brightness of the occlusion pattern.
  • the processor 810 may adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjustment occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to enhance the user experience.
  • the processor 810 is further configured to set each frame occlusion pattern to be distributed on a part of the display image or each frame occlusion pattern is distributed on the entire display image.
  • the occlusion pattern of each frame may be distributed on the entire display image, or may be distributed on a part of the display image of the entire display image, that is, the terminal occlusion pattern may block the display screen of some terminals, and may also block the entire terminal. Display screen. As shown in Figure 4.
  • the occlusion pattern is distributed in the middle position of the display image, and is only for the detailed description of the technical solutions of the embodiments of the present invention, but does not limit the scope of the embodiments of the present invention.
  • the occlusion pattern when the occlusion pattern is distributed on the partial display image, the occlusion pattern may also be distributed at the top position, the bottom position, the left position, the right position of the display image, or any possible position of the display image. There is no limitation on this in the embodiment of the present invention.
  • the occlusion pattern can be a regular shaped pattern of any shape or a pattern of irregular shapes.
  • the processor 810 is further configured to receive an operation instruction input by the user, where the operation instruction is used to indicate that the occlusion pattern is turned on.
  • the processor 810 receives an instruction of the user to input an occlusion pattern for setting an occlusion pattern for the display image received for each frame according to the instruction.
  • the operation instruction may be triggered by the user through a button on the terminal, or may be triggered by a gesture on the terminal.
  • the terminal is a mobile phone, and the mobile phone can trigger the mobile phone to open the occlusion pattern according to the user pressing the power button and the upper volume button; or the mobile phone triggers the mobile phone to open the occlusion pattern according to the user rotating the mobile phone.
  • the terminal may also close the occlusion pattern according to an operation instruction input by the user.
  • the operation command may be triggered by a software switch or a specific program, which is not limited in the embodiment of the present invention.
  • the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot obtain the display content of the terminal by photographing, and the technical solution of the embodiment of the present invention can protect the individual. Privacy can prevent the terminal from displaying images and can be used to ensure the security of the user.
  • the terminal 800 of the embodiment of the present invention may correspond to the terminal 500 of FIG. 5, and the foregoing and other operations and/or functions of each module in the terminal 800 according to the embodiment of the present invention are respectively In order to implement the corresponding processes of the various methods in FIG. 1, for brevity, no further details are provided herein.
  • Another embodiment of the present invention is a non-transitory computer readable storage medium storing one or more programs, the one or more programs including instructions for causing a portable electronic device to be executed when included in a portable electronic device having a display Perform the following events:
  • the occlusion pattern occluding a portion of the pixels of the display image
  • the image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrated into another system, Or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a non-transitory computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to an image processing method and a terminal. The method comprises: receiving display images frame by frame; determining shielding patterns on the basis of the display images, where each frame of shielding pattern shields a part of the corresponding frame of display image; determining output images by superimposing the corresponding shielding patterns on each frame of the display images, where every pixel of each frame of the display images appear at least once in N-frames of successively outputted output images, in the N-frames of successively outputted output images, the parts of the display images not shielded by the shielding patterns satisfy the principle of persistence of vision, and N is the number of frames of the display images outputted per second. Embodiments of the present invention, by providing the display images with the shielding patterns, are capable, on the basis of the frequency at which a terminal outputs a signal, in combination with the principle of persistence of vision, and insofar that user demand is satisfied, of protecting the display images of the terminal from being photographed unauthorized, thus ensuring the security of a user using the terminal.

Description

图像处理方法和终端Image processing method and terminal 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种图像处理方法和终端。The present invention relates to the field of communications technologies, and in particular, to an image processing method and a terminal.
背景技术Background technique
终端逐渐深入并广泛应用于人们的日常生活中,终端除具有通话功能外,还具有个人信息管理、浏览器、全球定位***(Global Positioning System,简称“GPS”)和电子邮件等功能。终端能够通过软件运行和内容服务为用户提供各种应用服务,并通过结合通信网络的支持成为一个功能强大,集通话、短信、网络接入、影视娱乐为一体的综合体。因此,人们对安全使用终端的要求也越来越高。The terminal is gradually deepened and widely used in people's daily life. In addition to the call function, the terminal also has functions of personal information management, browser, Global Positioning System (GPS) and email. The terminal can provide various application services for users through software operation and content services, and by combining the support of the communication network, it becomes a powerful combination of call, short message, network access, film and television entertainment. Therefore, people are increasingly demanding the safe use of terminals.
然而目前,终端的安全性防护工作主要由第三方平台来完成,并不能基于终端自身来完成。However, at present, the security protection work of the terminal is mainly completed by a third-party platform, and cannot be completed based on the terminal itself.
发明内容Summary of the invention
本发明实施例提供了一种图像处理方法和终端,通过在显示图像上设置遮挡图案。结合视觉停留原理,实现了终端显示内容的防偷拍。保证了用户使用终端的安全性。Embodiments of the present invention provide an image processing method and a terminal by setting an occlusion pattern on a display image. Combined with the principle of visual pause, the anti-sneak shot of the display content of the terminal is realized. The security of the user's use of the terminal is guaranteed.
第一方面,本发明实施例提供了一种图像处理方法,应用于一种便携式电子设备上,所述电子设备具有显示器,所述方法包括:In a first aspect, an embodiment of the present invention provides an image processing method, which is applied to a portable electronic device, where the electronic device has a display, and the method includes:
逐帧接收显示图像;Receiving a display image frame by frame;
确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;Determining an occlusion pattern of each frame of the display image, the occlusion pattern occluding a portion of the pixels of the display image;
逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮 挡图案的叠加。Outputting an image frame by frame, the output image being a cover corresponding to the display image and the display image The superposition of the block pattern.
在第一方面的第一种可能的实现方式中,所述显示图像的每个像素在N帧连续输出的所述输出图像中至少出现一次未被遮挡图案遮挡。In a first possible implementation manner of the first aspect, each pixel of the display image is occluded by at least one unoccluded pattern in the output image continuously outputted by N frames.
结合第一方面第一种可能的实现方式,在第二种可能的实现方式中,所述确定所述显示图像的遮挡图案包括:In conjunction with the first possible implementation of the first aspect, in a second possible implementation, the determining the occlusion pattern of the display image includes:
沿第一方向移动第n帧遮挡图案,得到第n+1帧遮挡图案,其中,所述第n+1帧遮挡图案遮挡的显示图像的部分像素为第n帧遮挡图案未遮挡的显示图像的部分像素,n取从1到N-1的正整数。Moving the nth frame occlusion pattern in the first direction to obtain an n+1th frame occlusion pattern, wherein a part of pixels of the display image occluded by the n+1th occlusion pattern is an n-frame occlusion pattern unoccluded display image For a partial pixel, n takes a positive integer from 1 to N-1.
结合第一方面,或者第一方面第一至第二种任意一种可能的实现方式,在第三种可能的实现方式中,当所述遮挡图案为栅条型图案时,所述方法还包括:With reference to the first aspect, or any one of the first to the second possible implementation manners of the first aspect, in a third possible implementation manner, when the occlusion pattern is a grid-type pattern, the method further includes :
确定所述栅条型图案的宽度和所述栅条型图案的间距。Determining a width of the gate strip pattern and a pitch of the grid pattern.
在第一方面的第四种可能的实现方式中,所述方法还包括:In a fourth possible implementation manner of the first aspect, the method further includes:
接收用户输入的操作指令,所述操作指令用于指示开启所述遮挡图案。Receiving an operation instruction input by the user, the operation instruction is for instructing to turn on the occlusion pattern.
第二方面,本发明实施例提供了一种图像处理装置,所述装置包括:In a second aspect, an embodiment of the present invention provides an image processing apparatus, where the apparatus includes:
接收模块,用于逐帧接收显示图像;a receiving module, configured to receive a display image frame by frame;
确定模块,用于确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;a determining module, configured to determine an occlusion pattern of the display image of each frame, the occlusion pattern occluding a part of pixels of the display image;
输出模块,用于逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮挡图案的叠加。And an output module, configured to output an image frame by frame, where the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
在第二方面的第一种可能的实现方式中,所述显示图像的每个像素在N 帧连续输出的所述图像中至少出现一次未被遮挡图案遮挡。In a first possible implementation of the second aspect, each pixel of the display image is at N The image that is continuously outputted by the frame appears at least once without being occluded by the occlusion pattern.
结合第二方面第一种可能的实现方式,在第二种可能的实现方式中,所述确定模块具体用于,With reference to the first possible implementation of the second aspect, in a second possible implementation manner, the determining module is specifically configured to:
沿第一方向移动第n帧遮挡图案,得到第n+1帧遮挡图案,其中,所述第n+1帧遮挡图案遮挡的显示图像的部分像素为第n帧遮挡图案未遮挡的显示图像的部分像素,n取从1到N-1的正整数。Moving the nth frame occlusion pattern in the first direction to obtain an n+1th frame occlusion pattern, wherein a part of pixels of the display image occluded by the n+1th occlusion pattern is an n-frame occlusion pattern unoccluded display image For a partial pixel, n takes a positive integer from 1 to N-1.
结合第二方面,或者第二方面第一至第二种任意一种可能的实现方式,在第三种可能的实现方式中,当所述遮挡图案为栅条型图案时,所述确定模块还用于,确定所述栅条型图案的宽度和所述栅条型图案的间距。With reference to the second aspect, or any one of the first to the second possible implementation manners of the second aspect, in a third possible implementation manner, when the occlusion pattern is a grid-type pattern, the determining module further And configured to determine a width of the gate strip pattern and a pitch of the grid pattern.
在第二方面的第四种可能的实现方式中,所述接收模块还用于,接收用户输入的操作指令,所述操作指令用于指示开启所述遮挡图案。In a fourth possible implementation manner of the second aspect, the receiving module is further configured to receive an operation instruction input by a user, where the operation instruction is used to indicate that the occlusion pattern is turned on.
第三方面,本发明实施例提供了一种便携式电子设备,所述便携式电子设备包括:In a third aspect, an embodiment of the present invention provides a portable electronic device, where the portable electronic device includes:
显示器,用于显示图像;a display for displaying an image;
存储器,用于存储指令;a memory for storing instructions;
处理器,用于调用存储在所述存储器中的指令以实现:a processor for invoking instructions stored in the memory to implement:
逐帧接收显示图像;Receiving a display image frame by frame;
确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;Determining an occlusion pattern of each frame of the display image, the occlusion pattern occluding a portion of the pixels of the display image;
逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮挡图案的叠加。The image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
第四方面,本发明实施例提供了一种存储一个或多个程序的非易失性计 算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括具有显示器的便携式电子设备执行时使所述便携式电子设备执行以下事件:In a fourth aspect, an embodiment of the present invention provides a non-volatile meter that stores one or more programs. The computer readable storage medium, the one or more programs comprising instructions that, when executed by a portable electronic device including a display, cause the portable electronic device to:
逐帧接收显示图像;Receiving a display image frame by frame;
确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;Determining an occlusion pattern of each frame of the display image, the occlusion pattern occluding a portion of the pixels of the display image;
逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮挡图案的叠加。The image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
基于上述技术方案,本发明实施例的提供的图像处理方法和终端,终端通过对每帧的显示图像设置遮挡图案,根据终端输出信号的频率,结合视觉停留原理,在满足用户需求的情况下,可以防御终端显示图像被偷拍,以保证用户使用终端的安全性。Based on the foregoing technical solution, the image processing method and the terminal provided by the embodiment of the present invention, the terminal sets an occlusion pattern for the display image of each frame, and according to the frequency of the output signal of the terminal, combined with the principle of visual pause, in the case of satisfying the user's demand, The terminal display image can be protected from being photographed to ensure the security of the user using the terminal.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例的图像处理方法的示意流程图;1 is a schematic flow chart of an image processing method according to an embodiment of the present invention;
图2是本发明另一实施例中的显示图像的示意图2 is a schematic view showing a display image in another embodiment of the present invention;
图3A是本发明另一实施例中第n帧遮挡图案的示意图;3A is a schematic diagram of an nth frame occlusion pattern in another embodiment of the present invention;
图3B是本发明另一实施例中第n+1帧遮挡图案的示意图;3B is a schematic diagram of an n+1th frame occlusion pattern in another embodiment of the present invention;
图4为遮挡图案分布于部分显示图像的示意图;4 is a schematic view showing an occlusion pattern distributed over a partial display image;
图5是本发明实施例终端的示意性结构图;FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention; FIG.
图6是本发明另一实施例终端中的确定模块的示意性结构图;6 is a schematic structural diagram of a determining module in a terminal according to another embodiment of the present invention;
图7是本发明另一实施例终端的示意性结构图; FIG. 7 is a schematic structural diagram of a terminal according to another embodiment of the present invention; FIG.
图8是本发明实施例终端的示意性结构图。FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
在本发明实施中,用户设备(User Equipment,简称“UE”),也称为终端(Terminal)。该终端对逐帧输出的显示图像进行图像处理,在每帧的显示图像上叠加遮挡图案。连续帧中的遮挡图案按照一定的顺序变化,终端逐帧输出叠加遮挡图案后的显示图像。依据终端输出图像的频率,在某一瞬间,显示图像是无法完整显示的,但结合视觉停留原理,用户可以看到完整的显示图像。在本发明实施例中,终端可以为手机,平板电脑、电视等具有显示器的设备。In the implementation of the present invention, a user equipment (User Equipment, referred to as "UE") is also called a terminal (Terminal). The terminal performs image processing on the display image outputted frame by frame, and superimposes the occlusion pattern on the display image of each frame. The occlusion patterns in consecutive frames are changed in a certain order, and the terminal outputs the display image after the occlusion pattern is superimposed frame by frame. According to the frequency of the output image of the terminal, at a certain moment, the display image cannot be completely displayed, but in combination with the principle of visual pause, the user can see the complete display image. In the embodiment of the present invention, the terminal may be a device with a display such as a mobile phone, a tablet computer, or a television.
为便于说明,下面结合图1对本发明实施例的技术方案进行详细的说明。应理解,这仅是用以说明本发明实施例的技术方案的一个例子,并不对本发明实施例构成任何的限定。For convenience of description, the technical solution of the embodiment of the present invention will be described in detail below with reference to FIG. 1 . It should be understood that this is only an example of the technical solution of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention.
图1是本发明实施例图像处理方法的示意流程图。如图1所示的图像处理方法100的执行主体为终端,该方法100包括:FIG. 1 is a schematic flow chart of an image processing method according to an embodiment of the present invention. The execution body of the image processing method 100 shown in FIG. 1 is a terminal, and the method 100 includes:
110,逐帧接收显示图像;110. Receive a display image frame by frame;
120,确定每帧显示图像的遮挡图案,遮挡图案遮挡显示图像的一部分;120, determining an occlusion pattern of the image displayed in each frame, the occlusion pattern occluding a portion of the display image;
130,逐帧输出图像,输出图像为显示图像与所述显示图像对应的遮挡图案的叠加。130. Output an image frame by frame, and output the image as a superposition of the occlusion pattern corresponding to the display image and the display image.
终端按预设帧率逐帧接收显示图像。终端按预设帧率逐帧输出图像,每一个输出图像以N帧连续输出。N帧连续输出的输出图像中的显示图像是相同的。每帧显示图像的每个像素在N帧连续输出的输出图像中至少出 现一次未被遮挡图案遮挡。N帧连续输出的输出图像中,每帧遮挡图案未遮挡部分的显示图像满足视觉停留原理。N取正整数。The terminal receives the display image frame by frame at a preset frame rate. The terminal outputs images frame by frame at a preset frame rate, and each output image is continuously output in N frames. The display images in the output image continuously outputted by the N frames are the same. Each pixel of the image displayed per frame is at least in the output image continuously outputted in N frames It is now blocked by an occlusion pattern. In the output image in which the N frames are continuously output, the display image of the unoccluded portion of each frame of the occlusion pattern satisfies the principle of visual pause. N takes a positive integer.
具体的,在本发明实施例中,终端按照预设帧率输出图像。终端对每帧显示图像叠加所述显示图像对应的遮挡图案。显示图像与显示图像对应的遮挡图案叠加合成为输出图像。每帧显示图像对应的遮挡图案只遮挡该帧显示图像的部分像素。每帧显示图像的每个像素在N帧连续输出的输出图像中至少有一次未被遮挡图案遮挡。当预设帧率满足用户视觉停留的时间,连续N帧输出图像时,结合视觉停留原理或者说视觉滞留原理,用户可以在看到下一帧输出图像时,上一帧输出图像还保留在用户的视线中,用户可以看到完整的显示图像。Specifically, in the embodiment of the present invention, the terminal outputs an image according to a preset frame rate. The terminal superimposes the occlusion pattern corresponding to the display image on each frame display image. The occlusion pattern superimposed on the display image and the display image is superimposed into an output image. The occlusion pattern corresponding to each frame display image only blocks part of the pixels of the frame display image. Each pixel of the image displayed per frame is occluded by the occlusion pattern at least once in the output image continuously outputted by N frames. When the preset frame rate satisfies the time of the user's visual pause, when the image is output in consecutive N frames, combined with the principle of visual pause or the principle of visual detention, the user can keep the image of the previous frame while the next frame is output. In the line of sight, the user can see the complete display image.
其中,不同帧的遮挡图案可以是不同的,可以按照一定的顺序变化。The occlusion patterns of different frames may be different and may be changed in a certain order.
在110中,显示图像可以为终端需要输出的显示图像。终端逐帧接收需要输出的显示图像。In 110, the display image may be a display image that the terminal needs to output. The terminal receives the display image that needs to be output frame by frame.
在120中,遮挡图案可以用于遮挡显示图像的部分信息。终端对每帧显示图像确定一个遮挡图案。In 120, the occlusion pattern can be used to occlude partial information of the displayed image. The terminal determines an occlusion pattern for each frame display image.
在本发明实施例中,每帧的遮挡图案可以遮挡对应帧显示图像的部分像素。连续帧的遮挡图案可以是不同的,可以按照一定的顺序变化。根据终端一秒钟输出图像的帧数,确定显示图像的每个像素在连续帧输出图像中至少有一次未被遮挡图案遮挡。为了满足用户需求,每帧中未被遮挡图案遮挡的显示图像满足视觉停留原理,以满足用户可以看到完整的显示图像。In the embodiment of the present invention, the occlusion pattern of each frame may block a part of pixels of the corresponding frame display image. The occlusion patterns of successive frames may be different and may vary in a certain order. According to the number of frames of the output image of the terminal for one second, it is determined that each pixel of the display image is occluded by the occlusion pattern at least once in the continuous frame output image. In order to meet the user's needs, the display image that is not blocked by the occlusion pattern in each frame satisfies the principle of visual pause, so that the user can see the complete display image.
其中,在本发明实施例中,N为终端每秒输出输出图像的帧数,。In the embodiment of the present invention, N is the number of frames of the output image output by the terminal per second.
在130中,终端逐帧输出图像,输出图像是显示图像和显示图像对应的遮挡图案的叠加。In 130, the terminal outputs an image frame by frame, and the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
因此,本发明实施例的技术方案公开了对每帧的显示图像设置遮挡图案,与终端输出帧率不匹配的拍摄设备无法通过拍摄获取终端的显示内容。本 发明实施例的技术方案可以保护个人隐私,可以防止终端显示图像被偷拍,可以保证用户使用终端的安全性。Therefore, the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot acquire the display content of the terminal by photographing. Ben The technical solution of the embodiment of the invention can protect the privacy of the individual, can prevent the terminal from displaying the image to be photographed, and can ensure the security of the user using the terminal.
在本发明实施例中,遮挡图案包括规则形状的图案或不规则形状的图案。In an embodiment of the invention, the occlusion pattern comprises a pattern of a regular shape or a pattern of an irregular shape.
可选地,显示图像的每个像素在N帧连续输出的输出图像中至少一次未被遮挡图案遮挡。Optionally, each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously outputted by the N frames.
可选的,不同帧的显示图像对应的遮挡图案遮挡显示图像的不同部分的内容。Optionally, the occlusion pattern corresponding to the display image of different frames blocks the content of different parts of the displayed image.
可选地,作为本发明另一实施例,确定显示图像的遮挡图案包括:Optionally, as another embodiment of the present invention, determining the occlusion pattern of the display image includes:
沿第一方向移动第n帧遮挡图案,得到第n+1帧遮挡图案。其中,第n+1帧遮挡图案所遮挡的显示图像的部分像素可以为第n帧遮挡图案未遮挡的显示图像的部分像素,n取从1到N-1的正整数。The n-th frame occlusion pattern is moved in the first direction to obtain an n+1th frame occlusion pattern. The partial pixel of the display image blocked by the n+1th occlusion pattern may be a partial pixel of the display image that is not blocked by the nth frame occlusion pattern, and n takes a positive integer from 1 to N-1.
在本发明实施例中,n为连续接收帧信号中的前一帧信号,n+1为连续接收帧信号中第n帧信号之后的帧信号。第一方向为终端预设的任一方向。当终端为第n帧显示图像确定遮挡图案之后,终端将第n帧显示图像的遮挡图案沿预设的第一方向移动。将移动后的遮挡图案作为第n+1帧显示图像的遮挡图案。第n+1帧遮挡图案未遮挡的显示图像的像素可以为第n帧遮档图案遮挡的显示图像的全部或者部分像素。In the embodiment of the present invention, n is a previous frame signal in the continuous received frame signal, and n+1 is a frame signal subsequent to the nth frame signal in the continuous received frame signal. The first direction is any direction preset by the terminal. After the terminal determines the occlusion pattern for the nth frame display image, the terminal moves the occlusion pattern of the nth frame display image in a preset first direction. The occlusion pattern after the movement is used as an occlusion pattern of the image displayed in the n+1th frame. The pixel of the display image that is not blocked by the n+1th frame occlusion pattern may be all or part of the pixels of the display image occluded by the nth frame occlusion pattern.
下面以终端每秒输出60帧图像,以遮挡图案为横栅条为例,当横栅条和遮挡图案中的透明条的宽度相同时,对本发明的技术方案进行描述。In the following, the terminal outputs 60 frames of images per second, and the occlusion pattern is a horizontal grid. For example, when the widths of the transparent strips in the horizontal grid and the occlusion pattern are the same, the technical solution of the present invention will be described.
如图2和图3所示,图2为显示图像,图3A为第n帧输出图像,图3B为第n+1帧输出图像。图3A和图3B中未被遮挡图案遮挡的像素为透明条310部分。当终端输出的第20帧输出图像为图3A所示的图像时,遮挡图案遮挡部分显示图像的信息。终端按照一定的方向移动遮挡第20帧显示图像的遮挡图案作为第21帧显示图像的遮挡图案。As shown in FIG. 2 and FIG. 3, FIG. 2 is a display image, FIG. 3A is an n-th frame output image, and FIG. 3B is an n+1th frame output image. The pixels that are not obscured by the occlusion pattern in FIGS. 3A and 3B are portions of the transparent strip 310. When the 20th frame output image output by the terminal is the image shown in FIG. 3A, the occlusion pattern occlusion portion displays the information of the image. The terminal moves the occlusion pattern that blocks the display image of the 20th frame in a certain direction as the occlusion pattern of the 21st frame display image.
应理解,在本发明实施例中,终端以每秒输出60帧图像,遮挡图案 为横条为例,只是为了说明本发明的技术方案,但本发明的技术方案并不受限于此。It should be understood that, in the embodiment of the present invention, the terminal outputs 60 frames of images per second, and blocks the pattern. The horizontal bar is taken as an example for the purpose of explaining the technical solution of the present invention, but the technical solution of the present invention is not limited thereto.
还应理解,在本发明实施例中,不同帧输出图像中被遮挡图案遮挡的图像可以部分重叠。显示图像的每个像素在连续N帧连续输出的输出图像中至少一次未被遮挡图案遮挡。It should also be understood that in embodiments of the present invention, images occluded by occlusion patterns in different frame output images may partially overlap. Each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously output for consecutive N frames.
在本发明实施例中,遮挡图案为规则形状的栅条型图案,该栅条型图案可以为横栅条图案、竖栅条图案或者斜栅条图案等其他栅条形状的图案。In the embodiment of the present invention, the occlusion pattern is a regular-shaped grid-type pattern, and the grid-type pattern may be a pattern of other grid shapes such as a horizontal grid pattern, a vertical grid pattern, or a diagonal grid pattern.
需要说明的是,在本发明实施例中,连续帧中的遮挡图案按照一定的方向移动。遮挡图案可以按照一定的顺序移动。例如,可以按照一定的速度移动。It should be noted that, in the embodiment of the present invention, the occlusion pattern in consecutive frames moves in a certain direction. The occlusion patterns can be moved in a certain order. For example, you can move at a certain speed.
还应理解,在本发明实施例中,当遮挡图案满足条件:每帧遮挡图案遮挡对应帧显示图像的一部分,且每帧显示图像的每个像素在N帧连续输出的输出图像中至少一次未被遮挡图案遮挡,N帧连续输出的输出图像中,每帧遮挡图案未遮挡的显示图像满足视觉停留原理,N为每秒中输出的显示图像的帧数。遮挡图案还可以无规则的运动。在本发明实施例中对此不作任何限制。It should also be understood that, in the embodiment of the present invention, when the occlusion pattern satisfies the condition: each frame occlusion pattern occludes a portion of the corresponding frame display image, and each pixel of each frame display image is not at least once in the output image continuously outputted by N frames. The occlusion pattern is occluded, and in the output image continuously outputted by N frames, the display image whose occlusion pattern is not occluded per frame satisfies the principle of visual stagnation, and N is the number of frames of the display image outputted per second. The occlusion pattern can also move irregularly. There is no limitation on this in the embodiment of the present invention.
可选地,作为本发明的另一实施例,该方法100还包括:当遮挡图案为栅条型图案时,确定栅条型图案的宽度和栅条型图案的间距。Optionally, as another embodiment of the present invention, the method 100 further includes determining a width of the grid-type pattern and a pitch of the grid-type pattern when the occlusion pattern is a grid-type pattern.
在本发明实施例中,当遮挡图案为栅条型图案时,终端可以确定栅条型图案的宽度和间距。例如,终端根据输出的显示图像的大小,确定栅条型图案的宽度和间距。在该实施例中,遮挡图案可以为等间距、不等间距、等宽度和/或不等宽度的图案。In the embodiment of the present invention, when the occlusion pattern is a grid-type pattern, the terminal may determine the width and the pitch of the grid-type pattern. For example, the terminal determines the width and spacing of the grid-type pattern according to the size of the output image to be output. In this embodiment, the occlusion pattern may be a pattern of equal pitch, unequal pitch, equal width, and/or unequal width.
可选地,作为本发明的另一实施例,该方法100还可以包括:确定每帧遮挡图案的颜色。Optionally, as another embodiment of the present invention, the method 100 may further include: determining a color of each frame occlusion pattern.
在本发明实施例中,终端可以为每帧遮挡图案设置颜色。每帧遮挡图案的颜色可以为固定颜色,也可以为不相同的颜色。 In the embodiment of the present invention, the terminal may set a color for each frame occlusion pattern. The color of each frame occlusion pattern can be a fixed color or a different color.
在本发明实施例中,终端还可以为每帧的遮挡图案设置不同的视觉效果。例如,终端为遮挡图案设置不同的透明度,或者终端将遮挡图案设置为特殊效果,再例如,毛玻璃效果。In the embodiment of the present invention, the terminal may also set different visual effects for the occlusion pattern of each frame. For example, the terminal sets different transparency for the occlusion pattern, or the terminal sets the occlusion pattern to a special effect, for example, a frosted glass effect.
优选地,在本发明实施例中,当终端开启一次遮挡图案时,该次输出的每帧输出图像的遮挡图案为同一种颜色、同一种透明度和/或同一种特殊效果,以降低颜色、透明度和/或特殊效果变化对眼睛的刺激,用以保护眼睛。当终端多次开启遮挡图案时,每次的遮挡图案颜色、透明度和/或特殊效果可以不一致,以用于用户使用过程中视觉的多样性,提高用户体验。Preferably, in the embodiment of the present invention, when the terminal opens the occlusion pattern once, the occlusion pattern of each output image of the output is the same color, the same transparency and/or the same special effect to reduce color and transparency. And/or special effects change the eye's stimuli to protect the eyes. When the terminal opens the occlusion pattern multiple times, the occlusion pattern color, transparency, and/or special effects may be inconsistent for the user to use the visual diversity during use to improve the user experience.
在本发明实施例中,终端还可以调整遮挡图案的亮度和或灰度,例如,终端可以将调整终端显示器屏幕的亮度与调整遮挡图案的亮度和或灰度相结合调整,同时调整终端显示器屏幕的亮度和遮挡图案的亮度和或灰度,以提高用户的体验。In the embodiment of the present invention, the terminal may further adjust the brightness and gray level of the occlusion pattern. For example, the terminal may adjust the brightness of the adjustment terminal display screen in combination with the brightness and gray level of the adjustment occlusion pattern, and adjust the terminal display screen. The brightness and opacity of the occlusion pattern and or grayscale to enhance the user experience.
可选地,作为本发明另一实施例,每帧遮挡图案分布于部分显示图像上或者每帧遮挡图案分布于整个显示图像上。Optionally, as another embodiment of the present invention, each frame of the occlusion pattern is distributed on the partial display image or each frame of the occlusion pattern is distributed on the entire display image.
具体的,每帧的遮挡图案可以分布于整个显示图像上,也可以分布在整个显示图像的部分显示图像上,也就是说,终端遮挡图案可以遮挡显示器所有区域的显示图像,也可以遮挡显示器部分区域的显示图像。Specifically, the occlusion pattern of each frame may be distributed over the entire display image, or may be distributed over part of the display image of the entire display image, that is, the terminal occlusion pattern may block the display image of all areas of the display, and may also block the display portion. The display image of the area.
图4为遮挡图案遮挡显示器部分区域的显示图像的示意图。在图4中,遮挡图案分布于显示器的中部区域。4 is a schematic view showing a display image in which an occlusion pattern blocks a partial area of the display. In Figure 4, the occlusion pattern is distributed over the central region of the display.
应理解,在本发明实施例中,以遮挡图案分布于显示器的中部区域为例,只是为了对本发明实施例的技术方案进行详细描述,但并不限制本发明实施例的范围。It should be understood that, in the embodiment of the present invention, the occlusion pattern is distributed to the central portion of the display, for the purpose of describing the technical solutions of the embodiments of the present invention in detail, but does not limit the scope of the embodiments of the present invention.
在本发明实施例中,遮挡图案遮挡显示器部分区域的显示图像时,遮挡图案还可以分布在显示器的顶部位置、底部位置、左侧位置、右侧位置,或者显示器的任一可能的位置,在本发明实施例中对此不作任何限制。In the embodiment of the present invention, when the occlusion pattern blocks the display image of the partial area of the display, the occlusion pattern may also be distributed at the top position, the bottom position, the left position, the right position of the display, or any possible position of the display. There is no limitation on this in the embodiment of the present invention.
还应理解,遮挡图案可以为任一形状的有规则形状的图案或者无规则 形状的图案。It should also be understood that the occlusion pattern can be a regular shaped pattern of any shape or irregular. Shape pattern.
可选地,作为本发明的另一实施例,该方法还包括:接收用户输入的操作指令,该操作指令用于指示开启遮挡图案。Optionally, as another embodiment of the present invention, the method further includes: receiving an operation instruction input by the user, the operation instruction being used to indicate that the occlusion pattern is turned on.
具体的,在本发明实施例中,终端接收用户输入的开启遮挡图案的指令,以用于根据该指令为每帧接收的显示图像设置遮挡图案。Specifically, in the embodiment of the present invention, the terminal receives an instruction of the user to input an occlusion pattern for setting an occlusion pattern for the display image received for each frame according to the instruction.
在本发明实施例中,操作指令可以为用户按压终端上的按键触发,也可以通过手势触发。例如,以终端为手机为例,可以根据用户按压电源按键和/或上音量按键,触发手机开启遮挡图案;或者根据用户转动手势触发手机开启遮挡图案。In the embodiment of the present invention, the operation instruction may be triggered by the user pressing a button on the terminal, or may be triggered by a gesture. For example, taking the terminal as the mobile phone as an example, the user may press the power button and/or the upper volume button to trigger the mobile phone to open the occlusion pattern; or trigger the mobile phone to open the occlusion pattern according to the user's rotation gesture.
应理解,在本发明实施例中,终端也可以根据用户输入的操作指令关闭遮挡图案。It should be understood that, in the embodiment of the present invention, the terminal may also close the occlusion pattern according to an operation instruction input by the user.
还应理解,在本发明实施例中,操作指令除可以通过用户按压终端上的按键触发之外,还可以通过软件开关或者特定的程序触发,在本发明实施例中对此不作任何限制。It should also be understood that, in the embodiment of the present invention, the operation command may be triggered by a user pressing a button on the terminal, and may be triggered by a software switch or a specific program, which is not limited in the embodiment of the present invention.
因此,采用本发明实施例提供的图像处理方法,终端通过对每帧的显示图像设置遮挡图案,根据终端输出信号的频率,结合视觉停留原理,在满足用户需求的情况下,可以防御显示图像的被偷拍,以保证用户使用终端的安全性。Therefore, according to the image processing method provided by the embodiment of the present invention, the terminal sets an occlusion pattern for each frame of the display image, and according to the frequency of the output signal of the terminal, combined with the principle of visual stagnation, can protect the display image while satisfying the user's demand. Was photographed to ensure the security of the user's use of the terminal.
上文中结合图1至图4,详细描述了根据本发明实施例的图像处理的方法,下面将结合图5至图8,详细描述根据本发明实施例的终端。The method of image processing according to an embodiment of the present invention is described in detail above with reference to FIGS. 1 through 4, and a terminal according to an embodiment of the present invention will be described in detail below with reference to FIGS. 5 through 8.
图5是本发明实施例终端的示意性结构图。如图5所示的终端500包括:接收模块510、确定模块520和输出模块530。FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 500 shown in FIG. 5 includes a receiving module 510, a determining module 520, and an output module 530.
接收模块510,用于逐帧接收显示图像;The receiving module 510 is configured to receive the display image frame by frame;
确定模块,用于确定每帧显示图像的遮挡图案,遮挡图案遮挡显示图像的一部分; a determining module, configured to determine an occlusion pattern of the displayed image of each frame, the occlusion pattern occluding a portion of the displayed image;
输出模块530,用于逐帧输出图像,输出图像为显示图像与所述显示图像对应的遮挡图案的叠加。The output module 530 is configured to output an image frame by frame, and the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
其中,每帧显示图像的每个像素在N帧连续输出的输出图像中至少出现一次未被遮挡图案遮挡,N帧连续输出的输出图像中,每帧遮挡图案未遮挡部分的显示图像满足视觉停留原理,N取正整数。Wherein, each pixel of each frame display image is occluded at least once by the occlusion pattern in the output image continuously outputted by the N frames, and the output image of the unblocked portion of each frame occlusion pattern satisfies the visual pause in the output image continuously outputted by the N frames. Principle, N takes a positive integer.
具体的,在本发明实施例中,终端按照预设帧率输出图像。每个终端使用的帧率满足视觉停留原理。确定模块520对接收模块510接收的每帧显示图像进行处理,在每帧的显示图像上叠加遮挡图案,合成最终的输出图像。每帧的遮挡图案可以只遮挡该帧显示图像的部分像素。由于输出图像包括显示图像和遮挡图案,在每一帧输出图像中,由于显示图像的部分像素被遮挡图案遮挡,所以每帧输出图像可能无法呈现完整的显示图像,每帧显示图像的每个像素在N帧连续输出的输出图像中至少出现一次未被遮挡图案遮挡,结合视觉停留原理,用户可以看到完整的显示图像。其中,连续输出帧中的遮挡图案可以按照一定的顺序变化。Specifically, in the embodiment of the present invention, the terminal outputs an image according to a preset frame rate. The frame rate used by each terminal satisfies the principle of visual pause. The determining module 520 processes each frame of the display image received by the receiving module 510, and superimposes the occlusion pattern on the display image of each frame to synthesize the final output image. The occlusion pattern of each frame may only obscure a portion of the pixels of the frame display image. Since the output image includes the display image and the occlusion pattern, in each frame output image, since some pixels of the display image are blocked by the occlusion pattern, the output image of each frame may not be able to present a complete display image, and each pixel of the image is displayed per frame. The unoccluded pattern is occluded at least once in the output image continuously outputted by N frames. In combination with the principle of visual pause, the user can see the complete display image. The occlusion patterns in the continuous output frame may be changed in a certain order.
在本发明实施例中,显示图像可以为终端需要输出的显示图像。接收模块510逐帧接收需要输出的显示图像。确定模块520对每帧显示图像确定一个遮挡图案。遮挡图案可以用于遮挡显示图像的部分信息。In the embodiment of the present invention, the display image may be a display image that the terminal needs to output. The receiving module 510 receives the display image that needs to be output frame by frame. The determination module 520 determines an occlusion pattern for each frame of display image. The occlusion pattern can be used to occlude part of the information of the displayed image.
每帧的遮挡图案遮挡对应帧显示图像的部分像素,连续帧的遮挡图案可以按照一定的顺序变化。根据终端一秒钟输出图像的帧数,确定显示图像的每个像素在规定的连续帧输出图像中至少显示一次未被遮挡图案遮挡,为满足用户需求,每帧中未被遮挡图案遮挡的显示部分的显示图像满足视觉停留原理,以便于用户看到完整的显示图像。也就是说,当预设帧率满足用户视觉停留的时间,连续N帧输出图像时,用户可以在看到下一帧图像时,上一帧图像还保留在用户的视线中,这样用户就可以看到完整的显示图像。The occlusion pattern of each frame occludes a part of the pixels of the corresponding frame display image, and the occlusion patterns of the continuous frames may be changed in a certain order. According to the number of frames of the output image of the terminal for one second, it is determined that each pixel of the display image is occluded at least once by the occlusion pattern in the specified continuous frame output image, and the display is blocked by the occlusion pattern in each frame to meet the user's demand. Part of the display image satisfies the principle of visual pause so that the user can see the complete display image. That is to say, when the preset frame rate satisfies the time of the user's visual pause, when the image is output in consecutive N frames, the user can keep the image of the previous frame in the line of sight of the user when the next frame image is seen, so that the user can See the full display image.
其中,在本发明实施例中,N为终端每秒输出显示图像的帧数。 In the embodiment of the present invention, N is the number of frames in which the terminal outputs the display image every second.
终端将每帧的显示图像和对应帧显示图像的遮挡图案叠加,形成最终的输出图像。The terminal superimposes the display image of each frame and the occlusion pattern of the corresponding frame display image to form a final output image.
因此,本发明实施例的技术方案公开了对每帧的显示图像设置遮挡图案,与终端输出帧率不匹配的拍摄设备无法通过拍摄获取终端的显示内容,本发明实施例的技术方案可以保护个人隐私,可以防止终端显示图像被偷拍,可以保证用户使用终端的安全性。Therefore, the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot obtain the display content of the terminal by photographing, and the technical solution of the embodiment of the present invention can protect the individual. Privacy can prevent the terminal from displaying images and can be used to ensure the security of the user.
在本发明实施例中,遮挡图案包括规则形状的图案或不规则形状的图案。In an embodiment of the invention, the occlusion pattern comprises a pattern of a regular shape or a pattern of an irregular shape.
可选地,作为本发明另一实施例,显示图像的每个像素在N帧连续输出的输出图像中至少一次未被遮挡图案遮挡。Optionally, as another embodiment of the present invention, each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously outputted by the N frames.
具体的,每帧遮挡图案可以遮挡显示图像中不同部分的内容。Specifically, each frame of the occlusion pattern can block the content of different parts of the displayed image.
可选地,在本发明实施例,确定模块520具体用于,Optionally, in the embodiment of the present invention, the determining module 520 is specifically configured to:
沿第一方向移动第n帧遮挡图案,得到第n+1帧遮挡图案,其中,第n+1帧遮挡图案遮挡的显示图像的部分像素为第n帧遮挡图案未遮挡的显示图像的部分像素,n取从1到N-1的正整数。Moving the nth frame occlusion pattern in the first direction to obtain an n+1th frame occlusion pattern, wherein part of the pixels of the display image occluded by the n+1th occlusion pattern are partial pixels of the display image of the nth frame occlusion pattern unoccluded , n takes a positive integer from 1 to N-1.
在本发明实施例中,n为连续接收帧信号中的前一帧信号,n+1为连续接收帧信号中第n帧信号之后的帧信号。第一方向为终端预设的任一方向。当确定模块520为前一帧接收模块510接收到的显示图像确定遮挡图案之后,确定模块520根据前一帧确定的遮挡图案沿预设的第一方向移动,将移动后的遮挡图案作为后一帧的遮挡图案,后一帧遮挡图案未遮挡的显示图像的像素可以为前一帧遮图案遮挡的显示图像的像素。In the embodiment of the present invention, n is a previous frame signal in the continuous received frame signal, and n+1 is a frame signal subsequent to the nth frame signal in the continuous received frame signal. The first direction is any direction preset by the terminal. After the determining module 520 determines the occlusion pattern for the display image received by the previous frame receiving module 510, the determining module 520 moves according to the occlusion pattern determined in the previous frame along the preset first direction, and uses the moved occlusion pattern as the latter one. The occlusion pattern of the frame, the pixel of the display image that is not occluded by the occlusion pattern of the latter frame may be the pixel of the display image occluded by the previous frame occlusion pattern.
应理解,在发明实施例中,连续两帧的输出图案中的遮挡图案遮挡的显示图像的内容可以部分重叠。It should be understood that in the embodiment of the invention, the contents of the display image occluded by the occlusion pattern in the output patterns of two consecutive frames may partially overlap.
在本发明实施例中,遮挡图案为规则形状的栅条型图案,该栅条型图案可以为横栅条、竖栅条或者斜栅条等其他栅条形状的图案。In the embodiment of the present invention, the occlusion pattern is a regular-shaped grid-type pattern, and the grid-type pattern may be a pattern of other grid shapes such as a horizontal grid strip, a vertical grid strip, or a diagonal grid strip.
需要说明的是,在本发明实施例中,连续帧中的遮挡图案可以按照一 定的方向移动,遮挡图案可以沿任一方向按照一定的顺序移动,例如,可以按照规定的速度进行移动。It should be noted that, in the embodiment of the present invention, the occlusion pattern in consecutive frames may be in accordance with one Moving in a fixed direction, the occlusion pattern can be moved in a certain order in either direction, for example, at a prescribed speed.
还应理解,在本发明实施例中,当遮挡图案满足条件:每帧遮挡图案遮挡对应帧显示图像的一部分,且每帧显示图像的每个像素在N帧连续输出的输出图像中至少出现一次,N帧连续输出的输出图像中,每帧遮挡图案未遮挡部分的显示图像满足视觉停留原理,N为每秒中输出的显示图像的帧数时,遮挡图案还可以无规则的运动,在本发明实施例中对此不作任何限制。It should also be understood that, in the embodiment of the present invention, when the occlusion pattern satisfies the condition: each frame occlusion pattern occludes a portion of the corresponding frame display image, and each pixel of each frame display image appears at least once in the output image continuously outputted in N frames. In the output image of N frames continuously output, the display image of the unoccluded portion of each frame of the occlusion pattern satisfies the principle of visual pause, and when N is the number of frames of the display image outputted per second, the occlusion pattern can also move irregularly. No limitation is imposed on the embodiments of the invention.
可选地,作为本发明的另一实施例,当遮挡图案为栅条型图案时,确定模块520还用于,确定栅条型图案的宽度和栅条型图案的间距。Optionally, as another embodiment of the present invention, when the occlusion pattern is a grid-type pattern, the determining module 520 is further configured to determine a width of the grid-type pattern and a pitch of the grid-type pattern.
在本发明实施例中,当遮挡图案为栅条型图案时,确定模块520可以确定栅条型图案的宽度和间距。例如,确定模块520根据输出图像的大小,确定栅条型图案的宽度和间距。在该实施例中,遮挡图案可以为等间距、不等间距、等宽度和/或不等宽度的图案。In the embodiment of the present invention, when the occlusion pattern is a grid-type pattern, the determining module 520 can determine the width and spacing of the grid-type pattern. For example, the determination module 520 determines the width and spacing of the grid-type pattern based on the size of the output image. In this embodiment, the occlusion pattern may be a pattern of equal pitch, unequal pitch, equal width, and/or unequal width.
可选地,作为本发明的另一实施例,确定模块520还可以用于,确定每帧遮挡图案的颜色。Optionally, as another embodiment of the present invention, the determining module 520 is further configured to determine a color of each frame occlusion pattern.
在本发明实施例中,确定模块520可以为每帧遮挡图案设置颜色,每帧遮挡图案的颜色可以为固定颜色,也可以为不相同的颜色。In the embodiment of the present invention, the determining module 520 may set a color for each frame occlusion pattern, and the color of each frame occlusion pattern may be a fixed color or a different color.
在本发明实施例中,确定模块520还可以为每帧遮挡图案设置不同的视觉效果,例如,确定模块520为遮挡图案设置不同的透明度,或者确定模块520将遮挡图案设置为特殊效果,再例如,毛玻璃效果。In the embodiment of the present invention, the determining module 520 may further set different visual effects for each frame occlusion pattern. For example, the determining module 520 sets different transparency for the occlusion pattern, or the determining module 520 sets the occlusion pattern to a special effect, for example, for example. , frosted glass effect.
优选地,在本发明实施例中,当终端开启一次遮挡图案时,确定模块520为该次输出的每帧输出图像中的遮挡图案设置同一种颜色、同一种透明度和/或同一种特殊效果,以降低颜色、透明度和/或特殊效果变化对眼睛的刺激,用以保护眼睛。当终端多次开启遮挡图案时,确定模块520可以将每次的遮挡图案颜色、透明度和/或特殊效果设置为不一致,以用于用 户使用过程的中视觉的多样性,提高用户体验。Preferably, in the embodiment of the present invention, when the terminal opens the occlusion pattern once, the determining module 520 sets the same color, the same transparency, and/or the same special effect for the occlusion pattern in the output image of each frame of the output. It is used to protect the eyes by reducing the irritation of the eyes by reducing color, transparency and/or special effects. When the terminal opens the occlusion pattern multiple times, the determining module 520 may set each occlusion pattern color, transparency, and/or special effect to be inconsistent for use. The user uses the visual diversity of the process to improve the user experience.
在本发明实施例中,确定模块520还可以调整遮挡图案的亮度,例如,终端可以将调整终端显示器屏幕的亮度与调整遮挡图案的亮度相结合调整,同时调整终端显示器屏幕的亮度和遮挡图案的亮度,以提高用户的体验。In the embodiment of the present invention, the determining module 520 can also adjust the brightness of the occlusion pattern. For example, the terminal can adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjusted occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to enhance the user experience.
在本发明实施例中,终端还可以调整遮挡图案的亮度,例如,确定模块520可以将调整终端显示器屏幕的亮度与调整遮挡图案的亮度相结合调整,同时调整终端显示器屏幕的亮度和遮挡图案的亮度,以提高用户的体验。In the embodiment of the present invention, the terminal may further adjust the brightness of the occlusion pattern. For example, the determining module 520 may adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjustment occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to enhance the user experience.
图6是本发明另一实施例终端中的确定模块的示意性结构图。FIG. 6 is a schematic structural diagram of a determining module in a terminal according to another embodiment of the present invention.
在本发明实施例中,如图6所示,确定模块520可以包括加密单元521,着色单元522和过滤单元523。加密单元521用于对每帧的显示图像,设置遮挡图案;着色单元522用于为每帧的遮挡图案设置颜色;过滤单元523用于将每帧遮挡图案和对应帧的显示图像进行叠加,得到最终的输出图像。In the embodiment of the present invention, as shown in FIG. 6, the determining module 520 may include an encryption unit 521, a coloring unit 522, and a filtering unit 523. The encryption unit 521 is configured to set an occlusion pattern for each frame of the display image; the coloring unit 522 is configured to set a color for each frame of the occlusion pattern; and the filtering unit 523 is configured to superimpose the occlusion pattern of each frame and the display image of the corresponding frame to obtain The final output image.
应理解,在本发明实施例中,确定模块520还可以根据内在逻辑需要设置其他单元,在本发明实施例中不作任何限制。It should be understood that, in the embodiment of the present invention, the determining module 520 may further set other units according to the inherent logic, and is not limited in the embodiment of the present invention.
可选地,作为本发明另一实施例,确定模块520还用于设置每帧遮挡图案分布于部分显示图像上或者每帧遮挡图案分布于整个显示图像上。Optionally, as another embodiment of the present invention, the determining module 520 is further configured to set each frame occlusion pattern to be distributed on the partial display image or each frame occlusion pattern is distributed on the entire display image.
具体的,每帧的遮挡图案可以分布于整个显示图像上,也可以分布在整个显示图像的部分显示图像上,也就是说,终端遮挡图案可以遮挡终端的显示器屏幕的一部分区域,也可以遮挡终端的显示器屏幕的完整区域。如图4所示。Specifically, the occlusion pattern of each frame may be distributed over the entire display image, or may be distributed over part of the display image of the entire display image, that is, the terminal occlusion pattern may block a part of the display screen of the terminal, or may block the terminal. The full area of the monitor screen. As shown in Figure 4.
应理解,在本发明实施例中,以遮挡图案分布于显示图像的中间位置为例,只是为了对本发明实施例的技术方案进行详细描述,但并不限制本发明实施例的范围。It should be understood that, in the embodiment of the present invention, the occlusion pattern is distributed in the middle position of the display image, and is only for the detailed description of the technical solutions of the embodiments of the present invention, but does not limit the scope of the embodiments of the present invention.
在本发明实施例中,遮挡图案分布于部分显示图像时,遮挡图案还可 以分布在显示图像的顶部位置、底部位置、左侧位置、右侧位置,或者显示图像的任一可能的位置,在本发明实施例中对此不作任何限制。In the embodiment of the present invention, when the occlusion pattern is distributed on a part of the display image, the occlusion pattern may also be In the embodiment of the present invention, no limitation is imposed on the top position, the bottom position, the left position, the right position, or any possible position of the display image.
还应理解,遮挡图案可以为任一形状的有规则形状的图案或者无规则形状的图案。It should also be understood that the occlusion pattern can be a regular shaped pattern of any shape or a pattern of irregular shapes.
可选地,作为本发明的另一实施例,接收模块510还用于,接收用户输入的操作指令,操作指令用于指示开启遮挡图案。Optionally, as another embodiment of the present invention, the receiving module 510 is further configured to receive an operation instruction input by the user, where the operation instruction is used to indicate that the occlusion pattern is turned on.
具体的,在本发明实施例中,接收模块510接收用户输入的开启遮挡图案的指令,以用于根据该指令为每帧接收的显示图像设置遮挡图案。Specifically, in the embodiment of the present invention, the receiving module 510 receives an instruction of the user to input an occlusion pattern for setting an occlusion pattern for the display image received for each frame according to the instruction.
在本发明实施例中,操作指令可以为用户通过终端上的按键触发,也可以通过终端上的手势触发。例如,该终端为手机,手机可以根据用户通过电源按键和上音量按键,触发手机开启遮挡图案;或者手机根据用户通过转动手机,触发手机开启遮挡图案。In the embodiment of the present invention, the operation instruction may be triggered by the user through a button on the terminal, or may be triggered by a gesture on the terminal. For example, the terminal is a mobile phone, and the mobile phone can trigger the mobile phone to open the occlusion pattern according to the user pressing the power button and the upper volume button; or the mobile phone triggers the mobile phone to open the occlusion pattern according to the user rotating the mobile phone.
应理解,在本发明实施例中,终端也可以根据用户输入的操作指令关闭遮挡图案。It should be understood that, in the embodiment of the present invention, the terminal may also close the occlusion pattern according to an operation instruction input by the user.
还应理解,在本发明实施例中,操作指令除可以通过终端上的按键触发之外,还可以通过软件开关或者特定的程序触发,在本发明实施例中对此不作任何限制。It should be understood that, in the embodiment of the present invention, the operation command may be triggered by a software switch or a specific program, which is not limited in the embodiment of the present invention.
因此,采用本发明实施例提供的终端,终端通过对每帧的显示图像设置遮挡图案,根据终端输出信号的频率,结合视觉停留原理,在满足用户需求的情况下,可以防御显示图像的被偷拍,以保证用户使用终端的安全性。Therefore, by using the terminal provided by the embodiment of the present invention, the terminal can set the occlusion pattern for the display image of each frame, and according to the frequency of the output signal of the terminal, combined with the principle of visual stagnation, the sneak shot of the display image can be protected against the user's demand. To ensure the security of the user's use of the terminal.
需要说明的是,在本发明实施例中,根据本发明实施例的终端500中的各个模块的上述和其它操作和/或功能分别为了实现图1中的各个方法的相应流程,为了简洁,在此不再赘述。It should be noted that, in the embodiment of the present invention, the foregoing and other operations and/or functions of the modules in the terminal 500 according to the embodiment of the present invention are respectively implemented in order to implement the corresponding processes of the methods in FIG. This will not be repeated here.
图7是根据本发明另一实施例的终端的示意性结构图。如图7所示的终端600包括内容缓存模块710、显示输出模块720、处理模块730、并行显示 接口740、数模转换模块750和显示模块760。FIG. 7 is a schematic structural diagram of a terminal according to another embodiment of the present invention. The terminal 600 shown in FIG. 7 includes a content cache module 710, a display output module 720, a processing module 730, and a parallel display. The interface 740, the digital to analog conversion module 750, and the display module 760.
当终端接收到用户输入的开启遮挡图案的操作指令时,终端输出图像的具体过程为:When the terminal receives the operation instruction of the user to input the occlusion pattern, the specific process of the terminal outputting the image is:
显示输出模块720从内容缓存模块710获取显示图像,并向处理模块730逐帧发送显示图像,处理模块730根据逐帧接收的显示图像,为每帧显示图像确定一个遮挡图案,并将遮挡图案和显示图像叠合,得到输出图像。处理模块730通过并行显示接口(英文:Display Serial Interface,简称“DSI”)740,将输出图像发送给数模转换模块750,经数模转换模块750将输出图像的数字信号转换为模拟信号,输出到显示模块760输出图像显示。The display output module 720 acquires the display image from the content cache module 710, and sends the display image frame by frame to the processing module 730. The processing module 730 determines an occlusion pattern for each frame of the display image according to the display image received frame by frame, and blocks the occlusion pattern and The display image is superimposed to obtain an output image. The processing module 730 sends the output image to the digital-to-analog conversion module 750 through a parallel display interface (English: Display Serial Interface, "DSI") 740, and converts the digital signal of the output image into an analog signal through the digital-to-analog conversion module 750, and outputs An image display is output to the display module 760.
需要说明的是,在本发明实施例中,根据本发明实施例的终端600可对应于根据本发明实施例的方法100的执行主体,并且终端600中的各个模块的上述和其它操作和/或功能分别为了实现图1中的各个方法的相应流程,为了简洁,在此不再赘述It should be noted that, in the embodiment of the present invention, the terminal 600 according to the embodiment of the present invention may correspond to the execution body of the method 100 according to the embodiment of the present invention, and the foregoing and other operations of the respective modules in the terminal 600 and/or The functions are respectively implemented in order to implement the corresponding processes of the respective methods in FIG. 1. For the sake of brevity, details are not described herein again.
其中,在本发明实施例中,处理模块730包括终端500中的接收模块510、确定模块520,处理模块730也可以实现终端500中的接收模块510、确定模块520的操作和/或功能,为了实现图1中方法100的相应流程,为了简洁,在此不在赘述。其中,处理模块730还包括发送模块,用于将得到的输出图像通过并行显示接口740发送给数模转换模块750。In the embodiment of the present invention, the processing module 730 includes a receiving module 510 and a determining module 520 in the terminal 500. The processing module 730 can also implement the operations and/or functions of the receiving module 510 and the determining module 520 in the terminal 500. The corresponding process of the method 100 in FIG. 1 is implemented, and for brevity, it will not be described here. The processing module 730 further includes a sending module, configured to send the obtained output image to the digital-to-analog conversion module 750 through the parallel display interface 740.
因此,采用本发明实施例提供的终端,终端通过对每帧的显示图像设置遮挡图案,根据终端输出信号的频率,结合视觉停留原理,在满足用户需求的情况下,可以防御显示图像被偷拍,以保证用户使用终端的安全性。Therefore, by using the terminal provided by the embodiment of the present invention, the terminal sets the occlusion pattern on the display image of each frame, and according to the frequency of the output signal of the terminal, combined with the principle of visual pause, the display image can be prevented from being sneak shot when the user's needs are met. To ensure the security of the user's use of the terminal.
还需要说明的是,在本发明实施例中,将处理模块730设置在显示输出模块720和并行显示接口740之间,只是为了描述本发明实施例的技术方案,本发明的技术方案并不受限于此。It should be noted that, in the embodiment of the present invention, the processing module 730 is disposed between the display output module 720 and the parallel display interface 740. However, in order to describe the technical solution of the embodiment of the present invention, the technical solution of the present invention is not Limited to this.
在本发明实施例中,处理模块730也可以通过软件算法对每帧显示图像进行处理,得到输出图像。例如,在并行显示接口740对显示图像进行打包 之前,执行处理模块730的操作,或者在显示图像进入内容缓存模块710之前,执行处理模块730的操作,以完成显示图像的加密,实现显示图像的防偷拍,保证用户使用的安全性。In the embodiment of the present invention, the processing module 730 may also process the image displayed by each frame through a software algorithm to obtain an output image. For example, packaging the display image at the parallel display interface 740 Previously, the operation of the processing module 730 is performed, or before the display image enters the content cache module 710, the operation of the processing module 730 is performed to complete the encryption of the display image, to achieve anti-snapping of the displayed image, and to ensure the security of the user.
图8为本发明实施例终端的示意性结构图。如图8所示,终端800包括:处理器810、显示器820、存储器830和通信总线***840。其中,处理器810、显示器820和存储器830通过通信总线***840相连接。其中,FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 8, terminal 800 includes a processor 810, a display 820, a memory 830, and a communication bus system 840. The processor 810, the display 820, and the memory 830 are connected by a communication bus system 840. among them,
存储器830,用于存储指令;a memory 830, configured to store an instruction;
处理器810,用于调用存储在存储器830中的指令执行以下步骤;The processor 810 is configured to invoke an instruction stored in the memory 830 to perform the following steps;
逐帧接收显示图像;确定每帧显示图像的遮挡图案,遮挡图案遮挡显示图像的一部分;逐帧输出图像,输出图像为显示图像与所述显示图像对应的遮挡图案的叠加;Receiving a display image frame by frame; determining an occlusion pattern of each frame display image, the occlusion pattern occluding a portion of the display image; outputting the image frame by frame, the output image being a superposition of the occlusion pattern corresponding to the display image and the display image;
显示器820,用于显示输出图像,输出图像为显示图像与所述显示图像对应的遮挡图案的叠加。The display 820 is configured to display an output image, and the output image is a superposition of the occlusion pattern corresponding to the display image and the display image.
其中,每帧显示图像的每个像素在N帧连续输出的输出图像中至少一次未被遮挡图案遮挡,N帧连续输出的输出图像中,每帧遮挡图案未遮挡部分的显示图像满足视觉停留原理,N取正整数。其中视觉停留原理为,当用户长时间看一个图像,在一定的时间段内,将图像移走,用户会该图像还保持在视线中。Wherein, each pixel of the image displayed in each frame is occluded at least once by the occlusion pattern in the output image continuously outputted by the N frames, and the output image of the unblocked portion of the occlusion pattern of each frame satisfies the principle of visual pause in the output image continuously outputted by the N frames. , N takes a positive integer. The principle of visual pause is that when the user looks at an image for a long time, the image is removed within a certain period of time, and the user keeps the image in the line of sight.
具体的,在本发明实施例中,终端按照预设帧率输出显示图像。每个终端使用的帧率满足视觉停留原理。处理器810对接收的每帧显示图像进行处理,在每帧的显示图像上叠加遮挡图案,合成最终的输出图像。每帧的遮挡图案只遮挡该帧显示图像的部分像素。一个完整的显示图像,由于被遮挡图案遮挡了部分像素,每帧输出图像为显示图像与遮挡图案的叠加,某一帧输出图像不能呈现完整的显示图像,但结合视觉停留原理,用户可以看到完整的输出图像。其中,连续输出帧中的遮挡图案可以按照一定的 顺序变化。Specifically, in the embodiment of the present invention, the terminal outputs the display image according to a preset frame rate. The frame rate used by each terminal satisfies the principle of visual pause. The processor 810 processes the received image for each frame received, superimposes the occlusion pattern on the display image of each frame, and synthesizes the final output image. The occlusion pattern of each frame only blocks part of the pixels of the frame display image. A complete display image, because the occluded pattern obscures part of the pixels, the output image of each frame is the superposition of the display image and the occlusion pattern, and the output image of a certain frame cannot present the complete display image, but combined with the principle of visual pause, the user can see Complete output image. Wherein, the occlusion pattern in the continuous output frame can be determined according to a certain The order changes.
在本发明实施例中,显示图像可以为终端需要输出的显示图像。处理器810逐帧接收需要输出的显示图像。处理器810对每帧显示图像,确定一个遮挡图案。遮挡图案可以用于遮挡显示图像的部分信息。In the embodiment of the present invention, the display image may be a display image that the terminal needs to output. The processor 810 receives the display image that needs to be output frame by frame. The processor 810 displays an image for each frame to determine an occlusion pattern. The occlusion pattern can be used to occlude part of the information of the displayed image.
每帧的遮挡图案遮挡对应帧显示图像的部分像素,连续帧的遮挡图案可以按照一定的顺序变化。根据终端一秒钟输出图像的帧数,确定显示图像的每个像素在规定的连续帧输出图像中至少一次未被遮挡图案遮挡,为满足用户需求,每帧中未被遮挡图案遮挡的显示部分的显示图像满足视觉停留原理,以便于用户看到完整的显示图像。The occlusion pattern of each frame occludes a part of the pixels of the corresponding frame display image, and the occlusion patterns of the continuous frames may be changed in a certain order. Determining, according to the number of frames of the output image of the terminal one second, that each pixel of the display image is occluded by the occlusion pattern at least once in the specified continuous frame output image, and the display portion that is not blocked by the occlusion pattern in each frame to meet the user's needs The display image satisfies the principle of visual pause so that the user can see the complete display image.
其中,在本发明实施例中,N为终端每秒输出显示图像的帧数。In the embodiment of the present invention, N is the number of frames in which the terminal outputs the display image every second.
终端将每帧的显示图像和显示图像对应的遮挡图案叠加,形成最终的输出图像。The terminal superimposes the display image of each frame and the occlusion pattern corresponding to the display image to form a final output image.
因此,本发明实施例的技术方案公开了对每帧的显示图像设置遮挡图案,与终端输出帧率不匹配的拍摄设备无法通过拍摄获取终端的显示内容,本发明实施例的技术方案可以保护个人隐私,可以防止终端显示图像被偷拍,可以保证用户使用终端的安全性。Therefore, the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot obtain the display content of the terminal by photographing, and the technical solution of the embodiment of the present invention can protect the individual. Privacy can prevent the terminal from displaying images and can be used to ensure the security of the user.
在本发明实施例中,遮挡图案包括规则形状的图案或不规则形状的图案。In an embodiment of the invention, the occlusion pattern comprises a pattern of a regular shape or a pattern of an irregular shape.
应理解,在本发明实施例中,该处理器810可以是中央处理单元(Central Processing Unit,CPU),该处理器810还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present invention, the processor 810 may be a central processing unit (CPU), and the processor 810 may also be other general-purpose processors, digital signal processors (DSPs), and application specific integrated circuits. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该总线***840除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线***840。 The bus system 840 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 840 in the figure.
在实现过程中,上述方法的各步骤可以通过处理器810中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器830,处理器810读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 810 or an instruction in a form of software. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 830, and the processor 810 reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
可选地,作为本发明另一实施例,显示图像的每个像素在N帧连续输出的输出图像中至少一次未被遮挡图案遮挡。Optionally, as another embodiment of the present invention, each pixel of the display image is occluded by the occlusion pattern at least once in the output image continuously outputted by the N frames.
可选地,在本发明实施例,处理器810具体用于,Optionally, in the embodiment of the present invention, the processor 810 is specifically configured to:
沿第一方向移动第n帧遮挡图案,得到第n+1帧遮挡图案,其中,第n+1帧遮挡图案所遮挡的显示图像的部分像素可以为第n帧遮挡图案未遮挡的显示图像的部分像素,n取从1到N-1的正整数。Moving the nth frame occlusion pattern in the first direction to obtain an n+1th frame occlusion pattern, wherein a part of pixels of the display image blocked by the n+1th occlusion pattern may be an nth frame occlusion pattern unoccluded display image For a partial pixel, n takes a positive integer from 1 to N-1.
在本发明实施例中,n为连续接收帧信号中的前一帧信号,n+1为连续接收帧信号中第n帧信号之后的帧信号。第一方向为终端预设的任一方向。当终端为第n帧显示图像确定遮挡图案之后,终端将第n帧显示图像的遮挡图案沿预设的第一方向移动,将移动后的遮挡图案作为第n+1帧显示图像的遮挡图案,第n+1帧遮挡图案未遮挡的显示图像的像素可以为第n帧遮档图案遮挡的显示图像的全部或者部分像素。In the embodiment of the present invention, n is a previous frame signal in the continuous received frame signal, and n+1 is a frame signal subsequent to the nth frame signal in the continuous received frame signal. The first direction is any direction preset by the terminal. After the terminal determines the occlusion pattern for the nth frame display image, the terminal moves the occlusion pattern of the nth frame display image along the preset first direction, and uses the moved occlusion pattern as the occlusion pattern of the n+1th frame display image. The pixel of the display image that is not blocked by the n+1th frame occlusion pattern may be all or part of the pixels of the display image occluded by the nth frame occlusion pattern.
在本发明实施例中,遮挡图案为规则形状的栅条型图案,该栅条型图案可以为横栅条图案、竖栅条图案或者斜栅条图案等其他栅条形状的图案。In the embodiment of the present invention, the occlusion pattern is a regular-shaped grid-type pattern, and the grid-type pattern may be a pattern of other grid shapes such as a horizontal grid pattern, a vertical grid pattern, or a diagonal grid pattern.
需要说明的是,在本发明实施例中,连续帧中的遮挡图案按照一定的方向移动,遮挡图案可以按照一定的顺序移动,例如,可以按照一定的速度移动。It should be noted that, in the embodiment of the present invention, the occlusion patterns in consecutive frames move in a certain direction, and the occlusion patterns may move in a certain order, for example, may move at a certain speed.
还应理解,在本发明实施例中,当遮挡图案满足条件:每帧遮挡图案遮挡对应帧显示图像的一部分,且每帧显示图像的每个像素在N帧连续输 出的输出图像中至少一次未被遮挡图案遮挡,N帧连续输出的输出图像中,每帧遮挡图案未遮挡的显示图像满足视觉停留原理,N为每秒中输出的显示图像的帧数,遮挡图案还可以无规则的运动,在本发明实施例中对此不作任何限制。It should also be understood that, in the embodiment of the present invention, when the occlusion pattern satisfies the condition: each frame occlusion pattern occludes a portion of the corresponding frame display image, and each pixel of each frame display image is continuously transmitted in N frames. The output image is occluded at least once without the occlusion pattern. In the output image continuously outputted by N frames, the display image that is not blocked by each frame occlusion pattern satisfies the principle of visual pause, and N is the number of frames of the display image outputted per second, occlusion The pattern can also be moved in an irregular manner, which is not limited in the embodiment of the invention.
可选地,作为本发明的另一实施例,当遮挡图案为规则形状的栅条型图案时,处理器810还用于,确定栅条型图案的宽度和栅条型图案的间距。Optionally, as another embodiment of the present invention, when the occlusion pattern is a regular-shaped grid-type pattern, the processor 810 is further configured to determine a width of the grid-type pattern and a pitch of the grid-type pattern.
在本发明实施例中,当遮挡图案为栅条型图案时,处理器810可以确定栅条型图案的宽度和间距。例如,处理器810根据输出的显示图像的大小,确定栅条型图案的宽度和间距。在该实施例中,遮挡图案可以为等间距、不等间距、等宽度和/或不等宽度的图案。In the embodiment of the present invention, when the occlusion pattern is a grid-type pattern, the processor 810 may determine the width and the pitch of the grid-type pattern. For example, the processor 810 determines the width and spacing of the grid-type pattern based on the size of the output display image. In this embodiment, the occlusion pattern may be a pattern of equal pitch, unequal pitch, equal width, and/or unequal width.
可选地,作为本发明的另一实施例,处理器810还可以用于,确定每帧遮挡图案的颜色。Optionally, as another embodiment of the present invention, the processor 810 may be further configured to determine a color of each frame occlusion pattern.
在本发明实施例中,处理器810可以为每帧遮挡图案设置颜色,每帧遮挡图案的颜色可以为固定颜色,也可以为不相同的颜色。In the embodiment of the present invention, the processor 810 may set a color for each frame occlusion pattern, and the color of each frame occlusion pattern may be a fixed color or a different color.
在本发明实施例中,处理器810还可以为每帧遮挡图案设置不同的视觉效果,例如,处理器810为遮挡图案设置不同的透明度,或者处理器810将遮挡图案设置为特殊效果,再例如,毛玻璃效果。In the embodiment of the present invention, the processor 810 may also set different visual effects for each frame occlusion pattern, for example, the processor 810 sets different transparency for the occlusion pattern, or the processor 810 sets the occlusion pattern to a special effect, for example, for example. , frosted glass effect.
优选地,在本发明实施例中,当终端开启一次遮挡图案时,处理器810为该次输出的每帧输出图像中的遮挡图案设置同一种颜色、同一种透明度和/或同一种特殊效果,以降低颜色、透明度和/或特殊效果变化对眼睛的刺激,用以保护眼睛。当终端多次开启遮挡图案时,处理器810可以将每次的遮挡图案颜色、透明度和/或特殊效果设置为不一致,以用于用户使用过程的中视觉的多样性,提高用户体验。Preferably, in the embodiment of the present invention, when the terminal turns on the occlusion pattern once, the processor 810 sets the same color, the same transparency, and/or the same special effect for the occlusion pattern in the output image of each frame of the output. It is used to protect the eyes by reducing the irritation of the eyes by reducing color, transparency and/or special effects. When the terminal turns on the occlusion pattern multiple times, the processor 810 may set each occlusion pattern color, transparency, and/or special effect to be inconsistent for the diversity of the medium vision of the user using the process, thereby improving the user experience.
在本发明实施例中,处理器810还可以调整遮挡图案的亮度,例如,终端可以将调整终端显示器屏幕的亮度与调整遮挡图案的亮度相结合调整,同时调整终端显示器屏幕的亮度和遮挡图案的亮度,以提高用户的体 验。In the embodiment of the present invention, the processor 810 can also adjust the brightness of the occlusion pattern. For example, the terminal can adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjustment occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to improve the user's body Test.
在本发明实施例中,终端还可以调整遮挡图案的亮度,例如,处理器810可以将调整终端显示器屏幕的亮度与调整遮挡图案的亮度相结合调整,同时调整终端显示器屏幕的亮度和遮挡图案的亮度,以提高用户的体验。In the embodiment of the present invention, the terminal may further adjust the brightness of the occlusion pattern. For example, the processor 810 may adjust the brightness of the adjustment terminal display screen in combination with the brightness of the adjustment occlusion pattern, and adjust the brightness of the terminal display screen and the occlusion pattern. Brightness to enhance the user experience.
可选地,作为本发明另一实施例,处理器810还用于设置每帧遮挡图案分布于部分显示图像上或者每帧遮挡图案分布于整个显示图像上。Optionally, as another embodiment of the present invention, the processor 810 is further configured to set each frame occlusion pattern to be distributed on a part of the display image or each frame occlusion pattern is distributed on the entire display image.
具体的,每帧的遮挡图案可以分布于整个显示图像上,也可以分布在整个显示图像的部分显示图像上,也就是说,终端遮挡图案可以遮挡部分终端的显示器屏幕,也可以遮挡整个终端的显示器屏幕。如图4所示。Specifically, the occlusion pattern of each frame may be distributed on the entire display image, or may be distributed on a part of the display image of the entire display image, that is, the terminal occlusion pattern may block the display screen of some terminals, and may also block the entire terminal. Display screen. As shown in Figure 4.
应理解,在本发明实施例中,以遮挡图案分布于显示图像的中间位置为例,只是为了对本发明实施例的技术方案进行详细描述,但并不限制本发明实施例的范围。It should be understood that, in the embodiment of the present invention, the occlusion pattern is distributed in the middle position of the display image, and is only for the detailed description of the technical solutions of the embodiments of the present invention, but does not limit the scope of the embodiments of the present invention.
在本发明实施例中,遮挡图案分布于部分显示图像时,遮挡图案还可以分布在显示图像的顶部位置、底部位置、左侧位置、右侧位置,或者显示图像的任一可能的位置,在本发明实施例中对此不作任何限制。In the embodiment of the present invention, when the occlusion pattern is distributed on the partial display image, the occlusion pattern may also be distributed at the top position, the bottom position, the left position, the right position of the display image, or any possible position of the display image. There is no limitation on this in the embodiment of the present invention.
还应理解,遮挡图案可以为任一形状的有规则形状的图案或者无规则形状的图案。It should also be understood that the occlusion pattern can be a regular shaped pattern of any shape or a pattern of irregular shapes.
可选地,作为本发明的另一实施例,处理器810还用于,接收用户输入的操作指令,操作指令用于指示开启遮挡图案。Optionally, as another embodiment of the present invention, the processor 810 is further configured to receive an operation instruction input by the user, where the operation instruction is used to indicate that the occlusion pattern is turned on.
具体的,在本发明实施例中,处理器810接收用户输入的开启遮挡图案的指令,以用于根据该指令为每帧接收的显示图像设置遮挡图案。Specifically, in the embodiment of the present invention, the processor 810 receives an instruction of the user to input an occlusion pattern for setting an occlusion pattern for the display image received for each frame according to the instruction.
在本发明实施例中,操作指令可以为用户通过终端上的按键触发,也可以通过终端上的手势触发。例如,该终端为手机,手机可以根据用户通过电源按键和上音量按键,触发手机开启遮挡图案;或者手机根据用户通过转动手机,触发手机开启遮挡图案。 In the embodiment of the present invention, the operation instruction may be triggered by the user through a button on the terminal, or may be triggered by a gesture on the terminal. For example, the terminal is a mobile phone, and the mobile phone can trigger the mobile phone to open the occlusion pattern according to the user pressing the power button and the upper volume button; or the mobile phone triggers the mobile phone to open the occlusion pattern according to the user rotating the mobile phone.
应理解,在本发明实施例中,终端也可以根据用户输入的操作指令关闭遮挡图案。It should be understood that, in the embodiment of the present invention, the terminal may also close the occlusion pattern according to an operation instruction input by the user.
还应理解,在本发明实施例中,操作指令除可以通过终端上的按键触发之外,还可以通过软件开关或者特定的程序触发,在本发明实施例中对此不作任何限制。It should be understood that, in the embodiment of the present invention, the operation command may be triggered by a software switch or a specific program, which is not limited in the embodiment of the present invention.
因此,本发明实施例的技术方案公开了对每帧的显示图像设置遮挡图案,与终端输出帧率不匹配的拍摄设备无法通过拍摄获取终端的显示内容,本发明实施例的技术方案可以保护个人隐私,可以防止终端显示图像被偷拍,可以保证用户使用终端的安全性。Therefore, the technical solution of the embodiment of the present invention discloses that an occlusion pattern is set for a display image of each frame, and a photographing device that does not match the output frame rate of the terminal cannot obtain the display content of the terminal by photographing, and the technical solution of the embodiment of the present invention can protect the individual. Privacy can prevent the terminal from displaying images and can be used to ensure the security of the user.
需要说明的是,在本发明实施例中,本发明实施例的终端800可以对应于图5的终端500,根据本发明实施例的终端800中的各个模块的上述和其它操作和/或功能分别为了实现图1中的各个方法的相应流程,为了简洁,在此不再赘述。It should be noted that, in the embodiment of the present invention, the terminal 800 of the embodiment of the present invention may correspond to the terminal 500 of FIG. 5, and the foregoing and other operations and/or functions of each module in the terminal 800 according to the embodiment of the present invention are respectively In order to implement the corresponding processes of the various methods in FIG. 1, for brevity, no further details are provided herein.
本发明另一个实施例,一种存储一个或多个程序的非易失性计算机可读存储介质,一个或多个程序包括指令,指令当被包括具有显示器的便携式电子设备执行时使便携式电子设备执行以下事件:Another embodiment of the present invention is a non-transitory computer readable storage medium storing one or more programs, the one or more programs including instructions for causing a portable electronic device to be executed when included in a portable electronic device having a display Perform the following events:
逐帧接收显示图像;Receiving a display image frame by frame;
确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;Determining an occlusion pattern of each frame of the display image, the occlusion pattern occluding a portion of the pixels of the display image;
逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮挡图案的叠加。The image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***, 或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrated into another system, Or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性(non-transitory)计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a non-transitory computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent modifications are conceivable within the technical scope of the present invention. These changes or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (12)

  1. 一种图像处理方法,应用于一种便携式电子设备上,所述电子设备具有显示器,其特征在于,所述方法包括:An image processing method is applied to a portable electronic device, the electronic device having a display, wherein the method comprises:
    逐帧接收显示图像;Receiving a display image frame by frame;
    确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;Determining an occlusion pattern of each frame of the display image, the occlusion pattern occluding a portion of the pixels of the display image;
    逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮挡图案的叠加。The image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
  2. 根据权利要求1所述的方法,其特征在于,所述显示图像的每个像素在N帧连续输出的所述输出图像中至少出现一次未被遮挡图案遮挡。The method according to claim 1, wherein each of said pixels of said display image is occluded at least once by an occlusion pattern in said output image continuously outputted in N frames.
  3. 根据权利要求2所述的图像处理方法,其特征在于,所述确定所述显示图像的遮挡图案包括:The image processing method according to claim 2, wherein the determining the occlusion pattern of the display image comprises:
    沿第一方向移动第n帧遮挡图案,得到第n+1帧遮挡图案,其中,所述第n+1帧遮挡图案遮挡的显示图像的部分像素为第n帧遮挡图案未遮挡的显示图像的部分像素,n取从1到N-1的正整数。Moving the nth frame occlusion pattern in the first direction to obtain an n+1th frame occlusion pattern, wherein a part of pixels of the display image occluded by the n+1th occlusion pattern is an n-frame occlusion pattern unoccluded display image For a partial pixel, n takes a positive integer from 1 to N-1.
  4. 根据权利要求1-3任一项所述的图像处理方法,其特征在于,当所述遮挡图案为栅条型图案时,所述方法还包括:The image processing method according to any one of claims 1 to 3, wherein when the occlusion pattern is a grid-type pattern, the method further comprises:
    确定所述栅条型图案的宽度和所述栅条型图案的间距。Determining a width of the gate strip pattern and a pitch of the grid pattern.
  5. 根据权利要求1所述的图像处理方法,其特征在于,所述方法还包括:The image processing method according to claim 1, wherein the method further comprises:
    接收用户输入的操作指令,所述操作指令用于指示开启所述遮挡图案。Receiving an operation instruction input by the user, the operation instruction is for instructing to turn on the occlusion pattern.
  6. 一种图像处理装置,其特征在于,所述装置包括:An image processing apparatus, characterized in that the apparatus comprises:
    接收模块,用于逐帧接收显示图像;a receiving module, configured to receive a display image frame by frame;
    确定模块,用于确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;a determining module, configured to determine an occlusion pattern of the display image of each frame, the occlusion pattern occluding a part of pixels of the display image;
    输出模块,用于逐帧输出图像,所述输出图像为所述显示图像与所述 显示图像对应的遮挡图案的叠加。An output module, configured to output an image frame by frame, the output image being the display image and the The overlay of the occlusion pattern corresponding to the image is displayed.
  7. 根据权利要求6所述的装置,其特征在于,所述显示图像的每个像素在N帧连续输出的所述图像中至少出现一次未被遮挡图案遮挡。The apparatus according to claim 6, wherein each of said pixels of said display image is occluded at least once by an occlusion pattern in said image continuously outputted in N frames.
  8. 根据权利要求7所述的装置,其特征在于,所述确定模块具体用于,The apparatus according to claim 7, wherein said determining module is specifically configured to:
    沿第一方向移动第n帧遮挡图案,得到第n+1帧遮挡图案,其中,所述第n+1帧遮挡图案遮挡的显示图像的部分像素为第n帧遮挡图案未遮挡的显示图像的部分像素,n取从1到N-1的正整数。Moving the nth frame occlusion pattern in the first direction to obtain an n+1th frame occlusion pattern, wherein a part of pixels of the display image occluded by the n+1th occlusion pattern is an n-frame occlusion pattern unoccluded display image For a partial pixel, n takes a positive integer from 1 to N-1.
  9. 根据权利要求6-8任一项所述的装置,其特征在于,当所述遮挡图案为栅条型图案时,所述确定模块还用于,确定所述栅条型图案的宽度和所述栅条型图案的间距。The apparatus according to any one of claims 6 to 8, wherein the determining module is further configured to determine a width of the grid-type pattern and the The pitch of the grid pattern.
  10. 根据权利要求6所述的装置,其特征在于,所述接收模块还用于,接收用户输入的操作指令,所述操作指令用于指示开启所述遮挡图案。The device according to claim 6, wherein the receiving module is further configured to receive an operation instruction input by a user, the operation instruction being used to indicate that the occlusion pattern is turned on.
  11. 一种便携式电子设备,其特征在于,所述便携式电子设备包括:A portable electronic device, characterized in that the portable electronic device comprises:
    显示器,用于显示图像;a display for displaying an image;
    存储器,用于存储指令;a memory for storing instructions;
    处理器,用于调用存储在所述存储器中的指令以实现:a processor for invoking instructions stored in the memory to implement:
    逐帧接收显示图像;Receiving a display image frame by frame;
    确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部分像素;Determining an occlusion pattern of each frame of the display image, the occlusion pattern occluding a portion of the pixels of the display image;
    逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮挡图案的叠加。The image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
  12. 一种存储一个或多个程序的非易失性计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被包括具有显示器的便携式电子设备执行时使所述便携式电子设备执行以下事件:A non-transitory computer readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by a portable electronic device including a display The portable electronic device performs the following events:
    逐帧接收显示图像;Receiving a display image frame by frame;
    确定每帧显示图像的遮挡图案,所述遮挡图案遮挡所述显示图像的部 分像素;Determining an occlusion pattern of the display image per frame, the occlusion pattern obscuring the portion of the displayed image Sub-pixel
    逐帧输出图像,所述输出图像为所述显示图像与所述显示图像对应的遮挡图案的叠加。 The image is output frame by frame, and the output image is a superposition of the occlusion pattern of the display image corresponding to the display image.
PCT/CN2015/089625 2015-09-15 2015-09-15 Image processing method and terminal WO2017045126A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580058789.9A CN107148775B (en) 2015-09-15 2015-09-15 Image processing method and device, electronic equipment and readable storage medium
PCT/CN2015/089625 WO2017045126A1 (en) 2015-09-15 2015-09-15 Image processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/089625 WO2017045126A1 (en) 2015-09-15 2015-09-15 Image processing method and terminal

Publications (1)

Publication Number Publication Date
WO2017045126A1 true WO2017045126A1 (en) 2017-03-23

Family

ID=58288301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089625 WO2017045126A1 (en) 2015-09-15 2015-09-15 Image processing method and terminal

Country Status (2)

Country Link
CN (1) CN107148775B (en)
WO (1) WO2017045126A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897881B (en) * 2018-07-05 2023-08-22 腾讯科技(深圳)有限公司 Interactive image display method, device, equipment and readable storage medium
CN113592747B (en) * 2021-09-28 2022-01-25 杭州海康威视数字技术股份有限公司 Image shielding and anti-shooting method, device and equipment based on visual characteristics

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030063361A1 (en) * 2001-10-02 2003-04-03 Michihiro Ohnishi Optical state modulation method and system, and optical state modulation apparatus
US6559883B1 (en) * 2000-09-27 2003-05-06 David H. Sitrick Movie film security system utilizing infrared patterns
US20040033060A1 (en) * 2002-08-14 2004-02-19 Qdesign Corporation Modulation of a video signal with an impairment signal to increase the video signal masked threshold
EP1414250A2 (en) * 2002-10-23 2004-04-28 Sony Corporation Image display apparatus and image display method
WO2006133376A2 (en) * 2005-06-08 2006-12-14 Goodhill Dean K Method and apparatus for inhibiting the piracy of motion pictures
CN101622867A (en) * 2007-03-06 2010-01-06 汤姆森许可贸易公司 Digital cinema anti-camcording method and apparatus based on image frame post-sampling
WO2011105477A1 (en) * 2010-02-26 2011-09-01 シャープ株式会社 Video display device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006339857A (en) * 2005-05-31 2006-12-14 Toshiba Corp Decoding device
KR101905621B1 (en) * 2012-02-16 2018-10-11 삼성전자 주식회사 Apparatus and method for transmitting a frame image of camera using a hybrid interleaved data
US9251760B2 (en) * 2013-07-02 2016-02-02 Cisco Technology, Inc. Copy protection from capture devices for photos and videos

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6559883B1 (en) * 2000-09-27 2003-05-06 David H. Sitrick Movie film security system utilizing infrared patterns
US20030063361A1 (en) * 2001-10-02 2003-04-03 Michihiro Ohnishi Optical state modulation method and system, and optical state modulation apparatus
US20040033060A1 (en) * 2002-08-14 2004-02-19 Qdesign Corporation Modulation of a video signal with an impairment signal to increase the video signal masked threshold
EP1414250A2 (en) * 2002-10-23 2004-04-28 Sony Corporation Image display apparatus and image display method
WO2006133376A2 (en) * 2005-06-08 2006-12-14 Goodhill Dean K Method and apparatus for inhibiting the piracy of motion pictures
CN101622867A (en) * 2007-03-06 2010-01-06 汤姆森许可贸易公司 Digital cinema anti-camcording method and apparatus based on image frame post-sampling
WO2011105477A1 (en) * 2010-02-26 2011-09-01 シャープ株式会社 Video display device

Also Published As

Publication number Publication date
CN107148775B (en) 2020-02-21
CN107148775A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN106502427B (en) Virtual reality system and scene presenting method thereof
CN109064390B (en) Image processing method, image processing device and mobile terminal
CN111225150B (en) Method for processing interpolation frame and related product
US5629984A (en) System and method for data security
CN110688081B (en) Method for displaying data on screen and display control device
EP3438919B1 (en) Image displaying method and head-mounted display apparatus
CN111147770B (en) Multi-channel video window superposition display method, electronic equipment and storage medium
WO2018058813A1 (en) Electronic device and display method
WO2016095429A1 (en) Screenshot method and device for mobile terminal
CN111147749A (en) Photographing method, photographing device, terminal and storage medium
CN109791431B (en) Viewpoint rendering
US11244496B2 (en) Information processing device and information processing method
CN110740309B (en) Image display method and device, electronic equipment and storage medium
CN109992175B (en) Object display method, device and storage medium for simulating blind feeling
KR20150081765A (en) Outputting Method For Screen data And Electronic Device supporting the same
WO2017045126A1 (en) Image processing method and terminal
CN112019891A (en) Multimedia content display method and device, terminal and storage medium
CN109242761B (en) Picture display method and device
CN111951206A (en) Image synthesis method, image synthesis device and terminal equipment
CN113641416A (en) Eye protection mode processing method and device in fingerprint identification mode, terminal and medium
US11039124B2 (en) Information processing apparatus, information processing method, and recording medium
JP6569197B2 (en) Screen peep prevention device, screen peep prevention method, and screen peep prevention program
CN102986206A (en) Video image processing device and video image processing method
CN115657893A (en) Display control method, display control device and intelligent equipment
CN107132914A (en) Method and terminal for the VR terminal split-screen displays shown

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

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

Country of ref document: EP

Kind code of ref document: A1