Git Product home page Git Product logo

soax's People

Contributors

davidmrutkowski avatar frenebo avatar tix209 avatar vavylonis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

soax's Issues

soax_batch fails to run on Mac

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

building from source fails in Ubuntu 14.04

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

Unable to get the `batch_soax` command to work on Intel as well as M1 MacBook

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
  1. Why is it then not working for the batch of files (in a folder)?
  2. What is the meaning of the error "Input may contain multiple images. dyld[11941]: missing symbol called"?
  3. If I want to run this software on a lot of data how do I go about creating such process, should I leverage multiprocessing? Is there internal feature to do that optimally?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.