Nuage2Ply : Différence entre versions
De MicMac
| Ligne 8 : | Ligne 8 : | ||
===Help=== | ===Help=== | ||
You can access to the help by typing :<br> | You can access to the help by typing :<br> | ||
| − | |||
<code>mm3d Nuage2Ply -help</code> | <code>mm3d Nuage2Ply -help</code> | ||
Mandatory unnamed args : | Mandatory unnamed args : | ||
| − | * | + | *string :: {Name of XML file} |
Named args : | Named args : | ||
| − | * | + | *[Name=Sz] Pt2dr :: {Sz (to crop)} |
| − | * | + | *[Name=P0] Pt2dr :: {Origin (to crop)} |
| − | * | + | *[Name=Out] string :: {Name of result (default toto.xml => toto.ply)} |
| − | * | + | *[Name=Scale] REAL :: {Do change the scale of result (def=1, 2 mean smaller)} |
| − | * | + | *[Name=Attr] string :: {Image to colour the point} |
| − | * | + | *[Name=Comments] vector<std::string> :: {Commentary to add in the ply file (Def=None)} |
| − | * | + | *[Name=Bin] INT :: {Generate Binary or Ascii (Def=1, Binary)} |
| − | * | + | *[Name=Mask] string :: {Supplementary mask image} |
| − | * | + | *[Name=SeuilMask] REAL :: {Theshold for supplementary mask} |
| − | * | + | *[Name=Dyn] REAL :: {Dynamic of attribute} |
| − | * | + | *[Name=DoPly] INT :: {Do Ply, def = true} |
| − | * | + | *[Name=DoXYZ] INT :: {Do XYZ, export as RGB image where R=X,G=Y,B=Z} |
| − | * | + | *[Name=Normale] INT :: {Add normale (Def=false, usable for Poisson)} |
| − | * | + | *[Name=NormByC] INT :: {Replace normal (Def=0, 2=optical center 1=point to center vector)} |
| − | * | + | *[Name=ExagZ] REAL :: {To exagerate the depth, Def=1.0} |
| − | * | + | *[Name=RatioAttrCarte] REAL |
| − | * | + | *[Name=Mesh] bool :: {Do mesh (Def=false)} |
| − | * | + | *[Name=64B] bool :: {To generate 64 Bits ply, Def=false, WARN = do not work properly with meshlab or cloud compare} |
| − | * | + | *[Name=Offs] Pt3dr :: {Offset in points to limit 32 Bits accuracy problem} |
| − | * | + | *[Name=NeighMask] string :: {Mask for neighboors when larger than point selection (for normals computation)} |
| − | * | + | *[Name=ForceRGB] bool :: {Force RGB even with gray image (Def=true because of bug in QT)} |
===Example=== | ===Example=== | ||
For example you can launch : <br> | For example you can launch : <br> | ||
<code> mm3d Nuage2Ply NuageImProf_STD-MALT_Etape_7.xml Attr=../AIMG_2470.JPG RatioAttrCarte=2 </code> | <code> mm3d Nuage2Ply NuageImProf_STD-MALT_Etape_7.xml Attr=../AIMG_2470.JPG RatioAttrCarte=2 </code> | ||
Version du 15 janvier 2016 à 10:35
Sommaire
Description
Nuage2Ply is used for transforming depth map in cloud point in ply format;
Syntax
The global syntax for Nuage2Ply is
mm3d Nuage2Ply Command UnNamedArgs NamedArgs
Help
You can access to the help by typing :
mm3d Nuage2Ply -help
Mandatory unnamed args :
- string :: {Name of XML file}
Named args :
- [Name=Sz] Pt2dr :: {Sz (to crop)}
- [Name=P0] Pt2dr :: {Origin (to crop)}
- [Name=Out] string :: {Name of result (default toto.xml => toto.ply)}
- [Name=Scale] REAL :: {Do change the scale of result (def=1, 2 mean smaller)}
- [Name=Attr] string :: {Image to colour the point}
- [Name=Comments] vector<std::string> :: {Commentary to add in the ply file (Def=None)}
- [Name=Bin] INT :: {Generate Binary or Ascii (Def=1, Binary)}
- [Name=Mask] string :: {Supplementary mask image}
- [Name=SeuilMask] REAL :: {Theshold for supplementary mask}
- [Name=Dyn] REAL :: {Dynamic of attribute}
- [Name=DoPly] INT :: {Do Ply, def = true}
- [Name=DoXYZ] INT :: {Do XYZ, export as RGB image where R=X,G=Y,B=Z}
- [Name=Normale] INT :: {Add normale (Def=false, usable for Poisson)}
- [Name=NormByC] INT :: {Replace normal (Def=0, 2=optical center 1=point to center vector)}
- [Name=ExagZ] REAL :: {To exagerate the depth, Def=1.0}
- [Name=RatioAttrCarte] REAL
- [Name=Mesh] bool :: {Do mesh (Def=false)}
- [Name=64B] bool :: {To generate 64 Bits ply, Def=false, WARN = do not work properly with meshlab or cloud compare}
- [Name=Offs] Pt3dr :: {Offset in points to limit 32 Bits accuracy problem}
- [Name=NeighMask] string :: {Mask for neighboors when larger than point selection (for normals computation)}
- [Name=ForceRGB] bool :: {Force RGB even with gray image (Def=true because of bug in QT)}
Example
For example you can launch :
mm3d Nuage2Ply NuageImProf_STD-MALT_Etape_7.xml Attr=../AIMG_2470.JPG RatioAttrCarte=2