WO2019140881A1 - Image display method, computer readable storage medium, terminal apparatus, and device - Google Patents

Image display method, computer readable storage medium, terminal apparatus, and device Download PDF

Info

Publication number
WO2019140881A1
WO2019140881A1 PCT/CN2018/097521 CN2018097521W WO2019140881A1 WO 2019140881 A1 WO2019140881 A1 WO 2019140881A1 CN 2018097521 W CN2018097521 W CN 2018097521W WO 2019140881 A1 WO2019140881 A1 WO 2019140881A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
sub
images
count value
frame
Prior art date
Application number
PCT/CN2018/097521
Other languages
French (fr)
Chinese (zh)
Inventor
张远平
刘慧众
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2019140881A1 publication Critical patent/WO2019140881A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding

Definitions

  • the present application belongs to the field of computer technology, and in particular, to an image display method, a computer readable storage medium, a terminal device and a device.
  • the embodiments of the present application provide an image display method, a computer readable storage medium, a terminal device, and a device, so as to solve the problem that the user viewing experience and the author's rights and interests cannot be guaranteed in the prior art.
  • a first aspect of the embodiments of the present application provides an image display method, which may include:
  • the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
  • the image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
  • a second aspect of embodiments of the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the following steps:
  • the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
  • the image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
  • a third aspect of an embodiment of the present application provides an image display terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the The following steps are implemented when the computer readable instructions are described:
  • the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
  • the image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
  • a fourth aspect of the embodiments of the present application provides an image display apparatus, which may include a module for implementing the steps of the image display method described above.
  • the embodiment of the present application has the following beneficial effects: the embodiment of the present application first acquires a target image to be displayed, divides the target image into two or more sub-images, and then generates an inclusion according to the target image.
  • the image sequence of the image is transformed by two or more frames, and finally the image sequence is sequentially displayed in accordance with a preset display interval. Since the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, the images displayed in any one frame are incomplete, and the unlawful user obtains through downloading, screen capture, photographing, and the like. All are incomplete images, which effectively guarantee the legitimate rights and interests of the author.
  • any one of the sub-images is not subjected to the concealing process in at least one of the transformed images, and the display interval is smaller than the visual persistence time of the human body, the user feels subjectively during normal viewing. Still a complete image, that is, while protecting the legitimate rights and interests of the author, it can also bring a better viewing experience to the user.
  • FIG. 1 is a flow chart of an embodiment of an image display method according to an embodiment of the present application.
  • step S103 of an image display method in an application scenario according to an embodiment of the present application is a schematic flowchart of step S103 of an image display method in an application scenario according to an embodiment of the present application
  • FIG. 3 is a structural diagram of an embodiment of an image display device according to an embodiment of the present application.
  • FIG. 4 is a schematic block diagram of an image display terminal device according to an embodiment of the present application.
  • an embodiment of an image display method in an embodiment of the present application may include:
  • Step S101 Acquire a target image to be displayed.
  • the target image may be a photo or photography, a painting, or the like shared on the Internet.
  • Step S102 dividing the target image into two or more sub-images.
  • the sub-image is a partial image of the target image, and each sub-image is a part of the target image, and each sub-image may constitute a complete target image.
  • the area of the target image in the coordinate system may be represented as Area (X left , X right , Y top , Y bottom ), wherein Xleft is the leftmost horizontal coordinate of the target image Xright is the abscissa of the rightmost side of the target image, Ytop is the ordinate of the top of the target image, and Ybottom is the ordinate of the bottom of the target image.
  • Image division mode 1 The target image is vertically divided into N sub-images, wherein N ⁇ 2, then N sub-images can be respectively represented as:
  • SubArea n (X left_n , X right_n , Y top , Y bottom ).
  • X left_n X left + (n-1) * ⁇ x
  • X right_n X left + n * ⁇ x
  • ⁇ x (X right - X left ) / N, 1 ⁇ n ⁇ N.
  • Image division mode 2 The target image is equally divided into N sub-images, wherein, if N ⁇ 2, the N sub-images can be respectively represented as:
  • SubArea n (X left , X right , Y top_n , Y bottom_n ).
  • Y bottom_n Y bottom + (n - 1) * ⁇ y
  • Y top_n Y top + n * ⁇ y
  • ⁇ y (Y top - Y bottom ) / N, 1 ⁇ n ⁇ N.
  • X left_s X left +(s-1)* ⁇ x
  • X right_s X left +s* ⁇ x
  • ⁇ x (X right -X left )/S
  • Y bottom_t Y bottom +(t-1)* ⁇ y
  • Y top_t Y top + t * ⁇ y
  • ⁇ y (Y top - Y bottom ) / T, 1 ⁇ s ⁇ S, 1 ⁇ t ⁇ T.
  • Step S103 Generate an image sequence including two or more transformed images according to the target image.
  • the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image.
  • any one of the sub-images is not hidden in at least one transformed image. .
  • step S103 may specifically include the following process:
  • Step S1031 Determine a first number of sub-images to be hidden in each transformed image.
  • the first number may be set according to an actual situation. For example, the first number may be set to be positively correlated with the total number of sub-images into which the target image is divided. The more the total number of sub-images, the more the first number of sub-images to be hidden.
  • Step S1032 Initialize a preset number of frame counts.
  • Step S1033 Select a first number of sub-images from the target image.
  • Selecting a method 1 first, obtaining the frame number count value, and then determining, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is the frame
  • the function relationship between the number count value and the sequence number of the sub-image to be hidden is processed, and finally, the sub-image corresponding to the determined serial number is selected.
  • the first functional relationship can be:
  • N is the total number of sub-images into which the target image is divided
  • N 1 is the first number
  • Mod is a remainder function
  • Floor is a downward value function
  • SN n is determined to be hidden. The serial number of the processed sub-image.
  • Selecting method 2 obtaining the frame number count value, if the frame number count value is 0, randomly selecting the first number of sub-images from the target image according to a preset selection probability of each sub-image; If the frame number count value is not 0, the first number of sub-images are randomly selected from the candidate sub-image set according to the selection probability of each sub-image, and the candidate sub-image set is the selected sub-image set at the target A complement in the image, the selected set of sub-images being a set of sub-images selected during the generation of the transformed image of the previous frame.
  • the preset process of the selection probability of each sub-image may include:
  • H n is the information entropy of the nth sub-image
  • p ni is the proportion of the pixel points whose gradation value is i in the nth sub-image.
  • the information entropy is then summed to obtain a total information entropy of the target image. If the total information entropy of the target image is represented by H, then:
  • the ratio of the information entropy of any sub-image to the total information entropy is calculated, and the ratio is determined as the probability of selection of the sub-image. If the selection probability of the nth sub-image is represented by p' n , then:
  • the selection probability calculated by the above method is proportional to the size of the information entropy.
  • Step S1034 Perform hidden processing on the selected sub-image to generate a frame-converted image.
  • the selected sub-image may be set to pure white, that is, the gray value of each pixel thereof is set to 255. Do not process any other sub-images and keep their original state.
  • Step S1035 Add the generated transformed image into the image sequence.
  • the sequence of images is arranged in the order in which the transformed images are generated, that is, the transformed images that are formed by the former are arranged at a previous position, and the transformed images that are generated later are arranged at a later position.
  • Step S1036 adding the frame count value to one count unit.
  • Step S1037 Determine whether the frame number count value is smaller than a preset total number of frames of the image sequence.
  • step S1038 is performed.
  • Step S104 cyclically display the image sequence in sequence according to a preset display interval.
  • the display interval is less than the visual persistence time of the human body.
  • the display interval may be set to 0.01 seconds, 0.02 seconds, 0.04 seconds, and the like.
  • the persistence of vision is a phenomenon in which the light produced by the retina remains in the light after the light stops, and its specific application is the filming and screening of the film. The reason is caused by the reaction speed of the optic nerve. It is the basis for the formation and dissemination of visual media such as animation and movies. Vision is actually imaged by the lens of the eye, the photoreceptor cells are sensitive, and the light signal is converted into a nerve current, which is transmitted back to the brain to cause human vision. Photoreceptor cells rely on some photoreceptors, and the formation of photoreceptors takes a certain amount of time, which forms the mechanism of visual pause.
  • the screen display intercepted at any time by any screen capture means only the partial picture data displayed at that moment, thereby achieving Protect the complete picture to be displayed without being copied and stolen.
  • the embodiment of the present application first acquires a target image to be displayed, divides the target image into two or more sub-images, and then generates an image sequence including two or more transformed images according to the target image, and finally according to the image sequence.
  • the preset display interval sequentially displays the sequence of images cyclically. Since the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, the images displayed in any one frame are incomplete, and the unlawful user obtains through downloading, screen capture, photographing, and the like. All are incomplete images, which effectively guarantee the legitimate rights and interests of the author.
  • any one of the sub-images is not subjected to the concealing process in at least one of the transformed images, and the display interval is smaller than the visual persistence time of the human body, the user feels subjectively during normal viewing. Still a complete image, that is, while protecting the legitimate rights and interests of the author, it can also bring a better viewing experience to the user.
  • FIG. 3 is a structural diagram of an embodiment of an image display device provided by an embodiment of the present application.
  • an image display apparatus may include:
  • a target image obtaining module 301 configured to acquire a target image to be displayed
  • a sub-image dividing module 302 configured to divide the target image into two or more sub-images
  • the image sequence generating module 303 is configured to generate an image sequence including two or more transformed images according to the target image, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image. In a continuous two-frame transformed image, any one of the sub-images is not subjected to a concealing process in at least one of the transformed images;
  • the image sequence display module 304 is configured to sequentially display the image sequence cyclically according to a preset display interval, where the display interval is smaller than a visual persistence time of the human body.
  • the image sequence generating module may include:
  • a first number determining unit configured to determine a first number of sub-images to be hidden in each transformed image
  • a count value initializing unit configured to initialize a preset frame number count value
  • a sub image selecting unit configured to select a first number of sub images from the target image
  • a transformed image generating unit configured to perform a hiding process on the selected sub-image to generate a frame-converted image
  • a transformed image adding unit configured to add the generated transformed image into the image sequence
  • a count value accumulating unit configured to increase the frame count value by one counting unit
  • an image sequence saving unit configured to save the image sequence if the frame number count value is equal to a preset total number of frames of the image sequence.
  • sub-image selection unit may include:
  • a count value obtaining subunit configured to obtain the frame number count value
  • a sub-picture number determining sub-unit configured to determine, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is the frame number count value and needs to be hidden a functional relationship between the serial numbers of the processed sub-images;
  • the sub-image selection sub-unit is configured to select a sub-image corresponding to the determined serial number.
  • sub-image selection unit may further include:
  • a first selecting sub-unit configured to: when the frame number count value is 0, randomly select a first number of sub-images from the target image according to a preset selection probability of each sub-image;
  • a second selecting sub-unit configured to: when the frame number count value is not 0, randomly select a first number of sub-images from the candidate sub-image set according to the selection probability of each sub-image, the candidate sub-image set For the complement of the selected sub-image set in the target image, the selected sub-image set is a set of sub-images selected in the previous frame transformed image generation process.
  • sub-image selection unit may further include:
  • An information entropy calculation subunit configured to separately calculate an information entropy of each sub image in the target image
  • a total information entropy calculation subunit configured to sum the information entropy to obtain a total information entropy of the target image
  • the probability calculation subunit is selected to calculate a ratio of the information entropy of any sub-image to the total information entropy, and the ratio is determined as the selection probability of the sub-image.
  • FIG. 4 is a schematic block diagram of an image display terminal device provided by an embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
  • the image display terminal device 4 may be a computing device such as a mobile phone, a tablet computer, a desktop computer, and a cloud server.
  • the image display terminal device 4 may include a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and operable on the processor 40, such as a computer executing the image display method described above. Read the instruction.
  • the processor 40 executes the computer readable instructions 42 to implement the steps in the various image display method embodiments described above, such as steps S101 through S104 shown in FIG.
  • the processor 40 executes the computer readable instructions 42, the functions of the modules/units in the above various device embodiments are implemented, such as the functions of the modules 301 to 304 shown in FIG.
  • the computer readable instructions 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40, To complete this application.
  • the one or more modules/units may be a series of computer readable instruction segments capable of performing a particular function, the instruction segments being used to describe the execution of the computer readable instructions 42 in the image display terminal device 4.
  • the processor 40 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (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 memory 41 may be an internal storage unit of the image display terminal device 4, such as a hard disk or a memory of the image display terminal device 4.
  • the memory 41 may also be an external storage device of the image display terminal device 4, such as a plug-in hard disk equipped on the image display terminal device 4, a smart memory card (SMC), and a secure digital (Secure) Digital, SD) cards, flash cards, etc.
  • the memory 41 may also include both an internal storage unit of the image display terminal device 4 and an external storage device.
  • the memory 41 is for storing the computer readable instructions and other instructions and data required by the image display terminal device 4.
  • the memory 41 can also be used to temporarily store data that has been output or is about to be output.
  • the functional units in the various embodiments of the present application 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, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of computer readable 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 methods described in various embodiments of the present application.
  • 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, and can store computer readable instructions. Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present application relates to the technical field of computers, and specifically relates to an image display method, a computer readable storage medium, a terminal apparatus, and a device. The method comprises: acquiring a target image to be displayed and dividing the target image into two or more sub-images; generating, according to the target image, an image sequence comprising two or more alternating images; and sequentially displaying the image sequence on a loop according to a preset display interval. The alternating images are obtained by performing hiding processing on one or more sub-images in the target image; and therefore, any displayed image is incomplete, such that any image obtained by an unauthorized user is also incomplete, thereby effectively ensuring the legal rights of an author. In two consecutive alternating images, any sub-image in at least one of the alternating images is not subjected to hiding processing, and a display interval thereof is less than the persistence of vision of the human eye, such that a user still perceives a complete image.

Description

图像显示方法、计算机可读存储介质、终端设备及装置Image display method, computer readable storage medium, terminal device and device
本申请要求于2018年1月17日提交中国专利局、申请号为201810042920.8、发明名称为“一种图像显示方法、存储介质及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201810042920.8, entitled "Image Display Method, Storage Medium, and Terminal Equipment", filed on January 17, 2018, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请属于计算机技术领域,尤其涉及一种图像显示方法、计算机可读存储介质、终端设备及装置。The present application belongs to the field of computer technology, and in particular, to an image display method, a computer readable storage medium, a terminal device and a device.
背景技术Background technique
随着社会经济的不断发展,人们越来越习惯于互联网上分享自己的照片或者摄影、绘画作品,但在一些情况下,作者为了保障自己的版权,往往希望用户只在互联网上观赏自己的作品,而不希望用户翻版自己的作品。在现有技术中,一般通过两种方式来解决这一问题,一种方式是通过设置禁止下载的方式防止用户直接下载作者的作品,但是,某些不法用户仍可以通过截屏或者拍照的方式来获取到该作品,给作者带来了巨大的经济损失。另一种方式是在作品中加入水印,但这样会降低作品的美观度,影响用户的观赏体验。With the continuous development of social economy, people are more and more accustomed to sharing their photos or photography and paintings on the Internet. However, in some cases, in order to protect their copyrights, authors often hope that users can only view their works on the Internet. Instead of wanting users to reproduce their work. In the prior art, the problem is generally solved in two ways. One way is to prevent the user from directly downloading the author's work by setting a prohibition of downloading. However, some illegal users can still take screenshots or photographs. Obtaining the work brought huge economic losses to the author. Another way is to add a watermark to the work, but this will reduce the aesthetics of the work and affect the user's viewing experience.
技术问题technical problem
有鉴于此,本申请实施例提供了一种图像显示方法、计算机可读存储介质、终端设备及装置,以解决在现有技术中无法兼顾用户观赏体验和作者权益保障的问题。In view of this, the embodiments of the present application provide an image display method, a computer readable storage medium, a terminal device, and a device, so as to solve the problem that the user viewing experience and the author's rights and interests cannot be guaranteed in the prior art.
技术解决方案Technical solution
本申请实施例的第一方面提供了一种图像显示方法,可以包括:A first aspect of the embodiments of the present application provides an image display method, which may include:
获取待显示的目标图像;Obtain a target image to be displayed;
将所述目标图像划分为两个以上的子图像;Dividing the target image into two or more sub-images;
根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;Generating, according to the target image, an image sequence including two or more transformed images, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
本申请实施例的第二方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:A second aspect of embodiments of the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the following steps:
获取待显示的目标图像;Obtain a target image to be displayed;
将所述目标图像划分为两个以上的子图像;Dividing the target image into two or more sub-images;
根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;Generating, according to the target image, an image sequence including two or more transformed images, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
本申请实施例的第三方面提供了一种图像显示终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A third aspect of an embodiment of the present application provides an image display terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the The following steps are implemented when the computer readable instructions are described:
获取待显示的目标图像;Obtain a target image to be displayed;
将所述目标图像划分为两个以上的子图像;Dividing the target image into two or more sub-images;
根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;Generating, according to the target image, an image sequence including two or more transformed images, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
本申请实施例的第四方面提供了一种图像显示装置,可以包括用于实现上述图像显示方法的步骤的模块。A fourth aspect of the embodiments of the present application provides an image display apparatus, which may include a module for implementing the steps of the image display method described above.
有益效果Beneficial effect
本申请实施例与现有技术相比存在的有益效果是:本申请实施例首先获取待显示的目标图像,将所述目标图像划分为两个以上的子图像,然后根据所述目标图像生成包含两帧以上变换图像的图像序列,最后按照预设的显示间隔依次循环显示所述图像序列。由于所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,因此任意一帧显示出来的图像都是不完整的,不法用户通过下载、截屏、拍照等方式获取的都是不完整的图像,有效保证了作者的合法权益。同时,由于在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理且所述显示间隔小于人体的视觉暂留时间,用户在正常观赏时,主观感受到的仍是完整的图像,即在保障作者合法权益的同时也可以带给用户较佳的观赏体验。Compared with the prior art, the embodiment of the present application has the following beneficial effects: the embodiment of the present application first acquires a target image to be displayed, divides the target image into two or more sub-images, and then generates an inclusion according to the target image. The image sequence of the image is transformed by two or more frames, and finally the image sequence is sequentially displayed in accordance with a preset display interval. Since the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, the images displayed in any one frame are incomplete, and the unlawful user obtains through downloading, screen capture, photographing, and the like. All are incomplete images, which effectively guarantee the legitimate rights and interests of the author. Meanwhile, since in any two consecutive frames of the transformed image, any one of the sub-images is not subjected to the concealing process in at least one of the transformed images, and the display interval is smaller than the visual persistence time of the human body, the user feels subjectively during normal viewing. Still a complete image, that is, while protecting the legitimate rights and interests of the author, it can also bring a better viewing experience to the user.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述 中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only the present application. For some embodiments, other drawings may be obtained from those skilled in the art without departing from the drawings.
图1为本申请实施例中一种图像显示方法的一个实施例流程图;1 is a flow chart of an embodiment of an image display method according to an embodiment of the present application;
图2为本申请实施例中一种图像显示方法的步骤S103在一个应用场景下的示意流程图;2 is a schematic flowchart of step S103 of an image display method in an application scenario according to an embodiment of the present application;
图3为本申请实施例中一种图像显示装置的一个实施例结构图;3 is a structural diagram of an embodiment of an image display device according to an embodiment of the present application;
图4为本申请实施例中一种图像显示终端设备的示意框图。FIG. 4 is a schematic block diagram of an image display terminal device according to an embodiment of the present application.
本发明的实施方式Embodiments of the invention
为使得本申请的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本申请一部分实施例,而非全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. The described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
请参阅图1,本申请实施例中一种图像显示方法的一个实施例可以包括:Referring to FIG. 1, an embodiment of an image display method in an embodiment of the present application may include:
步骤S101、获取待显示的目标图像。Step S101: Acquire a target image to be displayed.
所述目标图像可以为在互联网上分享的照片或者摄影、绘画作品等。The target image may be a photo or photography, a painting, or the like shared on the Internet.
步骤S102、将所述目标图像划分为两个以上的子图像。Step S102, dividing the target image into two or more sub-images.
其中,所述子图像为所述目标图像的局部图像,每个子图像均是所述目标图像的一部分,各个子图像可以组成完整的所述目标图像。The sub-image is a partial image of the target image, and each sub-image is a part of the target image, and each sub-image may constitute a complete target image.
建立笛卡尔坐标系,将所述目标图像在该坐标系中的区域可以表示为Area(X left,X right,Y top,Y bottom),其中,Xleft为所述目标图像最左侧的横坐标,Xright为所述目标图像最右侧的横坐标,Ytop为所述目标图像最顶部的纵坐标,Ybottom为所述目标图像最底部的纵坐标。 Establishing a Cartesian coordinate system, and the area of the target image in the coordinate system may be represented as Area (X left , X right , Y top , Y bottom ), wherein Xleft is the leftmost horizontal coordinate of the target image Xright is the abscissa of the rightmost side of the target image, Ytop is the ordinate of the top of the target image, and Ybottom is the ordinate of the bottom of the target image.
对所述目标图像的划分方式可以是多种多样的,下述几种划分方式仅作为示例:The manner in which the target image is divided can be various, and the following divisions are only examples:
图像划分方式一:将所述目标图像纵向均分为N个子图像,其中,N≥2,则N个子图像分别可以表示为:Image division mode 1: The target image is vertically divided into N sub-images, wherein N≥2, then N sub-images can be respectively represented as:
SubArea n(X left_n,X right_n,Y top,Y bottom)。 SubArea n (X left_n , X right_n , Y top , Y bottom ).
其中,X left_n=X left+(n-1)*Δx,X right_n=X left+n*Δx,Δx=(X right-X left)/N,1≤n≤N。 Wherein X left_n = X left + (n-1) * Δx, X right_n = X left + n * Δx, Δx = (X right - X left ) / N, 1 ≤ n ≤ N.
图像划分方式二:将所述目标图像横向均分为N个子图像,其中,N≥2,则N个子图像分别可以表示为:Image division mode 2: The target image is equally divided into N sub-images, wherein, if N≥2, the N sub-images can be respectively represented as:
SubArea n(X left,X right,Y top_n,Y bottom_n)。 SubArea n (X left , X right , Y top_n , Y bottom_n ).
其中,Y bottom_n=Y bottom+(n-1)*Δy,Y top_n=Y top+n*Δy,Δy=(Y top-Y bottom)/N,1≤n≤N。 Wherein, Y bottom_n = Y bottom + (n - 1) * Δy, Y top_n = Y top + n * Δy, Δy = (Y top - Y bottom ) / N, 1 ≤ n ≤ N.
图像划分方式三:将所述目标图像均分为S*T=N个子图像,其中,N≥2,S为在纵向上均分的个数,T为在横向上均分的个数,则N个子图像分别可以表示为:Image division mode 3: divide the target image into S*T=N sub-images, where N≥2, S is the number of points equally divided in the vertical direction, and T is the number equally divided in the horizontal direction, then N sub-images can be expressed as:
SubArea st(X left_s,X right_s,Y top_t,Y bottom_t)。 SubArea st (X left_s , X right_s , Y top_t , Y bottom_t ).
其中,X left_s=X left+(s-1)*Δx,X right_s=X left+s*Δx,Δx=(X right-X left)/S,Y bottom_t=Y bottom+(t-1)*Δy,Y top_t=Y top+t*Δy,Δy=(Y top-Y bottom)/T,1≤s≤S,1≤t≤T。 Where X left_s =X left +(s-1)*Δx, X right_s =X left +s*Δx, Δx=(X right -X left )/S,Y bottom_t =Y bottom +(t-1)* Δy, Y top_t = Y top + t * Δy, Δy = (Y top - Y bottom ) / T, 1 ≤ s ≤ S, 1 ≤ t ≤ T.
特别需要说明的是,以上各种划分方式仅为示例,在此基础上还可以衍生出其它的划分方式。It should be particularly noted that the above various division methods are only examples, and other division manners may be derived on the basis of this.
步骤S103、根据所述目标图像生成包含两帧以上变换图像的图像序列。Step S103: Generate an image sequence including two or more transformed images according to the target image.
其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理。The transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image. In a continuous two-frame transformed image, any one of the sub-images is not hidden in at least one transformed image. .
如图2所示,步骤S103具体可以包括如下过程:As shown in FIG. 2, step S103 may specifically include the following process:
步骤S1031、确定每帧变换图像中需隐藏处理的子图像的第一数目。Step S1031: Determine a first number of sub-images to be hidden in each transformed image.
所述第一数目可以根据实际情况进行设置,例如,可以设置所述第一数目与所述目标图像被划分成的子图像的总个数正相关。子图像的总个数越多,则需隐藏处理的子图像的第一数目也越多。The first number may be set according to an actual situation. For example, the first number may be set to be positively correlated with the total number of sub-images into which the target image is divided. The more the total number of sub-images, the more the first number of sub-images to be hidden.
步骤S1032、初始化预设的帧数计数值。Step S1032: Initialize a preset number of frame counts.
所述帧数计数值可以用f来表示,其初始化过程可以表示为:f=0。The frame count value can be represented by f, and the initialization process can be expressed as: f=0.
步骤S1033、从所述目标图像中选取第一数目的子图像。Step S1033: Select a first number of sub-images from the target image.
具体的选取方式可以是多种多样的,下述几种选取方式仅作为示例:The specific selection methods can be various, and the following selection methods are only examples:
选取方式一:首先,获取所述帧数计数值,然后根据所述帧数计数值以及预设的第一函数关系确定需隐藏处理的子图像的序号,所述第一函数关系为所述帧数计数值与需隐藏处理的子图像的序号之间的函数关系,最后,选取与确定出的序号对应的子图像。Selecting a method 1: first, obtaining the frame number count value, and then determining, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is the frame The function relationship between the number count value and the sequence number of the sub-image to be hidden is processed, and finally, the sub-image corresponding to the determined serial number is selected.
例如,所述第一函数关系可以为:For example, the first functional relationship can be:
Figure PCTCN2018097521-appb-000001
Figure PCTCN2018097521-appb-000001
其中,N为所述目标图像被划分成的子图像的总个数,N 1为所述第一数目,Mod为求余函数,Floor为向下取值函数,SN n为确定出的需隐藏处理的子图像的序号。 Where N is the total number of sub-images into which the target image is divided, N 1 is the first number, Mod is a remainder function, Floor is a downward value function, and SN n is determined to be hidden. The serial number of the processed sub-image.
当N=100,N 1=10,f=0时,可得:SN 1=1,SN 2=11,SN 3=21,……,SN 10=91,也即第一帧选取序号为1、11、21、……、91的子图像,f=1时,可得:SN 1=2,SN 2=12,SN 3=22,……,SN 10=92,也即第二帧选取序号为2、12、22、……、92的子图像,f=2时,可得:SN 1=3,SN 2=13,SN 3=23,……,SN 10=93,也即第一帧选取序号为3、13、23、……、93的子图像,以此类推。 When N=100, N 1 =10, and f=0, it can be obtained that: SN 1 =1, SN 2 =11, SN 3 =21, ..., SN 10 =91, that is, the first frame selection number is 1. Sub-images of 11, 21, ..., 91, when f = 1, can be obtained: SN 1 = 2, SN 2 = 12, SN 3 = 22, ..., SN 10 = 92, that is, the second frame is selected Sub-images with numbers 2, 12, 22, ..., 92, when f = 2, can be obtained: SN 1 = 3, SN 2 = 13, SN 3 = 23, ..., SN 10 = 93, that is, the first A sub-image with numbers 3, 13, 23, ..., 93 is selected in one frame, and so on.
选取方式二:获取所述帧数计数值,若所述帧数计数值为0,则按照预设的各个子图像的选取概率从所述目标图像中随机选取第一数目的子图像;若所述帧数计数值不为0,则按照各个子图像的所述选取概率从候选子图像集合中随机选取第一数目的子图像,所述候选子图像集合为已选子图像集合在所述目标图像中的补集,所述已选子图像集合为在上一帧变换图像生成过程中选取的子图像的集合。Selecting method 2: obtaining the frame number count value, if the frame number count value is 0, randomly selecting the first number of sub-images from the target image according to a preset selection probability of each sub-image; If the frame number count value is not 0, the first number of sub-images are randomly selected from the candidate sub-image set according to the selection probability of each sub-image, and the candidate sub-image set is the selected sub-image set at the target A complement in the image, the selected set of sub-images being a set of sub-images selected during the generation of the transformed image of the previous frame.
其中各个子图像的选取概率的预设过程可以包括:The preset process of the selection probability of each sub-image may include:
首先,分别计算所述目标图像中各个子图像的信息熵,具体的计算公式为:First, the information entropy of each sub-image in the target image is separately calculated, and the specific calculation formula is:
Figure PCTCN2018097521-appb-000002
Figure PCTCN2018097521-appb-000002
其中,H n为第n个子图像的信息熵,p ni为灰度值为i的像素点在第n个子图像中的占比。 Where H n is the information entropy of the nth sub-image, and p ni is the proportion of the pixel points whose gradation value is i in the nth sub-image.
然后对所述信息熵进行求和,得到所述目标图像的总信息熵。若将所述目标图像的总信息熵用H表示,则:The information entropy is then summed to obtain a total information entropy of the target image. If the total information entropy of the target image is represented by H, then:
Figure PCTCN2018097521-appb-000003
Figure PCTCN2018097521-appb-000003
最后,计算任一子图像的信息熵与所述总信息熵的比值,将所述比值确定为所述子图像的选取概率。若将第n个子图像的选取概率用p′ n表示,则: Finally, the ratio of the information entropy of any sub-image to the total information entropy is calculated, and the ratio is determined as the probability of selection of the sub-image. If the selection probability of the nth sub-image is represented by p' n , then:
Figure PCTCN2018097521-appb-000004
Figure PCTCN2018097521-appb-000004
通过上述方式计算得到的选取概率与信息熵的大小成正比,某个子图像的信息熵 越大,则其被选取的概率也越大,反之,某个子图像的信息熵越小,则其被选取的概率也越小,最极端的情况,当某个子图像只有一种灰度值,则其信息熵为0,那么其被选取的概率也为0。The selection probability calculated by the above method is proportional to the size of the information entropy. The larger the information entropy of a sub-image is, the larger the probability of being selected. Conversely, the smaller the information entropy of a sub-image is selected. The lower the probability, the most extreme case, when a sub-image has only one gray value, its information entropy is 0, then the probability of its selection is also zero.
步骤S1034、对选取的所述子图像实施隐藏处理,生成一帧变换图像。Step S1034: Perform hidden processing on the selected sub-image to generate a frame-converted image.
具体地,可以将选取的所述子图像设置为纯白色,也即将其各个像素点的灰度值均设置为255。对其它的子图像不做任何处理,保持其原有状态。Specifically, the selected sub-image may be set to pure white, that is, the gray value of each pixel thereof is set to 255. Do not process any other sub-images and keep their original state.
步骤S1035、将生成的所述变换图像添加入所述图像序列中。Step S1035: Add the generated transformed image into the image sequence.
所述图像序列是按照所述变换图像生成的先后顺序排列的,即先生成的变换图像排列在较前的位置,后生成的变换图像排列在较后的位置。The sequence of images is arranged in the order in which the transformed images are generated, that is, the transformed images that are formed by the former are arranged at a previous position, and the transformed images that are generated later are arranged at a later position.
步骤S1036、将所述帧数计数值增加一个计数单位。Step S1036, adding the frame count value to one count unit.
也即f=f+1。That is, f=f+1.
步骤S1037、判断所述帧数计数值是否小于预设的所述图像序列的总帧数。Step S1037: Determine whether the frame number count value is smaller than a preset total number of frames of the image sequence.
若所述帧数计数值小于预设的所述图像序列的总帧数,则返回执行步骤S1033及其后续步骤。If the frame count value is smaller than the preset total number of frames of the image sequence, returning to step S1033 and subsequent steps.
若所述帧数计数值等于预设的所述图像序列的总帧数,则执行步骤S1038。If the frame count value is equal to the preset total number of frames of the image sequence, step S1038 is performed.
步骤S1038、保存所述图像序列。Step S1038, saving the image sequence.
也即在所述图像序列中已有了足够的变换图像帧之后,不再生成新的变换图像,直接将现有的图像序列保存下来即可。That is, after there are enough transformed image frames in the image sequence, a new transformed image is no longer generated, and the existing image sequence can be directly saved.
步骤S104、按照预设的显示间隔依次循环显示所述图像序列。Step S104: cyclically display the image sequence in sequence according to a preset display interval.
所述显示间隔小于人体的视觉暂留时间。例如,所述显示间隔可以设置为0.01秒、0.02秒、0.04秒等等。The display interval is less than the visual persistence time of the human body. For example, the display interval may be set to 0.01 seconds, 0.02 seconds, 0.04 seconds, and the like.
视觉暂留现象是光对视网膜所产生的视觉在光停止作用后,仍保留一段时间的现象,其具体应用是电影的拍摄和放映。原因是由视神经的反应速度造成的。是动画、电影等视觉媒体形成和传播的根据。视觉实际上是靠眼睛的晶状体成像,感光细胞感光,并且将光信号转换为神经电流,传回大脑引起人体视觉。感光细胞的感光是靠一些感光色素,感光色素的形成是需要一定时间的,这就形成了视觉暂停的机理。The persistence of vision is a phenomenon in which the light produced by the retina remains in the light after the light stops, and its specific application is the filming and screening of the film. The reason is caused by the reaction speed of the optic nerve. It is the basis for the formation and dissemination of visual media such as animation and movies. Vision is actually imaged by the lens of the eye, the photoreceptor cells are sensitive, and the light signal is converted into a nerve current, which is transmitted back to the brain to cause human vision. Photoreceptor cells rely on some photoreceptors, and the formation of photoreceptors takes a certain amount of time, which forms the mechanism of visual pause.
当按照所述显示间隔依次循环显示所述图像序列,每次显示的图片都只显示部分信息,而不是显示全部的信息,但通过人眼的视觉暂留特性,可以将这些信息组合成一个完整的图片信息,在人眼看来显示了完整的图片,而机器设备不具有这样的特性,因而,利用任何截屏手段在任意时刻截获到的屏幕显示,都只是该时刻显示的局部图片数据,从而达到保护完整待显示图片不被复制盗用的目的。When the image sequence is cyclically displayed in accordance with the display interval, each time the displayed image displays only partial information instead of displaying all the information, but the visual persistence characteristic of the human eye can combine the information into one complete The picture information shows a complete picture in the eyes of the human eye, and the machine device does not have such characteristics. Therefore, the screen display intercepted at any time by any screen capture means only the partial picture data displayed at that moment, thereby achieving Protect the complete picture to be displayed without being copied and stolen.
综上所述,本申请实施例首先获取待显示的目标图像,将所述目标图像划分为两 个以上的子图像,然后根据所述目标图像生成包含两帧以上变换图像的图像序列,最后按照预设的显示间隔依次循环显示所述图像序列。由于所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,因此任意一帧显示出来的图像都是不完整的,不法用户通过下载、截屏、拍照等方式获取的都是不完整的图像,有效保证了作者的合法权益。同时,由于在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理且所述显示间隔小于人体的视觉暂留时间,用户在正常观赏时,主观感受到的仍是完整的图像,即在保障作者合法权益的同时也可以带给用户较佳的观赏体验。In summary, the embodiment of the present application first acquires a target image to be displayed, divides the target image into two or more sub-images, and then generates an image sequence including two or more transformed images according to the target image, and finally according to the image sequence. The preset display interval sequentially displays the sequence of images cyclically. Since the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, the images displayed in any one frame are incomplete, and the unlawful user obtains through downloading, screen capture, photographing, and the like. All are incomplete images, which effectively guarantee the legitimate rights and interests of the author. Meanwhile, since in any two consecutive frames of the transformed image, any one of the sub-images is not subjected to the concealing process in at least one of the transformed images, and the display interval is smaller than the visual persistence time of the human body, the user feels subjectively during normal viewing. Still a complete image, that is, while protecting the legitimate rights and interests of the author, it can also bring a better viewing experience to the user.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
对应于上文实施例所述的一种图像显示方法,图3示出了本申请实施例提供的一种图像显示装置的一个实施例结构图。Corresponding to an image display method according to the above embodiment, FIG. 3 is a structural diagram of an embodiment of an image display device provided by an embodiment of the present application.
本实施例中,一种图像显示装置可以包括:In this embodiment, an image display apparatus may include:
目标图像获取模块301,用于获取待显示的目标图像;a target image obtaining module 301, configured to acquire a target image to be displayed;
子图像划分模块302,用于将所述目标图像划分为两个以上的子图像;a sub-image dividing module 302, configured to divide the target image into two or more sub-images;
图像序列生成模块303,用于根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;The image sequence generating module 303 is configured to generate an image sequence including two or more transformed images according to the target image, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image. In a continuous two-frame transformed image, any one of the sub-images is not subjected to a concealing process in at least one of the transformed images;
图像序列显示模块304,用于按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence display module 304 is configured to sequentially display the image sequence cyclically according to a preset display interval, where the display interval is smaller than a visual persistence time of the human body.
进一步地,所述图像序列生成模块可以包括:Further, the image sequence generating module may include:
第一数目确定单元,用于确定每帧变换图像中需隐藏处理的子图像的第一数目;a first number determining unit, configured to determine a first number of sub-images to be hidden in each transformed image;
计数值初始化单元,用于初始化预设的帧数计数值;a count value initializing unit, configured to initialize a preset frame number count value;
子图像选取单元,用于从所述目标图像中选取第一数目的子图像;a sub image selecting unit, configured to select a first number of sub images from the target image;
变换图像生成单元,用于对选取的所述子图像实施隐藏处理,生成一帧变换图像;a transformed image generating unit, configured to perform a hiding process on the selected sub-image to generate a frame-converted image;
变换图像添加单元,用于将生成的所述变换图像添加入所述图像序列中;a transformed image adding unit, configured to add the generated transformed image into the image sequence;
计数值累加单元,用于将所述帧数计数值增加一个计数单位;a count value accumulating unit, configured to increase the frame count value by one counting unit;
图像序列保存单元,用于若所述帧数计数值等于预设的所述图像序列的总帧数,则保存所述图像序列。And an image sequence saving unit, configured to save the image sequence if the frame number count value is equal to a preset total number of frames of the image sequence.
进一步地,所述子图像选取单元可以包括:Further, the sub-image selection unit may include:
计数值获取子单元,用于获取所述帧数计数值;a count value obtaining subunit, configured to obtain the frame number count value;
子图像序号确定子单元,用于根据所述帧数计数值以及预设的第一函数关系确定需隐藏处理的子图像的序号,所述第一函数关系为所述帧数计数值与需隐藏处理的子图像的序号之间的函数关系;a sub-picture number determining sub-unit, configured to determine, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is the frame number count value and needs to be hidden a functional relationship between the serial numbers of the processed sub-images;
子图像选取子单元,用于选取与确定出的序号对应的子图像。The sub-image selection sub-unit is configured to select a sub-image corresponding to the determined serial number.
进一步地,所述子图像选取单元还可以包括:Further, the sub-image selection unit may further include:
第一选取子单元,用于若所述帧数计数值为0,则按照预设的各个子图像的选取概率从所述目标图像中随机选取第一数目的子图像;a first selecting sub-unit, configured to: when the frame number count value is 0, randomly select a first number of sub-images from the target image according to a preset selection probability of each sub-image;
第二选取子单元,用于若所述帧数计数值不为0,则按照各个子图像的所述选取概率从候选子图像集合中随机选取第一数目的子图像,所述候选子图像集合为已选子图像集合在所述目标图像中的补集,所述已选子图像集合为在上一帧变换图像生成过程中选取的子图像的集合。a second selecting sub-unit, configured to: when the frame number count value is not 0, randomly select a first number of sub-images from the candidate sub-image set according to the selection probability of each sub-image, the candidate sub-image set For the complement of the selected sub-image set in the target image, the selected sub-image set is a set of sub-images selected in the previous frame transformed image generation process.
进一步地,所述子图像选取单元还可以包括:Further, the sub-image selection unit may further include:
信息熵计算子单元,用于分别计算所述目标图像中各个子图像的信息熵;An information entropy calculation subunit, configured to separately calculate an information entropy of each sub image in the target image;
总信息熵计算子单元,用于对所述信息熵进行求和,得到所述目标图像的总信息熵;a total information entropy calculation subunit, configured to sum the information entropy to obtain a total information entropy of the target image;
选取概率计算子单元,用于计算任一子图像的信息熵与所述总信息熵的比值,将所述比值确定为所述子图像的选取概率。The probability calculation subunit is selected to calculate a ratio of the information entropy of any sub-image to the total information entropy, and the ratio is determined as the selection probability of the sub-image.
图4示出了本申请实施例提供的一种图像显示终端设备的示意框图,为了便于说明,仅示出了与本申请实施例相关的部分。FIG. 4 is a schematic block diagram of an image display terminal device provided by an embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
在本实施例中,所述图像显示终端设备4可以是手机、平板电脑、桌上电脑及云端服务器等计算设备。该图像显示终端设备4可包括:处理器40、存储器41以及存储在所述存储器41中并可在所述处理器40上运行的计算机可读指令42,例如执行上述的图像显示方法的计算机可读指令。所述处理器40执行所述计算机可读指令42时实现上述各个图像显示方法实施例中的步骤,例如图1所示的步骤S101至S104。或者,所述处理器40执行所述计算机可读指令42时实现上述各装置实施例中各模块/单元的功能,例如图3所示模块301至304的功能。In this embodiment, the image display terminal device 4 may be a computing device such as a mobile phone, a tablet computer, a desktop computer, and a cloud server. The image display terminal device 4 may include a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and operable on the processor 40, such as a computer executing the image display method described above. Read the instruction. The processor 40 executes the computer readable instructions 42 to implement the steps in the various image display method embodiments described above, such as steps S101 through S104 shown in FIG. Alternatively, when the processor 40 executes the computer readable instructions 42, the functions of the modules/units in the above various device embodiments are implemented, such as the functions of the modules 301 to 304 shown in FIG.
示例性的,所述计算机可读指令42可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器41中,并由所述处理器40执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段, 该指令段用于描述所述计算机可读指令42在所述图像显示终端设备4中的执行过程。Illustratively, the computer readable instructions 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40, To complete this application. The one or more modules/units may be a series of computer readable instruction segments capable of performing a particular function, the instruction segments being used to describe the execution of the computer readable instructions 42 in the image display terminal device 4.
所述处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 40 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (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.
所述存储器41可以是所述图像显示终端设备4的内部存储单元,例如图像显示终端设备4的硬盘或内存。所述存储器41也可以是所述图像显示终端设备4的外部存储设备,例如所述图像显示终端设备4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述图像显示终端设备4的内部存储单元也包括外部存储设备。所述存储器41用于存储所述计算机可读指令以及所述图像显示终端设备4所需的其它指令和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The memory 41 may be an internal storage unit of the image display terminal device 4, such as a hard disk or a memory of the image display terminal device 4. The memory 41 may also be an external storage device of the image display terminal device 4, such as a plug-in hard disk equipped on the image display terminal device 4, a smart memory card (SMC), and a secure digital (Secure) Digital, SD) cards, flash cards, etc. Further, the memory 41 may also include both an internal storage unit of the image display terminal device 4 and an external storage device. The memory 41 is for storing the computer readable instructions and other instructions and data required by the image display terminal device 4. The memory 41 can also be used to temporarily store data that has been output or is about to be output.
在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The functional units in the various embodiments of the present application 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.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干计算机可读指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括: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, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution 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 computer readable 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 methods described in various embodiments of the present application. 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, and can store computer readable instructions. Medium.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified, or equivalent to some of the technical features, and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种图像显示方法,其特征在于,包括:An image display method, comprising:
    获取待显示的目标图像;Obtain a target image to be displayed;
    将所述目标图像划分为两个以上的子图像;Dividing the target image into two or more sub-images;
    根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;Generating, according to the target image, an image sequence including two or more transformed images, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
    按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
  2. 根据权利要求1所述的图像显示方法,其特征在于,所述根据所述目标图像生成包含两帧以上变换图像的图像序列包括:The image display method according to claim 1, wherein the generating an image sequence including two or more transformed images according to the target image comprises:
    确定每帧变换图像中需隐藏处理的子图像的第一数目;Determining a first number of sub-images to be hidden in each transformed image;
    初始化预设的帧数计数值;Initializing a preset number of frames;
    从所述目标图像中选取第一数目的子图像;Selecting a first number of sub-images from the target image;
    对选取的所述子图像实施隐藏处理,生成一帧变换图像;Performing a hidden process on the selected sub-image to generate a frame-converted image;
    将生成的所述变换图像添加入所述图像序列中;Adding the generated transformed image into the image sequence;
    将所述帧数计数值增加一个计数单位;Adding the frame count value by one count unit;
    若所述帧数计数值小于预设的所述图像序列的总帧数,则返回执行所述从所述目标图像中选取第一数目的子图像的步骤;If the frame count value is less than a preset total number of frames of the image sequence, returning to performing the step of selecting the first number of sub-images from the target image;
    若所述帧数计数值等于预设的所述图像序列的总帧数,则保存所述图像序列。If the frame count value is equal to a preset total number of frames of the image sequence, the image sequence is saved.
  3. 根据权利要求2所述的图像显示方法,其特征在于,所述从所述目标图像中选取第一数目的子图像包括:The image display method according to claim 2, wherein the selecting the first number of sub-images from the target image comprises:
    获取所述帧数计数值;Obtaining the frame count value;
    根据所述帧数计数值以及预设的第一函数关系确定需隐藏处理的子图像的序号,所述第一函数关系为所述帧数计数值与需隐藏处理的子图像的序号之间的函数关系;Determining, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is between the frame number count value and the sequence number of the sub-image to be hidden processed Functional relationship;
    选取与确定出的序号对应的子图像。A sub-image corresponding to the determined serial number is selected.
  4. 根据权利要求2所述的图像显示方法,其特征在于,所述从所述目标图像中选取第一数目的子图像包括:The image display method according to claim 2, wherein the selecting the first number of sub-images from the target image comprises:
    获取所述帧数计数值;Obtaining the frame count value;
    若所述帧数计数值为0,则按照预设的各个子图像的选取概率从所述目标图像中随机选取第一数目的子图像;If the frame count value is 0, the first number of sub-images are randomly selected from the target image according to a preset selection probability of each sub-image;
    若所述帧数计数值不为0,则按照各个子图像的所述选取概率从候选子图像集合中 随机选取第一数目的子图像,所述候选子图像集合为已选子图像集合在所述目标图像中的补集,所述已选子图像集合为在上一帧变换图像生成过程中选取的子图像的集合。If the frame count value is not 0, the first number of sub-images are randomly selected from the candidate sub-image set according to the selection probability of each sub-image, and the candidate sub-image set is a selected sub-image set. The complement in the target image, the selected sub-image set is a set of sub-images selected in the process of generating the transformed image of the previous frame.
  5. 根据权利要求4所述的图像显示方法,其特征在于,所述选取概率的预设过程包括:The image display method according to claim 4, wherein the preset process of selecting the probability comprises:
    分别计算所述目标图像中各个子图像的信息熵;Calculating information entropy of each sub-image in the target image separately;
    对所述信息熵进行求和,得到所述目标图像的总信息熵;And summing the information entropy to obtain a total information entropy of the target image;
    计算任一子图像的信息熵与所述总信息熵的比值,将所述比值确定为所述子图像的选取概率。A ratio of information entropy of any sub-image to the total information entropy is calculated, and the ratio is determined as a probability of selection of the sub-image.
  6. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the following steps:
    获取待显示的目标图像;Obtain a target image to be displayed;
    将所述目标图像划分为两个以上的子图像;Dividing the target image into two or more sub-images;
    根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;Generating, according to the target image, an image sequence including two or more transformed images, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
    按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
  7. 根据权利要求6所述的计算机可读存储介质,其特征在于,所述根据所述目标图像生成包含两帧以上变换图像的图像序列包括:The computer readable storage medium according to claim 6, wherein the generating an image sequence comprising two or more transformed images according to the target image comprises:
    确定每帧变换图像中需隐藏处理的子图像的第一数目;Determining a first number of sub-images to be hidden in each transformed image;
    初始化预设的帧数计数值;Initializing a preset number of frames;
    从所述目标图像中选取第一数目的子图像;Selecting a first number of sub-images from the target image;
    对选取的所述子图像实施隐藏处理,生成一帧变换图像;Performing a hidden process on the selected sub-image to generate a frame-converted image;
    将生成的所述变换图像添加入所述图像序列中;Adding the generated transformed image into the image sequence;
    将所述帧数计数值增加一个计数单位;Adding the frame count value by one count unit;
    若所述帧数计数值小于预设的所述图像序列的总帧数,则返回执行所述从所述目标图像中选取第一数目的子图像的步骤;If the frame count value is less than a preset total number of frames of the image sequence, returning to performing the step of selecting the first number of sub-images from the target image;
    若所述帧数计数值等于预设的所述图像序列的总帧数,则保存所述图像序列。If the frame count value is equal to a preset total number of frames of the image sequence, the image sequence is saved.
  8. 根据权利要求7所述的计算机可读存储介质,其特征在于,所述从所述目标图像中选取第一数目的子图像包括:The computer readable storage medium of claim 7, wherein the selecting the first number of sub-images from the target image comprises:
    获取所述帧数计数值;Obtaining the frame count value;
    根据所述帧数计数值以及预设的第一函数关系确定需隐藏处理的子图像的序号, 所述第一函数关系为所述帧数计数值与需隐藏处理的子图像的序号之间的函数关系;Determining, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is between the frame number count value and the sequence number of the sub-image to be hidden processed Functional relationship;
    选取与确定出的序号对应的子图像。A sub-image corresponding to the determined serial number is selected.
  9. 根据权利要求7所述的计算机可读存储介质,其特征在于,所述从所述目标图像中选取第一数目的子图像包括:The computer readable storage medium of claim 7, wherein the selecting the first number of sub-images from the target image comprises:
    获取所述帧数计数值;Obtaining the frame count value;
    若所述帧数计数值为0,则按照预设的各个子图像的选取概率从所述目标图像中随机选取第一数目的子图像;If the frame count value is 0, the first number of sub-images are randomly selected from the target image according to a preset selection probability of each sub-image;
    若所述帧数计数值不为0,则按照各个子图像的所述选取概率从候选子图像集合中随机选取第一数目的子图像,所述候选子图像集合为已选子图像集合在所述目标图像中的补集,所述已选子图像集合为在上一帧变换图像生成过程中选取的子图像的集合。If the frame count value is not 0, the first number of sub-images are randomly selected from the candidate sub-image set according to the selection probability of each sub-image, and the candidate sub-image set is a selected sub-image set. The complement in the target image, the selected sub-image set is a set of sub-images selected in the process of generating the transformed image of the previous frame.
  10. 根据权利要求9所述的计算机可读存储介质,其特征在于,所述选取概率的预设过程包括:The computer readable storage medium according to claim 9, wherein the preset process of selecting a probability comprises:
    分别计算所述目标图像中各个子图像的信息熵;Calculating information entropy of each sub-image in the target image separately;
    对所述信息熵进行求和,得到所述目标图像的总信息熵;And summing the information entropy to obtain a total information entropy of the target image;
    计算任一子图像的信息熵与所述总信息熵的比值,将所述比值确定为所述子图像的选取概率。A ratio of information entropy of any sub-image to the total information entropy is calculated, and the ratio is determined as a probability of selection of the sub-image.
  11. 一种图像显示终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:An image display terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and operable on the processor, wherein when the processor executes the computer readable instructions Implement the following steps:
    获取待显示的目标图像;Obtain a target image to be displayed;
    将所述目标图像划分为两个以上的子图像;Dividing the target image into two or more sub-images;
    根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;Generating, according to the target image, an image sequence including two or more transformed images, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, in consecutive two-frame transformed images , any one of the sub-images is not implemented in at least one transformed image;
    按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence is sequentially displayed in a sequence according to a preset display interval, and the display interval is smaller than a visual persistence time of the human body.
  12. 根据权利要求11所述的图像显示终端设备,其特征在于,所述根据所述目标图像生成包含两帧以上变换图像的图像序列包括:The image display terminal device according to claim 11, wherein the generating an image sequence including two or more transformed images according to the target image comprises:
    确定每帧变换图像中需隐藏处理的子图像的第一数目;Determining a first number of sub-images to be hidden in each transformed image;
    初始化预设的帧数计数值;Initializing a preset number of frames;
    从所述目标图像中选取第一数目的子图像;Selecting a first number of sub-images from the target image;
    对选取的所述子图像实施隐藏处理,生成一帧变换图像;Performing a hidden process on the selected sub-image to generate a frame-converted image;
    将生成的所述变换图像添加入所述图像序列中;Adding the generated transformed image into the image sequence;
    将所述帧数计数值增加一个计数单位;Adding the frame count value by one count unit;
    若所述帧数计数值小于预设的所述图像序列的总帧数,则返回执行所述从所述目标图像中选取第一数目的子图像的步骤;If the frame count value is less than a preset total number of frames of the image sequence, returning to performing the step of selecting the first number of sub-images from the target image;
    若所述帧数计数值等于预设的所述图像序列的总帧数,则保存所述图像序列。If the frame count value is equal to a preset total number of frames of the image sequence, the image sequence is saved.
  13. 根据权利要求12所述的图像显示终端设备,其特征在于,所述从所述目标图像中选取第一数目的子图像包括:The image display terminal device according to claim 12, wherein the selecting the first number of sub-images from the target image comprises:
    获取所述帧数计数值;Obtaining the frame count value;
    根据所述帧数计数值以及预设的第一函数关系确定需隐藏处理的子图像的序号,所述第一函数关系为所述帧数计数值与需隐藏处理的子图像的序号之间的函数关系;Determining, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is between the frame number count value and the sequence number of the sub-image to be hidden processed Functional relationship;
    选取与确定出的序号对应的子图像。A sub-image corresponding to the determined serial number is selected.
  14. 根据权利要求12所述的图像显示终端设备,其特征在于,所述从所述目标图像中选取第一数目的子图像包括:The image display terminal device according to claim 12, wherein the selecting the first number of sub-images from the target image comprises:
    获取所述帧数计数值;Obtaining the frame count value;
    若所述帧数计数值为0,则按照预设的各个子图像的选取概率从所述目标图像中随机选取第一数目的子图像;If the frame count value is 0, the first number of sub-images are randomly selected from the target image according to a preset selection probability of each sub-image;
    若所述帧数计数值不为0,则按照各个子图像的所述选取概率从候选子图像集合中随机选取第一数目的子图像,所述候选子图像集合为已选子图像集合在所述目标图像中的补集,所述已选子图像集合为在上一帧变换图像生成过程中选取的子图像的集合。If the frame count value is not 0, the first number of sub-images are randomly selected from the candidate sub-image set according to the selection probability of each sub-image, and the candidate sub-image set is a selected sub-image set. The complement in the target image, the selected sub-image set is a set of sub-images selected in the process of generating the transformed image of the previous frame.
  15. 根据权利要求14所述的图像显示终端设备,其特征在于,所述选取概率的预设过程包括:The image display terminal device according to claim 14, wherein the preset process of selecting the probability comprises:
    分别计算所述目标图像中各个子图像的信息熵;Calculating information entropy of each sub-image in the target image separately;
    对所述信息熵进行求和,得到所述目标图像的总信息熵;And summing the information entropy to obtain a total information entropy of the target image;
    计算任一子图像的信息熵与所述总信息熵的比值,将所述比值确定为所述子图像的选取概率。A ratio of information entropy of any sub-image to the total information entropy is calculated, and the ratio is determined as a probability of selection of the sub-image.
  16. 一种图像显示装置,其特征在于,包括:An image display device, comprising:
    目标图像获取模块,用于获取待显示的目标图像;a target image acquiring module, configured to acquire a target image to be displayed;
    子图像划分模块,用于将所述目标图像划分为两个以上的子图像;a sub-image dividing module, configured to divide the target image into two or more sub-images;
    图像序列生成模块,用于根据所述目标图像生成包含两帧以上变换图像的图像序列,其中,所述变换图像为将所述目标图像中一个以上的子图像实施隐藏处理后得到的图像,在连续的两帧变换图像中,任意一个子图像至少在一个变换图像中未被实施隐藏处理;An image sequence generating module, configured to generate an image sequence including two or more transformed images according to the target image, wherein the transformed image is an image obtained by performing hidden processing on one or more sub-images in the target image, Among the consecutive two-frame transformed images, any one of the sub-images is not subjected to the concealing process in at least one of the transformed images;
    图像序列显示模块,用于按照预设的显示间隔依次循环显示所述图像序列,所述显示间隔小于人体的视觉暂留时间。The image sequence display module is configured to sequentially display the image sequence in a sequence according to a preset display interval, where the display interval is smaller than a visual persistence time of the human body.
  17. 根据权利要求16所述的图像显示装置,其特征在于,所述图像序列生成模块包括:The image display device according to claim 16, wherein the image sequence generation module comprises:
    第一数目确定单元,用于确定每帧变换图像中需隐藏处理的子图像的第一数目;a first number determining unit, configured to determine a first number of sub-images to be hidden in each transformed image;
    计数值初始化单元,用于初始化预设的帧数计数值;a count value initializing unit, configured to initialize a preset frame number count value;
    子图像选取单元,用于从所述目标图像中选取第一数目的子图像;a sub image selecting unit, configured to select a first number of sub images from the target image;
    变换图像生成单元,用于对选取的所述子图像实施隐藏处理,生成一帧变换图像;a transformed image generating unit, configured to perform a hiding process on the selected sub-image to generate a frame-converted image;
    变换图像添加单元,用于将生成的所述变换图像添加入所述图像序列中;a transformed image adding unit, configured to add the generated transformed image into the image sequence;
    计数值累加单元,用于将所述帧数计数值增加一个计数单位;a count value accumulating unit, configured to increase the frame count value by one counting unit;
    图像序列保存单元,用于若所述帧数计数值等于预设的所述图像序列的总帧数,则保存所述图像序列。And an image sequence saving unit, configured to save the image sequence if the frame number count value is equal to a preset total number of frames of the image sequence.
  18. 根据权利要求17所述的图像显示装置,其特征在于,所述子图像选取单元包括:The image display device according to claim 17, wherein the sub-image selection unit comprises:
    计数值获取子单元,用于获取所述帧数计数值;a count value obtaining subunit, configured to obtain the frame number count value;
    子图像序号确定子单元,用于根据所述帧数计数值以及预设的第一函数关系确定需隐藏处理的子图像的序号,所述第一函数关系为所述帧数计数值与需隐藏处理的子图像的序号之间的函数关系;a sub-picture number determining sub-unit, configured to determine, according to the frame number count value and a preset first function relationship, a sequence number of the sub-image to be hidden, wherein the first function relationship is the frame number count value and needs to be hidden a functional relationship between the serial numbers of the processed sub-images;
    子图像选取子单元,用于选取与确定出的序号对应的子图像。The sub-image selection sub-unit is configured to select a sub-image corresponding to the determined serial number.
  19. 根据权利要求17所述的图像显示装置,其特征在于,所述子图像选取单元包括:The image display device according to claim 17, wherein the sub-image selection unit comprises:
    第一选取子单元,用于若所述帧数计数值为0,则按照预设的各个子图像的选取概率从所述目标图像中随机选取第一数目的子图像;a first selecting sub-unit, configured to: when the frame number count value is 0, randomly select a first number of sub-images from the target image according to a preset selection probability of each sub-image;
    第二选取子单元,用于若所述帧数计数值不为0,则按照各个子图像的所述选取概率从候选子图像集合中随机选取第一数目的子图像,所述候选子图像集合为已选子图像集合在所述目标图像中的补集,所述已选子图像集合为在上一帧变换图像生成过程中选取的子图像的集合。a second selecting sub-unit, configured to: when the frame number count value is not 0, randomly select a first number of sub-images from the candidate sub-image set according to the selection probability of each sub-image, the candidate sub-image set For the complement of the selected sub-image set in the target image, the selected sub-image set is a set of sub-images selected in the previous frame transformed image generation process.
  20. 根据权利要求19所述的图像显示装置,其特征在于,所述子图像选取单元还包括:The image display device according to claim 19, wherein the sub-image selection unit further comprises:
    信息熵计算子单元,用于分别计算所述目标图像中各个子图像的信息熵;An information entropy calculation subunit, configured to separately calculate an information entropy of each sub image in the target image;
    总信息熵计算子单元,用于对所述信息熵进行求和,得到所述目标图像的总信息熵;a total information entropy calculation subunit, configured to sum the information entropy to obtain a total information entropy of the target image;
    选取概率计算子单元,用于计算任一子图像的信息熵与所述总信息熵的比值,将所述比值确定为所述子图像的选取概率。The probability calculation subunit is selected to calculate a ratio of the information entropy of any sub-image to the total information entropy, and the ratio is determined as the selection probability of the sub-image.
PCT/CN2018/097521 2018-01-17 2018-07-27 Image display method, computer readable storage medium, terminal apparatus, and device WO2019140881A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810042920.8 2018-01-17
CN201810042920.8A CN108416722B (en) 2018-01-17 2018-01-17 Image display method, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
WO2019140881A1 true WO2019140881A1 (en) 2019-07-25

Family

ID=63125906

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/097521 WO2019140881A1 (en) 2018-01-17 2018-07-27 Image display method, computer readable storage medium, terminal apparatus, and device

Country Status (2)

Country Link
CN (1) CN108416722B (en)
WO (1) WO2019140881A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726603B (en) * 2018-12-04 2020-11-27 西安万像电子科技有限公司 Image display method and device
CN109784105A (en) * 2019-01-29 2019-05-21 博智税通信息科技股份有限公司广东分公司 Information-pushing method, medium, device and terminal device
CN110531911B (en) * 2019-07-22 2022-05-27 平安科技(深圳)有限公司 Screen capture information control method and device, computer equipment and storage medium
CN111046448A (en) * 2019-12-16 2020-04-21 联想(北京)有限公司 Information processing method and electronic device
CN112464301A (en) * 2020-11-25 2021-03-09 北京奇艺世纪科技有限公司 Image display method and device
CN113986172A (en) * 2021-10-27 2022-01-28 佛山市顺德区美的电子科技有限公司 Electronic equipment, screen display method and device thereof and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318151A (en) * 2014-10-13 2015-01-28 宁波公众信息产业有限公司 Verification code picture display method based on vision suspending phenomenon
CN104717438A (en) * 2015-03-02 2015-06-17 联想(北京)有限公司 Information processing method and electronic device
WO2017028381A1 (en) * 2015-08-20 2017-02-23 深圳创维-Rgb电子有限公司 Image processing method and system for laser television, and laser television

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4875132B2 (en) * 2009-10-29 2012-02-15 シャープ株式会社 Image processing apparatus, image data output processing apparatus, and image processing method
CN103023633B (en) * 2012-11-06 2015-06-17 浙江农林大学 Digital image hiding method based on chaotic random phase and coherence stack principle
US9565335B2 (en) * 2014-01-02 2017-02-07 Digimarc Corporation Full color visibility model using CSF which varies spatially with local luminance
CN106384328A (en) * 2016-11-07 2017-02-08 武汉圆周率软件科技有限公司 Image digital copyright protecting method and image digital copyright protecting system based on frequency domain digital watermarking algorithm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318151A (en) * 2014-10-13 2015-01-28 宁波公众信息产业有限公司 Verification code picture display method based on vision suspending phenomenon
CN104717438A (en) * 2015-03-02 2015-06-17 联想(北京)有限公司 Information processing method and electronic device
WO2017028381A1 (en) * 2015-08-20 2017-02-23 深圳创维-Rgb电子有限公司 Image processing method and system for laser television, and laser television

Also Published As

Publication number Publication date
CN108416722B (en) 2020-04-17
CN108416722A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
WO2019140881A1 (en) Image display method, computer readable storage medium, terminal apparatus, and device
US10832086B2 (en) Target object presentation method and apparatus
US10832069B2 (en) Living body detection method, electronic device and computer readable medium
CN109064390B (en) Image processing method, image processing device and mobile terminal
US11538096B2 (en) Method, medium, and system for live preview via machine learning models
US10096089B2 (en) Accelerated skin smoothing effect
US20190325564A1 (en) Image blurring methods and apparatuses, storage media, and electronic devices
WO2019237745A1 (en) Facial image processing method and apparatus, electronic device and computer readable storage medium
CN108898082B (en) Picture processing method, picture processing device and terminal equipment
US11663806B2 (en) Saliency of an object for image processing operations
WO2021254502A1 (en) Target object display method and apparatus and electronic device
WO2021135683A1 (en) Display terminal adjustment method and display terminal
WO2023125362A1 (en) Image display method and apparatus, and electronic device
EP3710983A1 (en) Pose correction
WO2018076172A1 (en) Image display method and terminal
US20210090348A1 (en) Data processing for augmented reality
WO2019184719A1 (en) Photographing method and apparatus
CN108932703B (en) Picture processing method, picture processing device and terminal equipment
TWI711004B (en) Picture processing method and device
CN110059576A (en) Screening technique, device and the electronic equipment of picture
WO2019041163A1 (en) Method and system for realising both automatic watermarking and square photography
TWI678927B (en) Method for dynamically adjusting clarity of image and image processing device using the same
CN111583163A (en) AR-based face image processing method, device, equipment and storage medium
US20190197747A1 (en) Automatic obfuscation engine for computer-generated digital images
WO2024093763A1 (en) Panoramic image processing method and apparatus, computer device, medium and program product

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 18901080

Country of ref document: EP

Kind code of ref document: A1