Coder Social home page Coder Social logo

jianglimed / igac Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cwkx/igac

0.0 1.0 0.0 1.93 MB

Implementation of Interactive GPU Active Contours (IGAC) published at JRTIP

License: GNU General Public License v3.0

CMake 0.61% C 36.08% C++ 24.76% MATLAB 38.52% M 0.03%

igac's Introduction

Paper

This code implements "Interactive GPU active contours for segmenting inhomogeneous objects". Please cite if you find it useful. https://link.springer.com/article/10.1007/s11554-017-0740-1

Common Mistakes

  • Make sure kernels directory is next to the compiled binary
  • If on linux, make sure "glxgears" works
  • Make sure your drivers are up to date

Readme

  • Compile using CMake
  • Typical usage scenario:
./IGAC -p nvidia -i data/noiseTumour3D.tif

Hotkeys

Click here to view application hotkeys

Command Line Options

USAGE:

   ./IGAC-arch  -i <string> -p <string> [-o <string>] [--phi <string>] [-d
                <string>] [--device <int>] [-r <float>] [-s <float>] [-g
                <float>] [--maxiter <float>] [--cr <float>] [--cz <float>]
                [--cy <float>] [--cx <float>] [--awgn <float>] [--lambda2
                <float>] [--lambda1 <float>] [--alf <float>] [--nu <float>]
                [--mu <float>] [--timestep <float>] [--sigma <float>] [--]
                [--version] [-h]

Where:

   -i <string>,  --image <string>
     (required)  Tiff image [path/image.tif]

   -p <string>,  --platform <string>
     (required)  Platform ID string [intel, nvidia, default, ...]

   -o <string>,  --output <string>
     Optional Save Tiff [path/filename.tif]

   --phi <string>
     Optional Tiff image for initial phi seed region [path/phi.tif]

   -d <string>,  --type <string>
     Device type [CPU, GPU, ALL, ACCELERATOR, DEFAULT]

   --device <int>
     Choose specific device id rather than max flops [0, 1, ...]

   -r <float>,  --range <float>
     Segmentation range

   -s <float>,  --smooth <float>
     Smoothing weight

   -g <float>,  --grow <float>
     Prefer to shrink or grow

   --maxiter <float>
     (Optional Advanced) Maximum iterations

   --cr <float>
     (Optional Advanced) Seed circle/sphere radius

   --cz <float>
     (Optional Advanced) Seed sphere z position

   --cy <float>
     (Optional Advanced) Seed circle/sphere y position

   --cx <float>
     (Optional Advanced) Seed circle/sphere x position

   --awgn <float>
     (Optional Advanced) AWGN intensity variation to prevent zero division
     (constant)

   --lambda2 <float>
     (Optional Advanced) Function of grow parameter

   --lambda1 <float>
     (Optional Advanced) Function of grow parameter

   --alf <float>
     (Optional Advanced) Data weight term (constant)

   --nu <float>
     (Optional Advanced) Same as curvature term

   --mu <float>
     (Optional Advanced) Signed distance function term (constant)

   --timestep <float>
     (Optional Advanced) Timestep (constant)

   --sigma <float>
     (Optional Advanced) Same as range parameter

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   --version
     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.

igac's People

Contributors

cwkx avatar

Watchers

 avatar

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.