Device for calculating the moments of image data
First Claim
1. A device for calculating a zero-order moment, a primary moment, and a secondary moment of image data, said device comprising:
- storage means for storing frames of data, the data including image data, processed image data, and weight data, said storage means comprises;
a first image frame memory for storing the image data;
a second image frame memory for storing the processed image data;
a third image frame memory for storing the weight data in a horizontal direction; and
a fourth image frame memory for storing the weight data in a vertical direction;
an adder, operatively connected to said storage means, for calculating the zero-order, primary, and secondary moments as well as for calculating the weight data;
a multiplier, operatively connected to said storage means, for multiplying the data stored in said storage means;
an accumulator, operatively connected to said adder and said multiplier, for temporary storage of the processed image data;
a constant generator, operatively connected to said adder, for generating a constant used in calculating the weight data;
a normalizing circuit, operatively connected to said multiplier, for normalizing results of said multiplier to prevent overflow;
a first bus operatively connected to said adder, said multiplier, and said first, second, third and fourth image frame memories;
a second bus operatively connected to said adder, said multiplier, and said accumulator; and
control means for controlling the calculations of the zero-order moment, the primary moment, and the secondary moment of the image data.
1 Assignment
0 Petitions
Accused Products
Abstract
A device for calculating the moments of image data has a plurality of image frame memories. The device has an image frame memory (12) for storing original image data, an image frame memory (13) for storing processed data, and image frame memories (13, 14) for storing weight data in includes an adder(7) for processing the data stored in these memories, a multiplier (6) for multiplying the data in the image frame memories, and an accumulator (8) for temporarily storing calculating results. These memories and the arithmetic units such as the adder (7) and other serve to calculate the zero-order, primary, and secondary moments of image data.
-
Citations
8 Claims
-
1. A device for calculating a zero-order moment, a primary moment, and a secondary moment of image data, said device comprising:
-
storage means for storing frames of data, the data including image data, processed image data, and weight data, said storage means comprises; a first image frame memory for storing the image data; a second image frame memory for storing the processed image data; a third image frame memory for storing the weight data in a horizontal direction; and a fourth image frame memory for storing the weight data in a vertical direction; an adder, operatively connected to said storage means, for calculating the zero-order, primary, and secondary moments as well as for calculating the weight data; a multiplier, operatively connected to said storage means, for multiplying the data stored in said storage means; an accumulator, operatively connected to said adder and said multiplier, for temporary storage of the processed image data; a constant generator, operatively connected to said adder, for generating a constant used in calculating the weight data; a normalizing circuit, operatively connected to said multiplier, for normalizing results of said multiplier to prevent overflow; a first bus operatively connected to said adder, said multiplier, and said first, second, third and fourth image frame memories; a second bus operatively connected to said adder, said multiplier, and said accumulator; and control means for controlling the calculations of the zero-order moment, the primary moment, and the secondary moment of the image data. - View Dependent Claims (2)
-
-
3. A device for calculating a zero-order moment, a primary moment, and a secondary moment of image data, said device comprising:
-
a first image frame memory for storing original image data composed of a plurality of pixels arranged in a matrix in vertical and horizontal directions; a second image frame memory for storing processed image data obtained after the original image data is subjected to a predetermined processing; a third image frame memory for storing weight data in the horizontal direction corresponding to the pixels of the original image data; a fourth image frame memory for storing weight data in the vertical direction corresponding to the pixels of the original image data; an accumulator for temporarily storing a result of a calculation; a constant generator for generating a constant used in calculating the weight data in the horizontal and vertical directions for said third and fourth image frame memories, respectively; a multiplier, operatively connected with said first, second, third, and fourth image frame memories and said accumulator, for calculating a product of pixels of any two of said first, second, third, and fourth image frame memories and storing the product in said accumulator; a selector, operatively connected to said first, second, third, and fourth image frame memories and said constant generator, for selecting one among said image frame memories and said constant generator; an adder, operatively connected to said selector and said accumulator, for adding the pixels of the one of said first, second, third, and fourth image frame memories selected by said selector with the result in said accumulator when said selector selects any of said image frame memories, and calculating the weight data in the horizontal and vertical directions using said constant generator and said accumulator when said selector selects said constant generator; a first bus operatively connected to said adder, said multiplier, and said first, second, third and fourth image frame memories; a second bus operatively connected to said adder, said multiplier, and said accumulator; and calculation means for controlling calculation of the zero-order moment by adding all of the pixels of said first image frame memory using said adder and said accumulator when said selector selects said first image frame memory, controlling calculation of the primary moment by calculating the weight data in the horizontal and vertical directions using said adder and said accumulator with storage of the weight data in said third and fourth image frame memories when said selector selects said constant generator, and calculating a first product of the pixels of said first image frame memory and the pixels of one of said third and fourth image frame memories using said multiplier with storage of the first product in said second image frame memory, and controlling calculation of the secondary moment by calculating the weight data in the horizontal and vertical directions using said adder and said accumulator with storage of the weight data in said third and fourth image frame memories when said selector selects said constant generator, calculating a second product of the pixels of said third image frame memory and the pixels of said fourth image frame memory using said multiplier with storage of the second product in said second image frame memory, and calculating a third product of the pixels of said first image frame memory and the pixels of said second image frame memory using said multiplier with storage of the third product in said second image frame memory. - View Dependent Claims (4, 5)
-
-
6. A device for calculating a zero-order moment, a primary moment, and a secondary moment of image data, said device comprising:
-
storage means for storing frames of data, the data including image data, processed image data, and weight data; an adder, operatively connected to said storage means, for calculating the zero-order, primary, and secondary moments as well as for calculating the weight data; a multiplier, operatively connected to said storage means, for multiplying the data stored in said storage means; an accumulator, operatively connected to said adder and said multiplier, for temporary storage of the processed image data; a constant generator, operatively connected to said adder, for generating a constant used in calculating the weight data; a first bus operatively connected to said adder, said multiplier, and said storage means; a second bus operatively connected to said adder, said multiplier, and said accumulator; and control means for controlling the calculations of the zero-order moment, the primary moment, and the secondary moment of the image data. - View Dependent Claims (7, 8)
-
Specification