The present invention relates to a video display apparatus for displaying a plurality of video windows simultaneously on a single display screen.
Conventionally, to reduce labor and to increase efficiency of supervisory operation, monitoring systems have been employed which enable centralized supervision by displaying videos from a plurality of surveillance cameras along with various supervisory information items simultaneously on a display screen of a supervisory control computer. As a display apparatus the monitoring systems employ, there is a multi-big-screen display apparatus including a combination of large-sized projection display units of 50 or 70 inches. As for display methods of videos on display screens, they are roughly divided into the following two methods.
A first method is one that displays video signals transmitted from the surveillance cameras via cables after synthesizing them with a screen signal of a computer by a video synthesis apparatus. The video synthesis by the video synthesis apparatus, however, has a problem in that the number of displayable videos is limited by the specifications of the video synthesis apparatus.
A second method is one that once digitizes videos captured from surveillance cameras; carries out compression encoding through a video encoding scheme such as JPEG, MPEG-2 and MPEG-4; transmits to the supervisory control computer in a central monitor room as compressed video data via a computer communications network; carries out decompression of the videos on the supervisory control computer; and displays the videos on the screen of the display apparatus. Recently, the second method has been increasingly used in conjunction with the video digitization.
On the other hand, as a screen display method of a computer, a multiwindow system using an overlapping window method is the mainstream. The multiwindow system can display multiple display regions called windows simultaneously with superimposing them, and enables each application to draw in its window without considering overlapping with other windows. More specifically, when the windows overlap, although it is necessary to carry out clipping that draws only portions appearing on the screen, since the system itself performs it, the application need not take care of it.
To display the compressed digital videos, however, decompression for restoring the compressed digital videos to their original state is necessary before display. The decompression of the compressed digital videos must be made for entire regions including regions concealed under the windows, and the clipping is carried out after the decompression to display only portions to be appeared. Accordingly, the decompression of the digital videos for the concealed regions is carried out in vain. In addition, the decompression is also required for regions of the windows, which are not displayed because of lying off the edge of the screen, which presents a similar problem.
In view of this, a video display method and system is proposed which can reduce the load of a communication channel or that of a supervisory control computer by obtaining the degree of interest of a user for the videos from the overlapping order of the videos on the screen or the display state such as the display areas of the videos, and by changing the compression ratio, the number of frames or the number of pixels in accordance with the degree of interest (see Patent Document 1, for example).
Patent Document 1: Japanese patent application laid-open No. 6-324662/1994.
With the foregoing configuration, the conventional video display apparatus has a problem of increasing the processing load when the windows overlap because it carries out the decompression of the videos even for the portions that are not displayed.
In addition, the video display method and system of Patent Document 1 has the following problem. As for a window placed under the overlapping windows, it sometimes occurs that its degree of priority is not low, and only part of the window is necessary to appear. The video display method and system, however, considers that the lower position window has a low degree of priority, and reduces its video quality, the number of frames or the number of pixels, which offers a problem of hindering supervisory operation.
The present invention is implemented to solve the foregoing problems. Therefore it is an object of the present invention to provide a video display apparatus capable of reducing the processing load by eliminating useless video decompression by preventing the decompression of the portions of the videos which are not displayed because of overlapping between the windows or because of lying off the edge of the screen.
The video display apparatus in accordance with the present invention includes a video window management table for managing video window information about video windows; a video window alteration detecting section for detecting any change in a display state of the video windows, and for updating the video window information in the video window management table; a compressed video region cutting-out section for cutting out part of video regions of the digital videos to be displayed in the video windows according to the video window information; a compressed video decompression section for decompressing the video regions of the digital videos cut out by the compressed video cutting-out section; and a video display section for displaying the digital videos, which are decompressed by the compressed video decompression section, in the video windows on the display screen.
According to the video display apparatus in accordance with the present invention, in the video display apparatus capable of displaying a plurality of digital videos on the same display screen by superimposing video windows for displaying the digital videos, the video display apparatus manages the video window information including the visible region information by using the video window management table; cuts out the compressed video data only in the visible regions before the video decompression; and carries out the video decompression. Thus, it offers an advantage of being able to reduce the load of the video decompression.
The best mode for carrying out the invention will now be described with reference to the accompanying drawings to explain the present invention in more detail.
The embodiment 1 will now be described.
In
Although the video window management table 2 manages the video window information about all the video windows in
In addition, the rectangle information includes, in a local coordinate system of each video window having the origin at the top left corner of the video window, the coordinate values Xi and Yi of each rectangle start position; the rectangle width Wi which is the number of pixels in the horizontal direction of the rectangle; and the rectangle height Hi which is the number of pixels in the vertical direction of the rectangle, where i is the number of the rectangle (see
In
According to the visible region information about the video windows corresponding to the digital videos stored in the video window management table 2, the compressed video region cutting-out section 4 extracts the tiles corresponding to the regions to be displayed from the compressed video data 1 on a frame by frame basis, and reconstructs the compressed video data on a rectangle by rectangle basis.
The compressed video decompression section 5 carries out decompression of the compressed video data on a frame by frame basis as to the JPEG-2000 videos in the visible regions cut out by the compressed video region cutting-out section 4 on a rectangle by rectangle basis.
The video display section 6 displays the JPEG-2000 videos decompressed by the compressed video decompression section 5 on the display screen.
Next, the operation of the video display apparatus of the embodiment 1 will be described with reference to
The compressed video data 1a, the compressed video data of the video A, consists of N frames. The compressed video data 1b, the compressed video data of the video B, consists of N frames.
In
Detecting any changes in the display state of the video windows, the video window alteration detecting section 3 makes a decision as to whether the video window having the change lies off the edge of the screen. If it lies off the edge of the screen, the video window alteration detecting section 3 obtains only the regions within the display screen as the visible regions. Subsequently, it excludes the regions overlapped by all the windows above the video window having the change, and obtains the visible regions of the video window having the change. Likewise, it obtains the visible region information about all the video windows other than the video window having the change, and updates the video window management table 2.
In the video window management table of
First, the processing flow of the video B will be described. In
At step ST400, the compressed video region cutting-out section 4 obtains the video window information about the video window that displays the video B from the video window management table 2.
At step ST401, using the visible region information in the video window information obtained at step ST400, the compressed video region cutting-out section 4 obtains all the tiles overlapped by the visible regions, and divides the tiles into a plurality of groups on a rectangle by rectangle basis.
At step ST402, the compressed video region cutting-out section 4 constructs and outputs the compressed video data for the groups obtained at step ST401 according to the JPEG-2000 encoding scheme.
At step ST4010, the compressed video region cutting-out section 4 obtains the numbers of tiles XTNum and YTNum in the horizontal and vertical directions of the video.
XTNum=ceiling(DW/XTSiz)
YTNum=ceiling(DH/YTSiz)
where DW and DH denotes the horizontal size and vertical size of the video, and XTSiz and YTSiz denotes the horizontal size and vertical size of the tiles. These sizes XTSiz and YTSiz are contained in the main header section of the compressed video data. The detailed description of the main header section is omitted here. Here, ceiling(x) is a function that outputs the minimum integer equal to or greater than x.
At step ST4011, the compressed video region cutting-out section 4 prepares a two-dimensional array TI[XTNum] [YTNum] for representing whether the array element values having the tile numbers as indexes are overlapped by the visible regions or not, and initializes all the elements of the two-dimensional array TI[XTNum] [YTNum] to zero.
At step ST4012, the compressed video region cutting-out section 4 decides that when the value of the array TI[K] [L] is zero, the tile (K, L) is not overlapped by the visible regions, and that when the value of the array TI[K] [L] is (i+1), the tile (K, L) is overlapped by the visible regions. Subsequently, the compressed video region cutting-out section 4 assigns zero to as the initial value, where i is the rectangle number.
At step ST4013, the compressed video region cutting-out section 4 obtains the tile number (Plu, Qlu) of the tile into which the top left corner of the rectangle is placed from the following expressions.
Plu=Xi/XTSiz
Qlu=Yi/YTSiz
where Plu and Qlu are assumed to take integral numbers. In the foregoing expressions, Xi and Yi indicate the rectangle start position in the horizontal and vertical directions of the rectangle No. i.
At step ST4014, the compressed video region cutting-out section 4 obtains the tile number (Prl, Qrl) of the tile into which the bottom right corner of the rectangle No. i is placed from the following expressions.
Prl=(Xi+Wi−1)/XTSiz
Qrl=(Yi+Hi−1)/YTSiz
where Prl and Qrl are assumed to take integral numbers. In the foregoing expressions, Wi and Hi are width and height of the rectangle No. i, respectively.
At step ST4015, the compressed video region cutting-out section 4 creates the tile numbers of the tiles belonging to the rectangle that consists of a plurality of tiles and has the tile number (Plu, Qlu) at the top left corner and the tile number (Prl, Qrl) at the bottom right corner, and sets the values of the array element positions corresponding to the two-dimensional array TI[XTNum] [YTNum] at (i+1). As a result, in the two-dimensional array TI[XTNum] [YTNum], the value (i+1) is stored in the array element positions having the tile numbers of the tiles overlapped by the rectangle No. i as the indexes.
At step ST4016, the compressed video region cutting-out section 4 adds one to i to set the next rectangle number.
At step ST4017, the compressed video region cutting-out section 4 makes a decision as to whether i exceeds the rectangle number N. If i exceeds the rectangle number N, it completes the processing because the processing of obtaining the overlapped tiles is completed for all the rectangles and for all the tile numbers of the tiles overlapped by the visible regions. If the new rectangle number i is less than the rectangle number N, the processing returns to step ST4013 to execute the processing from step ST4013 to ST4016 as to the new rectangle.
At the time of completing all the steps from step ST4010 to ST4017, the tiles having the same value belong to the same group on a rectangle by rectangle basis in the two-dimensional array TI obtained.
Next, the operation of the compressed video region cutting-out section 4 will be described by way of example of the video B of
At step ST4010 of
XTNum=Ceiling(640/160)=4
YTNum=Ceiling(480/120)=4
At step ST4011, the compressed video region cutting-out section 4 prepares the two-dimensional array TI[4] [4], and initializes all the array element values to zero.
At step ST4012, the compressed video region cutting-out section 4 initializes i representing the rectangle number to zero.
At step ST4013, since X0=400 and Y0=0 from
Plu=400/160=2
Qlu=0/120=0
Thus, the tile number into which the top left corner of the rectangle No. 0 is placed becomes (2,0).
At step ST4014, since W0=240 and H0=280 from
Prl=(400+240−1)/160=3
Qrl=(0+280−1)/120=2
At step ST4015, the compressed video region cutting-out section 4 creates the tile numbers belonging to the rectangle that consists of the plurality of tiles with the top left corner tile number being (2,0) and the bottom right corner tile number being (3,2). Then, in the two-dimensional array TI[4] [4], the array element positions corresponding to the tile numbers are assigned a value 1. As a result, the two-dimensional array TI[4] [4] becomes as shown in
Subsequently, at step ST4016, the compressed video region cutting-out section 4 adds one to i, resulting in i=1.
At step ST4017, the compressed video region cutting-out section 4 compares the number N of the rectangles contained in the visible region with i. Since the number N of the rectangles in the visible region in the video B is N=2, i=1<N=2 holds. This indicates that the remaining rectangle is present, and hence the processing returns to step ST4013, again.
Next, the compressed video region cutting-out section 4 obtains the tiles for i=1, that is, the tiles overlapped by the rectangle No. 1. At step ST4013, the compressed video region cutting-out section 4 obtains the tile number (Plu, Qlu) into which the top left corner of the rectangle No. 1 is placed from the following expressions. From the information about the rectangle No. 1 of the visible region information of
Plu=0/160=0
Qlu=280/120=2
Next, at step ST4014, the compressed video region cutting-out section 4 obtains the tile number (Prl, Qrl) into which the bottom right corner of the rectangle No. 1 is placed from the following expressions.
Prl=(0+640−1)/160=3
Qrl=(200+280−1)/120=3
At step ST4015, the compressed video region cutting-out section 4 creates the tile numbers belonging to the rectangle that consists of a plurality of tiles with the tile number (0,2) at the top left corner and the tile number (3,3) at the bottom right corner. Then, it sets the array element position value corresponding to the tile numbers at 2 in the two-dimensional array TI[4] [4]. As a result, the two-dimensional array TI[4] [4] becomes as shown in
At step ST4016, the compressed video region cutting-out section 4 adds one to i, resulting in i=2.
At step ST4017, the compressed video region cutting-out section 4 carries out the comparison of i<N. Since N=2, i=N holds and i<N becomes “NO”. As a result, in the two-dimensional array TI[4] [4], the tiles with the tile numbers corresponding to the array index numbers other than zero are tiles overlapped by the visible region of the video window of the video B.
b) is a diagram showing the tiles grouped in the video B. The tiles with the same hatching belong to the same group. In the case of video B, {tiles (2,0), tiles (3,0), tiles (2,1), tiles (3,1)} with the value 1 fall into a first group, and {tiles (0,2), tiles (1,2), tiles (2,2), tiles (3,2), tiles (0,3), tiles (1,3), tiles (2,3), tiles (3,3)} with the value 2 fall into a second group.
c) shows the state in which the compressed video data are reconstructed according to the JPEG-2000 encoding scheme for each of the first group and second group involved in the grouping in
The compressed video region cutting-out section 4 supplies the compressed video data it cuts out to the compressed video decompression section 5. The compressed video decompression section 5 decompresses the compressed video data cut out. In the embodiment 1, a JPEG-2000 decoder decompresses the compressed video data of the JPEG-2000 encoding scheme. Finally, the video display section 6 displays on the display screen according to the display positions indicated by the video window information corresponding to the video window management table.
As described above, in the video display apparatus capable of displaying a plurality of digital videos on the same display screen by superimposing the video windows for displaying the digital videos, the present embodiment 1 is configured in such a manner that it has the video window management table manage the video window information including the visible region information, cuts out only the compressed video data about the visible regions before the video decompression, and carries out the video decompression. Thus, the present embodiment 1 offers an advantage of being able to reduce the load of the video decompression.
As described above, the video display apparatus in accordance with the present invention is applicable to a multi-big-screen display apparatus used for multichannel video display systems and high-definition video display systems.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2005/000076 | 1/6/2005 | WO | 00 | 7/5/2007 |