hello mitk users,

I have a query reagrding the usage of the mitkBinaryThresholdTool class in
my program. I require to input a threshold value and wish to display the
result on the renderer. The trouble I'm having is that I dont see any
functions using which I can set the "node for threshold" nor can I pass the
node which contains the image on which the segmentation needs to be
performed as the member functions are protected in the class definition.
I have chalked out my requirments below,

1) set the node which contains the image for thresholding.(which in the
class definition is done using m_ToolManager ). Basically,here I need a way
to bypass the m_toolmanager funcitonality to accept the node.
2)pass the node to the function "CreateNewSegmentationFromThreshold" which
is a protected member function and accessed in "activated"(which is a
public member function) which also sets the node for the function.
3) I recieve errors like  mentioned below though right now I am just
creating an object for the class and setting the threshold value.

undefined reference to `mitk::BinaryThresholdTool::BinaryThresholdTool()'
In function `itk::ObjectFactory<mitk::BinaryThresholdTool>::Create()':
undefined reference to `typeinfo for mitk::BinaryThresholdTool'
 undefined reference to `typeinfo for mitk::BinaryThresholdTool'

Thanks in advance

Best Regards
-- 
Jatin Nath,
School of BioMedical Engineering,
Indian Institute of Technology (Banaras Hindu University), Varanasi
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to