Hereinafter, an embodiment of according to an embodiment of the invention will be described. The following is examples of the correspondence between configuration requirements for according to an embodiment of the invention and the embodiments of the specification or the drawings. This is described for confirming that the embodiments supporting according to an embodiment of the invention are described in the specification or the drawings. Therefore, even though there is an embodiment that is described in the specification or the drawings but is not described herein as an embodiment corresponding to configuration requirements for the invention, it does not mean that the embodiment does not correspond to those configuration requirements. Contrary to this, even though an embodiment is described herein as an embodiment corresponding to configuration requirements, it does not mean that the embodiment does not correspond to configuration requirements other than those configuration requirements.
A display control apparatus according to an embodiment of the invention is a display control apparatus including: an input means (for example, a storage memory 1 in
The comparing means may compute an amount of difference of a pixel value between pixels corresponding to the input image and the decompressed image (for example,
The comparing means may compute an amount of difference of a brightness value or a color difference value between pixels corresponding to the input image and the decompressed image, or amounts of difference of both of a brightness value and a color difference value (for example,
A display control method, or a program according to an embodiment of the invention is a display control method, or a program including the steps of: inputting an image of a compression target (for example, the process of a storage memory 1 in
A storage memory 1 receives an input image to be a compression target supplied to the data compressor, and the storage memory 1 temporarily stores the entered input image in units of frames, for example.
The storage memory 1 reads the stored input image in units of frames, for example, under control done by the readout control part 2, and supplies it to a compression circuit 3 or an image processing circuit 5.
The compression circuit 3 compresses the input image read out of the storage memory 1 in compliance with the MPEG (Moving Picture Expert Group) standards, for example, and externally outputs the compressed image thus obtained, or supplies it to a decompression circuit 4.
The decompression circuit 4 decompresses the compressed image supplied from the compression circuit 3 in compliance with the standards MPEG, for example, and supplies the decompressed image thus obtained to the image processing circuit 5 and a switch 7.
The storage memory 1 reads the input image (hereinafter, referred to as an original image) that is the original of the decompressed image out of the decompression circuit 4, and the image is inputted to the image processing circuit 5.
For example, in the case in which ten frames of the input image are inputted to the storage memory 1 during the period for which a single frame of the input image read out of the storage memory 1 is supplied to the compression circuit 3, the image is compressed there and supplied to the decompression circuit 4, and the image is decompressed there and inputted to the image processing circuit 5, the readout control part 2 allows the storage memory 1 to delay reading the input image to the image processing circuit 5 by ten frames of input time. As described above, the readout of the storage memory 1 to the image processing circuit 5 is controlled, whereby the image processing circuit 5 receives the original image and the decompressed image obtained from the original image (hereinafter, referred to as a target decompressed image).
The image processing circuit 5 compares the original image read and inputted from the storage memory 1 with the target decompressed image from the decompression circuit 4 under control done by an image processing control part 6, and applies a predetermined process to the target decompressed image in accordance with the compared result.
For example, the image processing circuit 5 takes the amount of difference of the pixel value between the original image and the target decompressed image for every corresponding pixel, and replaces the pixel value of the pixels of the target decompressed image that have the amount of difference exceeding a predetermined reference value with a predetermined substitute value. The detail of this process will be described later.
The image processing circuit 5 supplies the target decompressed image subjected to a predetermined process to the image display shifting switch 7.
The image display shifting switch 7 selects the decompressed image to which a predetermined process is applied and which is supplied from the image processing circuit 5, or selects the decompressed image supplied from the decompression circuit 4 in accordance with the instruction from a displayed image control part 8, and outputs it to display device, not shown, for display.
Next, the operation of the image processing circuit 5 will be described with reference to a flow chart shown in
In Step S1, the image processing circuit 5 reads the pixel value of a pair of the corresponding pixels from the original image and the target decompressed image.
In Step S2, the image processing circuit 5 computes the amount of difference of the pixel value between the pixel of the original image read in Step S1 and the pixel of the target decompressed image, and in Step S3, it determines whether the amount of difference is equal to or greater than a predetermined reference value.
If the image processing circuit 5 determines that the amount of difference is equal to or greater than the reference value in Step S3, it goes to Step S4, replaces the pixel value of the pixel of the target decompressed image read in Step S1 with a predetermined substitute value, and goes to Step S5.
If it is determined that the amount of difference is smaller than the reference value in Step S3, the process in Step S4 is skipped, that is, the pixel value of the pixel of the target decompressed image is not replaced with the substitute value, and the process goes to Step S5.
In Step S5, the image processing circuit 5 determines whether all the pixels of the original image and the target decompressed image are subjected to the process steps in Step S1 to Step S4. If it determines that unprocessed pixels remain, returns to Step S1, and reads the pixel value of the subsequent pixel to similarly perform the process steps after Step S2.
If it is determined that all the pixels have been processed in Step S5, the process is ended.
The process steps in Step S1 to Step S5 are repeatedly performed for each frame of the input image and the decompressed image.
As described above, in comparison with the original image, since it can be considered that the pixel of the target decompressed image having a certain amount of difference is degraded in the image quality, the pixel value of such a pixel is replaced with a predetermined substitute value, whereby the decompressed image can be displayed so that the portion of such pixels is emphasized (that is, visually emphasized) in contrast with the portion of the other pixels (the portion in which the image quality is not degraded). Consequently, an operator can easily find the portion in which the image quality is degraded from the displayed image corresponding to the decompressed image.
Next, image processing in the image processing circuit 5 described above will be described based on a specific example.
For example, the color difference values of the individual pixels of the original image and the target decompressed image are compared with each other, and the color difference value of the pixel of the target decompressed image having the amount of difference exceeding a predetermined reference value (for example, 8′h0F) can be replaced with a predetermined substitute value (for example, 8′h10).
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
As described above, the color difference value of the pixel in which the image quality is degraded is replaced with a predetermined substitute value. Thus, since the portion is displayed with a certain color, the pixel with the portion is displayed as it is emphasized in contrast with the other pixels.
In addition, each of the grids shown in
As described above, in comparison with the original image, the pixel value of the pixel of the target decompressed image that obtains the amount of difference equal to or greater than a certain amount is replaced with the pixel value that has a greater amount of difference, for example, whereby the portion of the pixel in which a difference equal to or greater than a certain amount is generated in comparison with the original image can be visually emphasized and displayed when the decompressed image is displayed (that is, the portion in which the image quality is degraded).
In addition, the brightness values of the individual pixels of the target decompressed image and the original image are compared, and the brightness value of the pixel of the target decompressed image in which the amount of difference exceeding a predetermined reference value (for example, 8′h0F) is obtained can be replaced with a predetermined substitute value (for example, 8′h10).
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
As described above, the brightness value of the pixel in which the image quality is degraded is replaced with a predetermined substitute value. Thus, since the portion is displayed with certain brightness, the portion of the pixel is emphasized and displayed in contrast with the other pixels.
In addition, both of the brightness value and the color difference value of the individual pixels of the original image and the target decompressed image are compared, the brightness value of the pixel of the target decompressed image in which the amounts of difference of the brightness value and the color difference value exceed a predetermined reference value (for example, both values exceed 8′h0F) can be replaced with a predetermined substitute value (for example, 8′h10), and the color difference value of the pixel can be replaced with a predetermined substitute value (for example, 8′hFO).
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
As described above, since both of the color difference value and the brightness value are compared, the pixel in which the image quality is degraded can be detected more accurately. In addition to this, since the color difference value and the brightness value of the pixel are replaced with a predetermined substitute value, the portion is displayed with a certain color and certain brightness, the pixel is emphasized and displayed in contrast with the other pixels.
In addition, the brightness values of the individual pixels of the original image and the target decompressed image are compared, the color difference value of the pixel of the target decompressed image that obtains the amount of difference of the brightness value exceeding a predetermined reference value (for example, 8′h0F) can be replaced with a predetermined substitute value (for example, 8′hF0).
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
In this example, the brightness values are compared, and the color difference value is changed based on the compared result.
Moreover, both of the brightness value and the color difference value between the individual pixels of the original image and the target decompressed image are compared, and the brightness value and the color difference value of the pixel of the target decompressed image that the amounts of difference of the brightness value and the color difference value exceed a predetermined reference value (for example, both exceed 8′h0F) can be replaced with the value that is determined from the pixel value of the pixel in the relation of a predetermined position to the pixel on the original image that corresponds to the pixel in which the pixel value of the target decompressed image is replaced.
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
Furthermore, in the examples shown in
As described above, the pixel value of the pixel in which the image quality is degraded is based on the pixel value of the pixels of the original image in a predetermined range corresponding thereto. Therefore, the pixel can be displayed putting more emphasis thereon in contrast with the pixel in which the image quality is not degraded.
In the case in which both of the brightness value and the color difference value of the individual pixels of the original image and the target decompressed image are compared and there are a predetermined number or greater of pixels that obtain the amounts of difference of the brightness value and the color difference value exceeding a predetermined reference value (for example, 8′h0F) for the pixels of the target decompressed image in every predetermined range, the pixel value of the pixels of the target decompressed image in that range can be replaced with a predetermined value.
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
In this case, the amounts of difference of the brightness value and the color difference value of the hatched pixels between the original image in
In addition, both of the brightness value and the color difference value between the individual pixels of the original image and the target decompressed image are compared, and the pixel value of the pixels other than the pixels that the amounts of difference of the brightness value and the color difference value of the target decompressed image exceed a predetermined reference value (for example, both are 8′h0F) can be replaced with a predetermined pixel value.
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
In addition, the brightness values of the individual pixels of the original image and the target decompressed image are compared, and the pixel value of the pixels of the target decompressed image can be replaced so that the pixels of the target decompressed image are displayed in color that corresponds to the amount of difference.
In this example, for example, in the case in which an original image including the pixels having the pixel values shown in
In other words, the pixels having the pixel values shown in
In addition, the examples shown in
Moreover, in the examples shown in
In addition, 2 pass encoding is a scheme in which an input material is temporarily encoded in a fixed quantizing step in compliance with the MPEG standards, for example, the coded amount generated at this time is acquired as the degree of difficulty in coding, a target data volume generated at actual encoding is decided based on the degree of difficulty, and actual encoding is performed at the quantizing step in which the target data volume is generated.
In addition, as described above, the descriptions of control in the displayed image control part 8 are not shown specifically, but for example, the displayed image can be controlled so that the input image can be visually compared with the decompressed image in which the pixel value of the pixel is replaced with a predetermined substitute value in accordance with the amount of difference of the pixel value of the pixels corresponding to the input image and the decompressed image.
For example, in the case in which an input image and a decompressed image are arranged side by side and displayed on a display device, on the display part on which the decompressed image is displayed, images are displayed such a way that the decompressed image is switched with the decompressed image in which the pixel value of the pixel having the amount of difference exceeded from a predetermined reference value is replaced with a predetermined substitute value. The images are displayed in this manner, whereby the portion can be easily identified in the decompressed image, the portion in which the amount of difference of the pixel value between the pixels corresponding to the input image and the decompressed image exceeds a predetermined reference value, and the portion can actually visually seen and compared.
In addition, in the case in which an input image and a decompressed image are arranged side by side and displayed on a display device, the input image and the decompressed image may be displayed that have the portion in which the amount of difference of the pixel value between the pixels corresponding to the input image and the decompressed image exceeds a predetermined reference value. Moreover, at this time, both images may be enlarged and displayed. The images are displayed in this manner, whereby the portion in which the amount of difference of the pixel value between the pixels corresponding to the input image and the decompressed image exceeds a predetermined reference value can be presented to a person who authors to easily, visually confirm the portion.
Next, a series of the process steps described above may be performed by hardware or may be by software. In the case in which a series of the process steps is performed by software, a program configuring the software is installed in a multipurpose computer.
Then,
The program can be recorded in advance on a hard disk 105 or a ROM 103 as a recording medium incorporated in the computer.
Alternatively, the program can be temporarily or permanently stored (recorded) on a removable recording medium 111 such as a flexible disc, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto-optical) disc, a DVD (Digital Versatile Disc), a magnetic disc, and a semiconductor memory. The removable recording medium 111 like this can be provided as so-called package software.
Moreover, the program is installed into the computer through the removable recording medium 111 as described above, as well as it can be installed into the hard disk 105 incorporated in the computer from a download site through an artificial satellite for digital satellite broadcast over radio transmission, or installed into the computer through a network such as a LAN (Local Area Network) and the Internet over cable transmission, or installed into the incorporated hard disk 105 by receiving the program thus transmitted by a communicating part 108 in the computer.
The computer has a CPU (Central Processing Unit) 102 therein. To the CPU 102, an I/O interface 110 is connected through a bus 101. When a user manipulates an input part 107 configured of a keyboard, a mouse, a microphone, etc., to enter an instruction to the CPU 102 through the I/O interface 110, it runs the program stored in the ROM (Read Only Memory) 103. Alternatively, the CPU 102 loads into a RAM (Random Access Memory) 104 the program that is stored in the hard disk 105, the program that is transmitted through a satellite or a network, received at the communicating part 108, and installed in the hard disk 105, or the program that is read out of the removable recording medium 111 mounted on a drive 109 and installed into the hard disk 105 for implementation. Thus, the CPU 102 performs the process steps in accordance with the flow charts described above, or runs the process steps performed by the configurations in the block diagrams shown.
Then, the CPU 102 outputs the process results from an output part 106 configured of an LCD (Liquid Crystal Display) and a speaker through the I/O interface 110, etc., as necessary, or transmits the process results from the communicating part 108, or further records the process results on the hard disk 105.
Here, in the specification, the process steps describing the program to allow the computer to run various processes are not necessarily performed in time series along the order described in flow charts, which include the process steps performed in parallel or separately (for example, parallel processing or processing by an object).
In addition, the program may be processed in a single computer, or may be processed by a plurality of computers in distributed processing. Furthermore, the program may be forwarded to a remote computer for implementation.
Moreover, an embodiment of the invention is not limited to the embodiments described above, which can be modified within the scope not deviating from the teaching of an embodiment of the invention.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
JP2006-251136 | Sep 2006 | JP | national |