I have a VC++ app that use VTK for visualizing DICOM CBCT and SimpleITK for segmentation (I intend to do segmentation, until now, it doesn’t working )
When I click on vtkVolume, I am using vtkCellPicker to know the 3d coordinates of the click. My question is, how can I use this point:
vtkCellPicker* pCellPicker = vtkCellPicker::New(); pCellPicker->Pick(nPosition, nPosition, 0, m_pRenderer); pCellPicker->GetCellIJK(nCell); pCellPicker->GetPointIJK(nPoint);
nCell and nPoint has the same values. But how can I use these values to collect seed values for sitk::ConfidenceConnected filter ?
I mean, how can I know if I click on a bone, or a soft tissue ?
Can you provide me some information regarding this domain ? Or, a proper documentation to lead me for solving this …
Thank you for you time and patience.