An error occurred while loading the file. Please try again.
-
Pierre Lassalle authoredd8ebd795
#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