Modifier and Type | Field and Description |
---|---|
Feature[] |
features
The list of features
|
Constructor and Description |
---|
FeatureList(int nFeatures)
KLTCreateFeatureList
|
Modifier and Type | Method and Description |
---|---|
FeatureList |
clone() |
int |
countRemainingFeatures()
KLTCountRemainingFeatures
|
MBFImage |
drawFeatures(FImage img)
KLTWriteFeatureListToPPM
|
MBFImage |
drawFeatures(MBFImage img)
KLTWriteFeatureListToPPM
|
Rectangle |
getBounds()
Returns the bounding box of the features
|
Iterator<Feature> |
iterator() |
String |
toString() |
String |
toString(String fmt,
boolean comments)
Convert to a string representation with the given format.
|
void |
writeFeatureList(File fname,
String fmt)
KLTWriteFeatureList()
Writes features to file or to screen.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public FeatureList(int nFeatures)
nFeatures
- public int countRemainingFeatures()
public FeatureList clone()
public MBFImage drawFeatures(FImage img)
img
- public MBFImage drawFeatures(MBFImage img)
img
- public void writeFeatureList(File fname, String fmt) throws IOException
fname
- name of file to write data; if NULL, then print to stderrfmt
- format for printing (e.g., "%5.1f" or "%3d");
if NULL, and if fname is not NULL, then write to binary file.IOException
public String toString(String fmt, boolean comments)
fmt
- comments
-