[vtkusers] canny edge detection help

Ramamurthy, Rajesh (GE Global Research, US) ramamurr at research.ge.com
Thu Aug 24 12:17:52 EDT 2017

Hi All,

I am new to using VTK and hence I am trying to work with the toolkit using the online examples for canny edge detection and reading DICOM images.

My need is to do sub-pixel canny edge detection of a DICOM image and then write out the results to a file. I found examples for both and combined it together into a test app code as below.

The code builds, and runs but I am always getting no edges written to my output edges.txt file. I tried playing with different canny parameters but it did not seem to change the situation. I want the edges of the attached DCM file to be found, I have a sample edge detection shown in the attached text file here.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170824/f789c21e/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CannyEdge.cpp
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170824/f789c21e/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CT_IQI_2.DCM
Type: application/octet-stream
Size: 518802 bytes
Desc: CT_IQI_2.DCM
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170824/f789c21e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CT_IQI_2_reg_inner_outer.asc
Type: application/octet-stream
Size: 67827 bytes
Desc: CT_IQI_2_reg_inner_outer.asc
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170824/f789c21e/attachment-0003.obj>

More information about the vtkusers mailing list