US 12,437,360 B2
Image processing method and recording medium for dilating an object in a run-length encoded binary image
Takuya Yasuda, Kyoto (JP)
Assigned to SCREEN HOLDINGS CO., LTD., Kyoto (JP)
Filed by SCREEN HOLDINGS CO., LTD., Kyoto (JP)
Filed on Jan. 23, 2023, as Appl. No. 18/157,943.
Claims priority of application No. 2022-009990 (JP), filed on Jan. 26, 2022.
Prior Publication US 2023/0237615 A1, Jul. 27, 2023
Int. Cl. G06T 3/40 (2024.01)
CPC G06T 3/40 (2013.01) 9 Claims
OG exemplary drawing
 
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.