Commit 2d5d6158 authored by taox's avatar taox
Browse files

BUG: volume was in LPS space, while gradient vectors were still in RAS space.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@13090 3bd1e089-480b-0410-8dfb-8563597acbee
parent 265546c4
......@@ -738,10 +738,10 @@ int main(int argc, char* argv[])
b = atof( tag.c_str() );
ExtractBinValEntry( allHeaders[k], 0x0019, 0x10bb, tag );
vect3d[0] = atof( tag.c_str() );
vect3d[0] = -atof( tag.c_str() );
ExtractBinValEntry( allHeaders[k], 0x0019, 0x10bc, tag );
vect3d[1] = atof( tag.c_str() );
vect3d[1] = -atof( tag.c_str() );
ExtractBinValEntry( allHeaders[k], 0x0019, 0x10bd, tag );
vect3d[2] = atof( tag.c_str() );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment