Commit d62beb01 authored by Yaroslav Gevorkov's avatar Yaroslav Gevorkov
Browse files

updated test

parent 6efb9622
......@@ -21,9 +21,9 @@ int main()
// testReflectionsInRangeFinder();
// testSinogram();
// testSinogram2();
// testSinogramComplete();
testSinogramComplete();
// testRefinementGetDefect();
testRefinement();
//testRefinement();
// testPatternPrediction();
// testPinkIndexer();
}
......
......@@ -133,17 +133,15 @@ namespace pinkIndexer
void testSinogramComplete()
{
Matrix3Xf reflectionsBackprojected_center;
Matrix2Xf ucsBorderNorms;
Matrix3f knownBasis;
MatrixXf angleResolution_deg_matrix;
loadEigenMatrixFromDisk(reflectionsBackprojected_center,
"C:\\DesyFiles\\workspaces\\VisualStudio_workspace\\pinkIndexer\\workfolder\\reflectionsBackprojected_center");
Matrix3Xf ucsDirections;
loadEigenMatrixFromDisk(ucsBorderNorms, "C:\\DesyFiles\\workspaces\\VisualStudio_workspace\\pinkIndexer\\workfolder\\ucsBorderNorms");
loadEigenMatrixFromDisk(ucsDirections, "C:\\DesyFiles\\workspaces\\VisualStudio_workspace\\pinkIndexer\\workfolder\\ucsDirections");
loadEigenMatrixFromDisk(knownBasis, "C:\\DesyFiles\\workspaces\\VisualStudio_workspace\\pinkIndexer\\workfolder\\knownBasis");
loadEigenMatrixFromDisk(angleResolution_deg_matrix, "C:\\DesyFiles\\workspaces\\VisualStudio_workspace\\pinkIndexer\\workfolder\\angleResolution_deg");
float angleResolution_deg = angleResolution_deg_matrix(0, 0);
Matrix3Xf ucsDirections = reflectionsBackprojected_center.colwise().normalized();
Lattice knownLattice(knownBasis);
......@@ -154,7 +152,7 @@ namespace pinkIndexer
auto tmp = Chronometer("sinogram");
int slaveThreadCount = 3;
// sinogram.computeSinogram(ucsDirections, candidateReflectionsDirections);
//sinogram.computeSinogram(ucsDirections, ucsBorderNorms);
sinogram.computeSinogramParallel(ucsDirections, ucsBorderNorms, slaveThreadCount);
}
......
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