Failed to fetch fork details. Try again later.
-
Dorchies David authored
Refs #34
67ce1ead
Forked from
HYCAR-Hydro / airGR
Source project has a limited visibility.
#ifndef __LSGRM_SPLITTER_H
#define __LSGRM_SPLITTER_H
#include "lsgrmHeader.h"
#include <otbVectorImage.h>
#include <otbImageFileReader.h>
#include <otbImageFileWriter.h>
#include <otbMultiChannelExtractROI.h>
namespace lsgrm
{
// Split with the OTB library
template <class TInputImage>
void SplitOTBImage(const std::string& inputImagePath, // Path to the input image
const std::string& ouputDirectoryPath, // Path to the directory storing the tiles
unsigned int& tileWidth, // width of the tile
unsigned int& tileHeight, // height of the tile
const unsigned int margin, // stability margin
const unsigned int niter
);
// Other libraries can be used to split the
// image.
} // end of namespace lsgrm
#include "lsgrmSplitter.txx"
#endif