Skip to content
Snippets Groups Projects
Commit a5bc1725 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ENH:change pixel type from double to unsigned short int

parent b4d2b35f
Branches
Tags
No related merge requests found
...@@ -46,7 +46,7 @@ int generic_main(otb::ApplicationOptionsResult* parseResult, ...@@ -46,7 +46,7 @@ int generic_main(otb::ApplicationOptionsResult* parseResult,
{ {
try try
{ {
typedef otb::VectorImage<double, 2> ImageType; typedef otb::VectorImage<unsigned short int, 2> ImageType;
typedef otb::ImageFileReader<ImageType> ReaderType; typedef otb::ImageFileReader<ImageType> ReaderType;
typedef otb::StreamingImageFileWriter<ImageType> WriterType; typedef otb::StreamingImageFileWriter<ImageType> WriterType;
...@@ -376,7 +376,7 @@ int OrthoRectification::Execute(otb::ApplicationOptionsResult* parseResult) ...@@ -376,7 +376,7 @@ int OrthoRectification::Execute(otb::ApplicationOptionsResult* parseResult)
else else
{ {
//TODO get utm zone and hemispher and build wkt //TODO get utm zone and hemispher and build wkt
typedef otb::VectorImage<double, 2> ImageType; typedef otb::VectorImage<unsigned short int, 2> ImageType;
typedef otb::ImageFileReader<ImageType> ReaderType; typedef otb::ImageFileReader<ImageType> ReaderType;
typedef otb::UtmInverseProjection UtmProjectionType; typedef otb::UtmInverseProjection UtmProjectionType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment