edu.jhu.ece.iacl.algorithms.manual_label
Class ROI

java.lang.Object
  extended by edu.jhu.ece.iacl.algorithms.manual_label.LabelImage
      extended by edu.jhu.ece.iacl.algorithms.manual_label.ROI

public class ROI
extends LabelImage


Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.algorithms.manual_label.LabelImage
allComparisonHits, allhits, img, name, resX, resY, resZ, revnum, searched
 
Constructor Summary
ROI()
           
ROI(ImageData img)
           
ROI(ImageData img, ImageData testimg)
           
 
Method Summary
 java.lang.Number[] applyROINum(int label)
           
 void computeMask(int label)
           
 FiberCollection fiberroi(FiberCollection tractin, int op, int label)
          A method to parcellate fibers based to DTIStudio like regions of interest ROIs
 java.lang.String getData()
           
 ImageData getMaskedVol()
           
 Vector3[] getROIdata(int label)
           
 ImageData getSubsetDTISformat(ImageData vec, ImageData mask, java.lang.Number target)
           
 ImageData getSubsetMIPAVformat(ImageData vec, ImageData mask, java.lang.Number target)
           
 ImageData getTestVolume()
           
 void setTestVolume(ImageData vol)
           
 
Methods inherited from class edu.jhu.ece.iacl.algorithms.manual_label.LabelImage
computeStatistics, discreteLabelsFromMemberships, discreteLabelsFromMemberships, fleissReliability, get_version, getCombinedLabelList, getDims, getHitIndex, getImg, getlabCM, getLabelImageList, getLabelList, getLabelVolume, getlabset, getlabsetArray, getLastComparisonHits, getName, getPt, getVal, getVal, isinBounds, isPtinBounds, isPtinBounds, meanDists, meanDists, oneWayHausdorffDistance, organizeLabels, runAllComparisons, runCenterOfMasses, runCMDistance, runHausdorfDistance, runMeanDistance, runVolumes, sameDims, separateLabels, setimg, setRes, setVal, setVal, unifyMasks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROI

public ROI()

ROI

public ROI(ImageData img)

ROI

public ROI(ImageData img,
           ImageData testimg)
Method Detail

setTestVolume

public void setTestVolume(ImageData vol)

getTestVolume

public ImageData getTestVolume()

applyROINum

public java.lang.Number[] applyROINum(int label)

getROIdata

public Vector3[] getROIdata(int label)

computeMask

public void computeMask(int label)

getSubsetDTISformat

public ImageData getSubsetDTISformat(ImageData vec,
                                     ImageData mask,
                                     java.lang.Number target)

getSubsetMIPAVformat

public ImageData getSubsetMIPAVformat(ImageData vec,
                                      ImageData mask,
                                      java.lang.Number target)

fiberroi

public FiberCollection fiberroi(FiberCollection tractin,
                                int op,
                                int label)
A method to parcellate fibers based to DTIStudio like regions of interest ROIs

Parameters:
tractin - The fibercollection containing the fibers to be chosen
op - The operation to be applied 0-OR, 1-NOT
label - The label of interest. (-1 indicates all labels >0
Returns:
A FiberCollection containing the chosen fibers

getMaskedVol

public ImageData getMaskedVol()

getData

public java.lang.String getData()