摘要 |
An image data processing-device for converting first image data into second image data by reducing the first image data horizontally at a reduction rate of 1/Kx while reducing the first image data vertically at a reduction rate of 1/Ky, in which integer parts of Kx and Ky are Ax and Ay respectively while floating-point parts of Kx and Ky are alpha x and alpha y respectively. Such image data processing device comprises a first memory for holding said first image data, a second memory having an area where said gray-level pixel data will be stored, an area setting unit for setting a rectangle-shaped area of the first image data which corresponds to each pixel of the second image data, the rectangle-shaped area having Ly pixel lines and Lx pixel columns, in which Ly is Ay+1 at a possibility of alpha y or Ay at a possibility of 1- alpha y while Lx is Ax+1 at a possibility of 60 x or Ax at a possibility of 1- alpha x, an area readout unit for reading out a pixel level of every pixel held in each rectangle-shaped area, and outputting the pixel levels, an operation unit for integrating a pixel level of each rectangle-shaped area and obtaining gray-level pixel data by applying a predetermined operation to the integration result, and a writing unit for writing the gray-level pixel data into the second memory, the gray-level pixel data corresponding to the rectangle-shaped area of the first memory.
|