Image processing apparatus, control method, and non-transitory computer-readable medium
AssigneeSharp Kabushiki Kaisha
InventorsJumpei Sakamoto, Akihito Yoshida, Yasutaka Hirayama
Life of this patent
Estimating the term…
Abstract
An image processing apparatus includes: an input device that inputs a document image; and a controller, wherein the controller removes a streak from the image by a first method, removes a streak from the image by a second method that differs from the first method, and executes crop processing on the image from which the streaks have been removed.
Claims8
An image processing apparatus comprising:
- an input device that inputs a document image;
- and
- a controller, wherein:
- the controller
- removes a first streak from the image by a first method,
- removes a second streak from the image by a second method that differs from the first method, and
- executes crop processing on the image from which the first streak and the second streak have been removed,
- in the first method, the controller detects, as the first streak, an edge near a parallel side, which is parallel to a primary scanning direction in the image, and removes the first streak, and
- among pixels forming a row that includes the first streak detected near the parallel side, the controller further replaces at least one pixel included from the parallel side to an end portion of the document with another pixel and thereby removes the first streak.
An image processing apparatus comprising:
- an input device that inputs a document image;
- and
- a controller, wherein:
- the controller
- removes a first streak from the image by a first method,
- removes a second streak from the image by a second method that differs from the first method, and
- executes crop processing on the image from which the first streak and the second streak have been removed,
- in the second method, the controller;
- aggregates, per row, a number of edge pixels included in a row of the image,
- detects, as the second streak, at least one pixel included in the row in which the number of the edge pixels is larger than a predetermined threshold, and
- removes the second streak.
An image processing apparatus comprising:
- an input device that inputs a document image;
- and
- a controller, wherein:
- the controller
- removes a first streak from the image by a first method,
- removes a second streak from the image by a second method that differs from the first method,
- executes crop processing on the image from which the first streak and the second streak have been removed,
- generates a difference image in a primary scanning direction and a difference image in a secondary scanning direction, the difference image in the primary scanning direction generated based on a difference in pixel value between adjacent pixels in the primary scanning direction, and the difference image in the secondary scanning direction generated based on a difference in pixel value between adjacent pixels in the secondary scanning direction, and
- removes the first streak by using the difference image in the primary scanning direction and the difference image in the secondary scanning direction.
A control method for an image processing apparatus comprising:
- removing a first streak from an input image by a first method;
- removing a second streak from the image by a second method that differs from the first method;
- executing crop processing on the image from which the first streak and the second streak have been removed;
- generating a difference image in a primary scanning direction and a difference image in a secondary scanning direction, the difference image in the primary scanning direction generated based on a difference in pixel value between adjacent pixels in the primary scanning direction, and the difference image in the secondary scanning direction generated based on a difference in pixel value between adjacent pixels in the secondary scanning direction;
- and
- removing the first streak by using the difference image in the primary scanning direction and the difference image in the secondary scanning direction.
A non-transitory computer-readable medium that stores a program including one or more instructions that, when executed by at least one processor, cause the at least one processor to:
- remove a first streak from an input image by a first method;
- remove a second streak from the image by a second method that differs from the first method;
- execute crop processing on the image from which the first streak and the second streak have been removed;
- generate a difference image in a primary scanning direction and a difference image in a secondary scanning direction, the difference image in the primary scanning direction generated based on a difference in pixel value between adjacent pixels in the primary scanning direction, and the difference image in the secondary scanning direction generated based on a difference in pixel value between adjacent pixels in the secondary scanning direction;
- and
- remove the first streak by using the difference image in the primary scanning direction and the difference image in the secondary scanning direction.
Dependencies are inferred from the claim text.