A device of object detectable and background removal for enabling an object to be automatically detected minutely and accurately as far as contours, using an image consisting of a virtually even background and an object of detection target as an input, said device roughly consisting of four means of a sectional image statistic calculation means, a background sectional image selection means, a background statistic estimation means, and a threshold generation object detectable and background removal means,
- said sectional image statistic calculation means comprising:
- a sectional image division means for dividing an input image into sectional images to be outputted;
- a mean value and standard deviation and skewness calculation means for calculating to be outputted a mean value, a standard deviation, and a skewness of a prescribed characteristic value in every respective sectional images, with the sectional image signal as inputs;
- and
- a sectional image statistic storage means for storing to be outputted a mean value, a standard deviation, and a skewness of the prescribed characteristic value of the respective sectional images whenever necessary, using the mean value and the standard deviation, and the skewness of the prescribed characteristic value of said sectional images as inputs,
- said background sectional image selection means comprising:
- a skewness threshold and minimum standard deviation criterion background only sectional image selection means for outputting a sectional image whose absolute value of the skewness is less than a threshold given beforehand in the sectional images, and whose standard deviation of the prescribed characteristic value is of the smallest value by way of a sectional image whose probability of including only a background is high, using the mean value and the standard deviation, and the skewness of the prescribed characteristic value of said sectional images as inputs;
- a background only sectional image selection means judging to be outputted a sectional image having the standard deviation whose difference is less than the threshold between the standard deviation of the prescribed characteristic value of the sectional image whose probability of including only the background is high and the standard deviation of the prescribed characteristic value in the sectional images, and whose absolute value of skewness is less than the threshold given beforehand by way of a sectional image including only a background;
- and
- a background only sectional image statistic storage means for storing the location of the sectional image including only the background and the mean value and the standard deviation of the prescribed characteristic value of the sectional image concerned, thus outputting them whenever necessary,
- said background statistic estimation means comprising:
- a background-exception sectional image selection means, when a command is entered in order to investigate sectional images except a background, investigating the mean value and the standard deviation of the prescribed characteristic value of the sectional image including only the background, and the mean value and the standard deviation of the prescribed characteristic value by way of the estimated background of another sectional images, then, if there exists a sectional image whose mean value and standard deviation of the prescribed characteristic value by way of a background is not estimated, outputting the sectional image concerned, while if the mean value and the standard deviation of the prescribed characteristic value by way of the background in respect to the whole sectional images are specified, issuing a command so as to generate a threshold for the sake of object detectable and background removal;
- a neighborhood background only sectional image existence judgement means investigating the mean values and the standard deviations of the prescribed characteristic values both of the sectional images except backgrounds and the sectional images including only background located in the neighborhood of said sectional images, and the mean values and the standard deviations of the prescribed characteristic value by way of the estimated background of another sectional images, even though when there exists only one sectional image whose mean value and standard deviation of the prescribed characteristic value are estimated in the neighborhood thereof, issuing a command so as to estimate a mean value and a standard deviation of the prescribed characteristic value of the sectional image except the background, while when there exist no sectional image whose mean value and standard deviation of the prescribed characteristic value are estimated, issuing a command so as to select next sectional image;
- a mean value and standard deviation interpolation/extrapolation means, when a command is entered in order to estimate a mean value and a standard deviation of the prescribed characteristic value in the sectional image except the background, thus estimating to be outputted by averaging the mean value and the standard deviation of the prescribed characteristic value of the sectional image including only the background in the neighborhood thereof, and the mean value and the standard deviation of the prescribed characteristic value by way of the estimated background of the sectional image in the neighborhood thereof, simultaneously outputting an estimated sectional image selection command signal so as to select next sectional image;
- and
- an estimated statistic storage means for storing to be outputted the mean value and the standard deviation of the prescribed characteristic value estimated previously whenever necessary,
- said threshold generation object detectable and background removal means comprising:
- a threshold generation means calculating to be outputted a first threshold and a second threshold over the whole picture, when a command is entered in order to calculate the threshold after the mean value and the standard deviation of the prescribed characteristic value by way of the background in the whole partial images had been estimated, in which a first threshold is obtained in such a way that it causes a standard deviation multiplied by a constant given beforehand to be subtracted from the mean value by using the mean value and the standard deviation of the prescribed characteristic by way of the estimated background in the whole sectional images for the sake of detecting object and removing background, and a second threshold is obtained in such a way that it causes a standard deviation multiplied by a constant given beforehand to be added to the mean value;
- and
- a threshold processing means judging pixels involved between two thresholds as a background, and judging another pixels as an object of detection target by using said two thresholds.