Class MRITools_matt

java.lang.Object
  extended by MriConvolutionKernels_
      extended by MRITools_matt
All Implemented Interfaces:
ij.plugin.filter.ExtendedPlugInFilter, ij.plugin.filter.PlugInFilter

 class MRITools_matt
extends MriConvolutionKernels_

This class offers tools for the ImageJ plugin MriConvolutionKernels_ .

You'll be free to use this software for research purposes, but you should not redistribute it without our consent. In addition, we expect you to include a citation or acknowledgement whenever you present or publish results that are based on it.

Version:
June 03, 2008
Author:
Matthieu Guerquin-Kern
See Also:
MriConvolutionKernels_, KSpaceTrajectory, FFTTools_matt

Field Summary
 
Fields inherited from class MriConvolutionKernels_
imp, KSPACE_TRAJECTORY, TRAJECTORIES
 
Fields inherited from interface ij.plugin.filter.ExtendedPlugInFilter
KEEP_PREVIEW
 
Fields inherited from interface ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
 
Constructor Summary
MRITools_matt(int w, int h)
          First constructor.
MRITools_matt(int w, int h, java.lang.String type)
          Second constructor.
 
Method Summary
 void ComputeMriKernel(int refinement)
          Computes the kernel associated with the trajectory.
 int getHeight()
           
 int getWidth()
           
 void MRIConvolution(double[] Image_real, double[] Image_imag)
          Performs the convolution of an image with the kernel.
 void PlotKernel()
          Plots as an image the kernel stored in class fields.
 void showTraj()
          Calls internal KSpaceTrajectory function that displays trajectory.
 
Methods inherited from class MriConvolutionKernels_
run, setNPasses, setup, showDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MRITools_matt

MRITools_matt(int w,
              int h)
First constructor.

Parameters:
w - width
h - height

MRITools_matt

MRITools_matt(int w,
              int h,
              java.lang.String type)
Second constructor.

Parameters:
w - width
h - height
type - type of the K-space trajectory
Method Detail

getWidth

public int getWidth()
Returns:
width

getHeight

public int getHeight()
Returns:
height

showTraj

public void showTraj()
Calls internal KSpaceTrajectory function that displays trajectory.


ComputeMriKernel

public void ComputeMriKernel(int refinement)
Computes the kernel associated with the trajectory. Stores the kernel in the class fields.

Parameters:
refinement - factor of refinement for the FT Cartesian grid
See Also:
FFTTools_matt

PlotKernel

public void PlotKernel()
Plots as an image the kernel stored in class fields.


MRIConvolution

public void MRIConvolution(double[] Image_real,
                           double[] Image_imag)
Performs the convolution of an image with the kernel.

Parameters:
Image_real - real part of the image
Image_imag - imaginary part of the image
See Also:
FFTTools_matt