I'll try to be more specific.
I'd like to insert my code that includes of VTK's filters, but *I don't
find a way to convert my mitk input image to vtk*.
I've tried to:
1. use the method: AccessIntegralPixelTypeByItk and get the image like this:
void myFunc(itk::Image<Tpixel, dimention>*image, mitk::Image::Pointer
outputImage) and simply use ITK filters.
Is there a similar way to access mitk image by vtk (like
AccessIntegralPixelTypeByItk *but to vtk*)
2. Use AccessIntegralPixelTypeByItk and afterwards convert itk image to vtk
image.
I tried to use the filer:
itkImageToVTKImageFilter which call to itkVTKImageToImageFilter but an
error returned: error C2244.
Are there better ways to do this?
Thanks.
On Sun, Oct 30, 2011 at 12:42 PM, Miri Trope <[email protected]> wrote:
> Hi fellows,
>
> I'm having a linkage problem while I'm trying to build my module.
>
>
> Linking...
> 1>myFilter.obj : error LNK2001: unresolved external symbol "public:
> __thiscall DicomReader::~DicomReader(void)" (??1DicomReader@@QAE@XZ)
> 1>myFilter.obj : error LNK2001: unresolved external symbol "public:
> __thiscall DicomReader::DicomReader(void)" (??0DicomReader@@QAE@XZ)
> 1>C:\MITK_myProjects-superbuild\MyProject-build\bin\Debug\MyModuleLib.dll
> : fatal error LNK1120: 2 unresolved externals
>
>
>
> That happen when I create an instance of class which I've made and include
> some VTK's libraries such as:
>
> #include "vtkDICOMImageReader.h"
> #include "vtkPolyData.h"
> #include "vtkDataSet.h"
> #include "vtkImageGaussianSmooth.h"
> #include "vtkImageMedian3D.h"
> #include "vtkImageThreshold.h"
> #include "vtkImageOpenClose3D.h"
> #include "vtkImageData.h"
> #include "vtkContourFilter.h"
> #include "vtkPolyData.h"
> #include "vtkPolyDataNormals.h"
> #include "vtkStripper.h"
> #include "vtkSmoothPolyDataFilter.h"
> #include "vtkPolyDataConnectivityFilter.h"
> #include "vtkDecimatePro.h"
>
>
>
> If any information will be needed, just ask...
>
>
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users