[Insight-users] itk2DEdgeDetectionSample (fwd)
Mathieu Malaterre
mmalat@irus.rri.ca
Thu, 09 May 2002 17:25:30 -0400
This is a multi-part message in MIME format.
--------------80A6D827D41DA9476EC6EB65
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi Xinwei,
I tried again (after a cvs update) the edge detection and Canny but here
is what I get during the compilation:
> cvs update
> cmake .
> make
...
/usr/bin/c++ -g -O2 -ftemplate-depth-50
-I/shalom/data/mmalat/Insight/Examples/EdgeDetection
-I/shalom/data/mmalat/InsightTemp
-I/shalom/data/mmalat/Insight/Code/Numerics
-I/shalom/data/mmalat/Insight/Code/Common
-I/shalom/data/mmalat/Insight/Code/IO
-I/shalom/data/mmalat/InsightTemp/Code/Numerics/vxl
-I/shalom/data/mmalat/Insight/Code/Numerics/vxl
-I/shalom/data/mmalat/InsightTemp/Code/Numerics/vxl/vcl
-I/shalom/data/mmalat/Insight/Code/Numerics/vxl/vcl
-I/shalom/data/mmalat/Insight/Utilities/png
-I/shalom/data/mmalat/Insight/Utilities/zlib
-I/shalom/data/mmalat/VTK_cvs/Rendering -I/shalom/data/mmalat/VTK_cvs/Hybrid
-I/shalom/data/mmalat/VTK_cvs/Patented -I/shalom/data/mmalat/VTK_cvs
-I/shalom/data/mmalat/VTK_cvs/Common -I/shalom/data/mmalat/VTK_cvs/Filtering
-I/shalom/data/mmalat/VTK_cvs/Imaging -I/shalom/data/mmalat/VTK_cvs/Graphics
-I/shalom/data/mmalat/VTK_cvs/IO
-I/shalom/data/mmalat/VTK_cvs/Utilities/zlib
-I/shalom/data/mmalat/VTK_cvs/Utilities/png
-I/shalom/data/mmalat/VTK_cvs/Utilities/jpeg
-I/shalom/data/mmalat/VTK_cvs/Utilities/tiff
-I/shalom/data/mmalat/VTK_cvs/Utilities/expat
-I/shalom/data/mmalat/VTK_cvs/Common/Testing/Cxx
-I/usr/local/include/python2.2
-I/shalom/data/mmalat/Insight/Code/BasicFilters
-I/shalom/data/mmalat/Insight/Code/Algorithms
-I/shalom/data/mmalat/Insight/Examples/EdgeDetection -D_PTHREADS
-I/usr/X11R6/include -c
/shalom/data/mmalat/Insight/Examples/EdgeDetection/itk2DEdgeDetectionSample.cxx
-o itk2DEdgeDetectionSample.o
/shalom/data/mmalat/Insight/Examples/EdgeDetection/itk2DEdgeDetectionSample.cxx:
In function `int main
(int, char **)':
/shalom/data/mmalat/Insight/Examples/EdgeDetection/itk2DEdgeDetectionSample.cxx:203:
no matching
function for call to `itk::CannyEdgeDetectionImageFilter<main (int, char
**)::ImageType, main (int,
char **)::ImageType>::SetVariance (float[2])'
/shalom/data/mmalat/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.h:119:
candidates are:
void itk::CannyEdgeDetectionImageFilter<TInputImage,
TOutputImage>::SetVariance (double *) [with
TInputImage = main (int, char **)::ImageType, TOutputImage = main (int, char
**)::ImageType]
/shalom/data/mmalat/Insight/Code/BasicFilters/itkCannyEdgeDetectionImageFilter.h:127:
void itk::CannyEdgeDetectionImageFilter<TInputImage,
TOutputImage>::SetVariance (double) [with
TInputImage = main (int, char **)::ImageType, TOutputImage = main (int, char
**)::ImageType]
make[5]: *** [itk2DEdgeDetectionSample.o] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_EdgeDetection] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Examples] Error 2
make: *** [default_target] Error 2
Any help appreciated. Thanks
mathieu
Xinwei Xue wrote:
> Hi,
>
> I checked the code and tried examples for zerocrossing based edge
> detector and it seems working well. The canny edge detector is working
> ugly. I am writing a newer version of it, and will let you guys know when
> it is ready.
>
> Again thanks for reporting bugs and sorry for the inconvenience.
>
> Xinwei
>
> > By the way I can only use SOBEL filter Canny and ZeroCrossing seems not
> > to work. But I'll have a look.
> > thanks
> > Mathieu
> >
> >
--------------80A6D827D41DA9476EC6EB65
Content-Type: text/x-vcard; charset=us-ascii;
name="mmalat.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mathieu Malaterre
Content-Disposition: attachment;
filename="mmalat.vcf"
begin:vcard
n:Malaterre;Mathieu
tel;cell:519-697-5045
tel;work:519-685-8300 x34096
x-mozilla-html:FALSE
url:http://www.irus.rri.ca/~mmalat
org:The John P. Robarts Research Institute;Imaging Research Laboratories
adr:;;100 Perth Drive;London;Ontario;N6A 5K8;CANADA
version:2.1
email;internet:mmalat@irus.rri.ca
title:Visiting Graduate Student
x-mozilla-cpt:;0
fn:Malaterre, Mathieu
end:vcard
--------------80A6D827D41DA9476EC6EB65--