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