public class ImageRecordReader extends BaseImageRecordReader
allPaths, appendLabel, channels, CHANNELS, conf, CROP_IMAGE, cropImage, currentFile, fileNameMap, height, HEIGHT, hitImage, IMAGE_LOADER, imageLoader, imageTransform, inputSplit, iter, labelGenerator, labels, pattern, patternPosition, record, width, WIDTH
listeners
APPEND_LABEL, LABELS, NAME_SPACE
Constructor and Description |
---|
ImageRecordReader()
Loads images with height = 28, width = 28, and channels = 1, appending no labels.
|
ImageRecordReader(int height,
int width)
Loads images with given height, width, and channels = 1, appending no labels.
|
ImageRecordReader(int height,
int width,
int channels)
Loads images with given height, width, and channels, appending no labels.
|
ImageRecordReader(int height,
int width,
int channels,
ImageTransform imageTransform)
Loads images with given height, width, and channels, appending no labels.
|
ImageRecordReader(int height,
int width,
int channels,
PathLabelGenerator labelGenerator)
Loads images with given height, width, and channels, appending labels returned by the generator.
|
ImageRecordReader(int height,
int width,
int channels,
PathLabelGenerator labelGenerator,
ImageTransform imageTransform)
Loads images with given height, width, and channels, appending labels returned by the generator.
|
ImageRecordReader(int height,
int width,
PathLabelGenerator labelGenerator)
Loads images with given height, width, and channels, appending labels returned by the generator.
|
accumulateLabel, close, containsFormat, getConf, getCurrentFile, getLabel, getLabels, hasNext, initialize, initialize, initialize, initialize, loadFromMetaData, loadFromMetaData, next, nextRecord, numLabels, record, reset, setConf, setCurrentFile, setLabels
getListeners, invokeListeners, setListeners, setListeners
public ImageRecordReader()
public ImageRecordReader(int height, int width, int channels, PathLabelGenerator labelGenerator)
public ImageRecordReader(int height, int width, int channels)
public ImageRecordReader(int height, int width, int channels, PathLabelGenerator labelGenerator, ImageTransform imageTransform)
public ImageRecordReader(int height, int width, int channels, ImageTransform imageTransform)
public ImageRecordReader(int height, int width, PathLabelGenerator labelGenerator)
public ImageRecordReader(int height, int width)