Patent ID: 8224124

Claim:
An image processing device comprising: a rescaling means configured to obtain an image subjected to scaling, and subject the image to rescaling with the scaling rate of the image; a block border information detecting means configured to detect a block size and a block border position from the image after rescaling; a detected information correcting means configured to correct the block size and the block border position detected by the block border information detecting means based on the scaling rate; and a detection control means configured to control the detection results of the block size and the block border position; wherein the rescaling means subjects the image to rescaling with each of a plurality of scaling rates; wherein the block border information detecting means detects the block size and the block border position from each of a plurality of the images obtained as a result of rescaling with each of the plurality of scaling rates, and also obtains a detected concentration rate representing the concentration rate of the detection thereof; wherein the detected information correcting means corrects the block size and the block border position that serve as the detection results based on the scaling rate corresponding to the highest detected concentration rate; and wherein the detection control means takes as detection results the block size and the block border position that correspond to the detected concentration rate that is the highest of a plurality of the block sizes and a plurality of the block border positions detected by the block border information detecting means.