Subject: CGAL users discussion list
List archive
- From: williamlai3a <>
- To:
- Subject: Re: [cgal-discuss] Normal Estimate Example
- Date: Tue, 13 Mar 2018 08:42:22 -0700 (MST)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=Pass
- Ironport-phdr: 9a23:oi3G4xJBdUl/sNkbp9mcpTZWNBhigK39O0sv0rFitYgeLvnxwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhikHOTAn82/YiMJwgr9Urx29qBJy2JLUYJiJOPZiYq/RYdEXSGxcVchRTSxBBYa8YpMBDuoAOeZYq4j9qEELrRu6HwasBe3ixSVVjXLx2a01yfgtHR3a0AA9EdIOrW/Zo8vvOKcUTeC10bPEwiveYPNLwzv984fIfwknrPqRU7xwds/RxlMuFwPDlliQr5bqMCiO2eQJrWeX9fZvVeWqi2I/qgFxpCKvxsY2hYXTiIIV0EjI9Spnz4YyIN23VlJ7YcSkEZterS6VK5d2QsQ4Q2Booio11roGuZu9cSMXy5on3wbSZ+GGfoSW+B7vSuacLDliiH54dr+yiQy+/Eq+xuD6S8K6ykxFrjBfndnJrn0N1wLc6syASvZl+Ees1iyD1wbJ5e5fOk80kbTUJ4Q9zb43k5ofqUXDHinol0XqlKKaa0Qp9vay5+j5YrjrqIWQO5J6hwzwKKgjmNKzDfw9MgcUXmib/eq81Kfk/U38WLhKiuc5nrXFvJzGOMgbqLO5DhRL3Yo57Ra/Eyqm3M4GknYaMVJJYgmHj4fxN1HUPP/4Feu/g0irkDpz2//GMafuApHUInfekbfhZqpy61NHyAoo1t1f/JJVCrQZIP3pQEPxtdrYDgU4MwOu2ernBs99hcsjX3mSCPqZLL/Kqg3Pofk+JvGFIo4Tojf0bfY/oOX/iGcw3l4bc67u1pQebDW0H+9tPl6CMkbr19wOGGNPsgslR/Hxk3WDVyRSbjC8RfES/DY+XZ2nCYPCT4Wpib3a1W/vGpQOPjgfBE2kHDHua5jCVvsRLjmddJwy2gcYXKSsHtdynSqlsxX3nuI+f7jkvxYAvJem7+BboujalBU87ztxVpjP3ieLU3wyk28VASQ5jvgm/R5Nj2yb2K09uMR2UMRJ7qoVAAp8M4LBieF2FpbpVVCZJ4rbeBOdWtyjRAoJYJcxztsJOhsvHYnkiBnJ1S6nRbQSku7SCQ==
Hi Simon,
Thanks for your reply.
In my case, the massive point cloud is a laser scan of an indoor
environment.
At a later procedure, I will have to call Advanced Front Face Reconstruction
(I guess in my case, it is a better choice than Poisson, because I want to
fit planes and cylinders)
But the next step I am going to do is shape detection and structuring.
I am still thinking if I should do simplification and edge aware upsampling.
>> And yes, if I set k=6, it seems MST can only manage to orientate one
>> point, so the code block erase all other points except one single point.
>> But setting a bigger K, say 12, already eat up all of my main memory and
>> swap space.
Would you have any advise for my case, if I could just step normal
orientation?
Thanks a lot.
William
Simon Giraudot-2 wrote
> Hello,
>
>> [Update]
>> I have tried k=6, where it also used 43660 Mb main memory.
> If I understand correctly, the code stores a graph that would k*N in
> size (with N your number of points). I've tried on a 6 million points
> and k=19 and the RAM usage goes to 7GB, so I'm not really surprised by
> your results on such a large point cloud. I'll have a look into the code
> to see if something can be improved…
>
> For the record, what do you need oriented normals for? Many algorithms
> only require unoriented normals (I can mostly think of Poisson
> reconstruction in CGAL which does require orientation).
>
>> But the resulting point cloud only being erased to one single point by
>> the
>> code block:
>>
>> // Optional: delete points with an unoriented normal
>> // if you plan to call a reconstruction algorithm that expects
>> oriented
>> normals.
>> points.erase(unoriented_points_begin, points.end());
> I'm not sure I understand what's your problem here: does this erase ALL
> of your points except for one? Or something else?
>
> I don't know if this is your case, but just a note: algorithms that are
> applied to K nearest neighbors can give incorrect and unexpected results
> if the point cloud is highly non-uniform (for example, if you have very
> dense scanlines with a high space between each scanline).
>
> Best,
>
> --
> Simon Giraudot, PhD
> R&D Engineer
> GeometryFactory - http://geometryfactory.com/
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Normal Estimate Example, williamlai3a, 03/12/2018
- Re: [cgal-discuss] Normal Estimate Example, williamlai3a, 03/13/2018
- Re: [cgal-discuss] Normal Estimate Example, Simon Giraudot, 03/13/2018
- Re: [cgal-discuss] Normal Estimate Example, williamlai3a, 03/13/2018
- Re: [cgal-discuss] Normal Estimate Example, Simon Giraudot, 03/14/2018
- Re: [cgal-discuss] Normal Estimate Example, williamlai3a, 03/13/2018
- Re: [cgal-discuss] Normal Estimate Example, Simon Giraudot, 03/13/2018
- Re: [cgal-discuss] Normal Estimate Example, williamlai3a, 03/13/2018
Archive powered by MHonArc 2.6.18.