| CPC G06T 3/40 (2013.01) | 9 Claims |

|
1. An image processing method for dilating an object in a binary image represented by run-length code, the image processing method comprising:
obtaining a target dilation amount representing how much the object is to be dilated;
determining a first dilation amount which has a smaller value as a density of runs in the binary image increases;
comparing the target dilation amount and the first dilation amount;
when the target dilation amount is larger than the first dilation amount based on the comparison, i) performing a first dilation processing of dilating the object by the first dilation amount and ii) performing a second dilation processing of dilating the object after the first dilation processing by a second dilation amount, the second dilation amount being a difference between the target dilation amount and the first dilation amount; and
when the target dilation amount is equal to or smaller than the first dilation amount based on the comparison, performing a third dilation processing of directly dilating the object by the target dilation amount.
|