Patent ID: 8072494

Claim:
A test device for automatically testing a display device, comprising: an image capturing unit capable of capturing images of testing images displayed by the display device; a storage unit capable of storing the captured testing images and an image format table, wherein each of the captured images is composed of at least two color intervals in columns of equal size and typically not the same color as the color intervals, and each of the color intervals is assigned an identification code, and each of an interval sequences of the color intervals of the image corresponds to an image format, and the image format table records a plurality of image formats corresponding to the interval sequences of the color intervals of the images; a display unit; a processing unit comprising: an image acquiring module capable of acquiring a horizontal strip of a to-be-tested image which includes at least a portion of each of the color interval column of the image; a sample determining module capable of comparing a standard deviation A of RGB values of pixels in a narrow vertical sample of the horizontal strip with a standard deviation B of RGB values of pixels of an adjacent vertical sample to obtain samples of each color interval from a plurality samples taken; an interval sequence determining module capable of taking pixels from a plurality vertical samples of each color interval to calculate a mean value of the RGB values of each color interval respectively, determining a color corresponding to each of color intervals according to the calculated mean values of the RGB values, and determining an interval sequence of the to-be-tested image and the code sequence of the color intervals; an image format determining module capable of determining an image format corresponding to the interval sequence according to the image format table.