Image processing apparatus, rectangle region detection method, and computer-readable, non-transitory medium
AssigneePfu Limited
InventorTomoaki Wada
Life of this patent
Estimating the term…
Abstract
An image processing apparatus includes an edge pixel extractor for extracting an edge pixel from an input image, an end pixel extractor for extracting an end pixel in the input image, an edge pixel addition module for adding the end pixel extracted by the end pixel extractor as an edge pixel based on a pixel value of a pixel located within a first range from the end pixel, a straight line extractor for extracting straight lines from the edge pixel extracted by the edge pixel extractor and the end pixel added as an edge pixel by the edge pixel addition module, and a rectangle region detector for detecting a rectangle region from the extracted straight lines.
Claims8
An image processing apparatus comprising:
- an image memory for storing an input image;
- and
- a processor for extracting an edge pixel from an input image based on pixel values of pixels in the input image,
- extracting an end pixel of an end of an image reading area for imaging a document in the input image,
- adding the extracted end pixel as an edge pixel based on a pixel value of a pixel located within a first range from the end pixel,
- extracting straight lines from the extracted edge pixel and the end pixel added as an edge pixel and
- detecting a rectangle region from the extracted straight lines.
A rectangle region detection method executed by an image processing apparatus, comprising:
- extracting an edge pixel from an input image based on pixel values of pixels in the input image;
- extracting an end pixel of an end of an image reading area for imaging a document in the input image;
- adding the extracted end pixel as an edge pixel based on a pixel value of a pixel located within a first range from the end pixel;
- extracting straight lines from the extracted edge pixel and the end pixel added as an edge pixel;
- and
- detecting a rectangle region from the extracted straight lines.
A computer-readable, non-transitory medium storing a computer program, wherein the computer program causes a computer to execute a process, the process comprising:
- extracting an edge pixel from an input image based on pixel values of pixels in the input image;
- extracting an end pixel of an end of an image reading area for imaging a document in the input image;
- adding the extracted end pixel as an edge pixel based on a pixel value of a pixel located within a first range from the end pixel;
- extracting straight lines from the extracted edge pixel and the end pixel added as an edge pixel;
- and
- detecting a rectangle region from the extracted straight lines.
Dependencies are inferred from the claim text.