Révision 24 src/lsm_detect_contour.cpp
lsm_detect_contour.cpp (revision 24) | ||
---|---|---|
4 | 4 |
Stop criteria parameters in command lines |
5 | 5 |
|
6 | 6 |
To compile |
7 |
g++ -o lsm_detect_contour_full.exe lsm_detect_contour_full.cpp -O2 -L/usr/X11R6/lib -lm -lpthread -lX11 -l:libtiff.so.5
|
|
7 |
g++ -o lsm_detect_contour lsm_detect_contour_full.cpp -O2 -L/usr/X11R6/lib -lm -lpthread -lX11 -l:libtiff.so.5 |
|
8 | 8 |
Need CImg.h and lsm_lib.h |
9 | 9 |
|
10 | 10 |
To execute |
... | ... | |
39 | 39 |
if(argc!=9) |
40 | 40 |
{ |
41 | 41 |
cout<<"!! wrong number of arguments"<<endl; |
42 |
cout<<"Usage : ./xxxx.exe img t_up t_down a b smooth perUp perDown"<<endl;
|
|
42 |
cout<<"Usage : lsm_detect_contour img t_up t_down a b smooth perUp perDown"<<endl;
|
|
43 | 43 |
cout<<"Examples for parameter values:"<<endl; |
44 | 44 |
cout<<"------------------------------"<<endl; |
45 |
cout<<"img : grayscale image of cells, (.inr or .inr.gz)"<<endl; |
|
45 | 46 |
cout<<"Upper threshold : t_up = 20"<<endl; |
46 | 47 |
cout<<"Down threshold : t_down = 5"<<endl; |
47 | 48 |
cout<<"Area term : a = 0 (0.5, 1)"<<endl; |
Formats disponibles : Unified diff