constStringkeys="{help | | demo :$ ./sphereview_test -radius=350 -ite_depth=1 -plymodel=../ape.ply -imagedir=../data/images_ape/ -labeldir=../data/label_ape.txt, then press 'q' to run the demo for images generation when you see the gray background and a coordinate.}"
constStringkeys="{help | | demo :$ ./sphereview_test -radius=250 -ite_depth=1 -plymodel=../ape.ply -imagedir=../data/images_ape/ -labeldir=../data/label_ape.txt, then press 'q' to run the demo for images generation when you see the gray background and a coordinate.}"
"{radius | 350 | Distanse from camera to object, used for adjust view for the reason that differet scale of .ply model.}"
"{radius | 250 | Distanse from camera to object, used for adjust view for the reason that differet scale of .ply model.}"
"{ite_depth | 1 | Iteration of sphere generation, we add points on the middle of lines of sphere and adjust the radius suit for the original radius.}"
"{ite_depth | 1 | Iteration of sphere generation, we add points on the middle of lines of sphere and adjust the radius suit for the original radius.}"
"{plymodel | ../ape.ply | path of the '.ply' file for image rendering. }"
"{plymodel | ../ape.ply | path of the '.ply' file for image rendering. }"
"{imagedir | ../data/images_ape/ | path of the generated images for one particular .ply model. }"
"{imagedir | ../data/images_ape/ | path of the generated images for one particular .ply model. }"
@ -53,7 +76,7 @@ int main(int argc, char *argv[]){
if(parser.has("help"))
if(parser.has("help"))
{
{
parser.printMessage();
parser.printMessage();
return0;
return0;
}
}
floatradius=parser.get<float>("radius");
floatradius=parser.get<float>("radius");
intite_depth=parser.get<int>("ite_depth");
intite_depth=parser.get<int>("ite_depth");
@ -73,11 +96,11 @@ int main(int argc, char *argv[]){