US 9,811,767 B2
Image processing apparatus, image processing method and program
Takumi Akiyama, Kanagawa (JP)
Assigned to Ricoh Company, Ltd., Tokyo (JP)
Filed by Takumi Akiyama, Kanagawa (JP)
Filed on Jan. 27, 2016, as Appl. No. 15/7,334.
Claims priority of application No. 2015-019062 (JP), filed on Feb. 3, 2015; and application No. 2015-142381 (JP), filed on Jul. 16, 2015.
Prior Publication US 2016/0224873 A1, Aug. 4, 2016
Int. Cl. G06K 15/16 (2006.01)
CPC G06K 15/16 (2013.01) 13 Claims
OG exemplary drawing
 
1. An image processing apparatus for performing image processing on image data generated based on an image of a recording medium conveyed in a conveyance direction, comprising:
a processor,
a circuitry that is configured to perform a method, and
a memory that is coupled to the processor and stores a program, that, when executed, cause the processor to alternatively perform the method,
said method including the steps of:
detecting a horizontal edge included in the image data;
detecting a lateral direction edge including the horizontal edge and a slanted edge from the image data;
detecting a longitudinal direction edge including a vertical edge and the slanted edge from the image data;
detecting a slanted edge that is detected by calculating a logical conjunction of the detection result of the lateral direction edge and the longitudinal direction edge;
calculating coordinates of a distal end of the slanted edge, the other distal end of the slanted edge adjoining the horizontal edge; and
calculating coordinates related to an edge of the recording medium based on the horizontal edge and the calculated coordinates of the distal end, and
correcting a skew of the image of the recording medium based on the coordinates related to the edge of the recording medium,
wherein the method is alternatively performed by both of the circuitry and the processor, and
wherein the method includes calculating the logical conjunction of the detection result of the lateral direction edge and the detection result of the longitudinal direction edge so as to detect only edges that are present in both the detection result of the lateral direction edge and the detection result of the longitudinal direction edge and eliminate noise that is present in only one of the detection result of the lateral direction edge and the detection result of the longitudinal direction edge.