Image processing method, image processing apparatus, image output apparatus and storage medium
AssigneeRicoh Company, Ltd.
InventorHiroshi Ishihara
Life of this patent
Estimating the term…
Abstract
An image processing method converts line vectors of an input graphic path and an input clip path into run sets in dot coordinates passed by the line vectors, and generates a region run describing a closed region represented by the entire path from the run sets, so as to obtain a graphic region run and a clip region run, and extracts an overlapping portion of the graphic region run and the clip region run to generate a plot region run. The scan line conversion and the clipping form a rasterizing process.
Claims31
An image processing method comprising:
- a step inputting an input graphic path indicating a shape of a graphic to be plotted, and an input clip path indicating a shape of a plot effective range, each path being represented by a vector set of a plurality of straight lines connected at end points such that one path is formed by connecting a starting point of a first straight line and a terminating point of a last straight line to describe an arbitrary polygonal closed region;
- a scan line conversion step converting line vectors of the input graphic path and the input clip path into run sets in dot coordinates passed by the line vectors, and generating a region run describing a closed region represented by the entire path from the run sets, so as to obtain a graphic region run for the graphic path and a clip region run for the clip path;
- and
- a clipping step extracting an overlapping portion of the graphic region run and the clip region run, and generating a plot region run for a plot path,
- said scan line conversion step and said clipping step carrying out a rasterizing process.
An image processing apparatus comprising:
- an input section inputting an input graphic path indicating a shape of a graphic to be plotted, and an input clip path indicating a shape of a plot effective range, each path being represented by a vector set of a plurality of straight lines connected at end points such that one path is formed by connecting a starting point of a first straight line and a terminating point of a last straight line to describe an arbitrary polygonal closed region;
- a scan line conversion section converting line vectors of the input graphic path and the input clip path into run sets in dot coordinates passed by the line vectors, and generating a region run describing a closed region represented by the entire path from the run sets, so as to obtain a graphic region run for the graphic path and a clip region run for the clip path;
- and
- a clip section extracting an overlapping portion of the graphic region run and the clip region run, and generating a plot region run for a plot path,
- said scan line conversion section and said clip section carrying out a rasterizing process.
An image output apparatus comprising:
- an input section inputting an input graphic path indicating a shape of a graphic to be plotted, and an input clip path indicating a shape of a plot effective range, each path being represented by a vector set of a plurality of straight lines connected at end points such that one path is formed by connecting a starting point of a first straight line and a terminating point of a last straight line to describe an arbitrary polygonal closed region;
- a scan line conversion section converting line vectors of the input graphic path and the input clip path into run sets in dot coordinates passed by the line vectors, and generating a region run describing a closed region represented by the entire path from the run sets, so as to obtain a graphic region run for the graphic path and a clip region run for the clip path;
- a clip section extracting an overlapping portion of the graphic region run and the clip region run, and generating a plot region run for a plot path, said scan line conversion section and said clip section carrying out a rasterizing process;
- a memory;
- and
- a plot section plotting and storing the plot region run in the memory in the form of bit map data according to plot attribute information including colors, as output image data.
A computer-readable storage medium which stores a program for causing a computer to carrying out an image processing, said program comprising:
- a procedure causing the computer to input an input graphic path indicating a shape of a graphic to be plotted, and an input clip path indicating a shape of a plot effective range, each path being represented by a vector set of a plurality of straight lines connected at end points such that one path is formed by connecting a starting point of a first straight line and a terminating point of a last straight line to describe an arbitrary polygonal closed region;
- a scan line conversion procedure causing the computer to convert line vectors of the input graphic path and the input clip path into run sets in dot coordinates passed by the line vectors, and generate a region run describing a closed region represented by the entire path from the run sets, so as to obtain a graphic region run for the graphic path and a clip region run for the clip path;
- and
- a clipping procedure causing the computer to extract an overlapping portion of the graphic region run and the clip region run, and generate a plot region run for a plot path,
- said scan line conversion procedure and said clipping procedure causing the computer to carry out a rasterizing process.
Dependencies are inferred from the claim text.