Patent ID: 8169656
Filing Date: 2012-05-01
Classification: G06T,H04N

Abstract:
1. An image processing device for processing an original image, comprising: a processing unit that resizes the original image to an output image with a scaling factor, the output image comprising a plurality of target pixels, the original image comprising a plurality of horizontal lines, each of the plurality of horizontal lines comprising a plurality of pixels; and a storage unit having a predetermined storage capacity, the storage unit sequentially storing portions of the original image, wherein the processing unit comprises: a determining unit that determines how many horizontal lines are to be stored in the storage unit at once as the portion of the original image, based on a number of pixels each horizontal line has; a selecting unit that selects a first resizing method to resize the original image when the determining unit determines that a first number of horizontal lines are to be stored in the storage unit at once as the portion of the original image, the selecting unit selecting a second resizing method to resize the original image when the determining unit determines that a second number of horizontal lines are to be stored in the storage unit at once as the portion of the original image; a calculating unit that, each time one of the portions of the original image is stored in the storage unit, calculates a gray scale of the target pixels of the portion of the original image stored in the storage unit with the first resizing method on the first number of horizontal lines basis when the first resizing method is selected by the selecting unit, and with the second resizing method on the second number of horizontal lines basis when the second resizing method is selected by the selecting unit, thereby obtaining a resized image corresponding to the whole original image; and a printing unit that prints the output image on a recording medium on a horizontal line basis.