Quantcast

vtkImageSobel3D

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

vtkImageSobel3D

Suresh G N
Hi All,

I am new to VTK. I am trying to apply the Sobel3D filter to binary images obtained using threshold filter. but the sobel filter is crashing while updating the filter. Is it not possible to apply the sobel filter to binary images?

this is how the code looks:

vtkImageSobel3D *sobel = vtkImageSobel3D::New();
sobel->SetInput( erode->GetOutput() );
sobel->ReleaseDataFlagOn();
sobel->Update();

thanks and regards
Suresh

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
Loading...