Skip to content
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

* Lambda-MST 2D/3D tangent estimator #1021

Merged
merged 46 commits into from
Oct 3, 2015
Merged

Conversation

copyme
Copy link
Member

@copyme copyme commented Jun 24, 2015

  • Naive3DDSSComputer - DSS computer which uses only valid projections
  • Another related changes

* Naive3DDSSComputer - DSS computer which uses only valid projections
* Another related changes
* This was a test code. Moreover, it contained a bugs (fixed in different branch) in the extendForward(), extendBackward()
@JacquesOlivierLachaud
Copy link
Member

I think you've got compiling errors because of some C++11 features (like using cbegin and cend ). Perhaps you should use them only when the flag CPP11 is on.

@copyme
Copy link
Member Author

copyme commented Jul 2, 2015

@JacquesOlivierLachaud Ok I've check logs and I fixed problems related to CPP11 and documentation. Right now, we have one error but not related to my code. Do you have any other comments to the code?

@JacquesOlivierLachaud
Copy link
Member

You are not listening to Mohamed's talk ?

----- Mail original -----

De: "kacperp" [email protected]
À: "DGtal-team/DGtal" [email protected]
Cc: "Jacques-Olivier Lachaud" [email protected]
Envoyé: Jeudi 2 Juillet 2015 12:17:29
Objet: Re: [DGtal] * Lambda-MST 2D/3D tangent estimator (#1021)

@JacquesOlivierLachaud Ok I've check logs and I fixed problems related to CPP11 and documentation. Right now, we have one error but not related to my code. Do you have any other comments to the code?


Reply to this email directly or view it on GitHub .

@dcoeurjo dcoeurjo added this to the 0.9 milestone Jul 17, 2015
@dcoeurjo
Copy link
Member

Is this PR still active ?
If not, please close it and reopen it when ready. thanks

@copyme
Copy link
Member Author

copyme commented Sep 1, 2015

@dcoeurjo Yes, is still active.

* Description of class 'Standard3DDSSComputer' <p>
* \brief Aim:
* Dynamic recognition of a 3d-digital straight segment (DSS)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Naive3DDSSComputer a model of some Computer concept ?
http://dgtal.org/doc/nightly/moduleGridCurveAnalysis.html
... for instance the CDynamicBidirectionalSegmentComputer
I would suggest to add this in the doc, as well as models of these concepts.

@copyme
Copy link
Member Author

copyme commented Oct 1, 2015

@dcoeurjo @JacquesOlivierLachaud At this point what is not done yet:

  • exact calculation in: Naive3DDDSComputer, TangentFromDSS3DFunctor, LambdaMST2D, LambdaMST3D.
  • LambdaMST2D and LambdaMST3D are not models of CCurveLocalGeometricEstimator.

Note sure if I will be able to finish this before end of this week.

@copyme
Copy link
Member Author

copyme commented Oct 2, 2015

@dcoeurjo

  • Naive3DDDSComputer returns right now exact parameters but I used boost::array and std::pair. I am not sure if you are happy with that.
  • LambdaMST2D and LambdaMST3D are right now models of CCurveLocalGeometricEstimator but I think that I need to test a bit more new eval for subranges.
  • Board3DFactory3Dto2D updated. Board3D uses Display3DFactory which was updated before.

@copyme
Copy link
Member Author

copyme commented Oct 2, 2015

The problem with one Travis test was fixed in #1045.

@@ -96,6 +96,10 @@
- Main example files of geometry/curves are introduced in the list of examples
and briefly described.
(Tristan Roussillon, [#1026](https:/DGtal-team/DGtal/pull/1026))
- Lambda maximal segment tangent direction estimator 2D/3D: LambdaMST2D, LambdaMST3D.
(Kacper Pluta, [#1021](https:/DGtal-team/DGtal/pull/1021))
- Segmentation of 3D digital curves by valid 2D projections onto base planes: NaiveDSS3DComputer.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not sure to understand this sentence. do you mean

Segmentation of a 3D curve into maximal 3D DSS (defined by at least two valid 2D isothetic projections)

?

@dcoeurjo
Copy link
Member

dcoeurjo commented Oct 3, 2015

Thanks a lot @copyme for all your edits.
Just a minor question on the changelog and ready to merge.

BTW: why didn't you use Fraction class for Quotient type ?

@copyme
Copy link
Member Author

copyme commented Oct 3, 2015

@dcoeurjo OK ChangeLog updated. No for Quotient I just used std::pair and I return integer parameters of a segment.

@dcoeurjo
Copy link
Member

dcoeurjo commented Oct 3, 2015

Ok thanks, merging

dcoeurjo added a commit that referenced this pull request Oct 3, 2015
* Lambda-MST 2D/3D tangent estimator
@dcoeurjo dcoeurjo merged commit faefcfd into DGtal-team:master Oct 3, 2015
@dcoeurjo dcoeurjo modified the milestones: 0.9, 0.9.2 Jan 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants