Skip to content
Snippets Groups Projects
Commit 45bb64d6 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

float->double

parent 2ec663eb
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ int otbGAndRIndexImageFilter(int argc, char * argv[])
typedef unsigned char PixelType;
typedef otb::Image<PixelType,Dimension> InputGImageType;
typedef otb::Image<PixelType,Dimension> InputRImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
......@@ -58,7 +58,7 @@ int otbMultiChannelGAndRIndexImageFilter(int argc, char * argv[])
{
const unsigned int Dimension = 2;
typedef otb::VectorImage<unsigned char ,Dimension> InputImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
......@@ -62,7 +62,7 @@ int otbMultiChannelRAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[]
{
const unsigned int Dimension = 2;
typedef otb::VectorImage<double ,Dimension> InputImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
......@@ -58,7 +58,7 @@ int otbMultiChannelRAndNIRVegetationIndexImageFilter(int argc, char * argv[])
{
const unsigned int Dimension = 2;
typedef otb::VectorImage<unsigned char ,Dimension> InputImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
......@@ -71,7 +71,7 @@ int otbRAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[])
typedef otb::Image<PixelType,Dimension> InputRImageType;
typedef otb::Image<PixelType,Dimension> InputBImageType;
typedef otb::Image<PixelType,Dimension> InputNIRImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
......@@ -62,7 +62,7 @@ int otbRAndNIRVegetationIndexImageFilter(int argc, char * argv[])
typedef unsigned char PixelType;
typedef otb::Image<PixelType,Dimension> InputRImageType;
typedef otb::Image<PixelType,Dimension> InputNIRImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
......@@ -60,7 +60,7 @@ int otbSetASetBMultiChannelRAndNIRVegetationIndexImageFilter(int argc, char * ar
{
const unsigned int Dimension = 2;
typedef otb::VectorImage<unsigned char,Dimension> InputImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
......@@ -63,7 +63,7 @@ int otbSetASetBRAndNIRVegetationIndexImageFilter(int argc, char * argv[])
typedef unsigned char PixelType;
typedef otb::Image<PixelType,Dimension> InputRImageType;
typedef otb::Image<PixelType,Dimension> InputNIRImageType;
typedef otb::Image<float,Dimension> OutputImageType;
typedef otb::Image<double,Dimension> OutputImageType;
std::string strArgv(argv[1]);
argc--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment