Subject: CGAL users discussion list
List archive
- From: 杨成林 <>
- To:
- Subject: Re: [cgal-discuss] PCA bug not solved completely
- Date: Fri, 11 Sep 2009 16:26:38 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=o4Bs65GeRd5qSxUGRulpXhhVW8GwZURhqLM/7JGdLHcHhpvAuxhLkqIqmj2KMNhCJ/ dJ3Rsnnmn+Din4zzzn8ublZAegs4L2KJsix7ol9fK7PCDOGR5Rxqy4W2qEcvCUOVdLKz u96dIM05OgnY9Vi5l1oR0IWXRHyWG0/IU7O+s=
Your idea is acceptable, though I think my idea is better.
By the way, how much time do you spend on CGAL coding per day?
--
杨成林
2009/9/11 Pierre Alliez <>
sorry - I was too fast fixing the bug yesterday - there is no bug in
fact (but I have updated the comment)
if all three eigenvalues are equal then it is fully degenerate and any
plane that goes through the centroid achieves the same approximation
(after all I could let the general case handle it as well).
if the two smallest eigenvalues are equal then it is also degenerate
(albeit less) and any plane that goes through the best fitting line
works - and I let the general case pick one of this plane.
pierre
Pierre Alliez
INRIA Sophia Antipolis - Mediterranee
Project-team GEOMETRICA
http://www-sop.inria.fr/members/Pierre.Alliez/
Tel: +33 4 92 38 76 77
Fax: +33 4 97 15 53 95
杨成林 a écrit :
> Hello
> I reported a bug in PCA component in Feb. In CGAL 3.5 beta1 I have
> seen the change, but I don't think the problem is fixed.
> It is about line 709-710 in PCA_util.h of CGAL 3.4. The condition is
> too strong for regular case. Now in CGAL 3.5 beta1, it is line
> 708-709. I think the condition is still too strong, but for degenerate
> case. To confirm degenerate case, only "eigen_values[1] ==
> eigen_values[2]" is needed. "eigen_values[0] != eigen_values[2]" is
> not a guarantee of regular case.
>
> --
> 杨成林
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
--
杨成林
- [cgal-discuss] PCA bug not solved completely, 杨成林, 09/10/2009
- Re: [cgal-discuss] PCA bug not solved completely, Pierre Alliez, 09/10/2009
- Re: [cgal-discuss] PCA bug not solved completely, Pierre Alliez, 09/11/2009
- Re: [cgal-discuss] PCA bug not solved completely, 杨成林, 09/11/2009
Archive powered by MHonArc 2.6.16.