edu.jhu.ece.iacl.algorithms.manual_label
Class ROI
java.lang.Object
edu.jhu.ece.iacl.algorithms.manual_label.LabelImage
edu.jhu.ece.iacl.algorithms.manual_label.ROI
public class ROI
- extends LabelImage
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 |
ROI
public ROI()
ROI
public ROI(ImageData img)
ROI
public ROI(ImageData img,
ImageData testimg)
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 chosenop
- The operation to be applied 0-OR, 1-NOTlabel
- 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()