From simon.rit at creatis.insa-lyon.fr Thu Nov 19 15:42:13 2020 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Thu, 19 Nov 2020 21:42:13 +0100 Subject: [Rtk-users] Help required - rtkFDK reconstruction In-Reply-To: <20201119092438.94b21629@PMT-SRV-MS.panaceamedical.local> References: <20201119092438.94b21629@PMT-SRV-MS.panaceamedical.local> Message-ID: Hi, Please use the mailing list (cc). 1. The raw format is not directly understandable I believe, you need to have meta information passed, e.g. with a mhd. Since you know how to convert your projection images to line integral (for rtkfdk), just use the input of rtkfdk instead of using the rtk::ProjectionsReader. 2. The output of both rtk::CudaFDKConeBeamReconstructionFilter and rtk::FDKConeBeamReconstructionFilter is mu if the input projections are well pre-processed, i.e., if they contain the line integrals of mu. Simon On Thu, Nov 19, 2020 at 10:24 AM Febin P Alex wrote: > Dear Simon, > > > I'm using the RTK-C++ toolkit for our cbct reconstruction purpose and > found it very helpful. I'm using the rtkFDK algorithm for reconstruction. > Currently I'm a facing a couple of issues which are illustrated > > 1 . While going through the documentation, I have come across the use of > water precorrection filter for cupping correction. It's said that we need > to pass a set of coefficients for the filter to get activated. > But we were not able to find a C++ test code detailing how to find > the coefficients but rather got a python code in the below link. > > http://wiki.openrtk.org/index.php/WaterPreCorrection > > So I tried to run that python code with my data. I have around 330 > unsigned short projection in *.raw* format each of dimension 1536x1536 > pixels. > Since python itk.Image doesn't have support for unsigned short I have > converted the data to float and given as input to rtk.ProjectioReader > class. > But on execution, it is getting aborted at *fdkFilter.Update()* > command without throwing any exception. Attaching the modified python code. > > > 2. The second issue is , after the reconstruction I want to convert the > reconstructed grey level values into CT numbers. For this I'm using the > equation > > HU=1000????water?water??air, where > ? is the linear attenuation coefficient of substance. > > M y doubt is whether the output from > rtk::CudaFDKConeBeamReconstructionFilter is same as the ? defined above > or any more conversion is required. > > > Kindly request you to suggest me a solution. > > Thanks & Regards > Febin P Alex > > > > > > > > > > > *PANACEA MEDICAL TECHNOLOGIES PVT > LTD* > *Web :* www.panaceamedical.com > *Address :* Plot #35, Phase-IV, Malur Industrial Area, Kolar District, > Karnataka, INDIA, PIN:563130 > *Location :* https://goo.gl/maps/doBkXNp3TRsUAqsc7 > > > > > > > > *EMAIL DISCLAIMER: *This communication (including any accompanying > documents) is intended only for the use of the addressee(s) and contains > information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, > dissemination, distribution or copying of this communication is prohibited. > If you have received this communication in error, please notify us > immediately at pmtadmin at panaceamedical.com and promptly destroy the > original communication and all copies taken thereof. Thank you for your > cooperation. Communicating through email is not secure and capable of > interception, corruption and delays. Anyone communicating with Panacea > Medical Technologies Pvt Ltd by email accepts the risks involved and their > consequences. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: noname Type: image/png Size: 513 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: noname Type: image/png Size: 445 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: noname Type: image/png Size: 493 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: noname Type: image/png Size: 11844 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: noname Type: image/png Size: 568 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: noname Type: image/png Size: 83961 bytes Desc: not available URL: From pmkclnl at yandex.ru Fri Nov 20 01:33:50 2020 From: pmkclnl at yandex.ru (pmkclnl at yandex.ru) Date: Fri, 20 Nov 2020 09:33:50 +0300 Subject: [Rtk-users] How to fill an outer space with air in forward projection Message-ID: <5f94b842-3989-4f99-5deb-3a7f973aa64a@yandex.ru> Hello, I'm making a DRR computation module for 3D Slicer and now the module uses plastimatch reconstruct library for that purpose. As a alternative i think it will be good to use RTK forward projection calculation as well. I've made a simple example and the first question is how to fill the outer space of CT volume data to compensate borders so the DRR image background was uniform, or is there any other way to do such task? Source file, reconstructed images using plastimatch and RTK in attachment. Original DICOM data (anonymized): https://github.com/MichaelColonel/SlicerTestData.git Best regards, MIkhail Polkovnikov -------------- next part -------------- A non-text attachment was scrubbed... Name: PlastimatchDRR.jpg Type: image/jpeg Size: 78683 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RTKDRR.jpg Type: image/jpeg Size: 94215 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: rtkforwardprojections.cxx Type: text/x-c++src Size: 8444 bytes Desc: not available URL: From gabriele.belotti.bergamo at gmail.com Fri Nov 20 04:31:40 2020 From: gabriele.belotti.bergamo at gmail.com (gabriele.belotti.bergamo at gmail.com) Date: Fri, 20 Nov 2020 10:31:40 +0100 Subject: [Rtk-users] Reconstruction from two eccentric short scans Message-ID: <002c01d6bf1f$f4320ae0$dc9620a0$@gmail.com> Dear Simon & RTK users, I?m picking up again the two complementary short scan reconstructions as this time I?m interested in investigating source offset with panel (proj_iso) offsets. Early this year, Simon suggested me a clever solution to deal with my issue of a complex scan and after that I was able to properly reconstruct (see end notes from previous email). However, by applying the same logic I get strange results: rtksimulatedgeometry -v -o geometry_sx_220_600.xml -a 220 -f -110 -n 300 --sid 1172.2 --sdd 1672.2 --proj_iso_x 60 --source_x 60 rtksimulatedgeometry -v -o geometry_dx_220_600.xml -a -220 -f 110 -n 300 --sid 1172.2 --sdd 1672.2 --proj_iso_x -60 --source_x -60 rtkprojectshepploganphantom -g geometry_sx_220_600.xml -o proj1.mha --dimension 512,3 rtkprojectshepploganphantom -g geometry_dx_220_600.xml -o proj2.mha --dimension 512,3 rtkfdk --dimension 256,1,256 -p . -r proj1.mha -o fdk1.mha -g geometry_sx_220_600.xml rtkfdk --dimension 256,1,256 -p . -r proj2.mha -o fdk2.mha -g geometry_dx_220_600.xml plastimatch add --average fdk1.mha fdk2.mha --output fdk.mha I used a SheppLogan to recreate my complex acquisition: - First rotation (-110 to 110) with a positive shift in source and detector - Second rotation (110 to -110) with a negative shift in source and detector I tried this with several different images and small changes, but the result is pretty much summed up in the attached picture. By comparing a standard image with the one I?m reconstructing we can see how the values in the top part of the image are lower and those at the bottom are greater than the expected values. PS: Maybe the shepplogan isn?t the best way to show this, but this way you can recreate the issue directly. Using a CT to project and recontruct I?m looking up to ?200HU differences What do you think about this? I was thinking that the PSSF weighting may not be suited for this specific condition, but I?m really up looking forward for your opinion. Extra: To support my instance, I tried to make a comparison between a 360? (positive shift in source and detector) reconstruction and one which is a sum of two 220? (-110to110to330) reconstructions with the same positive offset parameters and I got weird shadowing in the final image. Thank you in advance! Best regards, Gabriele Thanks. Why not just split the projection stack in two and apply the displaced detector filter without modifications on each substack separately? Doesn't this work? Here is a sample code with command lines head -2705 geometry_hf_dual_220_300.xml >rot1.xml tail -1 geometry_hf_dual_220_300.xml >>rot1.xml head -5 geometry_hf_dual_220_300.xml >rot2.xml tail -2701 geometry_hf_dual_220_300.xml >>rot2.xml rtkprojectshepploganphantom -g rot1.xml -o proj1.mha --dimension 512,3 rtkprojectshepploganphantom -g rot2.xml -o proj2.mha --dimension 512,3 rtkfdk --dimension 256,1,256 -p . -r proj1.mha -o fdk1.mha -g rot1.xml rtkfdk --dimension 256,1,256 -p . -r proj2.mha -o fdk2.mha -g rot2.xml clitkImageArithm -i fdk1.mha -j fdk2.mha -o fdk.mha This works perfectly without 1a20fb4 so it seems that this patch is not required. There must be something wrong in your input data? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Issue.png Type: image/png Size: 330463 bytes Desc: not available URL: From simon.rit at creatis.insa-lyon.fr Fri Nov 20 06:12:16 2020 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Fri, 20 Nov 2020 12:12:16 +0100 Subject: [Rtk-users] How to fill an outer space with air in forward projection In-Reply-To: <5f94b842-3989-4f99-5deb-3a7f973aa64a@yandex.ru> References: <5f94b842-3989-4f99-5deb-3a7f973aa64a@yandex.ru> Message-ID: Hi, RTK forward projector only does the line integral of the volume. You should try to find what Plastimatch does exactly but I would try to add the following operations: - Make air at 0 (if HU, air is at -1000 so add 1000 to your input volume) - forward project - multiply by -1 and take the log All these operations can be pipelined with ITK filters except the forward projection. It sounds like a very nice project, thanks for doing it and please let us know how it goes. Simon On Fri, Nov 20, 2020 at 7:40 AM pmkclnl at yandex.ru wrote: > Hello, > > I'm making a DRR computation module for 3D Slicer and now the module > uses plastimatch reconstruct library for that purpose. > > As a alternative i think it will be good to use RTK forward projection > calculation as well. I've made a simple example and the first question > is how to fill the outer space of CT volume data to compensate borders > so the DRR image background was uniform, or is there any other way to do > such task? > > Source file, reconstructed images using plastimatch and RTK in attachment. > > Original DICOM data (anonymized): > https://github.com/MichaelColonel/SlicerTestData.git > > > Best regards, > > MIkhail Polkovnikov > > > _______________________________________________ > Rtk-users mailing list > Rtk-users at public.kitware.com > https://public.kitware.com/mailman/listinfo/rtk-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.bleeker at amsterdamumc.nl Tue Nov 24 09:32:49 2020 From: m.bleeker at amsterdamumc.nl (Bleeker, M. (Margot)) Date: Tue, 24 Nov 2020 14:32:49 +0000 Subject: [Rtk-users] ITK-RTK python install issues Message-ID: Hello, I am new to ITK and RTK and I'm trying to use the itk-rtk python package. I set up a new environment with python 3.7 (with Conda) on Windows 10 and ran: Pip install itk-rtk I could import both packages, but I got the following error when I ran the example FirstReconstruction.py: '' Traceback (most recent call last): File "D:\Program files\RTK-master\examples\FirstReconstruction\FirstReconstruction.py", line 14, in geometry = rtk.ThreeDCircularProjectionGeometry.New() File "D:\Python\envs\CBreconstruct\lib\site-packages\itkLazy.py", line 52, in __getattribute__ itkBase.LoadModule(module, namespace) File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line 99, in LoadModule module = loader.load(swig_module_name) File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line 220, in load module.__loader__.exec_module(module) File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\RTKPython.py", line 119, in from itkFixedArrayRTKPython import * File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\itkFixedArrayRTKPython.py", line 106, in import pyBasePython File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\pyBasePython.py", line 8, in from . import _ITKPyBasePython ImportError: attempted relative import with no known parent package '' Does anyone know how to solve this issue? Thanks Sincerely, Margot Bleeker [cid:image001.png at 01D40E30.9B2FFEE0] Margot Bleeker, MSc.| PhD student (OiO) Afdeling Radiotherapie Locatie AMC | Z1-217 | Meibergdreef 9, 1105 AZ Amsterdam T: +31 20 566 7974| E: m.bleeker at amsterdamumc.nl www.amsterdamumc.nl | www.vumc.nl / www.amc.nl ______________________________________________________ VUmc disclaimer : www.vumc.nl/disclaimer AMC disclaimer : www.amc.nl/disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 15849 bytes Desc: image001.png URL: From m.bleeker at amsterdamumc.nl Tue Nov 24 10:21:45 2020 From: m.bleeker at amsterdamumc.nl (Bleeker, M. (Margot)) Date: Tue, 24 Nov 2020 15:21:45 +0000 Subject: [Rtk-users] ITK-RTK python install issues In-Reply-To: <1e758835-d789-44ee-9938-3be8bb3e4110@edison.tech> References: <1e758835-d789-44ee-9938-3be8bb3e4110@edison.tech> Message-ID: Thanks! Your suggestion worked! Margot From: Nils Krah Sent: dinsdag 24 november 2020 15:51 To: Bleeker, M. (Margot) Cc: rtk-users at public.kitware.com Subject: Re: [Rtk-users] ITK-RTK python install issues I had a similar issue some days ago and Simon suggested to download a recently built wheel from github: ?https://github.com/SimonRit/RTK/actions/runs/341384403 ?(you need to be logged in to github) ? download the appropriate file and run ?pip install ? ?locally. ?Or ?python -m pip install ? ?Solved the issue for me on MacOS. ? ?Simon might correct me if I am writing bogus here. ? Cheers ?Nils ? ? On Nov 24 2020, at 3:33 pm, Bleeker, M. (Margot) > wrote: Hello, I am new to ITK and RTK and I?m trying to use the itk-rtk python package. I set up a new environment with python 3.7 (with Conda) on Windows 10 and ran: Pip install itk-rtk I could import both packages, but I got the following error when I ran the example FirstReconstruction.py: ?? Traceback (most recent call last): File "D:\Program files\RTK-master\examples\FirstReconstruction\FirstReconstruction.py", line 14, in geometry = rtk.ThreeDCircularProjectionGeometry.New() File "D:\Python\envs\CBreconstruct\lib\site-packages\itkLazy.py", line 52, in __getattribute__ itkBase.LoadModule(module, namespace) File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line 99, in LoadModule module = loader.load(swig_module_name) File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line 220, in load module.__loader__.exec_module(module) File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\RTKPython.py", line 119, in from itkFixedArrayRTKPython import * File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\itkFixedArrayRTKPython.py", line 106, in import pyBasePython File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\pyBasePython.py", line 8, in from . import _ITKPyBasePython ImportError: attempted relative import with no known parent package ?? Does anyone know how to solve this issue? Thanks Sincerely, Margot Bleeker [cid:image001.png at 01D6C27D.E60E84A0] Margot Bleeker, MSc.| PhD student (OiO) Afdeling Radiotherapie Locatie AMC | Z1-217 | Meibergdreef 9, 1105 AZ Amsterdam T: +31 20 566 7974| E: m.bleeker at amsterdamumc.nl www.amsterdamumc.nl | www.vumc.nl / www.amc.nl ______________________________________________________ VUmc disclaimer : www.vumc.nl/disclaimer AMC disclaimer : www.amc.nl/disclaimer _______________________________________________ Rtk-users mailing list Rtk-users at public.kitware.com https://public.kitware.com/mailman/listinfo/rtk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 15849 bytes Desc: image001.png URL: From nils.krah at creatis.insa-lyon.fr Tue Nov 24 09:51:08 2020 From: nils.krah at creatis.insa-lyon.fr (Nils Krah) Date: Tue, 24 Nov 2020 15:51:08 +0100 Subject: [Rtk-users] ITK-RTK python install issues In-Reply-To: References: Message-ID: <1e758835-d789-44ee-9938-3be8bb3e4110@edison.tech> I had a similar issue some days ago and Simon suggested to download a recently built wheel from github: ?https://github.com/SimonRit/RTK/actions/runs/341384403 ?(you need to be logged in to github) ? download the appropriate file and run ?pip install ? ?locally. ?Or ?python -m pip install ? ?Solved the issue for me on MacOS. ? ?Simon might correct me if I am writing bogus here. ? Cheers ?Nils ? ? On Nov 24 2020, at 3:33 pm, Bleeker, M. (Margot) wrote: > > > > Hello, > > > I am new to ITK and RTK and I?m trying to use the itk-rtk python package. I set up a new environment with python 3.7 (with Conda) on Windows 10 and ran: > > > > > Pip install itk-rtk > > > > I could import both packages, but I got the following error when I ran the example FirstReconstruction.py: > > > > ?? > > Traceback (most recent call last): > > File "D:\Program files\RTK-master\examples\FirstReconstruction\FirstReconstruction.py", line 14, in > > geometry = rtk.ThreeDCircularProjectionGeometry.New() > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itkLazy.py", line 52, in __getattribute__ > > itkBase.LoadModule(module, namespace) > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line 99, in LoadModule > > module = loader.load(swig_module_name) > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line 220, in load > > module.__loader__.exec_module(module) > > File "", line 728, in exec_module > > File "", line 219, in _call_with_frames_removed > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\RTKPython.py", line 119, in > > from itkFixedArrayRTKPython import * > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\itkFixedArrayRTKPython.py", line 106, in > > import pyBasePython > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\pyBasePython.py", line 8, in > > from . import _ITKPyBasePython > > ImportError: attempted relative import with no known parent package > > ?? > > > > > Does anyone know how to solve this issue? > > > Thanks > > > Sincerely, > > Margot Bleeker > > > > > > > > > > > Margot Bleeker, MSc.| PhD student (OiO) > > > > Afdeling Radiotherapie > > Locatie AMC | Z1-217 | Meibergdreef 9, 1105 AZ Amsterdam > > T: +31 20 566 7974| E: m.bleeker at amsterdamumc.nl > > www.amsterdamumc.nl (http://www.amsterdamumc.nl/) | www.vumc.nl (http://www.vumc.nl/) / www.amc.nl (http://www.amc.nl/) > > > > > > > ______________________________________________________ > > VUmc disclaimer : www.vumc.nl/disclaimer > > AMC disclaimer : www.amc.nl/disclaimer > > > > _______________________________________________ > > Rtk-users mailing list > > Rtk-users at public.kitware.com > > https://public.kitware.com/mailman/listinfo/rtk-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 15849 bytes Desc: not available URL: From simon.rit at creatis.insa-lyon.fr Tue Nov 24 10:44:26 2020 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Tue, 24 Nov 2020 16:44:26 +0100 Subject: [Rtk-users] ITK-RTK python install issues In-Reply-To: References: <1e758835-d789-44ee-9938-3be8bb3e4110@edison.tech> Message-ID: Yes, sorry, we need to release binaries compatible with the latest ITK. Alternatively, you can downgrade the ITK packages to the v5.1.0 (maybe) or v5.0.1 (for sure) versions. Sorry for the trouble... Simon On Tue, Nov 24, 2020 at 4:22 PM Bleeker, M. (Margot) < m.bleeker at amsterdamumc.nl> wrote: > Thanks! Your suggestion worked! > > > > Margot > > > > *From:* Nils Krah > *Sent:* dinsdag 24 november 2020 15:51 > *To:* Bleeker, M. (Margot) > *Cc:* rtk-users at public.kitware.com > *Subject:* Re: [Rtk-users] ITK-RTK python install issues > > > > I had a similar issue some days ago and Simon suggested to download a > recently built wheel from github: > > ?https://github.com/SimonRit/RTK/actions/runs/341384403 > > > ?(you need to be logged in to github) > > ? > > download the appropriate file and run > > ?pip install ? > > ?locally. > > ?Or > > ?python -m pip install > > ? > > ?Solved the issue for me on MacOS. > > ? > > ?Simon might correct me if I am writing bogus here. > > ? > > Cheers > > ?Nils > > ? > > ? > > On Nov 24 2020, at 3:33 pm, Bleeker, M. (Margot) < > m.bleeker at amsterdamumc.nl> wrote: > > Hello, > > > > I am new to ITK and RTK and I?m trying to use the itk-rtk python package. > I set up a new environment with python 3.7 (with Conda) on Windows 10 and > ran: > > > > Pip install itk-rtk > > > > I could import both packages, but I got the following error when I ran the > example FirstReconstruction.py: > > > > ?? > > Traceback (most recent call last): > > File "D:\Program > files\RTK-master\examples\FirstReconstruction\FirstReconstruction.py", line > 14, in > > geometry = rtk.ThreeDCircularProjectionGeometry.New() > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itkLazy.py", line > 52, in __getattribute__ > > itkBase.LoadModule(module, namespace) > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line > 99, in LoadModule > > module = loader.load(swig_module_name) > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itkBase.py", line > 220, in load > > module.__loader__.exec_module(module) > > File "", line 728, in exec_module > > File "", line 219, in > _call_with_frames_removed > > File "D:\Python\envs\CBreconstruct\lib\site-packages\itk\RTKPython.py", > line 119, in > > from itkFixedArrayRTKPython import * > > File > "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\itkFixedArrayRTKPython.py", > line 106, in > > import pyBasePython > > File > "D:\Python\envs\CBreconstruct\lib\site-packages\itk\Configuration\..\pyBasePython.py", > line 8, in > > from . import _ITKPyBasePython > > ImportError: attempted relative import with no known parent package > > ?? > > > > Does anyone know how to solve this issue? > > > > Thanks > > > > Sincerely, > > Margot Bleeker > > > > > > > > *Margot Bleeker, MSc.|* PhD student (OiO) > > Afdeling Radiotherapie > > Locatie AMC | Z1-217 | Meibergdreef 9, 1105 AZ Amsterdam > > T: +31 20 566 7974| E: m.bleeker at amsterdamumc.nl > > www.amsterdamumc.nl | *www.vumc.nl * / www.amc.nl > > > > ______________________________________________________ > > VUmc disclaimer : www.vumc.nl/disclaimer > > AMC disclaimer : www.amc.nl/disclaimer > > _______________________________________________ > > Rtk-users mailing list > > Rtk-users at public.kitware.com > > https://public.kitware.com/mailman/listinfo/rtk-users > > _______________________________________________ > Rtk-users mailing list > Rtk-users at public.kitware.com > https://public.kitware.com/mailman/listinfo/rtk-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 15849 bytes Desc: not available URL: From m.bleeker at amsterdamumc.nl Fri Nov 27 09:09:22 2020 From: m.bleeker at amsterdamumc.nl (Bleeker, M. (Margot)) Date: Fri, 27 Nov 2020 14:09:22 +0000 Subject: [Rtk-users] Building First Reconstruction Message-ID: Hello, I am now trying to use RTK via Cmake/C++ (to which I am not familiar with). I am using Windows 10 and compiled using Visual Studio 16 2019 and use ITK 5.1.1. During building of FirstReconstruction I get the error: ---- D:\Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build>cmake --build . Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule D:/Program files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/CMakeLists .txt FirstReconstruction.cxx LINK : fatal error LNK1104: cannot open file 'D:\Program files\InsightToolkit-5.1.1\Build\lib\Debug\itkRTK-5.1.lib' [D: \Program files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build\FirstReconstruction.vcxproj] ------ Does anyone know how I can solve this issue? Many thanks in advance! Kind regards, Margot ______________________________________________________ VUmc disclaimer : www.vumc.nl/disclaimer AMC disclaimer : www.amc.nl/disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.rit at creatis.insa-lyon.fr Mon Nov 30 17:08:38 2020 From: simon.rit at creatis.insa-lyon.fr (Simon Rit) Date: Mon, 30 Nov 2020 23:08:38 +0100 Subject: [Rtk-users] Building First Reconstruction In-Reply-To: References: Message-ID: Hi, Can you confirm that you have built ITK with Module_RTK ON also in Debug mode? See https://github.com/SimonRit/RTK/blob/master/INSTALLATION.md for some instructions. Simon On Fri, Nov 27, 2020 at 3:10 PM Bleeker, M. (Margot) < m.bleeker at amsterdamumc.nl> wrote: > Hello, > > > > I am now trying to use RTK via Cmake/C++ (to which I am not familiar > with). I am using Windows 10 and compiled using Visual Studio 16 2019 and > use ITK 5.1.1. During building of FirstReconstruction I get the error: > > ---- > > D:\Program > files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build>cmake > --build . > > Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework > > Copyright (C) Microsoft Corporation. All rights reserved. > > > > Checking Build System > > Building Custom Rule D:/Program > files/InsightToolkit-5.1.1/Modules/Remote/RTK/examples/FirstReconstruction/CMakeLists > > .txt > > FirstReconstruction.cxx > > LINK : fatal error LNK1104: cannot open file 'D:\Program > files\InsightToolkit-5.1.1\Build\lib\Debug\itkRTK-5.1.lib' [D: > > \Program > files\InsightToolkit-5.1.1\Modules\Remote\RTK\examples\FirstReconstruction\Build\FirstReconstruction.vcxproj] > > ------ > > > > Does anyone know how I can solve this issue? > > Many thanks in advance! > > Kind regards, > Margot > > > > > ______________________________________________________ > VUmc disclaimer : www.vumc.nl/disclaimer > AMC disclaimer : www.amc.nl/disclaimer > _______________________________________________ > Rtk-users mailing list > Rtk-users at public.kitware.com > https://public.kitware.com/mailman/listinfo/rtk-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: