CN101377919B - gamma correction device - Google Patents
gamma correction device Download PDFInfo
- Publication number
- CN101377919B CN101377919B CN2007101481297A CN200710148129A CN101377919B CN 101377919 B CN101377919 B CN 101377919B CN 2007101481297 A CN2007101481297 A CN 2007101481297A CN 200710148129 A CN200710148129 A CN 200710148129A CN 101377919 B CN101377919 B CN 101377919B
- Authority
- CN
- China
- Prior art keywords
- check code
- unit
- memory
- gamma
- gamma correction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012937 correction Methods 0.000 title claims abstract description 61
- 230000003068 static effect Effects 0.000 claims abstract description 39
- 230000009471 action Effects 0.000 claims abstract description 3
- 230000001186 cumulative effect Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Picture Signal Circuits (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种伽马校正(Gamma Correction)装置,且特别是涉及一种可防止静电放电(Electrostatic Discharge,ESD)效应及存储器制程缺陷的伽马校正装置。 The present invention relates to a gamma correction device, and in particular to a gamma correction device capable of preventing electrostatic discharge (Electrostatic Discharge, ESD) effects and memory process defects. the
背景技术Background technique
在科技发展日新月异的现今时代中,伽马校正(Gamma Correction)已广泛地应用在图像显示场合,使图像的显示效果更能符合人眼的视觉心理感知度。当欲对原始图像画面进行伽马校正时是通过预定的伽马曲线,例如: In today's era of rapid technological development, gamma correction (Gamma Correction) has been widely used in image display occasions, so that the display effect of the image is more in line with the visual psychological perception of the human eye. When gamma correction is to be performed on the original image, it is through a predetermined gamma curve, for example:
在现有技术中,是将伽马校正曲线以查询表(Look-up Table)的方式存储,当伽马校正单元欲进行伽马校正时是加载查询表至存储器中,以进行伽马校正。然而,存储器中的查询表数据容易因外界的干扰,如静电放电效应(Electrostatic Discharge,ESD)影响产生错误,进而使伽马校正效果变差,甚至产生错误。 In the prior art, the gamma correction curve is stored as a look-up table, and when the gamma correction unit intends to perform gamma correction, it loads the look-up table into the memory for gamma correction. However, the look-up table data in the memory is prone to errors due to external interference, such as electrostatic discharge (Electrostatic Discharge, ESD), which further degrades the gamma correction effect and even generates errors. the
发明内容Contents of the invention
本发明提供一种伽马校正(Gamma Correction)装置,其可有效地改善传统伽马校正装置容易受到静电放电效应(Electrostatic Discharge,ESD)影响及伽马校正结果容易产生错误的缺点,而实质上可有效地避免伽马校正装置的操作受到静电放电效应影响及在伽马校正装置产生永久性损坏时终止其操作,以提升其伽马校正正确性的优点。 The present invention provides a gamma correction (Gamma Correction) device, which can effectively improve the shortcomings of traditional gamma correction devices that are easily affected by electrostatic discharge (Electrostatic Discharge, ESD) and gamma correction results are prone to errors, and essentially The operation of the gamma correction device can be effectively prevented from being affected by the electrostatic discharge effect and its operation can be terminated when the gamma correction device is permanently damaged, so as to enhance the advantages of its gamma correction accuracy. the
根据本发明提出一种伽马校正装置,包括:加载控制单元、只读存储器(Read Only Memory,ROM)、静态存储器(Static Random Access Memory,SRAM)、检查码单元及计数单元。只读存储器,用以存储多笔伽马数据及一检查码;静态存储器,耦接该只读存储器,用以存储数据;加载控制单元,用以控制将该只读存储器中的所述伽马数据加载至该静态存储器的加载动作;检查码单元,用以接收并根据该检查码以判断该静态存储器中的所述伽马数据是否有错误;计数单元,用以累计该检查码单元连续检查出错误的次数;其中,当该检查码单元检查出错误时,该加载控制单元重新自该只读存储器中将所述伽马数据加载至该静态存储器中。 According to the present invention, a gamma correction device is proposed, including: a load control unit, a read only memory (Read Only Memory, ROM), a static memory (Static Random Access Memory, SRAM), a check code unit and a counting unit. A read-only memory, used to store a plurality of gamma data and a check code; a static memory, coupled to the read-only memory, for storing data; a loading control unit, used to control the gamma in the read-only memory The loading action of loading data into the static memory; the check code unit is used to receive and judge whether the gamma data in the static memory has errors according to the check code; the counting unit is used to accumulate the check code unit for continuous checking the number of errors; where, when the check code unit detects an error, the load control unit reloads the gamma data from the read-only memory into the static memory. the
为让本发明的上述内容能更明显易懂,下文特举一较佳实施例,并配合附图,作详细说明如下。 In order to make the above-mentioned content of the present invention more comprehensible, a preferred embodiment is specifically cited below, together with the accompanying drawings, and described in detail as follows. the
附图说明Description of drawings
图1示出了依照本发明实施例的伽马校正(Gamma Correction)装置的方块图。 FIG. 1 shows a block diagram of a gamma correction device according to an embodiment of the present invention. the
图2示出了图1的检查码单元18的示意图。 FIG. 2 shows a schematic diagram of the
附图符号说明 Description of reference symbols
10:伽马校正装置 10: Gamma correction device
12:加载控制单元 12: Load control unit
14:只读存储器 14: read-only memory
16:静态存储器 16: static memory
18:检查码单元 18: check code unit
20:计数单元 20: counting unit
22:逻辑单元。 22: Logic unit. the
具体实施方式Detailed ways
请参照图1,其示出了依照本发明实施例的伽马校正(Gamma Correction)装置的方块图。伽马校正装置10应用于显示系统,用以对输入灰阶值(未示出了)进行伽马校正,使显示系统能具有较佳的显示效果。伽马校正装置10包括加载控制单元12、只读存储器14、静态存储器16、检查码单元18及计数单元20。加载控制单元12分别提供地址信号Sad及写入信号Swr至只读存储器14及静态存储器16,用以控制将只读存储器14中的伽马数据加载至静态存储器的加载动作。 Please refer to FIG. 1 , which shows a block diagram of a gamma correction device according to an embodiment of the present invention. The
只读存储器14用以存储多笔伽马数据Sda及检查码Sch,并根据地址信号Sad来提供存储于对应地址的伽马数据Sda及该检查码Sch。静态存储器16根据写入信号Swr来接收并存储伽马数据Sda,并根据地址信号Sad来存储伽马数据Sda在静态存储器16中对应的地址中。 The read-
伽马数据Sda例如实质上用以表示出对应的一伽马曲线,用以映像输入灰阶值(未示出了)至对应的伽马数据Sda并将其输出。当伽马数据Sda加载完毕时,静态存储器16可映像输入灰阶值至对应的伽马数据,以进行对应的伽马校正。 The gamma data Sda is, for example, substantially used to represent a corresponding gamma curve for mapping an input gray scale value (not shown) to the corresponding gamma data Sda and outputting it. When the gamma data Sda is loaded, the
检查码单元18用以接收并根据存储在静态存储器16中的伽马数据Sda来运算得到运算数值(未示出)。检查码单元更接收并比较该检查码Sch与运算数值是否相等来判断伽马存储器16中存储的伽马数据Sda是否正确。其中,检查码单元18例如为传统循环冗余检查码(Cyclic Redundancy Check,CRC)检查码单元,其示意图如图2所示。在此实施例中,当检查码单元18运算出的运算数值等于该检查码Sch时,即表示该伽马数据Sda没有错误,若该运算数值不等于该检查码Sch时,即表示该伽马数据存有错误。计数单元20用以累计检查码单元18连续检查出错误的次数或计算重复加载次数n,并当检查码Sch与运算数值不相等时累加重复载入次数n=n+1,n为大于或等于0的整数。其中,每当检查码单元18判断静态存储器16的伽马数据为正确时,重置计数单元的累计值,意即将该计数单元累计的累计值归零。 The
加载控制单元12更用于当检查码单元18判断该伽马数据存有错误时,重新将只读存储器14中的伽马数据加载至静态存储器16中。如此,本实施例的伽马校正装置10可在静态存储器16加载的伽马数据Sda有误时自动地重新执行加载操作。这样一来,本实施例的伽马校正装置10可有效地避免伽马校正装置的操作受到偶发的外界的干扰,如静电放电效应(ElectrostaticDischarge,ESD)影响,而使伽马校正产生错误。 The
检查码单元18例如在完成比较检查码Sch与运算数值是否相等的操作时产生完成信号Sfi,并在检查码Sch与运算数值相等时产生输出信号Sou。计数单元20例如响应于完成信号Sfi及输出信号Sou来判断检查码Sch与运算数值是否相等。当计数单元20接收到完成信号Sfi及输出信号Sou时表示检查码Sch与运算数值为相等。 For example, the
当计数单元20接收到完成信号Sfi但未检测到输出信号Sou时即表示检查码Sch与运算数值不相等,亦即是静态存储器16中的伽马数据Sda是错误, 此时计数单元20累加重复加载次数n=n+1。 When the
当计数单元20计算的重复加载次数n累计超过一预设数值时,计数单元20产生终止信号Stm来关闭加载控制单元12、静态存储器16及检查码单元18。如此,以关闭伽马校正装置10以终止其伽马校正操作,其中,该预设数值为大于1的自然数。 When the repeated loading times n calculated by the
当重复加载次数超过预设数值时,表示伽马校正装置10实质上产生永久性地损坏,例如静态存储器16具有制程缺陷(Process Defect)或在长时间使用后静态存储器16的存储单元(Cell)产生损坏,导致其中的伽马数据Sda持续地为错误。此时,本实施例的伽马校正装置10通过终止信号Stm终止其的伽马校正操作。如此,本实施例的伽马校正装置10更可有效地在其中的硬件产生永久性损坏时有效地停止它的伽马校正,以避免影响显示系统的显示效果。 When the number of times of repeated loading exceeds the preset value, it means that the
加载控制单元12可根据输出信号Sou来判断检查码Sch与运算数值是否相等,并在其不相等时提供地址信号Sad及写入信号Swr来驱动静态存储器16加载只读存储器14中的伽马数据Sda。 The
在一实施例中,加载控制单元12包括一逻辑单元(未示出),用以在接收到一重置信号Sre的事件或未检测到输出信号Sou的事件发生时提供地址信号Sad及写入信号Swr来驱动静态存储器16加载只读存储器14中的伽马数据Sda。本实施例的逻辑单元例如是或非门(NOR),其用以响应于重置信号Sre及输出信号Sou的低电平来分别判断其对应的事件为触发,并当任一对应的事件触发时,重新将只读存储器14中的伽马数据加载至静态存储器16中。 In one embodiment, the
本实施例的伽马校正装置10更包括逻辑单元22,用以响应于地址信号Sad来接收并提供只读存储器14提供的检查码Sch至检查码单元18。 The
本实施例的伽马校正装置通过检查码单元来比较伽马数据的运算数据与检查码,并在得到的比较结果为不相同时控制伽马校正装置重新加载伽马数据至静态存储器中。如此,本实施例的伽马校正装置可有效地改善传统伽马校正装置容易受到静电放电效应影响及伽马校正结果容易产生错误的缺点,而实质上具有可有效地避免伽马校正装置的操作受到静电放电效应影响及其伽马校正正确性的优点。 The gamma correction device of this embodiment compares the operation data of the gamma data with the check code by the check code unit, and controls the gamma correction device to reload the gamma data to the static memory when the obtained comparison result is different. In this way, the gamma correction device of this embodiment can effectively improve the shortcomings of traditional gamma correction devices that are easily affected by the electrostatic discharge effect and the gamma correction results are prone to errors, and can effectively avoid the operation of the gamma correction device The advantage of being affected by electrostatic discharge effects and its gamma correction correctness. the
另外,本实施例的伽马校正装置更通过计数单元来判断静态存储器中的伽马数据是否连续地多次出现加载错误,并当静态存储器中的伽马数据连续 地错误一预定次数时判断伽马校正装置发生永久性地坏损以关闭伽马校正系统。如此,本实施例的伽马校正装置更具有可有效地判断并避免伽马校正装置的坏损影响其伽马校正正确性的优点。 In addition, the gamma correction device of this embodiment further uses the counting unit to judge whether the gamma data in the static memory has multiple load errors consecutively, and judges the gamma data when the gamma data in the static memory is continuously wrong for a predetermined number of times. Permanent damage to the horse correction mechanism shuts down the gamma correction system. In this way, the gamma correction device of this embodiment has the advantage of being able to effectively determine and prevent damage to the gamma correction device from affecting its gamma correction accuracy. the
综上所述,虽然本发明已以一较佳实施例揭露如上,然其并非用以限定本发明。本发明所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰。因此,本发明的保护范围当视本发明的申请专利范围所界定者为准。 In summary, although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Those skilled in the art of the present invention can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the patent scope of the present invention. the
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101481297A CN101377919B (en) | 2007-08-28 | 2007-08-28 | gamma correction device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101481297A CN101377919B (en) | 2007-08-28 | 2007-08-28 | gamma correction device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101377919A CN101377919A (en) | 2009-03-04 |
CN101377919B true CN101377919B (en) | 2010-12-08 |
Family
ID=40421426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101481297A Active CN101377919B (en) | 2007-08-28 | 2007-08-28 | gamma correction device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101377919B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708837B (en) * | 2009-09-29 | 2014-07-09 | 盛群半导体股份有限公司 | Brightness compensation device and method |
CN102034454B (en) * | 2009-09-29 | 2012-12-12 | 盛群半导体股份有限公司 | Method and device for prolonging service life of a display device with brightness compensation function |
CN102034459B (en) * | 2009-09-29 | 2012-10-03 | 盛群半导体股份有限公司 | Brightness compensation device and method |
CN102034411B (en) * | 2009-09-29 | 2013-01-16 | 群康科技(深圳)有限公司 | Gamma correction control device and method thereof |
CN102518429B (en) * | 2011-12-02 | 2014-06-04 | 上海神开石油化工装备股份有限公司 | Device and method for calibrating orientational double-gamma instrument balance |
CN108171658B (en) * | 2016-12-07 | 2021-07-20 | 中国科学院深圳先进技术研究院 | Method and system for detecting gamma correction |
CN112698782B (en) * | 2019-10-22 | 2024-12-27 | 中电智能科技有限公司 | Device and method for implementing data loading based on memory |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1575264A1 (en) * | 2004-03-10 | 2005-09-14 | Matsushita Electric Industrial Co., Ltd. | Image processing apparatus and image processing method |
KR20060015022A (en) * | 2004-08-13 | 2006-02-16 | 삼성에스디아이 주식회사 | Plasma display device and its afterimage removal method |
CN1770875A (en) * | 2004-11-04 | 2006-05-10 | 乐金电子(沈阳)有限公司 | Luminance coefficient correction device and method for image display device |
CN1954352A (en) * | 2004-03-17 | 2007-04-25 | 罗姆股份有限公司 | Gamma correction circuit, display panel, and display having them |
-
2007
- 2007-08-28 CN CN2007101481297A patent/CN101377919B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1575264A1 (en) * | 2004-03-10 | 2005-09-14 | Matsushita Electric Industrial Co., Ltd. | Image processing apparatus and image processing method |
CN1954352A (en) * | 2004-03-17 | 2007-04-25 | 罗姆股份有限公司 | Gamma correction circuit, display panel, and display having them |
KR20060015022A (en) * | 2004-08-13 | 2006-02-16 | 삼성에스디아이 주식회사 | Plasma display device and its afterimage removal method |
CN1770875A (en) * | 2004-11-04 | 2006-05-10 | 乐金电子(沈阳)有限公司 | Luminance coefficient correction device and method for image display device |
Also Published As
Publication number | Publication date |
---|---|
CN101377919A (en) | 2009-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101377919B (en) | gamma correction device | |
US8560925B2 (en) | System and method for handling bad bit errors | |
TWI515742B (en) | Memory systems and methods of detecting distribution of unstable memory cells | |
US8572444B2 (en) | Memory apparatus and testing method thereof | |
US20120317460A1 (en) | Identification and mitigation of hard errors in memory systems | |
US20120331345A1 (en) | Memory testing system and method of computing device | |
US11183126B2 (en) | Device and method for mura correction | |
EP1825371B1 (en) | System and method for enhanced error detection in memory peripherals | |
CN111176884A (en) | SEC (Security and Security) verification method and device for FPGA (field programmable Gate array) configuration memory | |
TWI389551B (en) | Gamma correction device | |
TWI406263B (en) | Brightness compensation apparatus and application method thereof | |
JP5604313B2 (en) | Memory access control device | |
US20180240518A1 (en) | Reading memory cells | |
TWI493562B (en) | Memory with error correction configured to prevent overcorrection | |
US20140092698A1 (en) | Semiconductor device and operating method thereof | |
US20130103913A1 (en) | Semiconductor storage device, system, and method | |
CN101187879A (en) | Electronic system and its data processing method | |
CN104200835A (en) | Method for recognizing a power outage in a data memory and recovering the data memory | |
US10867663B2 (en) | Control method for memory and non-transitory computer-readable media | |
JP2005004288A (en) | Error detection circuit | |
CN115079803B (en) | Abnormal power-down data storage device suitable for microcontroller | |
US11088711B2 (en) | Memory apparatus and data accessing method thereof | |
US7590913B2 (en) | Method and apparatus of reporting memory bit correction | |
WO2016101614A1 (en) | Method and apparatus for controlling black box, black box device and computer storage medium | |
US11630600B2 (en) | Device and method for checking register data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200415 Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China Patentee after: MEDIATEK Inc. Address before: Hsinchu County, Taiwan, China Patentee before: MStar Semiconductor, Inc. |