TWI817551B - Image encryption system and image encryption method - Google Patents
Image encryption system and image encryption method Download PDFInfo
- Publication number
- TWI817551B TWI817551B TW111121706A TW111121706A TWI817551B TW I817551 B TWI817551 B TW I817551B TW 111121706 A TW111121706 A TW 111121706A TW 111121706 A TW111121706 A TW 111121706A TW I817551 B TWI817551 B TW I817551B
- Authority
- TW
- Taiwan
- Prior art keywords
- text string
- grayscale
- screen
- gray level
- time interval
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 22
- 238000010586 diagram Methods 0.000 description 12
- 230000010354 integration Effects 0.000 description 6
- RSPISYXLHRIGJD-UHFFFAOYSA-N OOOO Chemical compound OOOO RSPISYXLHRIGJD-UHFFFAOYSA-N 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
- Storage Device Security (AREA)
Abstract
Description
本案係有關於一種加密系統及加密方法,且特別是關於一種畫面加密系統及畫面加密方法。 This case relates to an encryption system and an encryption method, and in particular to a picture encryption system and a picture encryption method.
目前為保全畫面隱私,往往會於畫面加上浮水印或文字串,但浮水印或文字串會造成妨礙觀賞人或閱讀人的觀賞或閱讀。 Currently, in order to protect the privacy of the screen, watermarks or text strings are often added to the screen. However, watermarks or text strings will hinder the viewing or reading of viewers or readers.
發明內容旨在提供本揭示內容的簡化摘要,以使閱讀者對本揭示內容具備基本的理解。此發明內容並非本揭示內容的完整概述,且其用意並非在指出本案實施例的重要/關鍵元件或界定本案的範圍。 This summary is intended to provide a simplified summary of the disclosure to provide the reader with a basic understanding of the disclosure. This summary is not an extensive overview of the disclosure, and it is not intended to identify key/critical elements of the embodiments or to delineate the scope of the disclosure.
本案內容之一技術態樣係關於一種畫面加密系統。畫面加密系統包含記憶體及處理器。記憶體用以儲存複數個指令。處理器用以根據記憶體的複數指令以執行以下步驟:於畫面中的區域加上文字串,且文字串包含高灰階文字串及低灰階文字串;於時間區間中,取得高灰階文字串 的加密高灰階及低灰階文字串的加密低灰階的平均值;以及當平均值等於畫面的顯示灰階時,輸出畫面及文字串。 One of the technical aspects of this case relates to a screen encryption system. The screen encryption system includes memory and processor. Memory is used to store multiple instructions. The processor is used to perform the following steps according to the plural instructions of the memory: add a text string to the area in the screen, and the text string includes a high gray-scale text string and a low gray-scale text string; obtain the high gray-scale text in the time interval string The average value of the encrypted low grayscale of the encrypted high grayscale and low grayscale text strings; and when the average is equal to the display grayscale of the screen, output the screen and text string.
本案內容之另一技術態樣係關於一種畫面加密方法。畫面加密方法包含以下步驟:於畫面中的區域加上文字串,且文字串包含高灰階文字串及低灰階文字串;於時間區間中,取得高灰階文字串的加密高灰階及低灰階文字串的加密低灰階的平均值;以及當平均值等於畫面的顯示灰階時,輸出畫面及文字串。 Another technical aspect of this case relates to a picture encryption method. The screen encryption method includes the following steps: add a text string to the area in the screen, and the text string includes a high grayscale text string and a low grayscale text string; in a time interval, obtain the encrypted high grayscale and low grayscale text strings of the high grayscale text string The average value of the encrypted low grayscale text string; and when the average value is equal to the display grayscale of the screen, the screen and text string are output.
因此,根據本案之技術內容,本案實施例所示之畫面加密系統及畫面加密方法得以透過調整文字串中的高低灰階顯示頻率,以達到人眼無法看到畫面的文字串,但於相機拍攝時,文字串能被拍攝到的效果。 Therefore, according to the technical content of this case, the screen encryption system and the screen encryption method shown in the embodiment of this case can adjust the high and low grayscale display frequencies in the text string to achieve a text string that cannot be seen by the human eye, but can be captured by the camera At this time, the text string can be photographed.
在參閱下文實施方式後,本案所屬技術領域中具有通常知識者當可輕易瞭解本案之基本精神及其他發明目的,以及本案所採用之技術手段與實施態樣。 After referring to the following embodiments, those with ordinary knowledge in the technical field to which this case belongs can easily understand the basic spirit and other purposes of the invention, as well as the technical means and implementation styles adopted in this case.
100:畫面加密系統 100:Screen encryption system
110:主機 110:Host
111:記憶體 111:Memory
113:處理器 113: Processor
900:顯示器 900:Display
200:畫面 200:Screen
210:區域 210:Area
211:文字串 211: text string
GH:加密高灰階 GH: Encrypted high grayscale
IG:顯示灰階 IG: display grayscale
GL:加密低灰階 GL: Encrypted low grayscale
T:時間區間 T: time interval
200A:畫面 200A:Screen
210A:第一區域 210A:First area
211A:第一文字串 211A: First text string
220A:第二區域 220A:Second area
221A:第二文字串 221A: Second text string
GH1:第一加密高灰階 GH1: The first encrypted high grayscale
GL1:第一加密低灰階 GL1: The first encrypted low grayscale
GH2:第二加密高灰階 GH2: The second encryption high grayscale
GL2:第二加密低灰階 GL2: The second encryption low gray level
T1:第一時間區間 T1: the first time interval
T2:第二時間區間 T2: The second time interval
TC1:第一快門收光時間 TC1: First shutter closing time
TC2:第二快門收光時間 TC2: Second shutter closing time
TC3:第三快門收光時間 TC3: Third shutter closing time
TC4:第四快門收光時間 TC4: The fourth shutter closing time
700、800:畫面加密方法 700, 800: Screen encryption method
710~730:步驟 710~730: steps
810~850:步驟 810~850: steps
為讓本案之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:第1圖係依照本案一實施例繪示一種畫面加密系統的方塊示意圖。 In order to make the above and other objects, features, advantages and embodiments of the present invention more obvious and easy to understand, the accompanying drawings are described as follows: Figure 1 is a block diagram illustrating a picture encryption system according to an embodiment of the present invention.
第2圖係依照本案一實施例繪示一種畫面加密系統的使用情境圖。 Figure 2 is a usage scenario diagram of a picture encryption system according to an embodiment of the present case.
第3圖係依照本案一實施例繪示一種畫面加密系統的多種 灰階位準示意圖。 Figure 3 illustrates various aspects of a picture encryption system according to an embodiment of the present case. Grayscale level diagram.
第4圖係依照本案一實施例繪示一種畫面加密系統的使用情境圖。 Figure 4 is a usage scenario diagram of a picture encryption system according to an embodiment of the present case.
第5圖係依照本案一實施例繪示一種畫面加密系統的多種灰階位準示意圖。 Figure 5 is a schematic diagram showing multiple grayscale levels of an image encryption system according to an embodiment of the present invention.
第6圖係依照本案一實施例繪示一種畫面加密系統的多種灰階位準示意圖。 Figure 6 is a schematic diagram showing multiple grayscale levels of an image encryption system according to an embodiment of the present invention.
第7圖係依照本案一實施例繪示一種畫面加密方法的流程圖。 Figure 7 is a flow chart illustrating a picture encryption method according to an embodiment of the present case.
第8圖係依照本案一實施例繪示一種畫面加密方法的流程圖。 Figure 8 is a flow chart illustrating a picture encryption method according to an embodiment of the present case.
根據慣常的作業方式,圖中各種特徵與元件並未依比例繪製,其繪製方式是為了以最佳的方式呈現與本案相關的具體特徵與元件。此外,在不同圖式間,以相同或相似的元件符號來指稱相似的元件/部件。 In accordance with common practice, the various features and components in the drawings are not drawn to scale, but are drawn in such a way as to best present the specific features and components relevant to this case. In addition, the same or similar reference symbols are used to refer to similar elements/components in different drawings.
為了使本揭示內容的敘述更加詳盡與完備,下文針對了本案的實施態樣與具體實施例提出了說明性的描述;但這並非實施或運用本案具體實施例的唯一形式。實施方式中涵蓋了多個具體實施例的特徵以及用以建構與操作這些具體實施例的方法步驟與其順序。然而,亦可利用其他具體實施例來達成相同或均等的功能與步驟順序。 In order to make the description of this disclosure more detailed and complete, the following provides an illustrative description of the implementation aspects and specific embodiments of this case; but this is not the only form of implementing or using the specific embodiments of this case. The embodiments cover features of multiple specific embodiments as well as method steps and their sequences for constructing and operating these specific embodiments. However, other specific embodiments may also be used to achieve the same or equivalent functions and step sequences.
除非本說明書另有定義,此處所用的科學與技術詞 彙之含義與本案所屬技術領域中具有通常知識者所理解與慣用的意義相同。此外,在不和上下文衝突的情形下,本說明書所用的單數名詞涵蓋該名詞的複數型;而所用的複數名詞時亦涵蓋該名詞的單數型。 Unless otherwise defined in this specification, scientific and technical words used herein The meaning of "Hui" is the same as that commonly understood and commonly used by those with ordinary knowledge in the technical field to which this case belongs. In addition, unless there is conflict with the context, the singular noun used in this specification covers the plural form of the noun; and the plural noun used also covers the singular form of the noun.
第1圖係依照本案一實施例繪示一種畫面加密系統的方塊示意圖。如圖所示,畫面加密系統100包含記憶體111及處理器113。於連接關係,記憶體111耦接於處理器113。在一些實施例中,畫面加密系統100可以包含主機110及顯示器900。主機110包含記憶體111及處理器113。顯示器900可以用以顯示畫面(例如:後文中第2圖所繪示的畫面200),但本案不以此為限。
Figure 1 is a block diagram illustrating a picture encryption system according to an embodiment of the present invention. As shown in the figure, the
為達到人眼無法看到畫面的文字串,但於相機拍攝時,文字串能被拍攝到的效果,本案提供如第1圖所示之畫面加密系統100的相關操作詳細說明如下所述。
In order to achieve the effect that the text string on the screen cannot be seen by the human eye, but can be captured by the camera when shooting, this case provides detailed instructions for the relevant operations of the
在一實施例中,記憶體111用以儲存複數個指令。處理器113用以根據記憶體111的複數指令以執行以下步驟:於畫面中的區域加上文字串,且文字串包含高灰階文字串及低灰階文字串;於時間區間中,取得高灰階文字串的加密高灰階及低灰階文字串的加密低灰階的平均值;以及當平均值等於畫面的顯示灰階時,輸出畫面及文字串。
In one embodiment, the
為使畫面加密系統100之上述操作易於理解,請一併參閱第2圖及第3圖,第2圖係依照本案一實施例繪示一種畫面加密系統的使用情境圖。第3圖係依照本案一實施例繪示一種畫面加密系統的多種灰階位準示意圖。
In order to make the above operation of the
請一併參閱第1圖至第3圖,於操作上,在一實施例中,處理器113用以根據記憶體111的複數指令以於畫面200中的區域210僅加上文字串211,且文字串211包含高灰階文字串及低灰階文字串。舉例而言,區域210可以為在畫面200中的任何區域,文字串211的內容可以為XXX Confidential或其他任何文字符號內容,文字串211可以包含同樣文字內容的高灰階文字串及低灰階文字串,且高灰階文字串與低灰階文字串可以以相同的頻率顯示(例如:120Hz),但本案不以此為限。
Please refer to Figures 1 to 3 together. In operation, in one embodiment, the
然後,於時間區間(如第3圖的時間區間T)中,處理器113取得高灰階文字串的加密高灰階GH及低灰階文字串的加密低灰階GL的平均值。舉例而言,於時間區間T中,高灰階文字串的加密高灰階GH可以為137,低灰階文字串的加密低灰階GL可以為117,故平均值可以為(137+117)÷2=127,此外,文字串211可以以60Hz頻率顯示,時間區間T可以為文字串211顯示的頻率f倒數(即),故時間區間T為1/60,且加密高灰階GH的顯示時間及加密低灰階GL的顯示時間各佔時間區間T的一半,即為1/120,但本案不以此為限。
Then, in a time interval (such as the time interval T in Figure 3), the
隨後,當平均值等於畫面200的顯示灰階IG時,處理器113輸出畫面200及文字串211。舉例而言,畫面200的顯示灰階IG可以為127,故高灰階文字串的加密高灰階GH及低灰階文字串的加密低灰階GL的平均值為127時,處理器113可以輸出畫面200及文字串211,
但本案不以此為限。
Subsequently, when the average value is equal to the display grayscale IG of the
在一實施例中,文字串211以一頻率顯示於畫面200中。舉例而言,文字串可以用60Hz顯示於畫面200中,文字串也可以用頻率120Hz顯示於畫面200中,但本案不以此為限。
In one embodiment, the
此外,人眼看到畫面為較長時間積分下的結果(即對人眼來說,人眼擷取影像的時間會遠大於時間區間T),相機看到畫面則為較短積分下的結果(即對相機來說,相機拍攝或擷取影像的時間會小於等於時間區間T),故以人眼來說,以上述的例子,高灰階文字串的加密高灰階GH可以為137,低灰階文字串的加密低灰階GL可以為117,故平均值可以為127,且畫面200的顯示灰階IG可以為127的情況下,對人眼來說,由於高灰階文字串的加密高灰階GH及低灰階文字串的加密低灰階GL的平均值與顯示灰階IG相同,故人眼無法認知或擷取文字串211。
In addition, the image seen by the human eye is the result of a longer integration time (that is, for the human eye, the time it takes for the human eye to capture an image will be much longer than the time interval T), while the image seen by the camera is the result of a shorter integration ( That is to say, for the camera, the time when the camera shoots or captures the image will be less than or equal to the time interval T), so for the human eye, using the above example, the encrypted high grayscale GH of the high grayscale text string can be 137, and the low grayscale GH can be 137. For the encryption of gray-scale text strings, the low-gray-scale GL can be 117, so the average value can be 127, and the display gray-scale IG of the
相比之下,對相機而言,若相機的快門收光時間為,當文字串用60Hz顯示於畫面200中時(此時高灰階文字串的顯示時間為1/120,且低灰階文字串的顯示時間同樣為1/120),相機可以擷取到高灰階文字串或低灰階文字串,當然如果相機的快門收光時間小於時,同樣可以擷取到高灰階文字串或低灰階文字串。
In comparison, for a camera, if the shutter closing time of the camera is , when the text string is displayed in the
然而,如果相機的快門收光時間為1/60,而高灰階文字串的顯示時間與低灰階文字串的顯示時間總和可以為時間區間T,且時間區間T可以為1/60,故於時間區間
T時,畫面200的顯示灰階IG可以為127高灰階文字串的加密高灰階GH可以為137,低灰階文字串的加密低灰階GL為117的情況下,對相機來說,由於高灰階文字串的加密高灰階GH及低灰階文字串的加密低灰階GL的平均值與顯示灰階IG相同,故相機無法認知或擷取文字串211。
However, if the shutter closing time of the camera is 1/60, the sum of the display time of the high-grayscale text string and the display time of the low-grayscale text string can be the time interval T, and the time interval T can be 1/60, so in time interval
At T, the display grayscale IG of the
請參閱第1圖,處理器113更用以根據記憶體111的複數指令以執行以下步驟:於畫面中的第一區域加上第一文字串,且第一文字串包含第一高灰階文字串及第一低灰階文字串;於畫面中的第二區域加上第二文字串,且第二文字串包含第二高灰階文字串及第二低灰階文字串;於第一時間區間中,取得第一高灰階文字串的第一加密高灰階及第一低灰階文字串的第一加密低灰階的第一平均值;於第二時間區間中,取得第二高灰階文字串的第二加密高灰階及第二低灰階文字串的第二加密低灰階的第二平均值;以及當第一平均值與第二平均值等於畫面的顯示灰階時,輸出畫面、第一文字串及第二文字串。
Referring to Figure 1, the
為使畫面加密系統100之上述操作易於理解,請一併參閱第4圖及第5圖,第4圖係依照本案一實施例繪示一種畫面加密系統的使用情境圖。第5圖係依照本案一實施例繪示一種畫面加密系統的多種灰階位準示意圖。
In order to make the above operations of the
請一併參閱第1圖、第4圖及第5圖,在一實施例中,處理器113更用以根據記憶體111的複數指令以執行以下步驟:於畫面200A中的第一區域210A加上第一
文字串211A,且第一文字串211A包含第一高灰階文字串及第一低灰階文字串;於畫面200A中的第二區域220A加上第二文字串221A,且第二文字串221A包含第二高灰階文字串及第二低灰階文字串。舉例而言,第一區域210A可以為在畫面200中的任何區域,第二區域220A可以為在畫面200中的第一區域210A以外的其他任何區域,第一文字串211A的內容可以為XXX Confidential或其他任何文字符號內容,第一文字串211A可以包含同樣文字內容的第一高灰階文字串及第一低灰階文字串,同樣的,第一文字串211A的內容可以為XXX Confidential或其他任何文字符號內容,第二文字串221A可以包含同樣文字內容的第二高灰階文字串及第二低灰階文字串,但本案不以此為限。在一實施例中,第一文字串211A的內容可以為XXX Confidential或其他任何文字符號內容,第一文字串211A可以包含同樣文字內容的第一高灰階文字串及第一低灰階文字串,不同的,第二文字串221A的內容可以為OOOO Confidential或其他任何不同於第一文字串211A的文字符號內容,第二文字串221A可以包含同樣文字內容的第二高灰階文字串及第二低灰階文字串。
Please refer to Figures 1, 4 and 5 together. In one embodiment, the
在一實施例中,於第一時間區間T1中,處理器113取得第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值。舉例而言,於第一時間區間T1中,第一高灰階文字串的第一
加密高灰階GH1可以為137,第一低灰階文字串的第一加密低灰階GL1可以為117,故第一平均值可以為(137+117)÷2=127,此外,第一文字串211A可以以60Hz頻率顯示,第一時間區間T1可以為第一文字串211A顯示的頻率f1倒數(即),故第一時間區間T1為1/60,且第一加密高灰階GH1的顯示時間及第一加密低灰階GL1的顯示時間各佔第一時間區間T1的一半,即為1/120,但本案不以此為限。
In one embodiment, in the first time interval T1, the
在一實施例中,於第二時間區間T2中,處理器113取得第二高灰階文字串的第二加密高灰階GH2及第二低灰階文字串的第二加密低灰階GL2的第二平均值。舉例而言,於第二時間區間T2中,第二高灰階文字串的第二加密高灰階GH2可以為147,第二低灰階文字串的第二加密低灰階GL2可以為117,故第二平均值可以為(147+117×2)÷3=127,此外,第二文字串221A可以以40Hz頻率顯示,第二時間區間T2可以為第二文字串221A顯示的頻率f2倒數(即),故第二時間區間T2為1/40,且第二加密高灰階GH2的顯示時間佔第二時間區間T2的三分之一,即為1/120,第二加密低灰階GL2的顯示時間佔第二時間區間T2的三分之二,即為1/60,但本案不以此為限。
In one embodiment, in the second time interval T2, the
在一實施例中,當第一平均值與第二平均值等於畫面的顯示灰階時,處理器113輸出畫面200A、第一文字串211A及第二文字串221A。舉例而言,畫面200A的
顯示灰階IG可以為127,當第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值為127,且第二高灰階文字串的第二加密高灰階GH2及第二低灰階文字串的第二加密低灰階GL2的第二平均值也為127時,處理器113可以輸出畫面200A、第一文字串211A及第二文字串221A,但本案不以此為限。
In one embodiment, when the first average value and the second average value are equal to the display grayscale of the image, the
在一實施例中,第一文字串211A以第一頻率f1顯示於畫面200A中。舉例而言,第一頻率f1可以為60Hz,第一文字串211A可以用60Hz顯示於畫面200A中,但本案不以此為限。
In one embodiment, the
在一實施例中,第二文字串221A以第二頻率f2顯示於畫面200A中。舉例而言,第二頻率f2可以為40Hz,第二文字串221A可以用40Hz顯示於畫面200A中,但本案不以此為限。
In one embodiment, the
此外,人眼看到畫面為較長時間積分下的結果(即對人眼來說,人眼擷取影像的時間會遠大於第一時間區間T1或第二時間區間T2),相機看到畫面則為較短積分下的結果(即對相機來說,相機拍攝或擷取影像的時間會小於等於第一時間區間T1或第二時間區間T2)。 In addition, the image seen by the human eye is the result of a longer time integration (that is, for the human eye, the time it takes for the human eye to capture the image will be much longer than the first time interval T1 or the second time interval T2), and the image seen by the camera is It is the result of shorter integration (that is, for the camera, the time for the camera to shoot or capture images will be less than or equal to the first time interval T1 or the second time interval T2).
以人眼來說,以上述的例子,第一高灰階文字串的第一加密高灰階GH1可以為137,第一低灰階文字串的第一加密低灰階GL1可以為117,第一平均值可以為127,第二高灰階文字串的第二加密高灰階GH2可以為147,第
二低灰階文字串的第二加密低灰階GL2可以為117,第二平均值可以為127,且畫面200A的顯示灰階IG可以為127的情況下,對人眼來說,由於第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值與顯示灰階IG相同,故人眼無法認知或擷取第一文字串211A,同樣的,由於第二高灰階文字串的第二加密高灰階GH2及第二低灰階文字串的第二加密低灰階GL2的第二平均值與顯示灰階IG相同,故人眼亦無法認知或擷取第二文字串221A。
To the human eye, using the above example, the first encrypted high gray level GH1 of the first high gray level text string may be 137, and the first encrypted low gray level GL1 of the first low gray level text string may be 117. An average value may be 127, and the second encrypted high gray level GH2 of the second high gray level text string may be 147, and the second
When the second encrypted low grayscale GL2 of the two low grayscale text strings can be 117, the second average value can be 127, and the display grayscale IG of the
第6圖係依照本案一實施例繪示一種畫面加密系統的多種灰階位準示意圖。請參閱第6圖,相機的快門收光時間可以為第一快門收光時間TC1、第二快門收光時間TC2、第三快門收光時間TC3或第四快門收光時間TC4。舉例而言,第一快門收光時間TC1可以為1/120,第二快門收光時間TC2可以為1/60,第三快門收光時間TC3可以為1/40,第四快門收光時間TC4可以為1/30,但本案不以此為限。 Figure 6 is a schematic diagram showing multiple grayscale levels of an image encryption system according to an embodiment of the present invention. Please refer to Figure 6. The shutter closing time of the camera can be the first shutter closing time TC1, the second shutter closing time TC2, the third shutter closing time TC3 or the fourth shutter closing time TC4. For example, the first shutter light closing time TC1 may be 1/120, the second shutter light closing time TC2 may be 1/60, the third shutter light closing time TC3 may be 1/40, and the fourth shutter light closing time TC4 It can be 1/30, but this case is not limited to this.
在一些實施例中,第一高灰階文字串的第一加密高灰階GH1可以為137,第一低灰階文字串的第一加密低灰階GL1可以為117,第二高灰階文字串的第二加密高灰階GH2可以為147,第二低灰階文字串的第二加密低灰階GL2可以為117,且畫面200A的顯示灰階IG可以為127的情況下,第一文字串211A可以用60Hz顯示於畫面200A中,第二文字串221A可以用頻率40Hz顯示於畫
面200A中,對相機而言,當相機的第一快門收光時間TC1為1/120時,相機可以擷取到第一文字串211A,同樣的,相機也可以擷取到第二文字串221A。
In some embodiments, the first encrypted high gray level GH1 of the first high gray level text string may be 137, the first encrypted low gray level GL1 of the first low gray level text string may be 117, and the second high gray level text string may be 117. When the second encrypted high grayscale GH2 of the string can be 147, the second encrypted low grayscale GL2 of the second low grayscale text string can be 117, and the display grayscale IG of the
主要原因為相機在第一快門收光時間TC1為1/120時,相機所擷取的可以為第一高灰階文字串的第一加密高灰階GH1、第一低灰階文字串的第一加密低灰階GL1、第二高灰階文字串的第二加密高灰階GH2或第二低灰階文字串的第二加密低灰階GL2,但本案不以此為限。 The main reason is that when the first shutter closing time TC1 is 1/120, the camera can capture the first encrypted high grayscale GH1 of the first high grayscale text string and the first low grayscale text string. One encrypted low gray level GL1, the second encrypted high gray level GH2 of the second high gray level text string, or the second encrypted low gray level GL2 of the second low gray level text string, but this case is not limited to this.
當相機的第二快門收光時間TC2為1/60時,相機無法擷取到第一文字串211A,但相機也可以擷取到第二文字串221A。主要原因為相機在第二快門收光時間TC2為1/60時,相機所擷取之第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值會與顯示灰階IG相同,故相機無法認知或擷取第一文字串211A,然而,相機可以擷取第二高灰階文字串的第二加密高灰階GH2或第二低灰階文字串的第二加密低灰階GL2。
When the camera's second shutter closing time TC2 is 1/60, the camera cannot capture the
當相機的第三快門收光時間TC3為1/40時,相機可以擷取到第一文字串211A,但相機也無法擷取到第二文字串221A。主要原因為相機在第三快門收光時間TC3為1/40時,相機所擷取的可以為第一高灰階文字串的第一加密高灰階GH1或第一低灰階文字串的第一加密低灰階GL1,然而,相機所擷取之第二高灰階文字串的第二加密高灰階GH2及第二低灰階文字串的第二加密低灰
階GL2的第二平均值會與顯示灰階IG相同,故相機無法認知或擷取第二文字串221A。
When the third shutter closing time TC3 of the camera is 1/40, the camera can capture the
當相機的第四快門收光時間TC4為1/30時,相機無法擷取到第一文字串211A,但相機也可以擷取到第二文字串221A。主要原因為相機在第四快門收光時間TC4為1/30時,相機所擷取的第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值與顯示灰階IG相同,故相機無法認知或擷取第一文字串211A,然而,相機可以擷取第二高灰階文字串的第二加密高灰階GH2或第二低灰階文字串的第二加密低灰階GL2。
When the fourth shutter closing time TC4 of the camera is 1/30, the camera cannot capture the
第7圖係依照本案一實施例繪示一種畫面加密方法的流程圖。如圖所示,第7圖之畫面加密方法700包含以下步驟:步驟710:於畫面中的區域加上文字串,且文字串包含高灰階文字串及低灰階文字串;步驟720:於時間區間中,取得高灰階文字串的加密高灰階及低灰階文字串的加密低灰階的平均值;步驟730:當平均值等於畫面的顯示灰階時,輸出畫面及文字串。
Figure 7 is a flow chart illustrating a picture encryption method according to an embodiment of the present case. As shown in the figure, the
為使第7圖之畫面加密方法700易於理解,請一併參閱第1圖、第2圖、第3圖及第7圖,在一實施例中,請參閱步驟710,藉由處理器113以於畫面200中的區域210僅加上文字串211,且文字串211包含高灰階文字串
及低灰階文字串。舉例而言,區域210可以為在畫面200中的任何區域,文字串211的內容可以為XXX Confidential或其他任何文字符號內容,文字串211可以包含同樣文字內容的高灰階文字串及低灰階文字串,且高灰階文字串與低灰階文字串可以以相同的頻率顯示(例如:120Hz),但本案不以此為限。
In order to make the
在一實施例中,請參閱步驟720,於時間區間(如第3圖的時間區間T)中,藉由處理器113取得高灰階文字串的加密高灰階GH及低灰階文字串的加密低灰階GL的平均值。舉例而言,於時間區間T中,高灰階文字串的加密高灰階GH可以為137,低灰階文字串的加密低灰階GL可以為117,故平均值可以為(137+117)÷2=127,此外,文字串211可以以60Hz頻率顯示,時間區間T可以為文字串211顯示的頻率f倒數(即),故時間區間T為1/60,且加密高灰階GH的顯示時間及加密低灰階GL的顯示時間各佔時間區間T的一半,即為1/120,但本案不以此為限。
In one embodiment, please refer to step 720. In a time interval (such as the time interval T in Figure 3), the
在一實施例中,請參閱步驟730,當平均值等於畫面200的顯示灰階IG時,藉由處理器113輸出畫面200及文字串211。舉例而言,畫面200的顯示灰階IG可以為127,故高灰階文字串的加密高灰階GH及低灰階文字串的加密低灰階GL的平均值為127時,處理器113可以輸出畫面200及文字串211,但本案不以此為限。
In one embodiment, please refer to step 730. When the average value is equal to the display grayscale IG of the
在一實施例中,請參閱步驟710,文字串211以
一頻率顯示於畫面200中。舉例而言,文字串可以用60Hz顯示於畫面200中,文字串也可以用頻率120Hz顯示於畫面200中,但本案不以此為限。
In one embodiment, please refer to step 710, the
第8圖係依照本案一實施例繪示一種畫面加密方法的流程圖。如圖所示,第8圖之畫面加密方法800包含以下步驟:步驟810:於畫面中的第一區域加上第一文字串,且第一文字串包含第一高灰階文字串及第一低灰階文字串;步驟820:於畫面中的第二區域加上第二文字串,且第二文字串包含第二高灰階文字串及第二低灰階文字串;步驟830:於第一時間區間中,取得第一高灰階文字串的第一加密高灰階及第一低灰階文字串的第一加密低灰階的第一平均值;步驟840:於第二時間區間中,取得第二高灰階文字串的第二加密高灰階及第二低灰階文字串的第二加密低灰階的第二平均值;步驟850:當第一平均值與第二平均值等於畫面的顯示灰階時,輸出畫面、第一文字串及第二文字串。
Figure 8 is a flow chart illustrating a picture encryption method according to an embodiment of the present case. As shown in the figure, the
為使第8圖之畫面加密方法700易於理解,請一併參閱第1圖、第4圖、第5圖、第6圖及第8圖,在一實施例中,請參閱步驟810,藉由處理器113於畫面200A中的第一區域210A加上第一文字串211A,且第一文字
21A串包含第一高灰階文字串及第一低灰階文字串。
To make the
在一實施例中,請參閱步驟820,藉由處理器113於畫面200A中的第二區域220A加上第二文字串221A,且第二文字串221A包含第二高灰階文字串及第二低灰階文字串。舉例而言,第一區域210A可以為在畫面200中的任何區域,第二區域220A可以為在畫面200中的第一區域210A以外的其他任何區域,第一文字串211A的內容可以為XXX Confidential或其他任何文字符號內容,第一文字串211A可以包含同樣文字內容的第一高灰階文字串及第一低灰階文字串,同樣的,第二文字串221A的內容可以為XXX Confidential或其他任何文字符號內容,第二文字串221A可以包含同樣文字內容的第二高灰階文字串及第二低灰階文字串,但本案不以此為限。在一實施例中,第一文字串211A的內容可以為XXX Confidential或其他任何文字符號內容,第一文字串211A可以包含同樣文字內容的第一高灰階文字串及第一低灰階文字串,不同的,第二文字串221A的內容可以為OOOO Confidential或其他任何不同於第一文字串211A的文字符號內容,第二文字串221A可以包含同樣文字內容的第二高灰階文字串及第二低灰階文字串。
In one embodiment, please refer to step 820, the
在一實施例中,請參閱步驟830,於第一時間區間T1中,藉由處理器113取得第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值。舉例而言,於第一時間區間T1中,
第一高灰階文字串的第一加密高灰階GH1可以為137,第一低灰階文字串的第一加密低灰階GL1可以為117,故第一平均值可以為(137+117)÷2=127,此外,第一文字串211A可以以60Hz頻率顯示,第一時間區間T1可以為第一文字串211A顯示的頻率f1倒數(即),故第一時間區間T1為1/60,且第一加密高灰階GH1的顯示時間及第一加密低灰階GL1的顯示時間各佔第一時間區間T1的一半,即為1/120,但本案不以此為限。
In one embodiment, please refer to step 830. In the first time interval T1, the
在一實施例中,請參閱步驟840,於第二時間區間T2中,藉由處理器113取得第二高灰階文字串的第二加密高灰階GH2及第二低灰階文字串的第二加密低灰階GL2的第二平均值。舉例而言,於第二時間區間T2中,第二高灰階文字串的第二加密高灰階GH2可以為147,第二低灰階文字串的第二加密低灰階GL2可以為117,故第二平均值可以為(147+117×2)÷3=127,此外,第二文字串221A可以以40Hz頻率顯示,第二時間區間T2可以為第二文字串221A顯示的頻率f2倒數(即),故第二時間區間T2為1/40,且第二加密高灰階GH2的顯示時間佔第二時間區間T2的三分之一,即為1/120,第二加密低灰階GL2的顯示時間佔第二時間區間T2的三分之二,即為1/60,但本案不以此為限。
In one embodiment, please refer to step 840. In the second time interval T2, the
在一實施例中,請參閱步驟850,當第一平均值與第二平均值等於畫面的顯示灰階時,藉由處理器113輸出畫面200A、第一文字串211A及第二文字串221A。
舉例而言,畫面200A的顯示灰階IG可以為127,當第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值為127,且第二高灰階文字串的第二加密高灰階GH2及第二低灰階文字串的第二加密低灰階GL2的第二平均值也為127時,處理器113可以輸出畫面200A、第一文字串211A及第二文字串221A,但本案不以此為限。
In one embodiment, please refer to step 850. When the first average value and the second average value are equal to the display grayscale of the image, the
在一實施例中,請參閱步驟810,藉由處理器113將第一文字串211A以第一頻率f1顯示於畫面200A中。舉例而言,第一頻率f1可以為60Hz,第一文字串211A可以用60Hz顯示於畫面200A中,但本案不以此為限。
In one embodiment, please refer to step 810, the
在一實施例中,請參閱步驟810,藉由處理器113將第二文字串221A以第二頻率f2顯示於畫面200A中。舉例而言,第二頻率f2可以為40Hz,第二文字串221A可以用40Hz顯示於畫面200A中,但本案不以此為限。
In one embodiment, please refer to step 810, the
此外,人眼看到畫面為較長時間積分下的結果(即對人眼來說,人眼擷取影像的時間會遠大於第一時間區間T1或第二時間區間T2),相機看到畫面則為較短積分下的結果(即對相機來說,相機拍攝或擷取影像的時間會小於等於第一時間區間T1或第二時間區間T2)。 In addition, the image seen by the human eye is the result of a longer time integration (that is, for the human eye, the time it takes for the human eye to capture the image will be much longer than the first time interval T1 or the second time interval T2), and the image seen by the camera is It is the result of shorter integration (that is, for the camera, the time for the camera to shoot or capture images will be less than or equal to the first time interval T1 or the second time interval T2).
以人眼來說,以上述的例子,第一高灰階文字串的第一加密高灰階GH1可以為137,第一低灰階文字串的第一加密低灰階GL1可以為117,第一平均值可以為127,第二高灰階文字串的第二加密高灰階GH2可以為147,第
二低灰階文字串的第二加密低灰階GL2可以為117,第二平均值可以為127,且畫面200A的顯示灰階IG可以為127的情況下,對人眼來說,由於第一高灰階文字串的第一加密高灰階GH1及第一低灰階文字串的第一加密低灰階GL1的第一平均值與顯示灰階IG相同,故人眼無法認知或擷取第一文字串211A,同樣的,由於第二高灰階文字串的第二加密高灰階GH2及第二低灰階文字串的第二加密低灰階GL2的第二平均值與顯示灰階IG相同,故人眼亦無法認知或擷取第二文字串221A。
To the human eye, using the above example, the first encrypted high gray level GH1 of the first high gray level text string may be 137, and the first encrypted low gray level GL1 of the first low gray level text string may be 117. An average value may be 127, and the second encrypted high gray level GH2 of the second high gray level text string may be 147, and the second
When the second encrypted low grayscale GL2 of the two low grayscale text strings can be 117, the second average value can be 127, and the display grayscale IG of the
由上述本案實施方式可知,應用本案具有下列優點。本案實施例所示之畫面加密系統及畫面加密方法得以透過調整文字串中的高低灰階顯示頻率,以達到人眼無法看到畫面的文字串,但於相機拍攝時,文字串能被拍攝到的效果。 It can be seen from the above embodiments that the application of this case has the following advantages. The screen encryption system and screen encryption method shown in the embodiment of this case can adjust the high and low grayscale display frequencies in the text string to achieve a text string that cannot be seen by the human eye, but can be captured when the camera is shooting. Effect.
雖然上文實施方式中揭露了本案的具體實施例,然其並非用以限定本案,本案所屬技術領域中具有通常知識者,在不悖離本案之原理與精神的情形下,當可對其進行各種更動與修飾,因此本案之保護範圍當以附隨申請專利範圍所界定者為準。 Although the above implementation mode discloses specific examples of the present case, it is not intended to limit the present case. Persons with ordinary knowledge in the technical field to which the present case belongs can, without departing from the principles and spirit of the present case, proceed with it. Various changes and modifications, therefore the scope of protection in this case shall be subject to the scope of the accompanying patent application.
100:畫面加密系統 100:Screen encryption system
110:主機 110:Host
111:記憶體 111:Memory
113:處理器 113: Processor
900:顯示器 900:Display
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111121706A TWI817551B (en) | 2022-06-10 | 2022-06-10 | Image encryption system and image encryption method |
CN202211263162.5A CN115455454A (en) | 2022-06-10 | 2022-10-14 | Picture encryption system and picture encryption method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111121706A TWI817551B (en) | 2022-06-10 | 2022-06-10 | Image encryption system and image encryption method |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI817551B true TWI817551B (en) | 2023-10-01 |
TW202349909A TW202349909A (en) | 2023-12-16 |
Family
ID=84311348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111121706A TWI817551B (en) | 2022-06-10 | 2022-06-10 | Image encryption system and image encryption method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115455454A (en) |
TW (1) | TWI817551B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI298144B (en) * | 2002-07-31 | 2008-06-21 | Crimsonlogic Pte Ltd | Rrintable watermark image, method and system of generating a printable watermark image, a document and a computer usable recording medium |
CN102905127A (en) * | 2012-08-09 | 2013-01-30 | 山东师范大学 | Video watermark implementation method |
US8477990B2 (en) * | 2010-03-05 | 2013-07-02 | Digimarc Corporation | Reducing watermark perceptibility and extending detection distortion tolerances |
CN110278438A (en) * | 2019-06-20 | 2019-09-24 | 清华大学 | The method and device for hiding coding is embedded in video |
-
2022
- 2022-06-10 TW TW111121706A patent/TWI817551B/en active
- 2022-10-14 CN CN202211263162.5A patent/CN115455454A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI298144B (en) * | 2002-07-31 | 2008-06-21 | Crimsonlogic Pte Ltd | Rrintable watermark image, method and system of generating a printable watermark image, a document and a computer usable recording medium |
US8477990B2 (en) * | 2010-03-05 | 2013-07-02 | Digimarc Corporation | Reducing watermark perceptibility and extending detection distortion tolerances |
CN102905127A (en) * | 2012-08-09 | 2013-01-30 | 山东师范大学 | Video watermark implementation method |
CN110278438A (en) * | 2019-06-20 | 2019-09-24 | 清华大学 | The method and device for hiding coding is embedded in video |
Non-Patent Citations (2)
Title |
---|
網路文獻 「免費浮水印製作工具推薦」, BeeCut, 2019年12月25日, 網址:https://web.archive.org/web/20191225091057/https://beecut.com/tw/add-watermark-in-video.html |
網路文獻 維基百科, 「數位浮水印」, 2021年11月22日, 網址:https://zh.wikipedia.org/w/index.php?title=%E6%95%B8%E4%BD%8D%E6%B5%AE%E6%B0%B4%E5%8D%B0&oldid=68767272&variant=zh-tw;網路文獻 「免費浮水印製作工具推薦」, BeeCut, 2019年12月25日, 網址:https://web.archive.org/web/20191225091057/https://beecut.com/tw/add-watermark-in-video.html * |
Also Published As
Publication number | Publication date |
---|---|
CN115455454A (en) | 2022-12-09 |
TW202349909A (en) | 2023-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10832086B2 (en) | Target object presentation method and apparatus | |
US10715727B2 (en) | Synthetic long exposure image with optional enhancement using a guide image | |
US10306139B2 (en) | Target image quality enhancement using a guide image | |
US11069322B2 (en) | Display method and display device, visible light communication transmission method and device | |
CN104079830B (en) | Private mark adding method and device, private mark photo processing method and device | |
KR20200023651A (en) | Preview photo blurring method and apparatus and storage medium | |
CN109194877A (en) | Image compensation method and device, computer readable storage medium and electronic equipment | |
CN108416722B (en) | Image display method, storage medium and terminal equipment | |
WO2014169655A1 (en) | Shooting method and apparatus | |
JP2008083820A (en) | Image processor, image processing method, and image processing program | |
CN115115516B (en) | Real world video super-resolution construction method based on Raw domain | |
WO2016033925A1 (en) | Display method and display device | |
TWI817551B (en) | Image encryption system and image encryption method | |
JP5642348B2 (en) | Display device driving method and display device driving circuit using the same | |
TW201340705A (en) | Image pickup device and image preview system and image preview method thereof | |
US20140210695A1 (en) | Securing information | |
TWI673997B (en) | Dual channel image zooming system and method thereof | |
WO2022052820A1 (en) | Data processing method, system, and apparatus | |
CN107767350A (en) | Video image restoring method and device | |
WO2017101570A1 (en) | Photo processing method and processing system | |
WO2017212804A1 (en) | Image display device, method for controlling image display device, and control program for image display device | |
WO2023185706A1 (en) | Image processing method, image processing apparatus and storage medium | |
US20240056674A1 (en) | Image processing method, terminal and storage medium | |
TWI484816B (en) | Passive 3d image system and image processing method thereof | |
TWI693590B (en) | Anti-flicker driving method, display device and information processing device of visible picture under strong light |