Commit c14df881 authored by Vladimir Ulman's avatar Vladimir Ulman
Browse files

tests pimped

parent 9b1d8d28
......@@ -284,7 +284,9 @@ int main(void)
const i3d::GRAY16 label = 20;
std::cout << "Mask image, offset @ " << mask.GetOffset() << " microns, px size " << mask.GetSize() << "\n";
manyS.updateRadius(1,3.8f);
renderIntoMask(mask,label,manyS);
manyS.updateRadius(1,4.5f);
mask.SaveImage("mask.tif");
i3d::Image3d<i3d::GRAY16> mask2;
......@@ -307,7 +309,10 @@ int main(void)
numOrphansPerSphere.clear();
numUnwantedPerSphere.clear();
keepGoing = analyzeOverlaps(mask2,label, manyS,Vector3d<float>(5), numOrphansPerSphere,numUnwantedPerSphere);
keepGoing = analyzeOverlaps(mask2,label,
manyS,Vector3d<float>(5),
numOrphansPerSphere,numUnwantedPerSphere,
analyzeRounds > 4);
std::cout << analyzeRounds << ": keepGoing = " << keepGoing << "\n";
reportOverlaps(numOrphansPerSphere,numUnwantedPerSphere);
......
g++ -DDEBUG -I/usr/local/include/i3d -isystem /home/ulm0023/devel/libzmq/DEPLOY/include -Wall -Wextra -pedantic -Wconversion -g -std=gnu++11 -o sphInt SpheresInterpolator.cpp /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/DisplayUnits/Scenery*o /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/Geometries/Geometry.cpp.o /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/Geometries/Spheres.cpp.o /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/util/rnd_generators.cpp.o -Wl,-rpath,/usr/local/lib:/home/ulm0023/devel/libzmq/DEPLOY/lib64 /usr/local/lib/libi3dalgo.so /usr/local/lib/libi3dcore.so -lgsl -lgslcblas /home/ulm0023/devel/libzmq/DEPLOY/lib/libDAIS-wp13.a /home/ulm0023/devel/libzmq/DEPLOY/lib64/libzmq.so.5.2.3 -lpthread -lrt -Xlinker -defsym -Xlinker MAIN__=main
g++ -DDEBUG -I/usr/local/include/i3d -isystem /home/ulm0023/devel/libzmq/DEPLOY/include -Wall -Wextra -pedantic -Wconversion -g -std=gnu++11 -o sphFromMask SpheresFromMasks.cpp /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/DisplayUnits/Scenery*o /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/Geometries/Geometry.cpp.o /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/Geometries/Spheres.cpp.o /home/ulm0023/devel/EmbryoGen/BUILD/CMakeFiles/embryogen.dir/src/util/rnd_generators.cpp.o -Wl,-rpath,/usr/local/lib:/home/ulm0023/devel/libzmq/DEPLOY/lib64 /usr/local/lib/libi3dalgo.so /usr/local/lib/libi3dcore.so -lgsl -lgslcblas /home/ulm0023/devel/libzmq/DEPLOY/lib/libDAIS-wp13.a /home/ulm0023/devel/libzmq/DEPLOY/lib64/libzmq.so.5.2.3 -lpthread -lrt -Xlinker -defsym -Xlinker MAIN__=main
Markdown is supported
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