The present invention relates to an image display device and an image display method suitably used in a security camera system using an omnidirectional camera that acquires an omnidirectional image of 360 degrees.
Up to now, there has been proposed that the omnidirectional image of 360 degrees is acquired, and a desired image is extracted from the acquired omnidirectional image to create and display a new image. For example, “an image generating device and system” disclosed in Patent literature 1 sets a center orientation and a field angle of surrounding images acquired from one or a plurality of cameras, and extracts images having the set center orientation as the center position and located in a range corresponding to the set field angle, from all of a part of the acquired surrounding images, to create a panorama image.
Also, up to now, there has been proposed that a desired image is cut out of shot images that have been sequentially shot, and enlarged and displayed. For example, “an image processing device, a cameral device, and an image processing method” disclosed in Patent Literature 2 detect a moving portion of a shot image caused by a change in an object from the shot images obtained by sequential shooting, cut out an area including the shot image of the detected moving portion as a moving area image, subject the cutout moving area image to correction processing of distortion caused by a taking lens, enlarge the cutout moving area image, and to enlargement processing, and generate a corrected enlarged image.
Incidentally, when the omnidirectional camera is installed so that an optical axis thereof extends just downward, an intended image (for example, a person image) is detected by the aid of differential information from the omnidirectional image obtained by the camera, and an image is cut into a given rectangular shape centered on the detected intended image, outward directions from a center of the omnidirectional image match upward directions of the cutout image. An outline of this configuration is illustrated in
However, when the images are cut out so that the outward direction from the image center matches the upward direction of the cutout images, and the camera tracks a moving object (not shown, for example, “person”) that passes nearly under the camera as illustrated in
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image display device and an image display method, in which a rotation change of the cutout images each including the moving object is suppressed when the omnidirectional camera tracks the moving object that passes nearly under the omnidirectional camera, and also the cutout images flips vertically when the moving object passes under the omnidirectional camera, whereby easily viewable image display is always enabled.
An image display device of the present invention is configured to cut out and display a moving object within an omnidirectional image, and the image display device includes: a moving object position acquisition unit configured to acquire a position of the moving object within the omnidirectional image; a determination unit configured to determine whether to correct an upward direction of a cutout image; a parameter correction unit configured to correct a cutout parameter when the determination unit determines to correct the upward direction of the cutout image; a cutout unit configured to cut images including the moving object out of the omnidirectional image based on the cutout parameter corrected by the parameter correction unit; and a display unit configured to display the images including the moving object, which are cut out by the cutout unit.
The image display device described above further includes a rotating speed calculation unit configured to calculate a rotating speed of the image based on coordinates of a moving position of the moving object within the omnidirectional image, which are acquired by the moving object position acquisition unit, and the determination unit determines to correct the upward direction of the cutout image when a highest rotating speed of the rotating speeds calculated by the rotating speed calculation unit is equal to or larger than a given threshold value.
The image display device described above further includes: a coordinate conversion unit configured to transform the coordinates of the moving position of the moving object, which are acquired by the moving object position acquisition unit, to coordinates on a real space plane; and a rotating speed calculation unit configured to calculate the rotating speed of the image based on the coordinates on the real space plane which are obtained by the coordinate conversion unit, and the determination unit determines to correct the upward direction of the cutout image when the highest rotating speed of the rotating speeds calculated by the rotating speed calculation unit is equal to or larger than a given threshold value.
In the image display device described above, the moving object position acquisition unit includes: a moving object detection unit configured to detect the moving object according to the omnidirectional image; a moving object position storage unit configured to store a position of the moving object which is detected by the moving object detection unit; and a moving position prediction unit configured to predict the moving position of the moving object based on the position of the moving object which is stored in the moving object position storage unit.
In the image display device described above, the moving object position acquisition unit reads the position of the moving object according to the omnidirectional image recorded in advance.
The image display device described above further includes: an upward direction determination unit configured to determine the upward direction of cutout of the image when the moving object enters an upward direction fixed area; and an upward direction storage unit configured to store the upward direction of the cutout of the image which is determined by the upward direction determination unit, and the determination unit determines to correct the upward direction of the cutout image when the moving object is located in the upward direction fixed area based on the coordinates of the moving position of the moving object within the omnidirectional image, which is acquired by the moving object position acquisition unit.
An image display method of the present invention is for cutting out and displaying a moving object within an omnidirectional image, and the image display method includes: a moving object position acquisition step of acquiring a position of the moving object within the omnidirectional image; a determination step of determining whether to correct an upward direction of a cutout image; a parameter correction step of correcting a cutout parameter when it is determined in the determination step to correct the upward direction of the cutout image; a cutout step of cutting images including the moving object out of the omnidirectional image based on the cutout parameter corrected in the parameter correction step; and a display step of displaying the images including the moving object, which are cut out in the cutout step.
According to the present invention, a rotation change of the cutout images each including the moving object is suppressed when the omnidirectional camera tracks the moving object that passes nearly under the omnidirectional camera, and also the cutout images flips vertically when the moving object passes under the omnidirectional camera, whereby easily viewable image display is always enabled.
Hereinafter, preferred embodiments for carrying out the present invention will be described in detail with reference to the drawings.
The omnidirectional image input unit 10 receives an omnidirectional image from an omnidirectional camera not shown. The moving object detection unit 11 detects a moving object to be tracked from the omnidirectional image received by the omnidirectional image input unit 10. The moving object position storage unit 12 stores a position stored in the moving object detection unit 11. The moving position prediction unit 13 predicts a moving position of the moving object based on the position of the moving object stored in the moving object position storage unit 12. The coordinate transformation unit 14 transforms the coordinates of the moving position of the moving object predicted by the moving position prediction unit 13 into coordinates on a real space plane.
The rotating speed calculation unit 15 calculates a rotating speed in an image direction based on the coordinates on the real space plane obtained by the coordinate transformation unit 14.
The cutout parameter correction unit 16 corrects a cutout parameter which is a parameter for designating the upward direction of the images when the highest rotating speed of the rotating speeds calculated by the rotating speed calculation unit 15 is equal to or larger than a given threshold value. The parameter is corrected so that a total of the rotating speeds is not changed, and the rotating speed does not exceed the threshold value at any time. As a result, start and end rotating angles of a parameter correction zone can match a parameter non-correction zone, and the highest rotating speed in the parameter correction interval can be suppressed. For example, as illustrated in
Subsequently, the operation of the image display device 1 according to this embodiment will be described.
Then, the rotating speed calculation unit 15 calculates the rotating speed according to the predicted position that has been subjected to the coordinate transformation on the real space plane (Step S6), and determines whether the calculated rotating speed is equal to or larger than the threshold value, or not (Step S7). If the calculated rotating speed is equal to or larger than the threshold value, the cutout parameter correction unit 16 corrects the cutout parameter so that the cutout parameter becomes smaller than the threshold value (Step S8). After the parameter has been corrected, the cutout unit 17 cuts the images including the moving object out of the omnidirectional image by the aid of the corrected cutout parameter (Step S9). Then, the display unit 18 displays the cutout image (Step S10). After this processing has been completed, the flow is returned to Step S1, and the same processing is repeated. Also, if the rotating speed calculated by the rotating speed calculation unit 15 is smaller than the threshold value in the determination of Step S7, the cutout parameter is not corrected, and the flow is shifted to the cutout processing as it is.
Thus, according to the image display device 1 of this embodiment, the subsequent position is predicted based on the current position of the moving object, and the coordinates of the predicted moving position are transformed into the coordinates on the real space plane, and the rotating speed in the image direction is calculated based on the coordinates on the real space plane. If the highest rotating speed of the calculated rotating speeds is equal to or larger than the given threshold value, the cutout parameter for setting the upward direction of the cutout images is corrected, and the images including the moving object are cut out of the omnidirectional image by the aid of the corrected cutout parameter, and displayed. Accordingly, since the rotating speed is adjusted and cut out when the images including the moving object are cut out of the omnidirectional image, a rotation change in the cutout images including the moving object is suppressed when the camera tracks the moving object that passes nearly under the omnidirectional camera. As a result, the cutout images are not hard to view. That is, the image display is more easily viewable than the conventional one.
In the above embodiment, as illustrated in
Also, as illustrated in
Also, as illustrated in
Also, particularly in the case where the moving object passes nearly under the omnidirectional camera, it is desirable that the cutout parameter is corrected so that the rotation starts early according to the traveling direction and the speed when the moving object comes closer to under the camera, while the rotating speed of the cutout image is reduced to a given value or smaller. Also, it is desirable that the cutout parameter is corrected so that the rotation starts late according to the traveling direction and the speed after the moving object has passed nearly under the camera. This appearance is illustrated in
The image display device 1 according to the above-mentioned first embodiment changes the direction of cutting out the images (directions of arrows). On the other hand, an image display device 2 according to the second embodiment is designed to cut out the images while the direction of the arrows is fixed to the upward direction. In order to realized this, the image display device 2 according to this embodiment includes an upward direction determination unit 20 that determines an upward direction at the time of cutting out the images when the moving object detected by the moving object detection unit 11 enters an upward direction fixed area, and an upward storage unit 21 that stores the upward direction at the time of culling out the images, which has been determined by the upward direction determination unit 20. The cutout parameter correction unit 16 corrects the cutout parameter based on the upward direction at the time of cutting out the images, which has been stored in the upward storage unit 21, when the moving object is located within the upward direction fixed area. The cutout unit 17 cuts the images including the moving object out of the omnidirectional image by the aid of the cutout parameter corrected by the cutout parameter correction unit 16. The display unit 18 displays the images including the moving object, which have been cut out by the cutout unit 17.
Then, the upward direction when the moving object enters the upward direction fixed area 150 is stored. In this case, the upward direction 120-1 is stored. Subsequently, the cutout images are created in which the parameter is corrected so that the upward directions of the cutout images within the upward direction fixed area 150 are fixed to the same direction as the upward direction 120-1.
If the moving object to be tracked has entered the upward direction fixed area, and the upward direction has been determined and stored, or does not enter the upward direction fixed area, it is determined whether the moving object to be tracked is located within the upward direction fixed area, or not (Step S25). If the moving object to be tracked is located with the upward direction fixed area, the cutout parameter, that is, the parameter that determines the upward direction is corrected (Step 26). If the moving object to be tracked is located outside of the upward direction fixed area, or after the cutout parameter has been corrected within the upward direction fixed area, the cutout unit 17 cuts the images including the moving object out of the omnidirectional image by the aid of the corrected cutout parameter (Step S27). When the cutout unit 17 then cuts the images including the moving object out of the omnidirectional image, the display unit 18 displays the images (Step S28). After this processing has been completed, the flow is returned to Step S20, and the same processing is repeated.
Thus, according to the image display device 2 of this embodiment, the upward direction at the time of cutting out the image is determined when the moving object enters the upward direction fixed area, and the upward direction at that time is stored. When the moving object is located within the upward direction fixed area, the cutout parameter is corrected based on the stored upward direction at the time of cutting out the image, and the images including the moving object are cut out of the omnidirectional image by the aid of the cutout parameter, and displayed. Accordingly, since the images including the moving object are cut out of the omnidirectional image in a state where the upward direction is fixed, the image display is always easily viewable without any rotation change in the cutout images including the moving object when the camera tracks the moving body that passes nearly under the omnidirectional camera, and without turning the cutout images upside down when the moving object passes under the omnidirectional camera.
The image display device 1 according to the above-mentioned first embodiment predicts the direction of the moving object in real time, subjects the predicted moving position to the coordinate transformation to calculate the rotating speed, and corrects the cutout parameter according to the calculated rotating speed. On the other hand, an image display device 3 according to the third embodiment is designed to read the moving position of the moving object out of a recorded image, subject the read moving position to coordinate transformation to calculate the rotating speed, and correct the cutout parameter according to the calculated rotating speed. That is, with the use of the recorded image, the processing can be advanced without predicting the moving position of the moving object.
Referring to
On the other hand,
Subsequently, the operation of the image display device 3 according to this embodiment will be described.
Then, the rotating speed calculation unit 15 calculates the rotating speed from the position of the moving object, which has been subjected to the coordinate transformation on the real space plane (Step S34), and determines whether the calculated rotating speed is equal to or larger than the threshold value, or not (Step S35). If the calculated rotating speed is equal to or larger than the threshold value, the cutout parameter correction unit 16 corrects the cutout parameter so that the cutout parameter becomes smaller than the threshold value (Step S36). After the parameter has been corrected, the cutout unit 17 cuts the images including the moving object out of the omnidirectional image read by the image read unit 32 by the aid of the corrected cutout parameter (Step S37). Then, the display unit 18 displays the cutout image (Step S38). After this processing has been completed, the flow is returned to Step S31, and the same processing is repeated until the reproduction has been completed. Also, if the rotating speed calculated by the rotating speed calculation unit 15 is smaller than the threshold value in the determination of Step S35, the cutout parameter is not corrected, and the flow is shifted to the cutout processing as it is.
Subsequently, a description will be given of the operation of the image recording device 4 used in the image display device 3 according to this embodiment.
Thus, according to the image display device 3 of this embodiment, the position of the moving object is read out of the omnidirectional image recorded in advance, and the coordinates of the position are transformed into the coordinates on the real space plane. Then, the rotating speed in the image direction is calculated based on the coordinates on the real space plane, and the cutout parameter for setting the upward direction of the cutout image is corrected when the highest rotating speed of the calculated rotating speeds is equal to or larger than the given threshold value.
Accordingly, since the recorded omnidirectional image is dealt with, the position prediction of the moving object becomes unnecessary, and means for storing the moving object position (the above-mentioned moving object position storage unit 12) and means for predicting the moving object position (the above-mentioned moving position prediction unit 13) become unnecessary, with the results that the costs of the single-body image display device are reduced. The images are cut out in the same manner as that in the first embodiment described above, and the rotating speed is adjusted when the images including the moving object are cut out of the omnidirectional image. Therefore, a rotation change in the cutout images including the moving object is suppressed when the camera tracks the moving object that passes nearly under the omnidirectional camera. As a result, the cutout images are not hard to view. That is, the image display is more easily viewable than the conventional one.
The image display device 1 according to the above-mentioned first embodiment determines whether the rotating speed exceeds the threshold value, based on the rotating speed of the image on the real space. That is, with the use of the rotating speed of the image on the real space, an accurate rotating speed can be obtained, for example, even when the camera is installed obliquely on a floor, or when the parameter is corrected. However, because the amount of calculation is increased in order to obtain the rotating speed of the image in the real space, the parameter may be corrected by the aid of only the rotating speed within the omnidirectional image without development into the real space when a processing load is intended to be reduced rather than precision. An image display device 5 according to this embodiment is designed to determine whether the rotating speed exceeds a threshold value, based on the rotating speed of the image, which has been obtained from the omnidirectional image. Because development processing into the real space becomes unnecessary, the amount of calculation when obtaining the rotating speed can be reduced.
A rotating speed calculation unit 55 obtains the rotating speed of the image from the upward direction of the image corresponding to a predicted position of the moving object, which has been obtained from the moving position prediction unit 13 (direction of a vector from a center of the omnidirectional image toward the moving object).
Although the present invention is described in detail with reference to specific embodiments, it is obvious to the skilled person that various changes or modifications may be made without departing from spirit and scope of the present invention.
This application is base on the Japanese patent application (Application No. 2010-047863) filed on Mar. 4, 2010, the contents of which are incorporated herein by reference.
The present invention provides advantages that a rotation change of the cutout images each including the moving object is suppressed when the omnidirectional camera tracks the moving object that passes nearly under the omnidirectional camera, and also the cutout images flips vertically when the moving object passes under the omnidirectional camera, whereby easily viewable image display is always enabled. The present invention is applicable to a security camera system using an omnidirectional camera that acquires an omnidirectional image.
Number | Date | Country | Kind |
---|---|---|---|
2010-047863 | Mar 2010 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2010/006551 | 11/8/2010 | WO | 00 | 8/31/2012 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2011/108043 | 9/9/2011 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20040104996 | Hayashi et al. | Jun 2004 | A1 |
20060221185 | Miyamaki et al. | Oct 2006 | A1 |
20070285388 | Ogasawara | Dec 2007 | A1 |
20080159652 | Shimizu | Jul 2008 | A1 |
20090015675 | Yang | Jan 2009 | A1 |
20090086061 | Asoma | Apr 2009 | A1 |
20100045826 | Ogawa | Feb 2010 | A1 |
20100220194 | Ishiko et al. | Sep 2010 | A1 |
Number | Date | Country |
---|---|---|
2 034 734 | Mar 2009 | EP |
2001-86375 | Mar 2001 | JP |
2001-333422 | Nov 2001 | JP |
2006-211105 | Aug 2006 | JP |
2007-311860 | Nov 2007 | JP |
0120901 | Mar 2001 | WO |
2007018097 | Feb 2007 | WO |
Entry |
---|
International Search Report, dated Feb. 15, 2011, for corresponding International Application No. PCT/JP2010/006551. |
Extended European Search Report from European Patent Office (E.P.O.), mailed Oct. 17, 2013, in the corresponding European patent application. |
Number | Date | Country | |
---|---|---|---|
20130002712 A1 | Jan 2013 | US |