-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
(Reverse) Distance Transformation on Periodic Spaces #1206
Conversation
Minor edit
…o periodicVoronoiMap
sorry for the delay @rolanddenis . What's wrong with the break index in power map? |
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.
request changes
(still playing;))
// In the periodic case, the cycle depends on break index | ||
if ( isPeriodic(dim) ) | ||
{ | ||
// Along other than the first dimension, the break index is at the lower site found. |
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.
lowest
(just playing with new Github review system)
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.
Hum ... and now ? Do you have to approve the changes or did I miss something ?
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 clear..
(your HDF5 fix does not work neither on my mac, I've no idea what the problem is :() |
😰 I was trying the solution from http://stackoverflow.com/questions/34050155/symbol-not-found-linking-to-hdf-library ... Even if it doesn't solve the problem, it seems that requiring the So you also have the error on your computer ? It is not just a Travis specific configuration problem... |
I think the problem is related to that : http://stackoverflow.com/questions/16352833/linking-with-clang-on-os-x-generates-lots-of-symbol-not-found-errors It may come from the fact that hdf5 has been compiled with a C++ library different to the one used to compile DGtal. I also had the same problem when linking a program compiled with gcc >=5 with boost compiled with gcc < 5 : the Another link on this problem: http://stackoverflow.com/questions/8454329/why-cant-clang-with-libc-in-c0x-mode-link-this-boostprogram-options-examp |
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.
By default, brew use clang compiler (same one as DGTal). I think the problem is more related to hdf5 upstream issue rather that something from our side
(And I agree, CXX flag for hdf5 was missing) |
Yes, I agree... |
thanks a lot @rolanddenis for your edits. I'm reviewing them. |
all bots are fine now. @rolanddenis can you please add something in the doc about the "(partial)" thing? |
I added a small paragraph on partial periodic specification (even if your remark was not about that) ;) |
thanks. |
Great merging. thanks again |
PR Description
Adding per-dimension periodicity specification to VoronoiMap (+DistanceTransformation) and PowerMap (+ReverseDistanceTransformation), following D. Coeurjolly, 2008, Distance Transformation, Reverse Distance Transformation and Discrete Medial Axis on Toric Spaces 😲
Checklist
DistanceTransformation(partial)ReverseDistanceTransformation(partial) & ReducedMedialAxismoduleVolumetric
)[ ] Tutorial "Image -> Region -> Distance Transformation" (tutoImageRegionDT
)cmake
mode (otherwise, Travis C.I. will fail).