public class DoubleFV2FImage extends Object implements FeatureExtractor<FImage,DoubleFV>
Modifier and Type | Field and Description |
---|---|
int |
height
the image height
|
int |
width
the image width
|
Constructor and Description |
---|
DoubleFV2FImage(int width,
int height)
Construct the converter with the given image size
|
Modifier and Type | Method and Description |
---|---|
FImage |
extractFeature(DoubleFV object)
Extract features from an object and return them.
|
static FImage |
extractFeature(DoubleFV fv,
int width,
int height)
|
public DoubleFV2FImage(int width, int height)
width
- height
- public FImage extractFeature(DoubleFV object)
FeatureExtractor
extractFeature
in interface FeatureExtractor<FImage,DoubleFV>
object
- the object to extract frompublic static FImage extractFeature(DoubleFV fv, int width, int height)
fv
- the feature vectorwidth
- the image widthheight
- the image height