public class Naturalness extends AbstractMaskedObject<FImage> implements ImageAnalyser<MBFImage>, FeatureVectorProvider<DoubleFV>
mask
Constructor and Description |
---|
Naturalness()
Construct with no mask set
|
Naturalness(FImage mask)
Construct with a mask.
|
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(MBFImage image)
Analyse an image.
|
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
double |
getNaturalness()
Get the naturalness value for the image previously analysed with
analyseImage(MBFImage) . |
getMask, setMask
public Naturalness()
public Naturalness(FImage mask)
mask
- the mask.public void analyseImage(MBFImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<MBFImage>
image
- The image to process in place.public double getNaturalness()
analyseImage(MBFImage)
.public DoubleFV getFeatureVector()
FeatureVectorProvider
getFeatureVector
in interface FeatureVectorProvider<DoubleFV>