[ITK] [ITK-users] Building testing application for N3 implementation

Nicholas Tustison ntustison at gmail.com
Sat May 2 11:38:35 EDT 2015


Thanks Bill. 

Also, Jan, I know I should probably should keep that submission 
updated, but we’re all busy and things like that fall through the
cracks of my to-do list.  However, in addition to the ITK class being
updated and tested continually by the wonderful ITK folk, we keep 
both the N3 and N4 programs updated in our ANTs repository, in 
case you’re interested.

https://github.com/stnava/ANTs/blob/master/Examples/N3BiasFieldCorrection.cxx
https://github.com/stnava/ANTs/blob/master/Examples/N4BiasFieldCorrection.cxx

Nick

> On May 2, 2015, at 8:02 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> 
> This is an older implementation. ITK currently has
> N4BiasFieldCorrectionImageFilter. I would try this instead. It is in
> Modules/Filtering/BiasCorrection/include/itkN4BiasFieldCorrectionImageFilte
> 
> Bill
> 
> On Sat, May 2, 2015 at 10:12 AM, Jan Dorazil <deu439 at gmail.com> wrote:
>> Hello,
>> I am currently working on some MRI images and, would like to
>> test the ITK implementation of the N3 algorithm for MRI Bias
>> Field correction.
>> I have downloaded the source code for a
>> testing application (http://www.insight-journal.org/browse/publication/640)
>> but cant manage to compile it.
>> As I try to configure the package using cmake I get this error:
>> --
>> CMake Error at CMakeLists.txt:20 (INCLUDE):
>>  include could not find load file:
>> 
>>    /usr/share/cmake-3.2/Modules/FindITK.cmake
>> --
>> I looked inside the supplied CMakeLists.txt and found out it is this
>> portion thats causing the error.
>> --
>> INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)
>> IF (USE_ITK_FILE)
>>  INCLUDE(${USE_ITK_FILE})
>> ENDIF(USE_ITK_FILE)
>> --
>> What's the problem here? Shouldnt ITK installation
>> install the FindITK.cmake? I have not found it anywhere  on
>> my disc. Anyway, why dont other packages require this
>> file - I have already built a lot of ITK applications.
>> 
>> ITK version: 4.7.1-1
>> cmake version 3.2.2
>> #uname -a
>> Linux Clifford 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015
>> x86_64 GNU/Linux
>> 
>> Regards,
>> Jan Dorazil
>> _____________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>> 
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/insight-users
> 
> 
> 
> -- 
> Unpaid intern in BillsBasement at noware dot com
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users

_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list