The present application claims priority from Japanese Application No. 2004-074900 filed Mar. 16, 2004, the disclosure of which is hereby incorporated by reference herein.
The present invention relates to an image data storing method and an image processing apparatus suitable to be applied to an electronic device forming, for example, various kinds of GUI (Graphic User Interface) displays.
In the past, when a GUI image based on a user operation or the like has been displayed in a display connected to an electronic device or in a display unit incorporated in the electronic device, image data constituting an image to be displayed has been stored in a memory, such as a ROM incorporated in the electronic device, and the stored image data has been read out to display the image based on the operation.
For example, consider a case in which a picture for selecting a connection state (arrangement state) of a speaker apparatus is displayed on a screen of a connected display in an audio apparatus such as a DVD (Digital Video Disc or Digital Versatile Disc) reproducing apparatus and a connection state is selected based on the screen.
Further,
When the examples of
When displays such as shown in
When displaying the above, for example, as described in the table shown in
Thus, an image display which can be changed based on a user operation is formed by preparing image data for elements (objects) constituting respective parts of the image and by arranging each portion of the image data in accordance with a display mode to form the image actually displayed. Published Japanese Patent Application No. H07-282269 discloses an apparatus in which data to be displayed is generated by combining a plurality of image data.
There is a limitation in the memory capacity of the memory means incorporated in the above-described electronic device displaying the GUI image and the like, and therefore if image data constituting the GUI image and the like can be stored using as little memory capacity as possible, the memory capacity of the memory means incorporated in the device can be reduced, which simplifies the device configuration. However, since the number of images to be displayed as the GUI image and the like in this kind of device actually tends to increase as the device becomes more multifunctional, there is such a problem that more memory capacity of the memory means is required.
The present invention is made in view of such a point and aims to efficiently reduce the memory capacity required for displaying a GUI image and the like in this kind of electronic device.
A method for generating a display of display object data selectively combined with background image data according to an embodiment of the present invention includes generating composite image data in which specific display object data selected from among a plurality of display object data is combined with the background image data; compression-coding the composite image data; storing the compression-coded composite image data in a predetermined memory separately from the background image data; decompressing the compression-coded composite image data stored in the memory; and displaying an image in which the specific display object data and the background image data are combined.
Accordingly, image data is compression-coded in a unit of one screen in a state of actually being displayed or almost being displayed, and is stored in a memory.
According to this embodiment of the present invention, since image data is compression-coded in a unit of one screen in a state of actually being displayed and is stored in a memory, various kinds of GUI images and the like can be stored using less memory capacity.
In particular, since specific display object data is not stored in the memory and only the compression-coded image data combined with the background image data is stored, the memory capacity can be reduced greatly in comparison with the case in which data of each display object is stored individually in bitmap data form or the like.
The method for generating a display according to an embodiment of the present invention further includes comparing a data volume of the specific display object data with a data volume of the compression-coded composite image data; and storing the compression-coded composite image data in the memory only when the data volume of the compression-coded composite image data is less than the data volume of the specific display object data. Accordingly, the image combined with the background image data is compression-coded and stored only when such procedure is effective in reducing the required memory capacity; and processing to store the compression-coded data can be performed efficiently.
Hereinafter, an embodiment of the present invention will be explained with reference to
The video data decoded in the video decoder 14 is supplied to an encoder 22 and is combined with image data output from an OSD (On Screen Display) generating unit 24. The OSD generating unit 24 is a processor for generating image data to form a display (referred to as an “on screen display”) of various kinds of characters and figures on the screen of a display apparatus, and for generating a GUI image described later. In this embodiment, processing to decompress the compression-coded image data stored in a ROM 30 is further performed in the OSD generating unit 24. The image data (video data) combined in the encoder 22 is supplied to a display apparatus 23 after being made into image data of a format supplied to the display apparatus 23 in the encoder 22, and is displayed on the screen of the display apparatus (display) 23.
The image generating processing in the OSD generating unit 24 is performed based on a setting control signal from a system microcomputer 21. Image data for each element constituting the image data to be generated in the OSD generating unit 24 has been stored in the ROM 30, and a part of the image data stored in the ROM 30 is stored as compression-coded image data. In this embodiment, whether or not the image data is compression-coded and stored is decided at the stage of manufacturing the software installed in the media reproducing apparatus, and whether or not the image data is compression-coded and stored is determined in processing described later on (flow chart of
Also connected to the system microcomputer 21 is a RAM 29 in which various kinds of operating programs and the like of the device are stored. Further, a front panel controller 25 is connected to the system microcomputer 21, and a display in a front panel 28 is formed based on an operation of a key input unit 26 or an operation of a remote controller 27. Further, in the case of an operating mode to display the GUI image and the like in the display apparatus 23, a command is sent to the system microcomputer 21 based on operating data supplied to the front panel controller 25 so as to generate corresponding image data in the OSD generating unit 24.
The image data generated in the core module 31 is stored in an image buffer 34, and the image data stored in the buffer 34 is supplied to the encoder 22 (refer to
Next, referring to the flow chart of
When it is determined at Step S11 that the total volume of the image data does not fall within the range of the capacity that can be used to store the GUI image, a specific object image is selected from the image data constituting the GUI image (Step S12), and it is determined whether the selected object image is an image typically displayed in a certain operation menu (Step S13). When the selected object image is not one typically displayed in the specific menu, the process returns to Step S12 and another object image is selected.
Further, when it is determined at Step S13 that the selected object image is one typically displayed in the certain operation menu, the image is combined with the background image, which is an actual display mode; the composite image is made into a renewed background image used in the operation menu; and the composite renewed background image is made into image data compression-coded by a predetermined method (Step S14). In this case, the original image data for the object image selected at Step S12 is discarded from the data to be stored in the ROM 30 (Step S15).
After having performed the processing up to this point, it is determined whether the volume of data has decreased from the total volume of the image data determined at Step S11 (Step S16), and when the volume of data has decreased, the process returns to Step S11. When it is determined at Step S16 that the data volume has not decreased from the total volume of the image data before compression, the compression-coded image data generated at Step S14 is discarded; the image data for the original object image discarded at Step S15 is recovered (Step S17); the process returns to the determination of Step S11; and another object image is selected at the next Step S12.
Further, a plurality of encoding rates may be provided from which an encoding rate may be selected when compressing and coding the image data, and when it is determined at, for example, Step S16 of the flow chart in
Next, an example of processing of actual image data is explained with reference to the display examples in
When such display is formed, as an example of the image data for each element constituting the display image in this embodiment, an initial screen 101 as shown in
Further, with respect to image data (individual speaker display data) 103 through 107 of the speakers arranged on the ring, since images are displayed in a small size on the screen as shown in
When the GUI image for selecting the speaker arrangement is displayed, the image data 102 is read out from the ROM 30; the process of decompressing from the compression-coded form is performed; the process of combining the required image data from the speaker image data 103 through 107 to be arranged in the decompressed image data in accordance with an operation at that time is performed; and the display image shown in
In this way, since image data is stored in the ROM 30 and a GUI image or the like based on a user's operation is displayed using the stored image data, various images can be stored and displayed without increasing the memory capacity of the ROM 30 as the memory means. That is, since the compression-coding process is performed in a unit of one screen size to be displayed using a predetermined method such as the MPEG method, data compression at a high compression rate can be performed in a comparatively simple process. Further, since composite processing is performed in which comparatively small image data in bitmap form is pasted on a decompressed image of a compression-coded image, various kinds of GUI images as elements constituting an image to be stored can be displayed using data having less elements, and therefore the memory capacity can be greatly reduced in comparison with the case in which all image data constituting a GUI image is stored in bitmap form as in the related art. For example, in performing the process shown in the flow chart of
It should be noted that in the embodiment heretofore explained, the processing which occurs when displaying an image in a display apparatus connected to a media reproducing apparatus such as a DVD reproducing apparatus is explained. However, it is also possible to perform similar processing when displaying a GUI image and the like in a front panel or the like incorporated in the apparatus. In addition, it is obvious that the present invention is also applicable to electronic devices other than a media reproducing apparatus which display an image, such as an internally generated GUI image, on a connected display apparatus or on an incorporated display unit. Needless to say, the content of the image to be displayed is not limited to the image of the speaker arrangement shown in the figures.
Furthermore, in the embodiment described above, the image data is compression-coded when manufacturing the software incorporated in the apparatus. However, in other cases in which image data is similarly stored in a memory means having a limited memory capacity or the like, it is also possible to determine whether the image data similarly falls within the total memory capacity of the memory means and to determine whether the image data is to be compression-coded and stored.
Moreover, although the MPEG method is described as an example of a compression-coding method and the bitmap form is described as the uncompressed form of the image data in the embodiment described above, image data compressed by other methods or in a different uncompressed form can also be used.
Having described preferred embodiments of the invention with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments and that various changes and modifications could be effected therein by one skilled in the art without departing from the spirit or scope of the invention as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
P2004-074900 | Mar 2004 | JP | national |