public class DistributionFeatureExtractor extends FeatureExtractor
RawFeatureExtractor
. Note that all feature indices are
shifted by 2 (1 (since it starts by 0) + 1 (f_1 is omitted)). WARNING:
Assumes constant frame widthConstructor and Description |
---|
DistributionFeatureExtractor(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Double> |
extractFeatures(org.opencv.core.Mat whole,
org.opencv.core.Mat frame)
Extract distributional features.
|
public DistributionFeatureExtractor(Configuration conf)
public java.util.List<java.lang.Double> extractFeatures(org.opencv.core.Mat whole, org.opencv.core.Mat frame)
frame
matrix stays the same.extractFeatures
in class FeatureExtractor
whole
- whole input frameframe
- current frame from which to extract features