-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regularization #306
Regularization #306
Conversation
beside #307, this code can be reviewed |
nice, thanks, I will have a look once I found a moment ;) |
I will have a look too. For the obvious reasons ;-) |
;) 👌 |
@@ -104,42 +104,40 @@ void CCCounter(Rank& r, Parent& p, const Image& elements, const unsigned int con | |||
typename Image::Point decz(0,0,1); | |||
|
|||
//Merging process | |||
for(typename Image::Domain::ConstIterator e = elements.domain().begin(); | |||
e !=elements.domain().end(); ++e) | |||
for ( typename Image::Domain::ConstIterator e = elements.domain().begin(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did it fix the issue #255 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure.. looks like formatting only
Options options; | ||
po::options_description po_shape("File options"); | ||
po_shape.add_options() | ||
("image-filename,i", po::value<std::string>(&options.image_filename)->default_value(""), "input vol filename for image shape or input cvs filename for surfels and normals") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the case of vol file, what is the threshold used to consider the object ? (128?) perhaps precise it and ideally an option to change it could be nice ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you an example cvs file example to test ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the vol, the only assumption is that 0 is the background.
po_options.add(po_shape).add(po_normal).add(po_approx).add_options() | ||
("help,h", "display this message") | ||
; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not tested on imported normals since the conversion with surfers need a little time to check in my tools. For the thin structure I put an issue. |
PR Description
Digital Surface Regularization (DGCI2017)
Previously #299
Checklist
cmake
mode (otherwise, Travis C.I. will fail).