Command Line Stat_test for export?

Feel free to ask any question here
Post Reply
sunny723d
Posts: 3
Joined: Thu Aug 15, 2019 9:02 pm

Command Line Stat_test for export?

Post by sunny723d »

Hi,

I'd like to be able to derive and export to a text file, a statistical test (Gauss) from the command line.

In this threadviewtopic.php?t=2363, Daniel said: You just wanted to extract the mean and standard deviation from a (cloud with) scalar field? If yes, then it's not possible at the moment (this function has not been exposed in command line mode).

1. Is it possible now?
2. If it is, what do I put in for the curly brackets (which are unknow before this test) then?
-STAT_TEST GAUSS {distrib parameters} {p-value} {neighbors count}


EDIT: In case someone else comes across this, a work around is to:

Code: Select all

cloudcompare -o “extracted clouds1.bin” -C_EXPORT_FMT ASC -ADD_HEADER 
Open the ASCI (text) file in excel or matlab and do they mean and stdv functions (excel does stdv.p now)


OUTSTANDING QUESTION:
3. While I've got someone's attention, can someone please guide me in: how can I tell (from the command line) CC to go to another directory to look for and open a file? Putting my working files in the Program files\CC seems like a bad practice.
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Command Line Stat_test for export?

Post by daniel »

1. The 'Compute stat. params' tool (https://www.cloudcompare.org/doc/wiki/i ... tat_Params) has still not been ported to the command line.

2. The 'STAT_TEST' is a different tool (see https://www.cloudcompare.org/doc/wiki/i ... tical_Test).

3. You can just use either an absolute path to the file (e.g. "D:\somewhere\over\the\rainbow\myfile.bin") or even a relative path ("..\somehwere\else\myfile.bin"). If there are any space character in the path, be sure to use quotes to delimit the full path.
Daniel, CloudCompare admin
Post Reply