Claims
- 1. A digital filter for subjecting each of M.times.M picture elements to a filtration process where a parameter of each picture element is modified at least in accordance with the sum of the values of said parameter for each of N.times.N picture elements surrounding said picture element, said filter comprising:
- a buffer storage means for storing at least a portion of said M.times.M picture elements; and
- processing means responsive to at least one of the picture elements stored in said buffer storage means for effecting said filtration process including first subprocessing means responsive to said one picture element for obtaining said sum of the values of said parameter for each of the N.times.N picture elements in a time period which is independent of the value of N.
- 2. A digital filter as in claim 1 where said parameter of each picture element is the density thereof.
- 3. A digital filter as in claim 2 where the filtration process is represented by ##EQU7## where Q(I,J) is the filtered value of the density of the picture element located at the point (I,J) of the M.times.M picture elements, D(I,J) is the original density of said picture element, K is a constant which affects the characteristic of the filtration process; and D(I+k, J+l) is the density of one of the N.times.N picture elements surrounding the said picture element, said one picture element being located at the point (I+k, J+l) and [ ] is the Gaussian operator.
- 4. A digital filter as in claim 1 where said buffer storage means stores M.times.N of said storage elements.
- 5. A digital filter as in claim 1 where said buffer storage means includes a plurality of rows and a plurality of columns of locations for storing at least some of said picture elements and where said first subprocessing means includes (a) a first register having a plurality of memory locations at least equal in number to the number of columns in said buffer storage means where the I'-th of the latter memory locations stores the sum of the values stored in at least N of the locations in the I'-th column of the buffer storage memory means; and (b) a second register for storing the sum of the values stored in at least N of the locations of the first register to thereby store said sum of the values of said parameter for each of the N.times.N picture elements surrounding the picture element being subjected to the filtration process.
- 6. A digital filter as in claim 5 where buffer storage means includes M columns and N rows and thus M.times.N storage locations for the values of said parameters of the picture elements.
- 7. A digital filter as in claim 5 or 6 where said first sub-processing means includes (a) successive accessing means for successively accessing the values stored in successive rows of said buffer storage means where the values in each row are successively accessed and (b) first updating means for updating at least one of the sums stored in said first register each time one of the picture elements is subjected to the filtration process.
- 8. A digital filter as in claim 7 including storing means for storing said value of the parameter of one of said picture elements in one of the locations in the I'-th column of the buffer storage means and where said filter includes updating means for updating the sum stored in the I.sup.th location including (a) means for adding to said latter sum the value of the picture element being currently stored in said one location of the I.sup.th column, (b) means for subtracting from said latter sum the value of the picture element previously stored in said I'-th column to thereby obtain an updated sum for said I'-th column, and (c) means for storing said updated sum in the I'-th location of the first register.
- 9. A digital filter as in claim 8 where said first sub-processing means includes means for updating the sum stored in said second register including (a) means for adding to the latter sum the updated sum stored in the I'-th location of the first register, and (b) means for subtracting from the latter sum the sum stored in the (I'-[N/2])th location of the first register to thereby obtain an updated sum of the N.times.N values surrounding the value of the picture element currently being processed, the location of said latter value being (I'-[N/2], J'-[N/2]) where I' equals the number of the column and J' equals the number of the row of the buffer storage means.
- 10. A digital filter as in claim 9 where said processing means includes second sub-processing means including (a) multiplying means for multiplying said updated sum in the second register by a constant representative of the characteristic of the filtration process and (b) means for adding the result obtained by said multiplying means to the value of the picture element currently being processed to thereby effect the filtration process for the picture element currently being processed.
- 11. A digital filter as in claim 10 where the filtration process is represented by ##EQU8## where Q(I,J) is the filtered value of the density of the picture element located at the point (I,J) of the M.times.M picture elements; D(I,J) is the original density of said picture element, K is a constant which affects the characteristic of the filtration process; and D(I+k, J+l) is the density of one of the N.times.N picture elements surrounding the said picture element, said one picture element being located at the point (I+k, J+l) and [ ] is the Gaussian operator.
- 12. A digital filter as in claim 10 where said constant representative of the filtration process characteristic is equal to K/N.sup.2 where K.gtoreq.-1.
- 13. A digital filter as in claim 12 where -1.ltoreq.K<0 to thereby effect a high-pass filter characteristic.
- 14. A digital filter as in claim 12 where K>0 to thereby effect a low-pass filter characteristic.
- 15. A digital filter as in claim 12 where said M.times.M picture elements are present on a two-dimensional digital picture where M>N, where said buffer memory means includes N rows and M columns, and where said digital filter includes means for raster-scanning the picture elements of said picture and said storing means includes means for successively storing the values of the parameters of the raster-scanned picture elements in said buffer memory means in the order they are successively accessed by said successive accessing means and for replacing the values stored in the buffer memory means with new values of the raster-scanned picture elements each time the buffer memory means is filled, the values being stored in the same order with each filling of the buffer memory means.
- 16. A digital filter for effecting filtration in N.times.N filter areas by raster-scanning a two-dimensional digital picture having M.times.M picture elements where N<M, comprising:
- a buffer memory for storing data respectively corresponding to M.times.N of said picture elements, said buffer memory having M columns and N rows;
- means for raster-scanning said picture elements of the two-dimensional digital picture at respective scanning points (I,J) (where I=1, 2, . . . , M; J=1, 2, . . . , M) and successively storing the said data respectively corresponding to the raster-scanned, picture elements into successive locations of said buffer memory (I',J') (where I'=1, 2, . . . , M and J'=1, 2, . . . , N) where the data currently being stored in the buffer memory is stored in location (I',J');
- means for renewing the data in said buffer memory each time it is filled, said data being renewed in the same order data was filled into the memory the first time;
- a first register having M locations respectively corresponding to the M columns of the buffer memory where said locations extend from I'=1, 2, 3, . . . , M;
- means for storing in the M locations of the first register the respective sums of the M columns of the buffer memory;
- means for updating the sum stored in the I'-th location of the first register including (a) means for adding thereto the value of the data currently being stored in (I',J') of the buffer memory, (b) means for subtracting therefrom the value of the data previously stored in (I',J'), and (c) means for storing the updated sum in the I'-th location of the first register;
- a second register for storing the sum of the values stored in at least N of the locations of the first register to thereby store said sum of the values of said data for each of the N.times.N picture elements surrounding the picture element being subjected to the filtration process;
- means for updating the sum stored in said second register including (a) means for adding to the latter sum the updated sum stored in the I'-th location of the first register, (b) means for subtracting from the latter sum the sum stored in the (I'-2/N-1).sup.th location of the first register to thereby obtain an updated sum of N.times.N values surrounding the value of the picture element currently being processed, the location of said latter value being (I'-N/2, J'-N/2) where I' equals the number of the column and J' equals the number of the row of the buffer storage means; and
- multiplying means for multiplying said updated sum in the second register by a constant representative of the characteristic of the filtration process and means for adding the result obtained by said multiplying means to the value of the picture element currently being processed to thereby effect the filtration process for the picture element currently being processed.
- 17. A digital filter as in claim 16 where the filtration process is represented by ##EQU9## where Q(I,J) is the filtered value of the density of the picture element located at the point (I,J) of the M.times.M picture elements, D(I,J) is the original density of said picture element, K is a constant which affects the characteristic of the filtration process; and D(I+k, J+l) is the density of one of the N.times.N picture elements surrounding the said picture element, said one picture element being located at the point (I+k, J+l) and [ ] is the Gaussian operator.
- 18. A digital filter as in claim 16 where said constant representative of the filtration process characteristic is equal to K/N.sup.2 where K.gtoreq.-1.
- 19. A digital filter as in claim 18 where -1.ltoreq.K<0 to thereby effect a high-pass filter characteristic.
- 20. A digital filter as in claim 18 where K>0 to thereby effect a low-pass filter characteristic.
- 21. A digital filter for filtering an M-by-M pixels matrix of a two dimensional image in a N-by-N length filter where the pixels of the matrix are successively scanned, said filter comprising
- a buffer memory having M-by-N locations defined by column locations 1,2, - - - ,M and row locations 1,2, - - - N;
- means for successively applying the density values (D) of the scanned pixels to successive locations in the buffer memory, the location (I'+[N/2], J'+[N/2]) being the location of the most recently applied density value where [ ] is the Gaussian operator and where the location of the density value currently having its filtration value Q(I',J') determined is (I',J') where I'=1, 2, - - - M and J'=1,2, - - - N, said last-mentioned location being the filtering point of the data D(I', J').
- address generating means for generating the values of I',J', I'+[N/2], J'+[N/2] and I'-[N/2], respectively;
- a first register having a storage area of one-by-M where the successive locations thereof respectively correspond to the column locations 1, 2, - - - , M of the buffer memory;
- a first means for reading data stored in said first register at a location corresponding to said value (I'+N/2) designated by said address generating means and for subtracting data having been previously stored at said location (I'+[N/2], J'+[N/2]) of said buffer memory designated by said address generating means from said data read from the first register to obtain first subtracting data, and for adding the data of said most recently applied density value to said first subtraction data to obtain first addition data and for storing the first addition data at said location of said first register corresponding to the column address (I'+[N/2]);
- a second register; and
- a second means for reading data stored in said second register, and for subtracting data stored in said first register at a location corresponding to an address (I'-[N/2]) designated by said address generating means from the data read from said second register to obtain second subtraction data, and for adding said first addition data to said second subtraction data to obtain second addition data, and for storing said second addition data at said second register, and for multiplying the second addition data by a weighting factor, and for adding said data D(I', J') stored at an address (I',J') of said buffer memory to the data resulting from said multiplication to obtain third data--that is, said Q(I', J').
Priority Claims (1)
Number |
Date |
Country |
Kind |
57-151804 |
Sep 1982 |
JPX |
|
Parent Case Info
This application is a continuation of Ser. No. 528,248, filed Aug. 31, 1983, now abandoned.
US Referenced Citations (6)
Continuations (1)
|
Number |
Date |
Country |
Parent |
528248 |
Aug 1983 |
|