Patent ID: 8405873
Filing Date: 2013-03-26
Classification: H04N

Abstract:
1. An image processing apparatus, comprising: a reading device which reads a document image and generates image data; a first image processing portion which performs first image processing of the image data generated by the reading device; a compressed data storage portion; a first coding/decoding portion which performs coding with data compression to the image data after the first image processing, and causes the compressed data storage portion to store the coded data as a first coding processing, and then performs decoding with data expansion to the stored data and reads out the data from the compressed data storage portion as a first decoding processing; a second image processing portion which performs second image processing to the image data after the first image processing that is read out by the first coding/decoding portion; a second coding/decoding portion which performs coding with data compression, different from that of the first coding/decoding portion, to the image data after the second image processing, and causes the compressed data storage portion to store the coded data as a second coding processing, and then performs decoding with data expansion to the stored data and reads out the data from the compressed data storage portion as a second decoding processing; and a system control portion, wherein, when document images of a plurality of pages are read sequentially and data for a plurality of pages, which is image data of the document images of the plurality of pages, is generated by the reading device, the system control portion: causes the first image processing portion to perform the first image processing for partial data which is part of the data for the plurality of pages; causes the first coding/decoding portion to perform the first coding processing for the partial data after the first image processing; causes the first coding/decoding portion to perform the first decoding processing for the partial data after the first coding processing; causes the second image processing portion to perform the second image processing for the partial data after the first decoding processing; causes the second coding/decoding portion to perform the second coding processing for the partial data after the second image processing in order to generate the partial data after the first coding processing and the partial data after the second coding processing; and causes the compressed data storage portion to store the partial data after the first coding processing and the partial data after the second coding processing; compares the partial data after the first coding processing with the partial data after the second coding processing stored in the compressed data storage portion; if the partial data after the first coding processing is larger, causes the first image processing portion to perform the first image processing for remaining data other than the partial data in the data for the plurality of pages; causes the first coding/decoding portion to perform the first coding processing for the remaining data after the first image processing; causes the first coding/decoding portion to perform the first decoding processing for the remaining data after the first coding processing; causes the second image processing portion to perform the second image processing for the remaining data after the first decoding processing; causes the second coding/decoding portion to perform the second coding processing for the remaining data after the second image processing in order to store the remaining data after the second coding processing in the compressed data storage portion that has stored the partial data after the second coding processing; and causes the second coding/decoding portion to perform the second decoding processing to read and output the data for the plurality of pages from the compressed data storage portion; and if the partial data after the first coding processing is smaller, causes the first image processing portion to perform the first image processing for remaining data other than the partial data in the data for the plurality of pages; causes the first coding/decoding portion to perform the first coding for the remaining data after the first image processing in order to store the remaining data after the first coding processing in the compressed data storage portion, which has stored the partial data after the first coding processing; causes the first coding/decoding portion to perform the first decoding processing to read the data for the plurality of pages from the compressed data storage portion; and causes the second image processing portion to perform the second image processing and output the data for the plurality of pages after the first decoding processing.