Patent ID: 7394579

Claim:
A data writing apparatus for converting pixel signals outputted from an image reading apparatus to pixel data as digital signals and for writing the pixel data to a data storage memory, the image reading apparatus comprising: a first sensor including light receiving elements provided per pixel and arranged in a primary scanning direction; a second sensor including light receiving elements provided per pixel, arranged in the primary scanning direction and disposed in parallel to and at a predetermined distance away from the first sensor in a secondary scanning direction; a first outputting device that outputs respective pixel signals obtained from the respective light receiving elements constituting the first sensor in order of arrangement of the light receiving elements; a second outputting device that outputs respective pixel signals obtained from the respective light receiving elements arranged at even-numbered positions among the light receiving elements constituting the second sensor in order of arrangement of the light receiving elements; and a third outputting device that outputs respective pixel signals obtained from the respective light receiving elements arranged at odd-numbered positions among the light receiving elements constituting the second sensor in order of arrangement of the light receiving elements, the data writing apparatus comprising: a pixel data outputting device that converts the pixel signals outputted from the first, second and third outputting devices to the pixel data as digital signals and outputs the pixel data as a serial data stream in a predetermined pattern showing output order of the respective outputting devices; a calculating device that repeats add and subtract operation to a predetermined initial value according to the output pattern of the pixel data from the pixel data outputting device to calculate pixel positions of the respective pixel data outputted from the pixel data outputting device; an address setting device that sets destination memory addresses to write the pixel data outputted from the pixel data outputting device based on the calculation results by the calculating device; and a writing device that writes the pixel data outputted from the pixel data outputting device to areas in the data storage memory which correspond to the destination memory addresses set by the address setting device.