概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

## jAudioFeatureExtractor.AudioFeatures
クラス Derivative

    java.lang.Object
      jAudioFeatureExtractor.AudioFeatures.FeatureExtractor
          jAudioFeatureExtractor.AudioFeatures.MetaFeatureFactory
              jAudioFeatureExtractor.AudioFeatures.Derivative

    public class Derivative

extends MetaFeatureFactory

Class implementing the most basic discrete derivative of a dependant feature. Extends the MetaFeatureFactory abstract class.

作成者:
  Daniel McEnnis

フィールドの概要

クラス jAudioFeatureExtractor.AudioFeatures.MetaFeatureFactory から継承されたフィールド
`fe_`

クラス jAudioFeatureExtractor.AudioFeatures.FeatureExtractor から継承されたフィールド
`definition, dependencies, offsets, parent`

コンストラクタの概要
`Derivative()` Basic constructor that initializes the metaFeature class variables appropiaretely for factory use
`Derivative(MetaFeatureFactory mff)` A convenience consrtuctor that extends the basic constructor to allow specifying a dependant MetaFeatureFactory object.

メソッドの概要
`java.lang.Object` | `clone()` Create an identical copy of this feature.
`MetaFeatureFactory` | `defineFeature(FeatureExtractor fe)` Factory class for creating a new FeatureExtraction object.
`double[]` | `extractFeature(double[] samples, double sampling_rate, double[][] other_feature_values)` Extracts the difference between adjacent points as a basic implementation of a discrete dirivative.
`java.lang.String` | `getElement(int index)` Function permitting an unintelligent outside function (ie.
`FeatureDefinition` | `getFeatureDefinition()` Overridden to regenerate the feature definition.
`void` | `setElement(int index, java.lang.String value)` Function permitting an unintelligent outside function (ie.

クラス jAudioFeatureExtractor.AudioFeatures.MetaFeatureFactory から継承されたメソッド
`chainMetaFeatureFactory, setParent, setWindow`

クラス jAudioFeatureExtractor.AudioFeatures.FeatureExtractor から継承されたメソッド
`getDepenedencies, getDepenedencyOffsets`

クラス java.lang.Object から継承されたメソッド
`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

コンストラクタの詳細

### Derivative

    public Derivative()

  Basic constructor that initializes the metaFeature class variables appropiaretely for factory use

### Derivative

    public Derivative(MetaFeatureFactory mff)

  A convenience consrtuctor that extends the basic constructor to allow specifying a dependant MetaFeatureFactory object.

  パラメータ:
    `mff` - dependant MetaFeatureFactory object

メソッドの詳細

### defineFeature

    public MetaFeatureFactory defineFeature(FeatureExtractor fe)

  Factory class for creating a new FeatureExtraction object. Recursively constructs the new object if there exists a dependant MetaFeatureFactory object.

  定義:
    クラス `MetaFeatureFactory` 内の `defineFeature`
  パラメータ:
    `fe` - base feature that this feature is to be bvased upon.
  戻り値:
    fully constructed MetaFeatureFactory object ready for feature extraction.

### extractFeature

    public double[] extractFeature(double[] samples,
                                   double sampling_rate,
                                   double[][] other_feature_values)
                            throws java.lang.Exception

  Extracts the difference between adjacent points as a basic implementation of a discrete dirivative.

  定義:
    クラス `FeatureExtractor` 内の `extractFeature`
  パラメータ:
    `samples` - signal to be analyzed. Not used by this feature
    `sampling_rate` - sampling rate of the signal. Not used by this feature
    `other_feature_values` - provides most recent and next most recent values to be compared
  戻り値:
    discrete derivative of the underlying feature
  例外:
    `java.lang.Exception` - Throws an informative exception if the feature cannot be calculated.

### getElement

    public java.lang.String getElement(int index)
                                throws java.lang.Exception

  Function permitting an unintelligent outside function (ie. EditFeatures frame) to get the default values used to populate the table's entries. The correct index values are inferred from definition.attribute value.

  As a metafeature, recursively calls children for the feature requested.

  オーバーライド:
    クラス `FeatureExtractor` 内の `getElement`
  パラメータ:
    `index` - which of AreaMoment's attributes should be edited.
  例外:
    `java.lang.Exception`

### setElement

    public void setElement(int index,
                           java.lang.String value)
                    throws java.lang.Exception

  Function permitting an unintelligent outside function (ie. EditFeatures frame) to set the default values used to popylate the table's entries. Like getElement, the correct index values are inferred from the definition.attributes value.

  As a metafeature, recursively calls children to set the feature requested.

  オーバーライド:
    クラス `FeatureExtractor` 内の `setElement`
  パラメータ:
    `index` - attribute to be set
    `value` - new value of the attribute
  例外:
    `java.lang.Exception`

### clone

    public java.lang.Object clone()

  Create an identical copy of this feature. This permits FeatureExtractor to use the prototype pattern to create new composite features using metafeatures.

  定義:
    クラス `FeatureExtractor` 内の `clone`

### getFeatureDefinition

    public FeatureDefinition getFeatureDefinition()

  Overridden to regenerate the feature definition. Perhaps its should be kept purely virtual, but currently, attributes and dimensions are recalculated for each iteration. This is necessary so that changes in children's defintions get propogated back to the top level. As of 05-08-05 LPC is the only feature that requires this.

  オーバーライド:
    クラス `FeatureExtractor` 内の `getFeatureDefinition`

概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド