ImagePyramidPatchExporter class
Exports an ImagePyramid to disk as a large set of image patches. Each patch is stored as a PNG image with the file name indicating its position and size. This exporter can handle both an ImagePyramid input and a stream of image patches.
Contents
- Reference
Inputs
- 0: ImagePyramid
Base classes
- class Exporter
- Abstract base class for exporters.
Public functions
Private functions
- void execute() override
Function documentation
std::shared_ptr<ImagePyramidPatchExporter> fast:: ImagePyramidPatchExporter:: create(std::string path,
uint level,
uint width,
uint height)
Create instance.
| Parameters | |
|---|---|
| path | Path to a directory to export patches to |
| level | Image pyramid level to extract patches from |
| width | Width of patch |
| height | Height of patch |
| Returns | instance |
void fast:: ImagePyramidPatchExporter:: setPath(std::string path)
| Parameters | |
|---|---|
| path | |
Path to the folder to put all tiles in. If folder does not exist, it will be created.