A method of establishing at least one predetermined table for a driving circuit adapted for driving a data line of a display panel, wherein the display panel includes a plurality of sub-pixel units, each of the plurality of sub-pixel units is driven by a pixel voltage associated with a pixel data to show brightness, the method comprising:
- examining a polarity state of the pixel data and a polarity state of a previous pixel data which is provided prior to the pixel data to determine one of the at least one predetermined table for establishing;
- providing a given value of the pixel data for showing a reference brightness and sensing the reference brightness by an optical sensor;
- comparing the reference brightness to an ideal brightness which is expected to be shown, and adjusting the given value to a final value until a final brightness corresponding to the final value is identical to the ideal brightness;
- recording the final value of the pixel data as one entry of the predetermined table for establishing;
- and
- collecting a plurality of the entries so as to form the predetermined table for establishing, wherein a first mapping table is established when the polarity state of the previous pixel data which is provided prior to the pixel data is positive, and the polarity state of the pixel data remains at a positive polarity, and wherein a second mapping table is established when the polarity state of the previous pixel data which is provided prior to the pixel data is negative, and the polarity state of the pixel data remains at a negative polarity.