public class AsciiInterestPoint extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NUM_ASIFT_LOC_FEATS
Number of location features for ASIFT files
|
static int |
NUM_CIRCLE_LOC_FEATS
Number of location elements for circle files
|
static int |
NUM_ELLIPSE_LOC_FEATS
Number of location elements for ellipse files
|
Constructor and Description |
---|
AsciiInterestPoint() |
Modifier and Type | Method and Description |
---|---|
static FeatureFile |
read(File file,
boolean reverse,
int nLocationFeatures)
Read the file
|
static FeatureFile |
read(InputStream source,
boolean reverse,
int nLocationFeatures)
Read the file
|
static byte[][] |
readData(File file,
boolean reverse,
int nLocationFeatures)
Read the data
|
static byte[][] |
readData(File file,
int[] indices,
boolean reverse,
int nLocationFeatures)
Read the data
|
protected static byte[][] |
readData(Scanner scanner,
Header header,
int nLocationFeatures) |
static Header |
readHeader(File file,
boolean reverse)
Read the header
|
protected static Header |
readHeader(Scanner scanner,
boolean reverse) |
protected static byte[] |
readLine(Scanner scanner,
Header header,
int nLocationFeatures) |
protected static void |
skipLine(Scanner scanner,
Header header,
int nLocationFeatures) |
public static final int NUM_ELLIPSE_LOC_FEATS
public static final int NUM_CIRCLE_LOC_FEATS
public static final int NUM_ASIFT_LOC_FEATS
public AsciiInterestPoint()
public static Header readHeader(File file, boolean reverse) throws IOException
file
- reverse
- IOException
public static byte[][] readData(File file, boolean reverse, int nLocationFeatures) throws IOException
file
- reverse
- nLocationFeatures
- IOException
public static byte[][] readData(File file, int[] indices, boolean reverse, int nLocationFeatures) throws IOException
file
- indices
- reverse
- nLocationFeatures
- IOException
public static FeatureFile read(InputStream source, boolean reverse, int nLocationFeatures) throws IOException
source
- reverse
- nLocationFeatures
- IOException
public static FeatureFile read(File file, boolean reverse, int nLocationFeatures) throws IOException
file
- reverse
- nLocationFeatures
- IOException
protected static Header readHeader(Scanner scanner, boolean reverse) throws IOException
IOException