摘要 |
<p>The present invention relates to an image processing device and method, a storage medium, and a program for performing high-quality enlargement processing. Of input image data, a data buffer 32 holds data of target-pixel neighborhood data necessary for the enlargement processing. A data-position swapping unit 33 swaps the data positions of the target-pixel neighborhood data, as needed. A pixel priority determining unit 34 determines background color or foreground color with respect to each pixel of the target-pixel neighborhood data whose data positions were sapped. A data-selection-flag determining unit 36 determines a data selection flag of the target-pixel neighborhood data, the data selection flag being supplied from the pixel priority determining unit 34. Based on the data selection flag supplied from the data-selection-flag determining unit 36, a data selector 37 selects image data to be fit into the position of the target pixel from the target-pixel neighborhood data supplied from the data-position swapping unit 33. The present invention is applicable to OSD devices.</p> |