CN1304094A - Automatic detection method and detection circuit of palette color difference in computer image - Google Patents
Automatic detection method and detection circuit of palette color difference in computer image Download PDFInfo
- Publication number
- CN1304094A CN1304094A CN 00101049 CN00101049A CN1304094A CN 1304094 A CN1304094 A CN 1304094A CN 00101049 CN00101049 CN 00101049 CN 00101049 A CN00101049 A CN 00101049A CN 1304094 A CN1304094 A CN 1304094A
- Authority
- CN
- China
- Prior art keywords
- image
- signal
- test data
- rgb
- data value
- 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.)
- Granted
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
A color difference automatic detection circuit of color palette of computer image comprises an analog-digital converter, a buffer and a PCI interface logic circuit. The RGB image analog voltage signal is converted into RGB image digital signal and stored in the buffer. During detection, a, setting the display mode of the display, b, setting the initial RGB image test data value and a preset test maximum value, c, filling the initial test data value into each pixel of the image frame buffer through the image control interface. Comparing whether the RGB image digital signal is consistent with the RGB test data value, if not, sending an error message, if so, comparing R, G, B image digital signals one by one until the test data value reaches the maximum value.
Description
The present invention is meant a kind of in order to detect the method and the circuit thereof of palette colour difference in the computer image relevant for a kind of detection technique of computer image signal especially.
In a computer system, display is an indispensable output unit, and the user sees through this indicator screen and mode that can vision obtains the output message of this computer system.And because the generally use of windowing software, the display of colored Graphics Mode has become the standard output device of most of personal computer systems.And, mostly be to be plugged on the pci bus of computer system via an image control interface at the color monitor that generally uses now.
The ultimate principle of color monitor is that each basic primary colors (being R, G, B three primary colors) all uses an electron gun, and separately point is presented on separately the color dot.In the display of this type, each pixel all is made up of three points of adjacent RGB, and each color dot has the variation of color range, therefore can produce shades of colour.As for the color that produces why, then by R, G, decide with the suffered impact size of three points of B.The size of impact is then by the decision of the numerical value that stores in the display-memory, therefore as long as suitable this numerical value of setting, and the color on promptly can the control flow curtain.And aspect image quality, can be divided into several display modes, for example high color pattern (High-Color Mode), real color pattern (True-Color Mode) according to its resolution ... Deng.
This color monitor can be divided into direct mapping of a set onto another mode and indirect mapping of a set onto another mode if comply with the corresponding relation of its display-memory and screen pixels.The display-memory of the typical directly color display systems of mapping of a set onto another mode and the corresponding relation of screen pixels are directly to use three display-memories to store the rgb value of each pixel.The rgb signal of display-memory output is sent to the digital to analog converter DAC element of a n position earlier, is converted to RGB image simulation signal, is sent to the CRT circuit of display system again, produces the pixel of screen.
In direct mapping of a set onto another mode, can demonstrate 2 simultaneously if wish
24Planting color, is 1024 at resolution then
*In 1024 the system, need altogether to use 3
*1024
*The display-memory of 1024=3M hyte.This system that can demonstrate 224 kinds of colors simultaneously is commonly referred to as real coloured silk (true color) system.Owing to use more storer so cost also expensive.If in system, do not need to demonstrate 2 simultaneously
24Plant color, each only the needs used wherein a part of color, then can adopt the mode of indirect mapping of a set onto another.
In the system of indirect mapping of a set onto another mode, the output of display-memory is not directly to be used as rgb signal, but be used as mapping of a set onto another table (Mapping Table, the mapping of a set onto another table also is called palette) index, in the mapping of a set onto another table, to choose one group of rgb signal that has configured in advance, (every m position is one group to mapping of a set onto another predicative sentence through choosing, and representative has 2 respectively
mThe rgb signal of individual color range), is sent to the DAC circuit conversion again and becomes simulating signal, be access to CRT monitor then.In this mode, when the output of each display-memory all is n position, though only can use 2 at every turn
3n(wherein 3n<m) plants color, but the content of mapping of a set onto another table can be when program be carried out, and the making alterations of dynamic changing color of pixel in the screen, so in the total system, has 2
mIt is available to plant color.
Since on the display screen shown RGB change color greatly and the value of chromatism between every kind of color very little, be not that human vision can accurately be grasped.That is, owing to the restriction of human vision sensitivity, make and can't singly see the mode that look with vision, capture the aberration problem of this image palette fully.So, then ought more can grasp the situation of the image palette RGB aberration of color monitor if can design a kind of device that can be used to detect the computer image palette colour difference.
In view of this, fundamental purpose of the present invention promptly provides a kind of method that is used for detecting the palette RGB aberration of computer image signal, whether it utilizes under the control of the RGB output image signal of coherent signal, image control interface of bus in this computer system and a control program, can detect this RGB output image signal and can conform to test data values.The auto color that technology of the present invention can be used as high color pattern (High-Color Mode), real color pattern (True-Color Mode) and other different mode detects and comparison.
Another object of the present invention provides a kind of automatic testing circuit of palette colour difference of computer image, in order to detect the aberration of the RGB signal of video signal that the image control interface is exported in the computer system, this testing circuit mainly includes analog-to-digital converter, its input end is connected to the rgb signal output terminal of this image control interface respectively, so that this RGB image simulation voltage of signals level conversion is become the RGB video digital signal; Impact damper, its input end is connected in the output terminal of this analog-to-digital converter, sends the RGB video digital signal that process was changed here in order to store this analog-to-digital converter; One pci interface logic circuit is connected in the pci interface of this computer system, in order to provide address decoding signal, wafer enable signal, read to this impact damper.
Another object of the present invention provides a kind of automatic detection method of palette colour difference of computer image, this detection method mainly is that a beginning test data values of setting that opens is seen through the image control interface and inserts in each pixel of image frame (frame) impact damper of image control interface, the RGB image simulation conversion of signals that the image control interface that receives is exported becomes the RGB video digital signal then, relatively whether this receives and conforms to this RGB test data values through the RGB video digital signal of changing again, if both do not conform to, promptly send error messages, if both conform to, then carry out R one by one, G, the comparison of three video digital signals of B is up to R, G, three image test data values of B reach till this predetermined test maximal value.
Other purpose of the present invention and detail circuits framework and method will be further described by following preferred embodiment explanation and accompanying drawing, wherein:
Fig. 1 shows that one includes the simple synoptic diagram of computer system of pci bus;
Fig. 2 is the preferred embodiment circuit diagram that shows palette colour difference testing circuit of the present invention;
Fig. 3 is the further circuit diagram of pci bus interface logical circuit in the displayed map 2, also shows the annexation of this pci bus interface logical circuit and pci bus and each coherent signal of impact damper simultaneously;
Fig. 4 is a control flow chart of the present invention.
The preferred embodiment explanation:
Fig. 1 is the simple synoptic diagram that shows a typical personal computer system, in this system architecture, central processing unit 10 is to see through system's local bus 20 (Local Bus) to be connected with primary memory 11, and this local bus 20 includes an address bus 21, a data bus 22, a control bus 23.This local bus 20 can see through a PCI bridge 12 (PCI Bridge) and connect a pci bus 24.
One image control interface 3 is to be connected on the pci bus 24 of this computer system, sends the signal of video signal of desiring to be presented on the color monitor 31 in order to receive this computer system.These image control interface 3 inside include assemblies such as display-memory, image processor, digital to analog converter, processing through this image control interface, and can send image simulation signal RGB at its image output terminal, be sent to display 31 through connector, cable again, and on this display 31, produce screen pixels.
In framework of the present invention, provide a palette colour difference testing circuit 4, its input end is to receive the image simulation signal RGB that this image control interface 3 is produced.The output terminal of this palette colour difference testing circuit 4 then is to be connected to pci bus 24 via a pci interface logic circuit 5.
Fig. 2 is the embodiment circuit diagram that shows palette colour difference testing circuit of the present invention, this circuit includes one and simulates to digital conversion circuit 41, it is made up of three analog-to-digital converter 41a, 41b, 41c, its input end is image simulation signal R, G, the B that is used for respectively receiving as shown in Figure 1, so that this image simulation voltage of signals level conversion is become the RGB video digital signal.
The output terminal of this analog-to-digital converter 41a, 41b, 41c is to be connected to the impact damper of being made up of three buffer cells 42a, 42b, 42c 42 respectively, sends RGB video digital signal through changing here in order to store this analog-to-digital converter 41a, 41b, 41c respectively.This buffer cell 42a, 42b, 42c see through a pci interface logic circuit 5 again and are connected to pci bus 24.The function of this pci interface logic circuit 5 mainly is in order to provide address decoding signal, wafer enable signal, read to this buffer cell 42a, 42b, 42c.
Fig. 3 is the further circuit diagram of pci bus interface logical circuit 5 in the displayed map 2, also shows this pci bus interface logical circuit 5 and the annexation of pci bus 24 with impact damper 42 each coherent signal simultaneously.In the pci bus specification of standard, its pin can be divided into system support pin, address and data pin, interface control signal, the secondary year signal of bus, reach the error informing signal according to function.Pin function related to the present invention and definition outline as follows: 1.PCICLK (Clock, pci system clock, output): the pci bus clock signal is provided, and its frequency range is 0~33MHz.2.AD0~AD31 (address bus, output): the address/data signal of 32 pci bus.3.C/BE3#~C/BE0# (command/byte enable, the activation of order/position, I/O): the order of multiplexed output and hyte enable signal.When address phase, the corresponding hyte of indication will be referred to the data transfer if start then; When data phase, be function as order, the type of indication bus.(4.FRAME# electronegative potential starts for frame, I/O) started by bus controller, the beginning that designation data shifts, and continue during the whole action.5.IRDY# (electronegative potential starts for Initiator Ready, I/O) started by bus controller, indication is placed in the data of setting up on the bus, or has been ready for reading of data in bus.6.DEVSEL# (Device Select, the target device is chosen, electronegative potential starts): start by the device that is selected, inform bus controller, its cognitive setting position to oneself.7.TRDY# (electronegative potential starts for Target Ready, I/O) started by the device that is selected, indication is placed on data on the bus, or has been ready for reading of data in bus.
This pci bus after bus controller is obtained bus control right, if its desires transferring data, then starts the FRAME# signal when carrying out the transfer of data, and will open that the beginning address places address bus and order places on the C/BE# signal wire.After a clock period, bus controller starts BE ' S# and IRDY# signal, and the reception data have been ready in expression.If it places the data of setting up on the data bus, then start TRDY#; Otherwise, do not start TRDY#.Bus controller detects the TRDY# signal of startup, is about to the data on the readout data bus.If bus controller is not ready for when receiving data as yet, can not start the TRDY# signal, inform that target device (impact damper) postponement places data on the data bus.Therefore, via the mutual control of TRDY# and IRDY# two signal line, bus controller and target device, i.e. transferring data smoothly.
By as can be known shown in Figure 3, include an address latch circuit (address latch circuit) 51 in the pci interface logic circuit 5 of the present invention, it is the address date line AD[31 that is connected in the pci bus 24 of this computer system ... 0], in order to latch the address signal of this address date line.
The address wire that is latched through address latch circuit 51 can be again via an address decoding circuitry 52, and the address signal that this latchs is decoded, to produce a wafer enable signal CE# to this impact damper 42.This address decoding circuitry 52 also can produce a DEVSEL# signal to this pci bus.
One data-latching circuit 53 is the address date line AD[31 that are connected in this pci bus 24 ... 0], in order to latching the data-signal of this address date line, and the latched data signal is delivered to the FPDP DATA of this impact damper 42.
One order latch cicuit 54 is the C/BE# control lines that are connected in this pci bus 24, in order to latch the control command signal of this control line.The command signal that one command decode circuit 56 can be latched this order latch cicuit 54 is decoded, to produce a read-write control signal R/W to impact damper 42.This storer control signal generation circuit 57 also can produce a TRDY# signal to this pci bus.
The C/BE# control line of this pci bus 24 also is connected to an enable signal latch cicuit 55 simultaneously, in order to latch the position enable signal of this control line, and its latched signal can be delivered in the storer control signal generation circuit 57.
In addition, coherent signal FRAME#, the IRDY# of this pci bus 24, PCICLK are connected to one to latch in the control logic circuit 58, produce required latch control signal to address latch circuit 51, data-latching circuit 53, order latch cicuit 54 so that this latchs control logic circuit 58.
Fig. 4 shows control flow chart of the present invention, cooperates earlier figures 1 to circuit framework shown in Figure 3 now, does an explanation as back:
In opening beginning step 101, be the display mode of at first setting display.In an embodiment of the present invention, be to do a preferred embodiment explanation with the color pattern of reality (True Color) of 24 of each pixels.
Then in step 102, setting a RGB test data values (RGB Data Pattern) that opens the beginning is (0,0,0), and in step 103, this is opened beginning test data values (0,0,0) inserts in each pixel of the image frame impact damper (Video Frame Buffer) in the image control interface.Opening the beginning test data values and can be handled in this image frame impact damper through the change-over circuit in the image control interface, and send RGB image simulation signal at its output terminal.This signal becomes the RGB video digital signal with RGB image simulation conversion of signals, and is stored in the impact damper through after the testing circuit of the present invention.In step 104, read the RGB video digital signal through changing in the impact damper in the testing circuit then.
After reading this RGB video digital signal, whether control flow of the present invention can relatively this receive and conform to this RGB test data values through the RGB video digital signal of changing, if both do not conform to, promptly send error messages, if both conform to, then carry out the comparison of R, G, three video digital signals of B one by one, till R, G, three image test data values of B reach this predetermined test maximal value.
In preferred embodiment step of the present invention, after reading this RGB video digital signal, in step 105, relatively whether this RGB video digital signal conforms to the RGB test data values of originally inserting to the image frame impact damper.If both do not conform to, promptly send error messages (step 106), if both conform to, then continue to carry out the following step.
Earlier in step 107, whether the test data values of judging the R image is a presumptive test maximal value (numerical value of this embodiment is 255), if not, then in step 108, increase progressively the test data values of this R image, and get back in the step 103, the step of repeated execution of steps 103 to 108 arrives till 255 up to the test data values of this R image.
When the test data values of this R image had arrived 255, promptly execution in step 109, and the test data values of R image is reset to 0.Then in step 110, whether the test data values of judging the G image is a presumptive test maximal value 255, words if not, then in step 111, increase progressively the test data values of this G image, and get back in the step 103, repeat the step of above-mentioned steps 103 to 110, arrive till 255 up to the test data values of this G image.
When the test data values of this G image had arrived 255, promptly execution in step 112, and the test data values of G image is reset to 0.Then in step 113, whether the test data values of judging the B image is a presumptive test maximal value 255, words if not, then in step 114, increase progressively the test data values of this B image, and get back in the step 103, repeat the step of above-mentioned steps 103 to 113, arrive till 255 up to the test data values of this B image.When the test data values of this B image has arrived 255, promptly finish the aberration testing process (step 115) of whole palette.
In sum; automatic testing circuit of the palette colour difference of computer image provided by the present invention and method; can reach the effect of expection; can be used to detect the aberration situation of the RGB image palette under the various display modes, have the height industrial utilization, and before patented claim, also do not have identical or similar techniques openly formerly; be to be understood that; the above only is the preferred embodiments of the present invention, and protection scope of the present invention should limit with claim of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB001010492A CN1173267C (en) | 2000-01-11 | 2000-01-11 | Automatic color difference detection method and detection circuit for color palette of computer image |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB001010492A CN1173267C (en) | 2000-01-11 | 2000-01-11 | Automatic color difference detection method and detection circuit for color palette of computer image |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1304094A true CN1304094A (en) | 2001-07-18 |
| CN1173267C CN1173267C (en) | 2004-10-27 |
Family
ID=4575761
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB001010492A Expired - Fee Related CN1173267C (en) | 2000-01-11 | 2000-01-11 | Automatic color difference detection method and detection circuit for color palette of computer image |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1173267C (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103453994A (en) * | 2012-05-29 | 2013-12-18 | 技嘉科技股份有限公司 | Color difference test fixture, color difference test interface device and color difference test method |
| CN106484573A (en) * | 2015-09-02 | 2017-03-08 | 仁宝电脑工业股份有限公司 | High-definition multimedia interface test system and test method thereof |
-
2000
- 2000-01-11 CN CNB001010492A patent/CN1173267C/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103453994A (en) * | 2012-05-29 | 2013-12-18 | 技嘉科技股份有限公司 | Color difference test fixture, color difference test interface device and color difference test method |
| CN103453994B (en) * | 2012-05-29 | 2016-03-09 | 技嘉科技股份有限公司 | Color difference test fixture, color difference test interface device and color difference test method |
| CN106484573A (en) * | 2015-09-02 | 2017-03-08 | 仁宝电脑工业股份有限公司 | High-definition multimedia interface test system and test method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1173267C (en) | 2004-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4490797A (en) | Method and apparatus for controlling the display of a computer generated raster graphic system | |
| US5828383A (en) | Controller for processing different pixel data types stored in the same display memory by use of tag bits | |
| US4591842A (en) | Apparatus for controlling the background and foreground colors displayed by raster graphic system | |
| US4663619A (en) | Memory access modes for a video display generator | |
| JPS6334471B2 (en) | ||
| GB2104354A (en) | Writing text characters on computer graphics display | |
| US20110273476A1 (en) | Low Resolution Graphics Mode Support Using Window Descriptors | |
| JPH0426471B2 (en) | ||
| JP2649373B2 (en) | Video device for providing video data to a display device | |
| JP2001116770A (en) | Measuring equipment and mask test method | |
| US4804948A (en) | Video display control system | |
| CA1277788C (en) | Emulation attribute mapping for a color video display | |
| CN1173267C (en) | Automatic color difference detection method and detection circuit for color palette of computer image | |
| US5488698A (en) | Rasterization of line segments using difference vectors | |
| EP0360530A2 (en) | Programmable multi-format display controller | |
| TW315458B (en) | ||
| JPH0218594A (en) | display control device | |
| US5553204A (en) | Image output apparatus for gradation image data | |
| US5367616A (en) | Isopleth generator for applying isopleths to digital picture data and method therefor | |
| TW448369B (en) | Mapping pallet colors automatic detecting method and its detecting circuit for computer images | |
| US6529205B2 (en) | Image data display apparatus in which image data are displayed on terminal display unit and NTSC system display unit | |
| JP3002951B2 (en) | Image data storage controller | |
| KR930003408B1 (en) | Emulation attribute mapping for a color video display | |
| KR200212868Y1 (en) | semiconductor device | |
| JP3015227B2 (en) | Image processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C19 | Lapse of patent right due to non-payment of the annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |