[Insight-users] Filter output zeroed somehow
Dženan Zukić
dzenanz at gmail.com
Fri Jun 24 09:47:27 EDT 2011
Hi all,
I am trying to write a filter for calculating structure tensor
from arbitrary images. However the output is always 0. The complete (and
relatively small) test case is attached.
Putting a breakpoint in .h file on line 51, I see that for voxel 0,0,0 the
output is non-zero. However in .cpp file, line 30 spews out zeroes. Can
anyone tell me why this is happening and how to correct it?
Regards,
Dženan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110624/5271d683/attachment.htm>
-------------- next part --------------
cmake_minimum_required(VERSION 2.6)
PROJECT(bugTester CXX)
FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})
ADD_EXECUTABLE(bugTester bugTester.cpp itkStructureTensorImageFilter.h itkStructureTensorImageFilter.txx)
TARGET_LINK_LIBRARIES(bugTester ${ITK_LIBRARIES})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugTester.cpp
Type: text/x-c++src
Size: 1729 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110624/5271d683/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkStructureTensorImageFilter.h
Type: text/x-chdr
Size: 2160 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110624/5271d683/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkStructureTensorImageFilter.txx
Type: application/octet-stream
Size: 1687 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110624/5271d683/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StructureTest128.zip
Type: application/zip
Size: 4832 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110624/5271d683/attachment.zip>
More information about the Insight-users
mailing list