Nova Patents
EP1521210B1

Similarity calculation method and device

Abstract

This record has no abstract on file.

EP1521210B1, drawing sheet 1
Sheet 1 of 42

Term

Term ended

Expired 26 June 2023, 3.2 years ago.

  1. Priority and filed
  2. Granted
  3. Expired
  4. Today

13 claims: 4 independent, 9 dependent

  1. 1
    A similarity calculation method of determining similarity between two feature vectors, a registered vector (g) and an input vector (f), being representative of an acoustic signal or a video signal, each of the two feature vectors having N corresponding components, N being an integer greater than zero, the method including the following steps:a transform step (S41, S52) in which a predetermined transform operation (S41, S52) is implemented to the two feature vectors (f, g. ), a division step (S41, S52) in which the two transformed feature vectors (f', g') are divided component-wise into a plurality of partial vectors (f 1 , f 2 , g 1 , g 2 ), a recording step (S42, S43) in which the plurality of partial vectors (g 1 , g 2 ) constituting the transformed registered feature vector (g') are recorded, a hierarchical distance calculation step ( S53, S54, S57, S58, S60, 563. S64) in which the distance between the two feature vectors (f', g') transformed at the transform step (S41, S52) is calculated in a predetermined order based on the predetermined transform operation (S41, S52), wherein the distance calculation is performed between respective components constituting partial vectors (f 1 , f, g 1 , g 2 ) in a component-wise hierarchical manner in order from the partial vector (f 1 , g 1 ) of the uppermost component order, a threshold value comparison step (S55, S61) in which an integrated value of distances calculated incrementally for hierarchically higher-order components (i) of the two transformed feature vectors (f, g') is compared with a threshold value (S) set in advance, a control step (S55, S56, S57, S58, S61, S62, S63, S64) in which distance calculation is controlled in accordance with a result of the threshold value comparison at the threshold value comparison step (S55, S61), and an output step (S65) in which, as the similarity, the integrated value of the calculated distances up to the last components (i) of the two transformed feature vectors (f', g') is outputted, wherein, at the control step (S55, S56, S57, S58, S61, S62, S63, S64), control is conducted such that the distance calculation is truncated in the case where the integrated value of distances calculated up to a certain component order is greater or equal to the threshold value and such that the distance calculation between next higher-order components is performed in the case where the integrated value of distances calculated up to a certain component order is below the threshold value, and wherein distance calculation is performed such that, in a first step, only the partial vector (g 1 ) of the uppermost component order of the plurality of partial vectors (g 1 , g 2 ) recorded in the recording step is retrieved and the distance calculation is performed between respective components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order in a component-wise hierarchical manner, and wherein only in the case where the integrated value of calculated distances between all components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order is below the threshold value, in a second step the partial vector (g 2 ) of the next lower component order of the plurality of partial vectors (g 1 , g 2 ) of the transformed registered feature vector (g') recorded in the recording step (S42, S43) is retrieved and distance calculation between respective components constituting partial vectors (f 2 , g 2 ) of the next lower component order is performed.
  2. 11
    A similarity calculating apparatus adapted for determining similarity between two feature vectors, a registered vector (g) and an input vector (f), being representative of an acoustic signal or a video signal, comprising:transform means (30. 31) which is adapted to implement a predetermined transform operation to the two feature vectors (f, g), dividing means (30, 31) which is adapted to take out, in a predetermined order based on the predetermined transform operation, respective components constituting the two feature vectors (f', g') transformed by the transform means (30, 31) to divide them into a plurality of partial vectors (f 1 , g 1 , f 2 , g 2 ), recording means (32, 33) which are adapted to record the plurality of partial vectors (g 1 , g 2 ) constituting the transformed registered feature vector (g'), hierarchical distance calculating (34) means which is adapted to perform a distance calculation between the two feature vectors (f, g) transformed by the transform means (30, 31) in a predetermined order based on the predetermined transform operation, wherein the distance calculating means (34) is adapted to perform, in a component-wise hierarchical manner, the distance calculation between respective components constituting partial vectors (f1, g1, f2, g2) in order from the partial vector (f1, g1) of the uppermost component order, and threshold value comparing means (35) which is adapted to compare an integrated value of distances calculated incrementally for hierarchically higher-order components of the two transformed vectors (f', g',) by the distance calculating means (34) with a threshold value (S) set in advance, a control means which is adapted to control the distance calculation in accordance with a result by the threshold value comparing means (34), and output means which is adapted to output, as the similarity, the integrated value of distances calculated up to the last components of the two transformed feature vectors (f', g'), wherein the control means is operative so that in the case where integrated value of distances calculated up to a certain component order is above the threshold value as the result of comparison by the threshold comparing means (35), a control is performed so as to truncate the distance calculation, and in the case where the integrated value of distances calculated up to a certain component order is below the threshold value the distance calculation is performed between the next higher-order components, and wherein the hierarchical distance calculating means (34) is operative so that, in a first step, only the partial vector (g 1 ) of the uppermost component order of the plurality of partial vectors (g 1 , g 2 ) recorded in the recording means is retrieved and the distance calculation is performed between respective components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order in a component-wise hierarchical manner, and wherein only in the case where the integrated value of calculated distances calculated between all components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order is below the threshold value (S), in a second step the partial vector (g 2 ) of the next lower component order of the plurality of partial vectors (g 1 , g 2 ) of the transformed registered feature vector (g') recorded in the recording means (33) is retrieved and the distance calculation between respective components constituting partial vectors (f 2 , g 2 ) of one lower component order is performed.
  3. 12
    A program for allowing a computer to execute similarity calculation processing for determining similarity between two feature vectors (f, g,), a registered vector (g) and an input vector (f), being representative of an acoustic signal or a video signal, the program comprising:a transform step (S41, S52) in which a predetermined transform operation is implemented to the two feature vectors (f, g), a division step (S41, S52) in which the two transformed feature vectors (f', g') are divided component-wise into a plurality of partial vectors (f 1 , g 1 , f 2 , g 2 ), a recording step (S42, S43) in which the plurality of partial vectors (g 1 , g 2 ) constituting the transformed registered feature vector (g') are recorded, a hierarchical distance calculation step (S53, S54, S57, S58, S60, S63, S64) in which the distance between the two feature vectors (f, g') transformed at the transform step is calculated in a predetermined order based on the predetermined transform operation (S41. S52), wherein the distance calculation is performed between respective components constituting partial vectors (f 1 , g 1 , f 2 , g 2 ) in a component-wise hierarchical manner in order from the partial vector (f 1 , g 1 ) of the uppermost component order, a threshold value comparison step (S55, S61) in which an integrated value of distances calculated incrementally for hierarchically higher-order components (i) of the two transformed feature vectors is compared with a threshold value (S) set in advance, a control step (S55, S56, S57, 558. S61, S62, S63, S64) in which distance calculation is controlled in accordance with a result of the threshold value comparison at the threshold value comparison step (S55, S61), and an output step (S65) in which, as the similarity, the integrated value of the calculated distances up to the last components (i) of the two transformed feature vectors (f', g') is outputted, wherein, at the control step (S55, S56, S57, S58, S61, S62, S63, S64), control is conducted such that the distance calculation is truncated in the case where the integrated value of distances calculated up to a certain component order is greater or equal to the threshold value (S) and the distance calculation between next higher-order components is performed in the case that the integrated value of distances calculated up to a certain component order is below the threshold value, and wherein distance calculation is performed such that, in a first step, only the partial vector (g 1 ) of the uppermost component order of the plurality of partial vectors (g 1 , g 2 ) recorded in the recording step is retrieved and the distance calculation is performed between respective components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order in a component-wise hierarchical manner, and wherein only in the case where the integrated value of calculated distances between all components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order is below the threshold value, in a second step the partial vector (g 2 ) of the next lower component order of the plurality of partial vectors (g 1 , g 2 ) of the transformed registered feature vector (g') recorded in the recording step (S42, S43) is retrieved and the distance calculation between respective components constituting partial vectors (f 2 , g 2 ) of the next lower component order is performed.
  4. 13
    A computer readable medium adapted so that a program for allowing a computer to execute similarity calculation processing which determines similarity between two feature vectors (f, g), a registered vector (g) and an input vector (f), being representative of an acoustic signal or a video signal is recorded, the program including:a transform step (S41, S52) in which a predetermined transform operation is implemented to the two feature vectors (f, g) a division step (S41) in which the two transformed feature vectors (f', g') are divided component-wise into a plurality of partial vectors (f 1 , g 1 , f 2 , g 2 ), a recording step (S42, S43) in which the plurality of partial vectors (g 1 , g 2 ) constituting the transformed registered feature vector (g') are recorded, a hierarchical distance calculation step ( S53, S54, S57, S58, S60, S63, S64) in which the distance calculation between the two feature vectors (f', g') transformed at the transform step is calculated in a predetermined order based on the predetermined transform operation (S41, S52), wherein the distance calculation is performed between respective components constituting partial vectors (f 1 , g 1 , f 2 , g 2 ) in a component-wise hierarchical manner in order from the partial vector (f 1 , g 1 ) of the uppermost component order, a threshold value comparison step (S55, S61) in which an integrated value of distances calculated incrementally for hierarchically higher-order components (i) of the two transformed feature vectors (f', g') is compared with a threshold value (S) set in advance, a control step (S55, S56, S57, S58, S61, S62, S63, S64) in which distance calculation is controlled in accordance with a result of the threshold value comparison at the threshold value comparison step (S55, S61), and an output step (S65), in which, as the similarity, the integrated value of the calculated distances up to the last components (i) of the two transformed feature vectors (f', g') is outputted, wherein, at the control step (S55, S56, S57, S58, S61, S62, S63, S64), control is conducted such that the distance calculation is truncated in the case where the integrated value of distances calculated up to a certain component order is greater or equal to the threshold value (S) and the distance calculation between next higher-order components is performed in the case that the integrated value of distances calculated up to a certain component order is below the threshold value, and wherein distance calculation is performed such that, in a first step, only the partial vector (g 1 ) of the uppermost component order of the plurality of partial vectors (g 1 , g 2 ) recorded in the recording step is retrieved and the distance calculation is performed between respective components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order in a component-wise hierarchical manner, and wherein only in the case where the integrated value of calculated distances between all components constituting the partial vectors (f 1 , g 1 ) of the uppermost component order is below the threshold value (S), in a second step the partial vector (g 2 ) of the next lower component order of the plurality of partial vectors (g 1 , g 2 ) of the transformed registered feature vector (g') recorded in the recording step (S42, S43) is retrieved and the distance calculation between respective components constituting partial vectors (f 2 , g 2 ) of the next lower component order is performed.