Documentation of 'edu.rit.mri.SpinRelaxometryClu' Java class
SpinRelaxometryClu
edu.rit.mri

Class SpinRelaxometryClu



  • public class SpinRelaxometryClu
    extends java.lang.Object
    Class SpinRelaxometryClu is a cluster parallel program that does a spin relaxometry analysis of one or more magnetic resonance images. Each MR image's spin signal data set is stored in a file as defined in class SignalDataSetWriter. The program does the following for each spin signal data set file. Using an instance of class SignalDataSetReader, the program reads the spin signal data for each pixel in the image. Using class PixelAnalysis, the program does a spin relaxometry analysis on each pixel and computes the tissues for each pixel. Using an instance of class TissuesDataSetWriter, the program writes the tissues data into another file. For example, if the input spin signal data set files are named image1.dat, image2.dat, and so on, the output tissues data set files are named tissues_image1.dat, tissues_image2.dat, and so on.

    The program uses the master-worker pattern for load balancing. The program uses the parallel input files pattern for reduced message passing. The master partitions each image into chunks of 100 pixels and sends the chunks to the workers. In parallel, the workers read the input spin signal data set file, do the spin relaxometry analysis calculations for each pixel in the chunk, and send the calculated tissues data back to the master. The master writes the tissues data into the output tissues data set file.

    Usage: java -Dpj.np=K edu.rit.mri.SpinRelaxometryClu R1_lower R1_upper N signalfile [ signalfile . . . ]
    K = Number of parallel processes
    R1_lower = Lower R1 spin-lattice relaxation rate (1/sec)
    R1_upper = Upper R1 spin-lattice relaxation rate (1/sec)
    N = Number of R1 intervals
    signalfile = Input spin signal data set file

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Main program.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Main program.
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.