Brain Mapping Center

How2 Document - EQ


Indications:

For treatment of minor inhomogeneities and discomfort
To benefit for people running segmentation algorithms


The links to Analyze2Genesis and Genesis2Analyze will reveal program source code(!)

The complete documentation for this algorithm can be found at: this link as it appeared in Human Brain Mapping.
The source for EQ is located at: This Link


Treatment:

For Volumes or images from the Signa (your input is indicated in BOLD in these sample transcripts)

  1. Copy the images to a local directory (using e.g., ximg)
    transcript:
    >telnet 3TMR
    Trying 128.97.134.52...
    Connected to UC3T_OC0.loni.ucla.edu.
    Escape character is '^]'.


    SunOS UNIX (UC3T_OC0)

    login: genesis
    Password:
    genesis @ UC3T_OC0 1: ximg -i E2564S1Iall -t -s
    Accessing image database.
    Extracting image file: /usr/g/insite/tmp/E2564S1I1.MR
    ...

    genesis @ UC3T_OC0 2:exit

  2. Convert these to Analyze file format, preserving the headers:
    transcript:
    > Genesis2Analyze E*.MR
    ...
    mv: E2530S4I003.MR and E2530S4I003.MR are identical.
    mv: E2530S4I002.MR and E2530S4I002.MR are identical.
    mv: E2530S4I001.MR and E2530S4I001.MR are identical.

    WARNING: Computer and data differ in byte order

    Patience for a moment


    Created Analyze (4D) file: E2530S4.img
    Save these files!: E2530S4.NAME_FILE and E2530S4.GenesisHdrs

    To create corresponding genesis images from an analyze file named XXX.img, use:
    Analyze2Genesis -n E2530S4.NAME_FILE -i XXX.img
    >
  3. Run EQ:
    transcript:
    > EQ -i E2530S4.img -o EQd
    EQ
    $Revision: 1.3 $$Date: 2001/10/05 21:54:03 $
    Working

    Done. Thank you for using EQ.
    mscohen@ucla.edu -- http://www.brainmapping.org
    >
    (you might wish to use the -V (verbose) option, as the program will otherwise be silent for about 2 minutes while it works
  4. Convert the images back to Signa format
    transcript:
    > Analyze2Genesis -n E2530S4.NAME_FILE -i EQd.img
    Using E2530S4.GenesisHdrs for genesis headers
    .........................................................
    ...................................................
    >


Back to HowTo pages
This page is maintained by Mark Cohen [updated 10.07.01]