Image processing device suitable for obtaining the volume and center of gravity of a three-dimensional binary image
First Claim
1. An image processing device for obtaining the volume and center of gravity of a three-dimensional binary image, comprising:
- first frame memory means having a storage capacity of (M×
m) bits in an x direction, (N×
n) bits in a y direction, and p bits in a z direction, for storing image data of p bits in each (x, y) coordinate position, said first frame memory means being logically divided into m equal parts in the x direction and n equal parts in the y direction to form 0-th through (m×
n-1)-th memory sections, and said 0-th through (m×
n-1)-th memory sections respectively storing 0-th through (m×
n-1) th divided three-dimensional binary image parts obtained by dividing a three-dimensional binary image composed of M pixels in the x direction, N pixels in the y direction, and (m×
n×
p) pixels in the z direction by a unit of p pixels in the z direction;
second frame memory means having a storage capacity of (M×
m) bits in the x direction and (N×
n) bits in the y direction, and storing in each (x, y) coordinate position thereof data of q bits representing the section number of the section to which the same (x, y) coordinate position of said first frame memory means belongs;
histogram computing means for concatenating p-bit data in each (x, y) coordinate position of said first frame memory means and q-bit data in the same (x, y) coordinate position of said second frame memory means with the p-bit data taken as lower data and the q-bit data as upper data, and obtaining a histogram representing a distribution of the number of pieces of the concatenated (p+q)-bit data having an equal value;
first marginal distribution computing means for computing a marginal distribution of said three-dimensional binary image for the z direction thereof, on the basis of the histogram obtained by said histogram computing means;
data conversion means for converting the p-bit data stored in each (x, y) coordinate position of said first frame memory means to the number of bits having a logic 1 contained in the p-bit data, to form a first image;
adding means for dividing the first image obtained by said data conversion means into m equal parts and n equal parts in the x and y directions, respectively, to form (m×
n) partial images, and adding image data located in the same relative position in the (m×
n) partial images, to obtain a second image;
second marginal distribution computing means for computing a marginal distribution P(x) and a marginal distribution P(y) of said three-dimensional binary image for the x and y directions thereof, on the basis of the second image;
volume computing means for computing the volume of the three-dimensional binary image on the basis of either of the three marginal distributions P(x), P(y), and P(z); and
center of gravity computing means for computing the position of the center of gravity of the three-dimensional binary image, on the basis of the volume computed by said volume computing means and the marginal distributions P(x), P(y), and P(z).
1 Assignment
0 Petitions
Accused Products
Abstract
A first memory stores a divided three-dimensional binary image as image data j of p bits. A second memory, equal to the first memory in size, stores data k of q bits, representing the section number of a corresponding memory section of the first memory. A histogram computing circuit concatenates data j and data k and obtains a histogram for the concatenated data. A computing unit computes a marginal distribution of the three-dimensional image on the basis of the histogram. A data conversion unit converts the p bit data to a first data image. An adder unit obtains from the first image a second image representing the marginal distribution P(x,y). The computing unit computes a marginal distribution P(x) and a marginal distribution P(y) from the second image, and also computes the volume and center of gravity of the three-dimensional binary image.
14 Citations
20 Claims
-
1. An image processing device for obtaining the volume and center of gravity of a three-dimensional binary image, comprising:
-
first frame memory means having a storage capacity of (M×
m) bits in an x direction, (N×
n) bits in a y direction, and p bits in a z direction, for storing image data of p bits in each (x, y) coordinate position, said first frame memory means being logically divided into m equal parts in the x direction and n equal parts in the y direction to form 0-th through (m×
n-1)-th memory sections, and said 0-th through (m×
n-1)-th memory sections respectively storing 0-th through (m×
n-1) th divided three-dimensional binary image parts obtained by dividing a three-dimensional binary image composed of M pixels in the x direction, N pixels in the y direction, and (m×
n×
p) pixels in the z direction by a unit of p pixels in the z direction;second frame memory means having a storage capacity of (M×
m) bits in the x direction and (N×
n) bits in the y direction, and storing in each (x, y) coordinate position thereof data of q bits representing the section number of the section to which the same (x, y) coordinate position of said first frame memory means belongs;histogram computing means for concatenating p-bit data in each (x, y) coordinate position of said first frame memory means and q-bit data in the same (x, y) coordinate position of said second frame memory means with the p-bit data taken as lower data and the q-bit data as upper data, and obtaining a histogram representing a distribution of the number of pieces of the concatenated (p+q)-bit data having an equal value; first marginal distribution computing means for computing a marginal distribution of said three-dimensional binary image for the z direction thereof, on the basis of the histogram obtained by said histogram computing means; data conversion means for converting the p-bit data stored in each (x, y) coordinate position of said first frame memory means to the number of bits having a logic 1 contained in the p-bit data, to form a first image; adding means for dividing the first image obtained by said data conversion means into m equal parts and n equal parts in the x and y directions, respectively, to form (m×
n) partial images, and adding image data located in the same relative position in the (m×
n) partial images, to obtain a second image;second marginal distribution computing means for computing a marginal distribution P(x) and a marginal distribution P(y) of said three-dimensional binary image for the x and y directions thereof, on the basis of the second image; volume computing means for computing the volume of the three-dimensional binary image on the basis of either of the three marginal distributions P(x), P(y), and P(z); and center of gravity computing means for computing the position of the center of gravity of the three-dimensional binary image, on the basis of the volume computed by said volume computing means and the marginal distributions P(x), P(y), and P(z). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An image processing device for obtaining the volume and center of gravity of a three-dimensional binary image formed of M pixels, N pixels, and (m×
- n×
p) pixels in x, y, and z directions, comprising;0-th through (m=n-1)-th memory means each having a storage capacity of M bits, N bits, and p bits in the directions of x, y and z coordinate axes, said 0-th through (m×
n-1)-th memory means respectively storing 0-th through (m×
n-1)-th divided three-dimensional binary images obtained by dividing the three-dimensional binary image by a unit of p pixels in the direction of z coordinate axis;histogram computing means for obtaining a histogram representing a distribution of the number of concatenated data of an equal value, the concatenated data consisting of (p+q)-bit data having as lower data thereof p-bit data in each (x, y) coordinate position of said 0-th through (m×
n-1)-th memory means, and as upper data thereof, q-bit data representing the memory number of a memory having the p-bit data;first marginal distribution computing means for computing the marginal distribution of the three-dimensional binary image for its z coordinate axis, on the basis of the histogram computed by said histogram computing means; data conversion means for converting the p-bit data in each (x, y) coordinate position of said 0-th through (m×
n-1)-th memory means to data representing the number of bits of a logic 1 contained in the p-bit data;means for adding, among the conversion data obtained by said conversion means, conversion data in positions which are the same in the relative address position, to obtain a marginal distribution P(x, y) image of the three-dimensional binary image; means for obtaining a marginal distribution in the x direction and a marginal distribution in the y direction by using the marginal distribution image; volume computing means for computing the volume V of the three-dimensional binary image by using one of the marginal distributions P(x), P(y), and P(z); and center of gravity computing means for computing the position in coordinates of the center of gravity of the three-dimensional binary image by using the volume V computed by said volume computing means and the marginal distributions P(x), P(y), and P(z). - View Dependent Claims (10, 11, 12, 13, 14)
- n×
-
15. An image processing method for obtaining the volume and center of gravity of a three-dimensional binary image, comprising:
-
dividing a three-dimensional binary image composed of M pixels in an x direction, N pixels in a y direction, and (m×
n×
p) pixels in a z direction, by a p-pixel unit in the z direction, to form 0-th through (m×
n-1) partial three-dimensional binary images;storing the 0-th through (m×
n-1)-th partial three-dimensional binary images in 0-th through (m×
n-1)-th memory blocks each having a storage capacity of M bits in the x direction, N bits in the y direction, and p bits in the z direction, respectively;concatenating p-bit data in each (x, y) coordinate position of said memory blocks and q-bit data representing the number of the memory block with the p-bit data as lower data and the q-bit data as upper data, to generate (p+q)-bit concatenated data; obtaining a histogram representing a distribution of the concatenated data of equal values; computing a marginal distribution of the three-dimensional binary image for its z direction, on the basis of the histogram; converting the p-bit data in each (x, y) coordinate position of said memory blocks to data representing the number of bits of a logic 1 contained in the p-bit data, to obtain a first image; dividing the first image into (m×
n) partial images with m images in the x direction and n images in the y direction, and adding image data located, in the same relative positions in the partial images to obtain a second image representing a marginal distribution image P(x, y) of the three-dimensional binary image;obtaining a marginal distribution P(x) in the x direction and a marginal distribution P(y) in the y direction, on the basis of the marginal distribution image represented by the second image; computing the volume V of the three-dimensional binary image on the basis of one of the marginal distributions P(x), P(y), and P(z); and computing the position in coordinates of the center of gravity of the three-dimensional binary image, on the basis of the volume V and the marginal distributions P(x), P(y), and P(z). - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification