Giter VIP home page Giter VIP logo

structuralqc's Introduction

Description

Generating Workbench Scenes for Structural Quality Control

Authors: Michael Harms and Donna Dierker

Use

  1. Download the StructuralQC-x.y.z.zip archive from GitHub:

  2. Unzip the archive in a directory where you have read and write permission.

    • The resulting subdirectory will be named StructuralQC-x.y.z (e.g., StructuralQC-1.0.2)
    • The StructuralQC-x.y.z directory will contain:
      • a single script -- GenerateStructuralScenes.sh and
      • a templates directory that contains files that are needed to render the scenes.
    • You will probably invoke the script multiple times (i.e., for different batches of subjects).
  3. Use a text editor to edit the following variables in the GenerateStructuralScenes.sh script:

    SubjList="176239 199958 415837 433839 943862 987983"
    OutputFolder="/location/of/my/QC/output/directory"
    StudyFolder="/location/of/subject/data/directories"
    TemplateFolder="/location/of/unpacked/StructuralQC/templates"
    
    • SubjList is a space delimited list of subject ID's to be processed.
    • OutputFolder is where you want the per-subject scenes (and copies of the files in the templates directory) to be located.
    • StudyFolder is the directory containing the subject data (organized in standard ConnectomeDB file structure). It is used to replace a dummy string in the template scene so that the generated per-subject scene file can find the necessary file inputs.
    • TemplateFolder is the location of the templates subdirectory in your StructuralQC-x.y.z folder on your system. The script will copy reference files (S900* and mean MNI152 T1 atlas target) to your OutputFolder, so that the scenes can find them.
  4. Enter this command at a terminal window:

    bash GenerateStructuralScenes.sh
    
  5. Confirm the scenes were generated:

    cd $StudyFolder
    ls
    

    There should be one scene file for each subject in SubjList. (Each of which contains multiple scenes available for showing in wb_view).

  6. View the scene file using wb_view:

    wb_view "$Subject".structuralQC.wb.scene
    

structuralqc's People

Contributors

tbbrown avatar mharms avatar

Watchers

James Cloos avatar Sandrine Lefranc 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.