USPatent applicationPatented

Image evaluation apparatus and method

Granted 2 Aug 2016 · 1 office action

Assignee: Fujitsu Limited

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Ryuta Tanaka, Shohei Nakagata · Examiner: Siamak Harandi · AU 2665 · TC 2600

Life of the application

8 dated events
⤢ drag to zoom20142016201820202022202420262028203020322034ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

An evaluation apparatus includes: a memory; and a processor coupled to the memory and configured to calculate a first feature by calculating a first-order difference for a first image, calculate a second feature by calculating a second-order difference for the first image, calculate a third feature by calculating a first-order difference for a second image, calculate a fourth feature by calculating a second-order difference for the second image, and evaluate deterioration of the second image with respect to the first image according to a first simultaneous distribution that represents a first relationship between the first feature and the second feature and to a second simultaneous distribution that represents a second relationship between the third feature and the fourth feature.

Description

15 parts
›CROSS-REFERENCE TO RELATED APPLICATION

This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2013-129987, filed on Jun. 20, 2013, the entire contents of which are incorporated herein by reference.

›FIELD

The embodiments discussed herein are related to an evaluation apparatus and an evaluation method.

›BACKGROUND

As smartphones, tablet personal computers (PCs), and other devices that can easily display a video have been widely used and a network environment to distribute videos has been fully improved, there have been an increasing number of opportunities to distribute video content in various forms. To distribute a video to various devices, the video is transcoded to forms corresponding to individual devices. Video quality may be lowered during the transcoding or distribution of the video, or the video may be destructed due to, for example, an error during video distribution. Accordingly, the video quality is checked before the video is displayed.

In one method of checking video quality, a person visually checks pieces of distributed content one by one. This method involves enormous human costs and burdens and imposes a physical limit when a large amount of content is checked. In view of this, there is a desire for technology that automatically evaluates video quality and thereby substantially reduces human tasks.

There are three types of methods of automatically evaluating video quality; a full reference (FR) method, in which all original videos before deterioration and all deteriorated videos are used, a reduced reference (RR) method, in which the features of two videos are compared, and a non-reference (NR) method, in which only deteriorated videos are used. The FR method enables quality to be highly precisely inferred because all information of a video is used, but is disadvantageous in that much processing time is taken.

The RR method enables quality to be inferred in less processing time than the FR method because the features of videos are compared. However, inference precision is lower than in the FR method accordingly. The NR method takes the least processing time among the three methods because only deteriorated videos are used for evaluation. However, it is generally said that inference precision in the NR method is the lowest among the three methods.

A conventional RR method will now be described. FIG. 15 illustrates the conventional RR method. In the example in FIG. 15 , a feature creating unit 10 a , a feature creating unit 10 b , and a calculating unit 11 are included. The feature creating unit 10 a creates a feature from an original video 1 a and outputs the created feature to the calculating unit 11 . The feature creating unit 10 b creates a feature from a deteriorated video 1 b and outputs the created feature to the calculating unit 11 . The calculating unit 11 calculates a difference between the feature received from the feature creating unit 10 a and the feature received from the feature creating unit 10 b and outputs the calculation result as an evaluation value 1 c.

Next, a conventional technology that uses a RR method will be described. The conventional technology evaluates video quality by using the amount of edges in a video and changes in statistic S of image differences in the time direction. For example, the conventional technology obtains three evaluation values that represent the degree of an increase or a decrease in image edges, the degree of the strength of block noise, and the degree of image deterioration in the time direction.

FIG. 16 illustrates the conventional technology that uses a RR method. In the example in FIG. 16 , a feature creating unit 30 a , a feature creating unit 30 b , and a calculating unit 30 c are included. The feature creating unit 30 a obtains of the distribution of a first feature, the distribution of a second feature, and the distribution of a third feature from the original video 1 a . The feature creating unit 30 a obtains statistics from the distributions of the first to third features and obtains a first deterioration feature, a second deterioration feature, and a third deterioration feature from the obtained statistics. The feature creating unit 30 a then outputs the first to third deterioration features to the calculating unit 30 c.

The feature creating unit 30 b obtains the distribution of the first feature, the distribution of the second feature, and the distribution of the third feature from the deteriorated video 1 b . The feature creating unit 30 b obtains statistics from the distributions of the first to third features and obtains a first deterioration feature, a second deterioration feature, and a third deterioration feature from the obtained statistics. The feature creating unit 30 b then outputs the first to third deterioration features to the calculating unit 30 c.

The calculating unit 30 c calculates an evaluation value 2 a , an evaluation value 2 b , and an evaluation value 2 c from the first to third deterioration features received from the feature creating unit 30 a and from the first to third deterioration features received from the feature creating unit 30 b . Specifically, the calculating unit 30 c calculates the evaluation value 2 a from the first deterioration feature received from the feature creating unit 30 a and from the first deterioration feature received from creating unit 30 b ; the calculating unit 30 c calculates the evaluation value 2 b from the second deterioration features received from the feature creating unit 30 a and from the second deterioration feature received from creating unit 30 b ; and the calculating unit 30 c calculates the evaluation value 2 c from the third deterioration features received from the feature creating unit 30 a and from the third deterioration feature received from creating unit 30 b . For example, the evaluation value 2 a represents the degree of an increase or a decrease in image edges, the evaluation value 2 b represents the degree of the strength of block noise, and the evaluation value 2 c represents the degree of image deterioration in the time direction.

The above technology is disclosed in, for example, Japanese Laid-open Patent Publication No. 6-133176, Japanese Laid-open Patent Publication No. 6-233013, International Publication Pamphlet No. WO 2009/133884, and Japanese Patent No. 2795147.

›SUMMARY

According to an aspect of the invention, an evaluation apparatus includes: a memory; and a processor coupled to the memory and configured to calculate a first feature by calculating a first-order difference for a first image, calculate a second feature by calculating a second-order difference for the first image, calculate a third feature by calculating a first-order difference for a second image, calculate a fourth feature by calculating a second-order difference for the second image, and evaluate deterioration of the second image with respect to the first image according to a first simultaneous distribution that represents a first relationship between the first feature and the second feature and to a second simultaneous distribution that represents a second relationship between the third feature and the fourth feature.

The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.

›BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a functional block diagram illustrating the structure of an evaluation apparatus in a first embodiment;

FIG. 2 illustrates a relationship among absolute values of first-order differences, the absolute values of second-order differences, and image patterns;

FIG. 3 illustrates a relationship between block noise, blurring, and noise in the simultaneous distribution of a basic feature;

FIG. 4 illustrates a relationship between contrast emphasis and contrast suppression in the simultaneous distribution of the basic feature;

FIG. 5 is a flowchart illustrating a processing procedure for creating a deterioration feature related to blurring;

FIG. 6 is a functional block diagram illustrating the structure of an evaluation apparatus in a second embodiment;

FIG. 7 is a flowchart illustrating a processing procedure for creating deterioration features related to blurring, block noise, and noise;

FIG. 8 is a functional block diagram illustrating the structure of an evaluation apparatus in a third embodiment;

FIG. 9 is a flowchart illustrating a processing procedure for creating deterioration features related to blurring and noise;

FIG. 10 is a functional block diagram illustrating the structure of an evaluation apparatus in a fourth embodiment;

FIG. 11 is a flowchart illustrating a processing procedure for creating deterioration features related to contrast emphasis and contrast suppression;

FIG. 12 is a functional block diagram illustrating the structure of an evaluation apparatus in a fifth embodiment;

FIG. 13 is a flowchart illustrating a processing procedure for creating deterioration features related to blurring, block noise, and noise in consideration of the time direction;

FIG. 14 illustrates an example of the structure of a computer that executes an evaluation program;

FIG. 15 illustrates a conventional RR method;

FIG. 16 illustrates a conventional technology that uses a RR method; and

FIG. 17 illustrates the conventional technology.

›DESCRIPTION OF EMBODIMENTS · 1 of 10

The conventional technology described above is problematic in that it is difficult to use a desired quality parameter to evaluate deterioration caused during conversion of image data included in video data.

In the conventional technology that has been described with reference to FIG. 16 , statistics based on one-dimensional distributions of features are used to calculate deterioration features. A deterioration feature is obtained independently for each feature distribution. FIG. 17 illustrates the conventional technology. In the example in FIG. 17 , a first deterioration feature and a second deterioration feature are each calculated from the one-dimensional distribution of a first feature and a second feature and an evaluation value is calculated from the first and second deterioration features.

To detect a deterioration factor that is difficult to detect only from the distribution of each feature, therefore, features and statistics from which deterioration can be detected are newly added and deterioration features used to detect the deterioration factor is recalculated. This processing is redundant and complex.

As for a deterioration factor for the degree of an increase or a decrease in image edges, for example, to detect a further detailed increase or decrease in edges separately in noise generation and in contrast emphasis, it is desirable to recalculate new features other than the amount of edges and differences in time and then recalculate a statistic.

In an aspect, an object of the technology disclosed in an embodiment is to evaluate deterioration caused during conversion of image data included in video data by using desired quality parameters.

Embodiments of an evaluation apparatus, an evaluation method, and an evaluation program disclosed in this application will be described below in detail with reference to the drawings. However, the present disclosure is not limited to these embodiments.

First Embodiment

An evaluation apparatus in a first embodiment will be described. FIG. 1 is a functional block diagram illustrating the structure of an evaluation apparatus in the first embodiment. As illustrated in FIG. 1 , the evaluation apparatus 100 includes a communication unit 105 , an input unit 110 , a display unit 120 , a storage unit 130 , and a control unit 140 .

The communication unit 105 performs communication with an external apparatus through a network or the like. For example, the evaluation apparatus 100 may acquire original video data 131 and deteriorated video data 132 from another apparatus through the communication unit 105 .

The input unit 110 receives various types of information. The input unit 110 is, for example, a keyboard, a mouse, a touch panel, or the like. The display unit 120 displays information output from the control unit 140 . The display unit 120 is, for example, a monitor, a liquid crystal display, or the like.

The storage unit 130 stores the original video data 131 and deteriorated video data 132 . The storage unit 130 is a storage device such as, for example, a random-access memory (RAM), a read-only memory (ROM), a flash memory, or another semiconductor memory.

The original video data 131 is video data before transcoding. The deteriorated video data 132 is video data obtained by transcoding the original video data 131 .

The control unit 140 includes a first calculating unit 141 , a second calculating unit 142 , and an evaluating unit 143 . The control unit 140 is, for example, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or another integrated circuit. Alternatively, the control unit 140 is, for example, a central processing unit (CPU), a micro-processing unit (MPU), or another electronic circuit.

The first calculating unit 141 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the original video data 131 to calculate the basic feature of the original video data 131 . The first calculating unit 141 outputs information about the basic feature of the original video data 131 to the evaluating unit 143 .

The second calculating unit 142 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the deteriorated video data 132 to calculate the basic feature of the deteriorated video data 132 . The second calculating unit 142 outputs information about the basic feature of the deteriorated video data 132 to the evaluating unit 143 .

The evaluating unit 143 is a processing unit that evaluates deterioration of the deteriorated video data 132 to the original video data 131 according to the basic feature of the original video data 131 and the basic feature of the deteriorated video data 132 . The evaluating unit 143 in the first embodiment evaluates image blurring as an example.

Next, processing by the first calculating unit 141 will be described. Assuming that the pixel values of a video at a position (x, y) of an image in an n-th frame in the original video data 131 are F (n, x, y), the absolute values Dh (n, x, y) and Dv (n, x, y) of a first-order difference of a spatial difference at that position in a horizontal direction and in the vertical direction are defined according to equations (1) and (2) below.

Dh ( n,x,y )=| F ( n,x+ 1, y )− F ( n,x− 1, Y )|  (1)

Dv ( n,x,y )=| F ( n,x,y+ 1)− F ( n,x,y− 1)|  (2)

The first calculating unit 141 calculates Dh(n, x, y) and Dv(n, x, y) according to equations (1) and (2). Specifically, the first calculating unit 141 calculates Dh(n, x, y) and Dv(n, x, y) for each pixel in an image in each frame in the original video data 131 . Dh(n, x, y) and Dv(n, x, y) calculated from the original video data 131 correspond to the first feature. In the description below, Dh(n, x, y) will be appropriately denoted Dh and Dv (n, x, y) will be appropriately denoted Dv.

Assuming as described above that the pixel values of a video at a position (x, y) of an image in an n-th frame in the original video data 131 are F (n, x, y), the absolute values Eh (n, x, y) and Ev (n, x, y) of a second-order difference of a spatial difference at that position in a horizontal direction and in the vertical direction are defined according to equations (3) and (4) below.

›DESCRIPTION OF EMBODIMENTS · 2 of 10

Eh ( n,x,y )=| F ( n,x+ 1, y )−2× F ( n,x,y )+ F ( n,x− 1, y )|  (3)

Ev ( n,x,y )=| F ( n,x,y+ 1)−2× F ( n,x,y )+ F ( n,x,y− 1)|  (4)

The first calculating unit 141 calculates Eh(n, x, y) and Ev(n, x, y) according to equations (3) and (4). Specifically, the first calculating unit 141 calculates Eh(n, x, y) and Ev(n, x, y) for each pixel in an image in each frame in the original video data 131 . Eh(n, x, y) and Ev(n, x, y) calculated from the original video data 131 correspond to the second feature. In the description below, Eh(n, x, y) will be appropriately denoted Eh and Ev (n, x, y) will be appropriately denoted Ev.

The first calculating unit 141 outputs information about (Dh, Eh) and (Dv, Ev) calculated from the original video data 131 to the evaluating unit 143 . The information about (Dh, Eh) and (Dv, Ev) corresponds to information about the basic feature of the original video data 131 .

Processing by the second calculating unit 142 is the same as processing by the first calculating unit 141 except that the deteriorated video data 132 is processed instead of the original video data 131 . Accordingly, a specific description of the second calculating unit 142 will be omitted. The second calculating unit 142 outputs information about (Dh, Eh) and (Dv, Ev) calculated from the deteriorated video data 132 to the evaluating unit 143 . The information about (Dh, Eh) and (Dv, Ev) corresponds to information about the basic feature of the deteriorated video data 132 .

If (Dh, Eh) and (Dv, Ev) are placed on a two-dimensional plane, image patterns, each of which is formed with three pixels that are a pixel at (n, x, y), a pixel on the left and a pixel on the right, are related as illustrated in FIG. 2 . Image patterns, each of which is formed with three pixels that are a pixel at (n, x, y), a pixel at an upper position and a pixel at a lower position, are related similarly. FIG. 2 illustrates a relationship among absolute values of first-order differences, the absolute values of second-order differences, and image patterns. In FIG. 2 , the horizontal axis represents absolute values Dh or Dv of first-order differences and the vertical axis represents absolute values Eh or Ev of second-order differences. In the first embodiment, a representation of (Dh, Eh) and (Dv, Ev) placed on a two-dimensional plane as illustrated in FIG. 2 as an example will be referred to below as a simultaneous feature distribution.

For simplicity, the Dh-Eh relationship and the Dv-Ev relationship in FIG. 2 will be collectively referred to as the D-E relationship. Image patterns differ depending on whether their positions determined by the D-E relationship are on the line 3 a in FIG. 2 , in the area 3 b above the line 3 a , or in the area 3 c below the line 3 a . The line 3 a is a straight line indicating that E and D are equal to each other.

If E is larger than D, the image pattern is in the area 3 b . In this case, the image pattern is an acute pattern, in which the central pixel has an extremum, as indicated by 4 b . If E and D are equal to each other, the image pattern is a right-angle pattern in which the pixel on the right or left has the same value as the central pixel, as indicated by 4 a . If E is smaller than D, the image pattern is an obtuse pattern, in which the three pixels have values that are monotonously decreased or increased as indicated by 4 c.

The evaluating unit 143 can obtain an evaluation value, which indicates a degree of deterioration for a deterioration factor by checking a change in the simultaneous distribution of D and E between the original video data 131 and the deteriorated video data 132 . If, for example, block noise occurs in the deteriorated video data 132 , places at each of which there is an unnatural step increase. Accordingly, the frequency of right-angle patterns is increased in the simultaneous distribution of the basic feature of the deteriorated video data 132 .

If noise occurs in the deteriorated video data 132 , places at each of which pixel values change jaggedly in the video and acute patterns increase. Noise includes random noise and mosquito noise. If the video of the deteriorated video data 132 is blurred, changes in pixel values are smoothed and obtuse patterns increase.

Examples of deterioration factors related to areas in the simultaneous distribution of a basic feature will be described. FIG. 3 illustrates a relationship between block noise, blurring, and noise in the simultaneous distribution of the basic feature. In FIG. 3 , the horizontal axis represents absolute values D of first-order differences and the vertical axis represents absolute values E of second-order differences. If the D-E relationship is included in the area 5 a , it indicates that block noise has occurred. If the D-E relationship is included in the area 5 b , it indicates that noise has occurred. If the D-E relationship is included in the area 5 c , it indicates that blurring has occurred.

FIG. 4 illustrates a relationship between contrast emphasis and contrast suppression in the simultaneous distribution of the basic feature. In FIG. 4 , the horizontal axis represents absolute values D of first-order differences and the vertical axis represents absolute values E of second-order differences. If the D-E relationship is included in the area 6 a , it indicates contrast is emphasized. If the D-E relationship is included in the area 6 b , it indicates contrast is suppressed. For a video in which contrast is emphasized, for example, both a first-order difference and a second-order difference at each pixel position are increased, so the simultaneous distribution of the basic feature is shifted toward the upper right corner. For a video in which contrast is suppressed, both a first-order difference and a second-order difference at each pixel position are decreased, so the simultaneous distribution of the basic feature is shifted toward the lower left corner.

Next, processing by the evaluating unit 143 will be described. The evaluating unit 143 in the first embodiment calculates the deterioration feature of blurring and calculates an evaluation value for blurring.

›DESCRIPTION OF EMBODIMENTS · 3 of 10

A case in which the evaluating unit 143 calculates the deterioration feature of the original video data 131 will be described. The evaluating unit 143 acquires the basic feature of the original video data 131 from the first calculating unit 141 and decides whether the simultaneous distribution of the basic feature is included in the area 5 c for blurring in FIG. 3 . Specifically, the evaluating unit 143 decides whether the simultaneous distribution of the basic feature is included in the area 5 c for each pixel and adds a prescribed value to deterioration feature FO 1 each time the evaluating unit 143 decides that the simultaneous distribution of the basic feature is included in the area 5 c . Deterioration feature FO 1 indicates the deterioration feature of blurring in the original video data 131 .

The blurring area is an area in which an image pattern formed by three pixels around a target pixel is an obtuse pattern. If a set of two-dimensional coordinates (D, E) of the blurring area is denoted BL, BL is represented by equation (5) or (6) below. In equation (5), C 1 is a constant. In equation (6), C 2 is a constant.

BL ={( D,E )| E≦D−C 1 }  (5)

BL ={( D,E )|arctan( E/D )≦π/4− C 2 }  (6)

Next, a case in which the evaluating unit 143 calculates the deterioration feature of the deteriorated video data 132 will be described. The evaluating unit 143 acquires the basic feature of the deteriorated video data 132 from the second calculating unit 142 and decides whether the simultaneous distribution of the basic feature is included in the area 5 c for blurring in FIG. 3 . Specifically, the evaluating unit 143 decides whether the simultaneous distribution of the basic feature is included in the area 5 c for each pixel and adds a prescribed value to deterioration feature FD 1 each time the evaluating unit 143 decides that the simultaneous distribution of the basic feature is included in the area 5 c . Deterioration feature FD 1 indicates the deterioration feature of blurring in the deteriorated video data 132 .

The evaluating unit 143 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 . Evaluation value V 1 is an evaluation value related to blurring. When evaluation value V 1 is positive, the larger evaluation value V 1 is, the larger the degree of deterioration is.

Next, a processing procedure executed by the evaluation apparatus 100 in the first embodiment will be described. FIG. 5 is a flowchart illustrating a processing procedure for creating a deterioration feature related to blurring. Processing for creating a deterioration feature from the original video data 131 and processing for creating a deterioration feature from the deteriorated video data 132 are the same.

As illustrated in FIG. 5 , the evaluation apparatus 100 initializes a statistic (step S 101 ). In step S 101 , the evaluation apparatus 100 sets the value of statistic S 1 to 0. The evaluation apparatus 100 then decides whether processing has been completed for all pixels (step S 102 ). If processing has been completed for all pixels (the result in step S 102 is Yes), the evaluation apparatus 100 performs deterioration feature creation processing (step S 103 ). In step S 103 , the evaluation apparatus 100 sets the value of deterioration feature F 1 as S 1 .

If processing has not been completed for all pixels (the result in step S 102 is No), the evaluation apparatus 100 creates the absolute values Dh and Dv of a first-order difference (step S 104 ). The evaluation apparatus 100 then creates the absolute values Eh and Ev of a second-order difference (step S 105 ).

The evaluation apparatus 100 decides whether the positions of (Dh, Eh) are included in the blurring area (step S 106 ). If the positions of (Dh, Eh) are not included in the blurring area (the result in step S 106 is No), the evaluation apparatus 100 causes the sequence to proceed to step S 108 .

If the positions of (Dh, Eh) are included in the blurring area (the result in step S 106 is Yes), the evaluation apparatus 100 adds the value of Dh to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 (step S 107 ).

The evaluation apparatus 100 decides whether the positions of (Dv, Ev) are included in the blurring area (step S 108 ). If the positions of (Dv, Ev) are not included in the blurring area (the result in step S 108 is No), the evaluation apparatus 100 causes the sequence to proceed to step S 110 .

If the positions of (Dv, Ev) are included in the blurring area (the result in step S 108 is Yes), the evaluation apparatus 100 adds the value of Dv to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 (step S 109 ). The evaluation apparatus 100 proceeds to processing of a next pixel (step S 110 ), after which the evaluation apparatus 100 causes the sequence to return to step S 102 .

To calculate deterioration feature FO 1 of the original video data 131 , the evaluation apparatus 100 executes the processing illustrated in FIG. 5 on the original video data 131 . Similarly, to calculate deterioration feature FD 1 of the deteriorated video data 132 , the evaluation apparatus 100 executes the processing illustrated in FIG. 5 on the deteriorated video data 132 . The evaluation apparatus 100 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 .

Next, effects provided by the evaluation apparatus 100 in the first embodiment will be described. The evaluation apparatus 100 calculates a basic feature from the original video data 131 and a basic feature from the deteriorated video data 132 . The evaluation apparatus 100 decides, according to the basic feature of the original video data 131 , whether the simultaneous distribution area is included in the blurring area and calculates deterioration feature FO 1 according to the decision result. Similarly, the evaluation apparatus 100 decides, according to the basic feature of the deteriorated video data 132 , whether the simultaneous distribution area is included in the blurring area and calculates deterioration feature FD 1 according to the decision result. The evaluation apparatus 100 then calculates evaluation value V 1 from deterioration feature FO 1 and deterioration feature FD 1 . Thus, the evaluation apparatus 100 can calculate an evaluation value for which blurring is used as a parameter by using the simultaneous distributions of the original video data 131 and deteriorated video data 132 .

›DESCRIPTION OF EMBODIMENTS · 4 of 10

Second Embodiment

An evaluation apparatus in a second embodiment will be described. FIG. 6 is a functional block diagram illustrating the structure of the evaluation apparatus in the second embodiment. As an example, the evaluation apparatus in the second embodiment calculates deterioration features related to blurring, block noise, and noise to perform evaluation.

As illustrated in FIG. 6 , the evaluation apparatus 200 includes a communication unit 105 , an input unit 110 , a display unit 120 , a storage unit 130 , and a control unit 240 . The communication unit 105 , input unit 110 , display unit 120 , and storage unit 130 are the same as in FIG. 1 , so their descriptions will be omitted.

The control unit 240 includes a first calculating unit 141 , a second calculating unit 142 , and an evaluating unit 243 .

The first calculating unit 141 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the original video data 131 to calculate the basic feature of the original video data 131 , as with the first calculating unit 141 in FIG. 1 . The first calculating unit 141 in the second embodiment outputs information about the basic feature of the original video data 131 to the evaluating unit 243 .

The second calculating unit 142 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the deteriorated video data 132 to calculate the basic feature of the deteriorated video data 132 , as with the second calculating unit 142 in FIG. 1 . The second calculating unit 142 in the second embodiment outputs information about the basic feature of the deteriorated video data 132 to the evaluating unit 243 .

The evaluating unit 243 calculates deterioration features related to blurring, block noise, and noise and calculates evaluation values related to blurring, block noise, and noise. Descriptions of calculation of deterioration feature FO 1 and deterioration feature FD 1 and processing for calculating evaluation value V 1 will be omitted because they are the same as in the descriptions of the evaluating unit 143 in the first embodiment.

A case in which the evaluating unit 243 calculates deterioration feature FO 2 of the original video data 131 will be described. The evaluating unit 243 acquires the basic feature of the original video data 131 from the first calculating unit 141 and decides whether the simultaneous distribution of the basic feature is included in the area 5 a for block noise in FIG. 3 . Specifically, the evaluating unit 243 decides whether the simultaneous distribution of the basic feature is included in the area 5 a for each pixel and adds a prescribed value to deterioration feature FO 2 each time the evaluating unit 243 decides that the simultaneous distribution of the basic feature is included in the area 5 a.

The block noise area, for example, is an area in which an image pattern formed by three pixels around a target pixel is a right-angle pattern. If a set of two-dimensional coordinates (D, E) of the block noise area is denoted BN, BN is represented by equation (7) or (8) below. In equation (7), C 1 is a constant. In equation (8), C 2 is a constant.

BN={( D,E )| E>D−C 1 and E<D+C 1 }  (7)

BN={( D,E )|arctan( E/D )>π/4− C 2 and arctan( E/D )<π/4+ C 2 }.  (8)

Next, a case in which the evaluating unit 243 calculates deterioration feature FD 2 of the deteriorated video data 132 will be described. The evaluating unit 243 acquires the basic feature of the deteriorated video data 132 from the second calculating unit 142 and decides whether the simultaneous distribution of the basic feature is included in the area 5 a for block noise in FIG. 3 . Specifically, the evaluating unit 243 decides whether the simultaneous distribution of the basic feature is included in the area 5 a for each pixel and adds a prescribed value to deterioration feature FD 2 each time the evaluating unit 243 decides that the simultaneous distribution of the basic feature is included in the area 5 a.

The evaluating unit 243 subtracts deterioration feature FO 2 from deterioration feature FD 2 to obtain evaluation value V 2 related to block noise. When evaluation value V 2 is positive, the larger evaluation value V 2 is, the larger the degree of deterioration related to block noise is.

Next, a case in which the evaluating unit 243 calculates deterioration feature FO 3 of the original video data 131 will be described. The evaluating unit 243 acquires the basic feature of the original video data 131 from the first calculating unit 141 and decides whether the simultaneous distribution of the basic feature is included in the area 5 b for noise in FIG. 3 . Specifically, the evaluating unit 243 decides whether the simultaneous distribution of the basic feature is included in the area 5 b for each pixel and adds a prescribed value to deterioration feature FO 3 each time the evaluating unit 243 decides that the simultaneous distribution of the basic feature is included in the area 5 b.

The noise area, for example, is an area in which an image pattern formed by three pixels around a target pixel is an acute pattern. If a set of two-dimensional coordinates (D, E) of the noise area is denoted NS, NS is represented by equation (9) or (10) below. In equation (9), C 1 is a constant. In equation (10), C 2 is a constant.

NS ={( D,E )| E≧D+C 1 }  (9)

NS ={( D,E )|arctan( E/D )≧π/4+ C 2 }  (10)

Next, a case in which the evaluating unit 243 calculates deterioration feature FD 3 of the deteriorated video data 132 will be described. The evaluating unit 243 acquires the basic feature of the deteriorated video data 132 from the second calculating unit 142 and decides whether the simultaneous distribution of the basic feature is included in the area 5 b for noise in FIG. 3 . Specifically, the evaluating unit 243 decides whether the simultaneous distribution of the basic feature is included in the area 5 b for each pixel and adds a prescribed value to deterioration feature FD 3 each time the evaluating unit 243 decides that the simultaneous distribution of the basic feature is included in the area 5 b.

›DESCRIPTION OF EMBODIMENTS · 5 of 10

The evaluating unit 243 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 related to blurring. The evaluating unit 243 subtracts deterioration feature FO 2 from deterioration feature FD 2 to obtain evaluation value V 2 related to block noise. The evaluating unit 243 subtracts deterioration feature FO 3 from deterioration feature FD 3 to obtain evaluation value V 3 related to noise. When evaluation values V 1 to V 3 are positive, the larger evaluation values V 1 to V 3 are, the larger the degrees of deterioration related to blurring, block noise, and noise are, respectively.

Next, a processing procedure executed by the evaluation apparatus 200 in the second embodiment will be described. FIG. 7 is a flowchart illustrating a processing procedure for creating deterioration features related to blurring, block noise, and noise. Processing for creating each deterioration feature from the original video data 131 and processing for creating each deterioration feature from the deteriorated video data 132 are the same.

As illustrated in FIG. 7 , the evaluation apparatus 200 initializes statistics (step S 201 ). In step S 201 , the evaluation apparatus 200 sets the values of statistics S 1 , S 2 , and S 3 to 0. The evaluation apparatus 200 then decides whether processing has been completed for all pixels (step S 202 ). If processing has been completed for all pixels (the result in step S 202 is Yes), the evaluation apparatus 200 performs deterioration feature creation processing (step S 203 ). In step S 203 , the evaluation apparatus 200 sets the value of deterioration feature F 1 as statistic S 1 , sets the value of deterioration feature F 2 as statistic S 2 , and sets the value of deterioration feature F 3 as statistic S 3 .

If processing has not been completed for all pixels (the result in step S 202 is No), the evaluation apparatus 200 creates the absolute values Dh and Dv of a first-order difference (step S 204 ). The evaluation apparatus 200 then creates the absolute values Eh and Ev of a second-order difference (step S 205 ).

The evaluation apparatus 200 updates statistic S 1 as described below (step S 206 ). If the positions of (Dh, Eh) are included in the blurring area, the evaluation apparatus 200 adds the value of Dh to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 in step S 206 . Then, if the positions of (Dv, Ev) are included in the blurring area, the evaluation apparatus 200 adds the value of Dv to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 .

The evaluation apparatus 200 updates statistic S 2 as described below (step S 207 ). If the positions of (Dh, Eh) are included in the block noise area, the evaluation apparatus 200 adds the value of Dh to the value of S 2 and stores the resulting value in S 2 to update the value of S 2 in step S 207 . Then, if the positions of (Dv, Ev) are included in the block noise area, the evaluation apparatus 200 adds the value of Dv to the value of S 2 and stores the resulting value in S 2 to update the value of S 2 .

The evaluation apparatus 200 updates statistic S 3 as described below (step S 208 ). If the positions of (Dh, Eh) are included in the noise area, the evaluation apparatus 200 adds the value of Dh to the value of S 3 and stores the resulting value in S 3 to update the value of S 3 in step S 208 . Then, if the positions of (Dv, Ev) are included in the noise area, the evaluation apparatus 200 adds the value of Dv to the value of S 3 and stores the resulting value in S 3 to update the value of S 3 .

The evaluation apparatus 200 proceeds to processing of a next pixel (step S 209 ), after which the evaluation apparatus 200 causes the sequence to return to step S 202 .

To calculate deterioration features FO 1 , FO 2 , and FO 3 , of the original video data 131 , the evaluation apparatus 200 executes the processing illustrated in FIG. 7 on the original video data 131 . Similarly, to calculate deterioration features FD 1 , FD 2 , and FD 3 of the deteriorated video data 132 , the evaluation apparatus 200 executes the processing illustrated in FIG. 7 on the deteriorated video data 132 . The evaluation apparatus 200 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 . The evaluation apparatus 200 subtracts deterioration feature FO 2 from deterioration feature FD 2 to obtain evaluation value V 2 . The evaluation apparatus 200 subtracts deterioration feature FO 3 from deterioration feature FD 3 to obtain evaluation value V 3 .

Next, effects provided by the evaluation apparatus 200 in the second embodiment will be described. The evaluation apparatus 200 calculates a basic feature from the original video data 131 and a basic feature from the deteriorated video data 132 . The evaluation apparatus 200 decides, according to the basic feature of the original video data 131 , whether the simultaneous distribution area is included in the pertinent area and calculates deterioration features FO 1 , FO 2 , and FO 3 according to the decision result. Similarly, the evaluation apparatus 200 decides, according to the basic feature of the deteriorated video data 132 , whether the simultaneous distribution area is included in the pertinent area and calculates deterioration features FD 1 , FD 2 , and FD 3 according to the decision result. The evaluation apparatus 200 then calculates evaluation values V 1 to V 3 from deterioration features FO 1 , FO 2 , and FO 3 and deterioration features FD 1 , FD 2 , and FD 3 . Thus, the evaluation apparatus 200 can calculate evaluation values for which blurring, block noise, and noise are used as parameters by using the simultaneous distributions of the original video data 131 and deteriorated video data 132 .

Third Embodiment

An evaluation apparatus in a third embodiment will be described. FIG. 8 is a functional block diagram illustrating the structure of the evaluation apparatus in the third embodiment. As an example, the evaluation apparatus in the third embodiment creates deterioration features related to blurring and noise by combining a plurality of statistics.

›DESCRIPTION OF EMBODIMENTS · 6 of 10

As illustrated in FIG. 8 , the evaluation apparatus 300 includes a communication unit 105 , an input unit 110 , a display unit 120 , a storage unit 130 , and a control unit 340 . The communication unit 105 , input unit 110 , display unit 120 , and storage unit 130 are the same as in FIG. 1 , so their descriptions will be omitted.

The control unit 340 includes a first calculating unit 141 , a second calculating unit 142 , and an evaluating unit 343 .

The first calculating unit 141 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the original video data 131 to calculate the basic feature of the original video data 131 , as with the first calculating unit 141 in FIG. 1 . The first calculating unit 141 in the third embodiment outputs information about the basic feature of the original video data 131 to the evaluating unit 343 .

The second calculating unit 142 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the deteriorated video data 132 to calculate the basic feature of the deteriorated video data 132 , as with the second calculating unit 142 in FIG. 1 . The second calculating unit 142 in the third embodiment outputs information about the basic feature of the deteriorated video data 132 to the evaluating unit 343 .

The evaluating unit 343 creates deterioration features related to blurring and noise by combining a plurality of statistics and calculates evaluation values of blurring and noise. The evaluating unit 343 newly uses statistic S 4 , indicated in equations (11) and (12) below, which relates to a degree of the generation of blurring and noise in a video. The smaller the value of statistic S 4 is, the larger the ratio of obtuse image patterns related to blurring is. The larger the value of statistic S 4 is, the larger the ratio of acute image patterns related to noise is.

S 4 ←S 4 +arctan( Eh/Dh )× Dh   (11)

S 4 ←S 4 +arctan( Ev/Dv )× Dv   (12)

In equations (11) and (12), arctan(E/D) represents an angle formed by a line connecting the origin and coordinates (D, E) and a half line in a D-axis direction.

The evaluating unit 343 corrects deterioration features related to blurring and noise by using deterioration feature S 4 . For example, the evaluating unit 343 obtains FO 1 , FO 3 , FD 1 , and FD 3 according to equations (13) and (14). In equation (13), S 1 represents a statistic of blurring. In equation (14), S 3 represents a statistic of noise. In equations (13) and (14), α, β, γ, and δ each are an integer larger than 0.

F 1 =α×S 1 −β×S 4 (α>0,β>0)  (13)

F 3 =γ×S 3 +δ×S 4 (γ>0,δ>0)  (14)

The evaluating unit 343 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 related to blurring. When evaluation value V 1 is positive, the larger evaluation value V 1 is, the larger the degree of deterioration related to blurring is. Similarly, the evaluating unit 343 subtracts deterioration feature FO 3 from deterioration feature FD 3 to obtain evaluation value V 3 related to noise. When evaluation value V 3 is positive, the larger evaluation value V 3 is, the larger the degree of deterioration related to noise is.

Next, a processing procedure executed by the evaluation apparatus 300 in the third embodiment will be described. FIG. 9 is a flowchart illustrating a processing procedure for creating deterioration features related to blurring and noise. Processing for creating each deterioration feature from the original video data 131 and processing for creating each deterioration feature from the deteriorated video data 132 are the same.

As illustrated in FIG. 9 , the evaluation apparatus 300 initializes statistics (step S 301 ). In step S 301 , the evaluation apparatus 300 sets the values of statistics S 1 , S 3 , and S 4 to 0. The evaluation apparatus 300 then decides whether processing has been completed for all pixels (step S 302 ). If processing has been completed for all pixels (the result in step S 302 is Yes), the evaluation apparatus 300 causes the sequence to proceed to step S 303 .

In step S 303 , the evaluation apparatus 300 updates the value of S 4 with a value obtained by dividing S 4 by a total number of pixels of Dh and Dv (step S 303 ). By performing this division, it becomes possible to know that an average of image patterns, each of which is formed with three pixels, is which of an obtuse pattern, a right-angle pattern, and an acute pattern. For example, the smaller the value of statistic S 4 is, the larger the ratio of obtuse image patterns related to blurring is. By contrast, the larger the value of statistic S 4 is, the larger the ratio of acute image patterns related to blurring is.

The evaluation apparatus 300 calculates a deterioration feature related to blurring according to equation (13) (step S 304 ). The smaller the value of statistic S 4 is, the larger the ratio of obtuse image patterns related to blurring is, for example, so an item by which S 4 becomes negative is added in equation (13).

The evaluation apparatus 300 calculates a deterioration feature related to noise according to equation (14) (step S 305 ). The larger the value of statistic S 4 is, the larger the ratio of acute image patterns related to noise is, for example, so an item by which S 4 becomes positive is added in equation (14).

Step S 302 will be described again. If processing has not been completed for all pixels (the result in step S 302 is No), the evaluation apparatus 300 creates the absolute values Dh and Dv of a first-order difference (step S 306 ). The evaluation apparatus 300 then creates the absolute values Eh and Ev of a second-order difference (step S 307 ).

The evaluation apparatus 300 updates statistic S 1 (step S 308 ). Specifically, if the positions of (Dh, Eh) are included in the blurring area, the evaluation apparatus 300 adds the value of Dh to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 in step S 308 . Then, if the positions of (Dv, Ev) are included in the blurring area, the evaluation apparatus 300 adds the value of Dv to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 .

›DESCRIPTION OF EMBODIMENTS · 7 of 10

The evaluation apparatus 300 updates statistic S 3 (step S 309 ). Specifically, if the positions of (Dh, Eh) are included in the noise area, the evaluation apparatus 300 adds the value of Dh to the value of S 3 and stores the resulting value in S 3 to update the value of S 3 in step S 309 . Then, if the positions of (Dv, Ev) are included in the noise area, the evaluation apparatus 300 adds the value of Dv to the value of S 3 and stores the resulting value in S 3 to update the value of S 3 .

The evaluation apparatus 300 updates statistic S 4 according to equation (11) (step S 310 ). The evaluation apparatus 300 also updates statistic S 4 according to equation (12) (step S 311 ). The evaluation apparatus 300 proceeds to processing of a next pixel (step S 312 ), after which the evaluation apparatus 300 causes the sequence to return to step S 302 .

To calculate deterioration features FO 1 and FO 3 , of the original video data 131 , the evaluation apparatus 300 executes the processing illustrated in FIG. 9 on the original video data 131 . Deterioration features FO 1 and FO 3 are features corrected with statistic S 4 . Similarly, to calculate deterioration features FD 1 and FD 3 of the deteriorated video data 132 , the evaluation apparatus 300 executes the processing illustrated in FIG. 9 on the deteriorated video data 132 . Deterioration features FD 1 and FD 3 are features corrected with statistic S 4 .

The evaluation apparatus 300 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 . The evaluation apparatus 300 subtracts deterioration feature FO 3 from deterioration feature FD 3 to obtain evaluation value V 3 .

Next, effects provided by the evaluation apparatus 300 in the third embodiment will be described. The evaluation apparatus 300 calculates a basic feature from the original video data 131 and a basic feature from the deteriorated video data 132 . The evaluation apparatus 300 decides, according to the basic feature of the original video data 131 , whether the simultaneous distribution area is included in the pertinent area and calculates deterioration features FO 1 and FO 3 according to the decision result. Similarly, the evaluation apparatus 300 decides, according to the basic feature of the deteriorated video data 132 , whether the simultaneous distribution area is included in the pertinent area and calculates deterioration features FD 1 and FD 3 according to the decision result. In addition, the evaluation apparatus 300 corrects deterioration features FO 1 , FO 3 , FD 1 , and FD 3 with statistic S 4 . The evaluation apparatus 300 then calculates evaluation values V 1 and V 3 from deterioration features FO 1 , FO 3 , FD 1 , and FD 3 . Thus, the evaluation apparatus 300 can more precisely calculate evaluation values for which blurring and noise are used as parameters by using the simultaneous distributions of the original video data 131 and deteriorated video data 132 to adjust values with statistic S 4 .

Fourth Embodiment

An evaluation apparatus in a fourth embodiment will be described. FIG. 10 is a functional block diagram illustrating the structure of the evaluation apparatus in the fourth embodiment. As an example, the evaluation apparatus in the fourth embodiment calculates deterioration features related to contrast emphasis and contrast suppression to perform evaluation.

As illustrated in FIG. 10 , the evaluation apparatus 400 includes a communication unit 105 , an input unit 110 , a display unit 120 , a storage unit 130 , and a control unit 440 . The communication unit 105 , input unit 110 , display unit 120 , and storage unit 130 are the same as in FIG. 1 , so their descriptions will be omitted.

The control unit 440 includes a first calculating unit 141 , a second calculating unit 142 , and an evaluating unit 443 .

The first calculating unit 141 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the original video data 131 to calculate the basic feature of the original video data 131 , as with the first calculating unit 141 in FIG. 1 . The first calculating unit 141 in the fourth embodiment outputs information about the basic feature of the original video data 131 to the evaluating unit 443 .

The second calculating unit 142 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the deteriorated video data 132 to calculate the basic feature of the deteriorated video data 132 , as with the second calculating unit 142 in FIG. 1 . The second calculating unit 142 in the fourth embodiment outputs information about the basic feature of the deteriorated video data 132 to the evaluating unit 443 .

The evaluating unit 443 calculates deterioration features related to contrast emphasis and contrast suppression and calculates evaluation values related to contrast emphasis and contrast suppression. The evaluating unit 443 newly uses statistic S 5 , indicated in equations (15) and (16) below. Statistic S 5 relates to a degree of contrast emphasis and contrast suppression in a video. On the two-dimensional plane, illustrated in FIG. 4 , of the basic feature, statistic S 5 represents an average value of a distribution obtained when a simultaneous distribution is projected on a plane parallel to a plane on which E is equal to D. Therefore, the larger the value of statistic S 5 is, the more the simultaneous distribution is shifted toward the upper right corner. By contrast, the smaller the value of statistic S 5 is, the more the simultaneous distribution is shifted toward the lower left corner.

S 5 ←S 5 +( Eh+Dh )× Dh   (15)

S 5 ←S 5 +( Ev+Dv )× Dv   (16)

A case in which the evaluating unit 443 calculates deterioration feature FO 4 , related to contrast emphasis or contrast suppression, of the original video data 131 will be described. The evaluating unit 443 assigns the basic feature of the original video data 131 to equation (15) to update statistic S 5 . The evaluating unit 443 also assigns the basic feature of the original video data 131 to equation (16) to update statistic S 5 . The evaluating unit 443 repeatedly executes the above processing for all pixels of the original video data 131 and obtains final statistic S 5 , which is averaged statistic S 5 , as deterioration feature FO 4 .

›DESCRIPTION OF EMBODIMENTS · 8 of 10

A case in which the evaluating unit 443 calculates deterioration feature FD 4 , related to contrast emphasis or contrast suppression, of the deteriorated video data 132 will be described. The evaluating unit 443 assigns the basic feature of the deteriorated video data 132 to equation (15) to update statistic S 5 . The evaluating unit 443 also assigns the basic feature of the deteriorated video data 132 to equation (16) to update statistic S 5 . The evaluating unit 443 repeatedly executes the above processing for all pixels of the deteriorated video data 132 and obtains final statistic S 5 , which is averaged statistic S 5 , as deterioration feature FD 4 .

Next, a processing procedure executed by the evaluation apparatus 400 in the fourth embodiment will be described. FIG. 11 is a flowchart illustrating a processing procedure for creating deterioration features related to contrast emphasis or contrast suppression. Processing for creating each deterioration feature from the original video data 131 and processing for creating each deterioration feature from the deteriorated video data 132 are the same.

As illustrated in FIG. 11 , the evaluation apparatus 400 initializes statistics (step S 401 ). In step S 401 , the evaluation apparatus 400 sets the value of statistic S 5 to 0. The evaluation apparatus 400 then decides whether processing has been completed for all pixels (step S 402 ). If processing has been completed for all pixels (the result in step S 402 is Yes), the evaluation apparatus 400 causes the sequence to proceed to step S 403 .

In step S 403 , the evaluation apparatus 400 updates the value of S 5 with a value obtained by dividing S 5 by a total number of pixels of Dh and Dv (step S 403 ). The evaluation apparatus 400 sets statistic S 5 as deterioration feature F 4 (step S 404 ).

If processing has not been completed for all pixels (the result in step S 402 is No), the evaluation apparatus 400 creates the absolute values Dh and Dv of a first-order difference (step S 405 ). The evaluation apparatus 400 then creates the absolute values Eh and Ev of a second-order difference (step S 406 ).

The evaluation apparatus 400 updates statistic S 5 according to equation (15) (step S 407 ). The evaluation apparatus 400 then updates statistic S 5 according to equation (16) (step S 408 ). The evaluation apparatus 400 proceeds to processing of a next pixel (step S 409 ), after which the evaluation apparatus 400 causes the sequence to return to step S 402 .

Next, effects provided by the evaluation apparatus 400 in the fourth embodiment will be described. The evaluation apparatus 400 calculates a basic feature from the original video data 131 and a basic feature from the deteriorated video data 132 . The evaluation apparatus 400 calculates deterioration feature FO 4 related to contrast emphasis or contrast suppression according to the simultaneous distribution of the basic feature of the original video data 131 . Similarly, the evaluation apparatus 400 calculates deterioration feature FD 4 related to contrast emphasis or contrast suppression according to the simultaneous distribution of the basic feature of the deteriorated video data 132 . The evaluation apparatus 400 then calculates evaluation value V 4 from deterioration feature FO 4 and deterioration feature FD 4 . Thus, the evaluation apparatus 400 can calculate an evaluation value for which contrast emphasis or contrast suppression is used as a parameter by using the simultaneous distributions of the original video data 131 and deteriorated video data 132 .

For example, it can be found that as evaluation value V 4 becomes a larger positive value, the deteriorated video data 132 undergoes higher contrast emphasis than the original video data 131 . It can also be found that as evaluation value V 4 becomes a smaller negative value, the deteriorated video data 132 undergoes higher contrast suppression than the original video data 131 .

Fifth Embodiment

An evaluation apparatus in a fifth embodiment will be described. FIG. 12 is a functional block diagram illustrating the structure of the evaluation apparatus in the fifth embodiment. As an example, the evaluation apparatus in the fifth embodiment calculates deterioration features related to blurring, block noise, and noise in consideration of changes with time in these features to perform evaluation.

As illustrated in FIG. 12 , the evaluation apparatus 500 includes a communication unit 105 , an input unit 110 , a display unit 120 , a storage unit 130 , and a control unit 540 . The communication unit 105 , input unit 110 , display unit 120 , and storage unit 130 are the same as in FIG. 1 , so their descriptions will be omitted.

The control unit 540 includes a first calculating unit 141 , a second calculating unit 142 , and an evaluating unit 543 .

The first calculating unit 141 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the original video data 131 to calculate the basic feature of the original video data 131 , as with the first calculating unit 141 in FIG. 1 . The first calculating unit 141 in the fifth embodiment outputs information about the basic feature of the original video data 131 to the evaluating unit 543 .

The second calculating unit 142 is a processing unit that calculates a first-order difference and a second-order difference for each pixel of an image included in the deteriorated video data 132 to calculate the basic feature of the deteriorated video data 132 , as with the second calculating unit 142 in FIG. 1 . The second calculating unit 142 in the fifth embodiment outputs information about the basic feature of the deteriorated video data 132 to the evaluating unit 543 .

The evaluating unit 543 calculates deterioration features related to blurring, block noise, and noise in consideration of changes with time in these features to calculate evaluation values related to blurring, block noise, and noise with changes. The nature of deterioration corresponding to each deterioration feature is such that rapidly a moving scene is less likely to be noticeable than a slowly moving scene. In processing to update statistics S 1 to S 3 for each pixel, therefore, the evaluating unit 543 calculates a difference value between pixels in the time direction as a new feature T. If the feature T is large, the evaluating unit 543 reduces a value to be added to update statistics S 1 to S 3 .

›DESCRIPTION OF EMBODIMENTS · 9 of 10

For example, the evaluating unit 543 calculates the feature T according to equations (17) and (18) below. In these equations, n indicates the current frame number, (x, y) indicates the current processing position, and F(n, x, y) indicates pixel values at the current processing position.

μ ⁡ ( n , x , y ) = 1 ( 2 ⁢ ⁢ M + 1 ) 2 ⁢ ∑ a = y - M y + m ⁢ ⁢ ∑ b = x - M x + M ⁢ ⁢ F ⁡ ( n , a , b ) ( 17 ) T ( n,x,y )=|μ( n,x,y )−μ t ( n− 1, x,y )|  (18)

In equation (17), μ(n, x, y) indicates the average pixel value of an area centered at the position (n, x, y) and M is a certain fixed value such as, for example, 4. Equation (18) calculates the absolute value of a difference between the average pixel value μ(n, x, y) obtained from equation (17) and the average pixel value μ(n−1, x, y) of the preceding frame. T(n, x, y) will be appropriately abbreviated as T.

The evaluating unit 543 uses the feature T to adjust a value to be added to update statistics S 1 to S 3 . Specifically, the evaluating unit 543 adjusts the value to be added to update statistics S 1 to S 3 so that the larger the feature T is, the smaller the value is.

The evaluating unit 543 repeatedly executes the above processing for each pixel to update statistics S 1 to S 3 . The evaluating unit 543 takes the final statistic S 1 as the deterioration feature of blurring. The evaluating unit 543 takes the final statistic S 2 as the deterioration feature of block noise. The evaluating unit 543 takes the final statistic S 3 as the deterioration feature of noise.

In the fifth embodiment, the deterioration feature, obtained from the original video data 131 , of blurring is FO 1 and the deterioration feature, obtained from the deteriorated video data 132 , of blurring is FD 1 ; the deterioration feature, obtained from the original video data 131 , of block noise is FO 2 and the deterioration feature, obtained from the deteriorated video data 132 , of block noise is FD 2 ; the deterioration feature, obtained from the original video data 131 , of noise is FO 3 and the deterioration feature, obtained from the deteriorated video data 132 , of noise is FD 3 .

The evaluating unit 543 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 related to blurring. The evaluating unit 543 subtracts deterioration feature FO 2 from deterioration feature FD 2 to obtain evaluation value V 2 related to block noise. The evaluating unit 543 subtracts deterioration feature FO 3 from deterioration feature FD 3 to obtain evaluation value V 3 related to noise. When evaluation values V 1 to V 3 are positive, the larger evaluation values V 1 to V 3 are, the larger the degrees of their respective deteriorations are.

Next, a processing procedure executed by the evaluation apparatus 500 in the fifth embodiment will be described. FIG. 13 is a flowchart illustrating a processing procedure for creating deterioration features related to blurring, block noise, and noise in consideration of the time direction. Processing for creating each deterioration feature from the original video data 131 and processing for creating each deterioration feature from the deteriorated video data 132 are the same.

As illustrated in FIG. 13 , the evaluation apparatus 500 initializes statistics (step S 501 ). In step S 501 , the evaluation apparatus 500 sets the values of statistics S 1 to S 3 to 0. The evaluation apparatus 500 then decides whether processing has been completed for all pixels (step S 502 ).

If processing has been completed for all pixels (the result in step S 502 is Yes), the evaluation apparatus 500 causes the sequence to proceed to step S 503 . In step S 503 , the evaluation apparatus 500 sets the value of statistic S 1 to deterioration feature F 1 , sets the value of statistic S 2 to deterioration feature F 2 , and sets the value of statistic S 3 to deterioration feature F 3 (step S 503 ).

If processing has not been completed for all pixels (the result in step S 502 is No), the evaluation apparatus 500 creates the absolute values Dh and Dv of a first-order difference (step S 504 ). The evaluation apparatus 500 then creates the absolute values Eh and Ev of a second-order difference (step S 505 ).

The evaluation apparatus 500 calculates the absolute value T of a time difference (step S 506 ). The evaluation apparatus 500 then calculates Dh/(T+C 3 ), C 3 being a constant, and updates the value of Dh with the calculated value (step S 507 ). Similarly, the evaluation apparatus 500 calculates Dv/(T+C 3 ) and updates the value of Dv with the calculated value (step S 508 ).

The evaluation apparatus 500 updates S 1 to S 3 (step S 509 ). Specifically, if the positions of (Dh, Eh) are included in the blurring area, the evaluation apparatus 500 adds the value of Dh to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 . Then, if the positions of (Dv, Ev) are included in the blurring area, the evaluation apparatus 500 adds the value of Dv to the value of S 1 and stores the resulting value in S 1 to update the value of S 1 . The values of Dh and Dv to be added to S 1 are the values updated in steps S 507 and S 508 .

If the positions of (Dh, Eh) are included in the block noise area, the evaluation apparatus 500 adds the value of Dh to the value of S 2 and stores the resulting value in S 2 to update the value of S 2 . Then, if the positions of (Dv, Ev) are included in the block noise area, the evaluation apparatus 500 adds the value of Dv to the value of S 2 and stores the resulting value in S 2 to update the value of S 2 . The values of Dh and Dv to be added to S 2 are the values updated in steps S 507 and S 508 .

If the positions of (Dh, Eh) are included in the noise area, the evaluation apparatus 500 adds the value of Dh to the value of S 3 and stores the resulting value in S 3 to update the value of S 3 . Then, if the positions of (Dv, Ev) are included in the noise area, the evaluation apparatus 500 adds the value of Dv to the value of S 3 and stores the resulting value in S 3 to update the value of S 3 . The values of Dh and Dv to be added to S 3 are the values updated in steps S 507 and S 508 .

›DESCRIPTION OF EMBODIMENTS · 10 of 10

The evaluation apparatus 500 proceeds to processing of a next pixel (step S 510 ), after which the evaluation apparatus 500 causes the sequence to return to step S 502 .

To calculate deterioration features FO 1 , FO 2 , and FO 3 , of the original video data 131 , the evaluation apparatus 500 executes the processing illustrated in FIG. 13 on the original video data 131 . Similarly, to calculate deterioration features FD 1 , FD 2 , and FD 3 of the deteriorated video data 132 , the evaluation apparatus 500 executes the processing illustrated in FIG. 13 on the deteriorated video data 132 . The evaluation apparatus 500 subtracts deterioration feature FO 1 from deterioration feature FD 1 to obtain evaluation value V 1 . The evaluation apparatus 500 subtracts deterioration feature FO 2 from deterioration feature FD 2 to obtain evaluation value V 2 . The evaluation apparatus 500 subtracts deterioration feature FO 3 from deterioration feature FD 3 to obtain evaluation value V 3 .

Next, effects provided by the evaluation apparatus 500 in the fifth embodiment will be described. The evaluation apparatus 500 calculates a basic feature from the original video data 131 and a basic feature from the deteriorated video data 132 . The evaluation apparatus 500 calculates the feature T in consideration of a change in pixels with time between two contiguous images and uses the calculated feature T to calculate deterioration features related to blurring, block noise, and noise to perform evaluation. Accordingly, evaluation values can be precisely calculated for a characteristic feature of a video.

In addition to the above processing by the evaluation apparatus 500 , the pixel value itself at each position may be added to the basic feature. For example, the evaluating unit 543 may calculate the average value of pixels in an entire image as statistic S 6 to obtain it as a deterioration feature. The evaluating unit 543 may obtain statistic S 6 of the original video data 131 as deterioration feature FO 5 . The evaluating unit 543 may obtain statistic S 6 of the deteriorated video data 132 as deterioration feature FD 5 . Then, the evaluating unit 543 may subtract deterioration feature FO 5 from deterioration feature FD 5 to obtain evaluation value V 5 . Evaluation value V 5 can be used to evaluate a change in brightness and a change in colors. A larger absolute value of evaluation value V 5 indicates a larger change in the brightness and colors of the deteriorated video data 132 from the original video data 131 .

In the above examples of creating deterioration features, the entire area of an image has been handled as one unit. In creation of deterioration features, however, an image may be divided into small areas and each divided area may be handled as one unit. For example, only part of a video may undergo image deterioration. If a deterioration feature is obtained by handling the entire image area as one unit, the deterioration feature is averaged and partial deterioration may not be accurately obtained. If a deterioration feature is obtained for each partial area, however, partial deterioration in the video can be highly precisely detected.

Next, an example of a computer will be described that executes a support program that implements functions similar to functions of the evaluation apparatuses described in the above embodiments. FIG. 14 illustrates an example of the structure of a computer that executes an evaluation program.

As illustrated in FIG. 14 , the computer 600 includes a CPU 601 that executes various types of calculation processing, an input device 602 that accepts data transmitted from a user, and a display device 603 . The computer 600 also includes a read device 604 that reads programs and the like from a storage medium and an interface device 605 that transmits and receives data to and from another computer through a network. The computer 600 also includes a RAM 606 that temporarily stores various types of information and a hard disk drive 607 . The CPU 601 , input device 602 , display device 603 , interface device 604 , interface device 605 , RAM 606 , and hard disk drive 607 are connected to a bus 608 .

The hard disk drive 607 includes a first calculation program 607 a , a second calculation program 607 b , and an evaluation program 607 c . The CPU 601 reads out the programs 607 a , 607 b , and 607 c and stores them in the RAM 606 .

The first calculation program 607 a functions as a first calculation process 606 a . The second calculation program 607 b functions as a second calculation process 606 b . The evaluation program 607 c functions as an evaluation process 606 c.

For example, the first calculation process 606 a corresponds to the first calculating unit 141 , the second calculation process 606 b corresponds to the second calculating unit 142 , and the evaluation process 606 c corresponds to the evaluating units 143 , 243 , 343 , 443 , and 543 .

It is not a limitation that the programs 607 a to 607 c have been stored in the hard disk drive 607 in advance. For example, these programs may be stored on a flexible disk (FD), a compact disc-read-only memory (CD-ROM), a digital versatile disc (DVD), a magneto-optical disk, an integrated circuit (IC) card, or another transportable physical medium inserted into the computer 600 . Then, the computer 600 may read out the programs 607 a to 607 c from these media.

All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.

Claims as granted

14 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

2 codes
IPC · International Patent Classification
Section H — Electricity
  • H04N19/86
  • H04N19/40

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomApr 2014Jul 2014Oct 2014Jan 2015Apr 2015Jul 2015Oct 2015Jan 2016Apr 2016Jul 2016Oct 2016USPTOApplicantNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
2.3 y
827 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Siamak Harandi
art unit 2665 · TC 2600
Citations: 9 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20142016201820202022202420262028203020322034Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock