pkarasev3/kslice — Issue #7: ksegmentor stores integral and U in vector<Mat>, probably breaks when rotating
Author: pkarasev3
Created: 2011-11-23 01:03:54+00:00
State: open

This doesn't make sense if the volume is rotated! Not sure what will happen with the U terms here ....

U_integral = std::vector< cv::Mat >( num_slices );
U_t = std::vector< cv::Mat >( num_slices );
cout << "I think the # of rows is: " << mdims[0] << ", # of cols is: " << mdims[1] << endl;
for( int k = 0; k < num_slices; k++ )
{ /** per-slice user updates */
U_integral[k] = cv::Mat::zeros( mdims[1], mdims[0], CV_64F );
U_t[k] = cv::Mat::zeros( mdims[1], mdims[0], CV_64F );
}