[opengtl-commits] [365] default mode is 8bits (16bits should be made an option) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 365
Author: cyrille
Date: 2008-09-03 23:19:45 +0200 (Wed, 03 Sep 2008)
Log Message:
-----------
default mode is 8bits (16bits should be made an option)
Modified Paths:
--------------
trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp
Modified: trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp 2008-09-03 21:19:16 UTC (rev 364)
+++ trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp 2008-09-03 21:19:45 UTC (rev 365)
@@ -140,7 +140,7 @@
std::getline(in,str);
}
int channelsCount = 3;
- GTLCore::PixelDescription pixel( GTLCore::Type::UnsignedInteger16, channelsCount );
+ GTLCore::PixelDescription pixel( GTLCore::Type::UnsignedInteger8, channelsCount );
OpenShiva::Kernel p(fileName, channelsCount);
p.setSource( source );
p.compile();