Method and apparatus for enlarging or reducing an image on the basis of precalculated reference pel contribution rate data and two-dimensional reference window shifting amount data stored in a table memory
First Claim
1. An image conversion apparatus, in which, when a first image with a first pel density is converted to a second image with a second pel density, the intensity P of a new pel (estimated pel) at a point p of said second image is represented by ##EQU5## when m is a number of reference pels of said first image that are sampled and that are within a two-dimensional reference window when said window is in a predetermined position corresponding to the point p, where Ii is the intensity of i-th pel of said m sampled reference pels, where m is ≧
- 3, and where α
i is a contribution rate indicating how much the i-th pel contributes to the intensity P, said image conversion apparatus comprising;
first storage means for storing said first image;
address controlling means for shifting said reference window to sample m reference pels of said first image at each of a plurality of predetermined positions;
second storage means for storing previously-calculated shifting amount data indicating how much said reference window is to be shifted and for storing previously-calculated contribution rate data for each of said m sampled reference pels in the form of a data table by interrelating the shifting amount data and the contribution rate data;
calculating means for calculating the intensity P of said new pel; and
addressing means for accessing said second storage means so as to supply therefrom said shifting amount data and said contribution rate data to said address controlling means and to said calculating means, respectively.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for reducing or enlarging an image. More specifically, this invention can increase or decrease the magnification ratio of an image even while scanning each line. This invention involves converting a first image with a first pel density to a second image with a second pel density. The intensity P of a new pel at a point p of the second image is represented by ##EQU1## where m is the number of reference pels of the first image that are sampled and that are within a given two-dimensional reference window when it is in a predetermined position corresponding to the point p, where Ii is the intensity of the i-th pel of the m sampled reference pels, and where αi is a contribution rate indicating how much the i-th pel contributes to the intensity P. Pre-calculated contribution rate data (αi) and pre-calculated shifting amount data indicating the relative amount the reference window is to be shifted are stored in a memory. The shifting amount data is used to position the reference window to a predetermined position where the m reference pels are sampled, and the contribution rate data and the values of the m sampled pels are used to determine the intensity P.
71 Citations
8 Claims
-
1. An image conversion apparatus, in which, when a first image with a first pel density is converted to a second image with a second pel density, the intensity P of a new pel (estimated pel) at a point p of said second image is represented by ##EQU5## when m is a number of reference pels of said first image that are sampled and that are within a two-dimensional reference window when said window is in a predetermined position corresponding to the point p, where Ii is the intensity of i-th pel of said m sampled reference pels, where m is ≧
- 3, and where α
i is a contribution rate indicating how much the i-th pel contributes to the intensity P, said image conversion apparatus comprising;first storage means for storing said first image; address controlling means for shifting said reference window to sample m reference pels of said first image at each of a plurality of predetermined positions; second storage means for storing previously-calculated shifting amount data indicating how much said reference window is to be shifted and for storing previously-calculated contribution rate data for each of said m sampled reference pels in the form of a data table by interrelating the shifting amount data and the contribution rate data; calculating means for calculating the intensity P of said new pel; and addressing means for accessing said second storage means so as to supply therefrom said shifting amount data and said contribution rate data to said address controlling means and to said calculating means, respectively. - View Dependent Claims (2, 3, 4)
- 3, and where α
-
5. An image conversion apparatus, in which, when a first image with a first pel density is converted to a second image with a second pel density, the intensity P of a new pel (estimated pel) at a point p of said second image represented by ##EQU6## where m is a number of reference pels of said first image that are sampled and that are within a two-dimensional reference window when said window is in a predetermined position corresponding to the point p, where Ii is the intensity of the i-th pel of said m sampled reference pels, where m is ≧
- 3, and where α
i is a contribution rate indicating how much the i-th pel contributes to the intensity P, said image conversion apparatus comprising;an input buffer for storing said first image; address controlling means for shifting said reference window to simultaneously sample m reference pels of said first image at each of a plurality of predetermined positions; a table memory for storing previously-calculated shifting amount data indicating how much said reference window is to be shifted and for storing previously-calculated contribution rate data for each of said m sampled reference pels in the form of a data table interrelating the shifting amount data, the contribution rate data, and the identity of corresponding new pels of said second image; calculating means for calculating the intensity P of said new pel, said calculating means comprising a plurality of multipliers and an arithmetic logic unit; and an address counter for accessing said table memory so as to supply therefrom said shifting amount data to said address controlling means, whereby shifting of said reference window is variably controlled in accordance with said shifting amount data, and so as to supply therefrom said contribution rate data to said calculating means.
- 3, and where α
-
6. A method of converting an image, wherein a first image with a first pel density is converted to a second image with a second pel density, the intensity P of a new pel (estimated pel) at a point p of said second image being represented by the expression ##EQU7## where m is a number of reference pels of said first image that are sampled and that are within a two-dimensional reference window when said window is in a predetermined position corresponding to the point P, where Ii is the inensity of the i-th pel of said m sampled reference pels, where m≧
- 3, and where α
i is a contribution rate indicating how much the i-th pel contributes to the intensity P, the method comprising the steps of;storing said first image in a first storage means; storing previously-calculated shifting amount data indicating how much said reference window is to be shifted in a second storage means; storing previously-calculated contribution rate data for each of said m sampled reference pels in said second storage means such that said shifting amount data and said contribution rate data are interrelated in the form of a data table; shifting said reference window in accordance with said shifting amount data; sampling said m reference pels of said first image; and calculating the intensity P of said new pel using said contribution rate data and the values of said m sampled reference pels in accordance with the expression for the intensity P. - View Dependent Claims (7, 8)
- 3, and where α
Specification