tix209 / soax Goto Github PK
View Code? Open in Web Editor NEW2D/3D biopolymer network extraction and quantification.
Home Page: https://www.lehigh.edu/~div206/soax/
License: BSD 3-Clause "New" or "Revised" License
2D/3D biopolymer network extraction and quantification.
Home Page: https://www.lehigh.edu/~div206/soax/
License: BSD 3-Clause "New" or "Revised" License
Hi, I am testing SOAX (v3.6.1) for Mac and find it super useful. When I try to run the batch version of SOAX, however, I get the following error:
dyld: lazy symbol binding failed: Symbol not found: __ZN5boost10filesystem6detail28directory_iterator_constructERNS0_18directory_iteratorERKNS0_4pathEPNS_6system10error_codeE
Referenced from: /Users/amedyukh/Applications/soax/./batch_soax_v3.6.1
Expected in: /usr/local/opt/boost/lib/libboost_filesystem-mt.dylib
dyld: Symbol not found: __ZN5boost10filesystem6detail28directory_iterator_constructERNS0_18directory_iteratorERKNS0_4pathEPNS_6system10error_codeE
Referenced from: /Users/amedyukh/Applications/soax/./batch_soax_v3.6.1
Expected in: /usr/local/opt/boost/lib/libboost_filesystem-mt.dylib
Abort trap: 6
My Mac version is 10.14.6, and I am downloading the Batch SOAX from here: https://www.lehigh.edu/~div206/soax/downloads.html
I am trying to build SOAX from source in Ubuntu 14.04 according to instructions here: https://www.lehigh.edu/~div206/soax/downloads.html
Steps 1-3 have been completed successfully (I installed VTK version 6.3 and ITK version 4.72, as suggested in the section for MacOS). Configuring SOAX with CMake also seemed to be successful. However, when building with make, I get the following error:
/opt/release/viewer.cc: In member function 'vtkPolyData* soax::Viewer::MakePolyData(soax::Snake*, unsigned int, unsigned int)':
/opt/release/viewer.cc:449:3: error: 'vtkFloatingPointType' was not declared in this scope
vtkFloatingPointType coordinates[3];
^
/opt/release/viewer.cc:449:24: error: expected ';' before 'coordinates'
vtkFloatingPointType coordinates[3];
^
/opt/release/viewer.cc:452:5: error: 'coordinates' was not declared in this scope
coordinates[0] = snake->GetX(i);
^
/opt/release/viewer.cc: In member function 'vtkPolyData* soax::Viewer::MakePolyDataForMultipleSnakes(const SnakeContainer&)':
/opt/release/viewer.cc:487:3: error: 'vtkFloatingPointType' was not declared in this scope
vtkFloatingPointType coordinates[3];
^
/opt/release/viewer.cc:487:24: error: expected ';' before 'coordinates'
vtkFloatingPointType coordinates[3];
^
/opt/release/viewer.cc:492:7: error: 'coordinates' was not declared in this scope
coordinates[0] = (*s_iter)->GetX(i);
^
/opt/release/viewer.cc: In member function 'vtkPolyData* soax::Viewer::MakeClippedPolyData(unsigned int, double)':
/opt/release/viewer.cc:684:3: error: 'vtkFloatingPointType' was not declared in this scope
vtkFloatingPointType coordinates[3];
^
/opt/release/viewer.cc:684:24: error: expected ';' before 'coordinates'
vtkFloatingPointType coordinates[3];
^
/opt/release/viewer.cc:689:7: error: 'coordinates' was not declared in this scope
coordinates[0] = it->first->GetX(i);
^
make[2]: *** [CMakeFiles/soax.dir/viewer.cc.o] Error 1
I have tried two different versions of the source code, from here: https://github.com/tix209/SOAX/releases/tag/Version-3.5.2. and from here: https://www.lehigh.edu/~div206/soax/code/release_v3.5.7.zip
Both result in the same error.
I'd appreciate any info on the version of the source code that compiles or any other hints on how to make use of the batch mode.
Thanks
After running the following command
./batch_soax -i ./select_test/ -s ./result-snakes/ -p default_prams.txt --ridge 0.001 0.005 0.1 --stretch 0.1 0.1 1.0
OR
./batch_soax -i ./select_test/ -s ./result-snakes/ -p default_prams.txt
where,
select_test
- Is a folder containing isotropic images (5 of them)
result-snakes
- Is an empty folder where all the resultant txt files containing information about snakes is to be stored.
default_prams.txt
- file containing default parameter for execution.
I am getting the following error in the terminal
Input may contain multiple images.
dyld[11941]: missing symbol called
When I execute the following command for a single file, it executes properly and output in form of several text files is obtained.
#Sweeping parameter space on a single image
./batch soax -i ../data/image.mha -p ../parameters/parameter.txt -s ../result-snakes/ --ridge 0.001 0.005 0.1 --stretch 0.1 0.1 1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.