Skip to content
Snippets Groups Projects
Commit 91c4eb87 authored by Eric Wait's avatar Eric Wait
Browse files

Fixed bug with physical voxel size. Was reading r,c instead of x,y

parent 64abcc06
Branches
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ void MexInitVolume::execute(int nlhs, mxArray* plhs[], int nrhs, const mxArray*
{
// TODO: Should look over this and verify it's right for x-y anisotropy!
double* physData = (double*)mxGetData(prhs[1]);
physVoxel = Vec<float>(physData[1], physData[0], physData[2]);
physVoxel = Vec<float>(physData[0], physData[1], physData[2]);
}
// Compute total volume size in physical units
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment