The image processing device of the present invention maps signal values on saturation segments to corresponding signals on an achromatic axis. A source line and a gate line are overlapped with part of a pixel electrode. When the touch event occurs, the detection coordinate generated by the touch panel is sequentially stored.