[vtk-developers] error in vtkImageOpenClose3D use

Dean Inglis dean.inglis at on.aibn.com
Thu Feb 20 11:51:05 EST 2003


Hi,

ERROR: In c:\Builder\Sources\VTK\Filtering\vtkImageToImageFilter.cxx, line
402
vtkImageOpenClose3D (01BF7C30): subclass should override ThreadedExecute!!!

I am using the class vtkImageOpenClose3D in a Borland built windows gui app
and have stumbled upon an apparent error, caught by output directed from a
vtkFileOutputWindow.  The code that led up to this while processing a 2D
pQCT image:

  m_thresh->SetInput(m_median->GetOutput());
  m_thresh->ThresholdByUpper(550);
  m_thresh->SetInValue(255);
  m_thresh->SetOutValue(0);
  m_thresh->SetOutputScalarTypeToUnsignedChar();
  m_thresh->Update();

  m_morph->SetOpenValue(0);
  m_morph->SetCloseValue(255);
  m_morph->SetKernelSize(3, 3, 1);
  m_morph->SetInput(m_thresh->GetOutput());
  m_morph->Update();

vtk nightly cvs shared libs, CMake 1.6.4, Borland bcc32, Win2k.
Sorry, dont have time to debug/fix this myself right now...

Dean





More information about the vtk-developers mailing list