void QmitkTbssRoiAnalysisWidget::ModifyPlot(int number, bool avg)
{
  if(m_Fib == NULL || m_CurrentImage == NULL || m_CurrentStartRoi == NULL || m_CurrentEndRoi == NULL)
    return;

  DoPlotFiberBundles(m_Fib, m_CurrentImage, m_CurrentStartRoi, m_CurrentEndRoi, avg, number);


}
예제 #2
0
void QmitkTbssRoiAnalysisWidget::ModifyPlot(int number, bool avg)
{
  if(m_Fib == nullptr || m_CurrentTbssImage == nullptr || m_CurrentStartRoi == nullptr || m_CurrentEndRoi == nullptr)
    return;

  if(m_PlottingFiberBundle)
  {
    DoPlotFiberBundles(m_Fib, m_CurrentImage, m_CurrentStartRoi, m_CurrentEndRoi, avg, number);
  }
  else
  {
    PlotFiber4D(m_CurrentTbssImage, m_Fib, m_CurrentStartRoi, m_CurrentEndRoi, number);
  }
}
예제 #3
0
void QmitkTbssRoiAnalysisWidget::PlotFiberBetweenRois(mitk::FiberBundle *fib, mitk::Image* img,
                                mitk::DataNode* startRoi, mitk::DataNode* endRoi, bool avg, int number)
{

  if(fib == NULL || img == NULL || startRoi == NULL || endRoi == NULL)
    return;


  m_Fib = fib;
  m_CurrentImage = img;
  m_CurrentStartRoi = startRoi;
  m_CurrentEndRoi = endRoi;


  DoPlotFiberBundles(fib, img, startRoi, endRoi, avg, number);
}