LiangliangNan / PolyFit

Polygonal Surface Reconstruction from Point Clouds
https://3d.bk.tudelft.nl/liangliang/publications/2017/polyfit/polyfit.html
GNU General Public License v3.0
723 stars 121 forks source link

Custom point cloud data #3

Closed kcyoung78 closed 7 years ago

kcyoung78 commented 7 years ago

Hi Liangliang,

Thank you so much for sharing your wonderful project.

I was trying to test my own point cloud which is ply format. As you recommended, I used mapple to convert my ply format data to vg format. When I ran polyfit, especially during pushing 'Refine' button, I encountered "planar segments do not exist" message. As a test, I convert Fig1.vg from your dataset to ply format and convert it back to vg format. It has same error. I am wondering what is procedure to convert a custom point cloud data into vg format that includes planar segments information. Thanks! -Chang Young

LiangliangNan commented 7 years ago

Dear Chang,

The PLY format point cloud files store only vertex and vertex attribute information. It doesn't record the planar segments. That means the planes were lost during your conversion (VG -> PLY-> VG). You can use Mapple's "Extract Primitives" (under Partition menu) to produce the planar segments. There are also other methods for plane extraction (many papers on this topic). Please do remember to save the extracted primitives as VG format. When all necessary planes are extracted (even if all planes are partial, i.e., some regions of the planes are missing), FolyFit should work.

Good luck!

Liangliang

On Fri, Sep 29, 2017 at 12:23 AM, kcyoung78 notifications@github.com wrote:

Hi Liangliang,

Thank you so much for sharing your wonderful project.

I was trying to test my own point cloud which is ply format. As you recommended, I used mapple to convert my ply format data to vg format. When I ran polyfit, especially during pushing 'Refine' button, I encountered "planar segments do not exist" message. As a test, I convert Fig1.vg from your dataset to ply format and convert it back to vg format. It has same error. I am wondering what is procedure to convert a custom point cloud data into vg format that includes planar segments information. Thanks! -Chang Young

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LiangliangNan/PolyFit/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AOzqiHv3jwTleFh8DwJJvi_8wPn-IsFOks5snA5MgaJpZM4Pn6HK .

kcyoung78 commented 7 years ago

It works. In mapple, I need to apply "estimate normal" in Orientation and "Extract Primitives" in Partition. Thanks again for your help. -Chang Young

Karltlbm commented 5 years ago

Is Mapple available on Linux ? I can't find it anywhere.

If not, is there another way to convert obtain the data type needed for Polyfit ?

LiangliangNan commented 5 years ago

Mapple is currently available on Windows only, but I have the plan to support different platforms (maybe after a few months). The most convenient way is to write your own code for exporting vg or bvg format for PolyFit. Here you will find the format specification: https://github.com/LiangliangNan/PolyFit/wiki/Data-for-PolyFit

On Wed, Jul 17, 2019 at 4:47 PM Karltlbm notifications@github.com wrote:

Is Mapple available on Linux ? I can't find it anywhere.

If not, is there another way to convert obtain the data type needed for Polyfit ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LiangliangNan/PolyFit/issues/3?email_source=notifications&email_token=ADWOVCBYNF2HXTIVX27ZDKTP74WIXA5CNFSM4D47UHFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2EONZA#issuecomment-512288484, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWOVCFNTF5KP6RDOW446R3P74WIXANCNFSM4D47UHFA .

karan00713 commented 2 years ago

Do you mean maplesoft ? @LiangliangNan

LiangliangNan commented 2 years ago

I've never heard about "maplesoft".

I was talking about "Mapple". You asked if it is available on Linux and the answer now is yes. You can download the pre-built binaries for Linux or macOS here: https://github.com/LiangliangNan/Easy3D/releases/tag/v2.4.7 (Mapple is part of Easy3D)

karan00713 commented 2 years ago

where I can get Easy3D for windows?

LiangliangNan commented 2 years ago

The easiest is to download the code and compile Mapple. Alternatively, there is an old version (Windows only) available here: https://3d.bk.tudelft.nl/liangliang/software/Mapple.zip