[Insight-users] MINC 1/2 external module

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Mar 22 09:41:20 EDT 2012


Hello Vladimir,

That sounds like great news that you have the external module working.

If I understand your patch to ITK proper, you are trying to add your external IO module to the list of default ImageIO modules that get registered, as opposed to relaying on ITK_AUTOLOAD_PATH environment variable.

The feature that is needed to the ability to automatically add external modules to this default list. Either through a cmake function in the itk-module.cmake file, or auto-magically trying to register modules which have IO in there name some something....

Could you please add a feature request to the ITK BUG tracker:
http://www.itk.org/Wiki/ITK/Procedure_for_Contributing_Bug_Fixes

Thanks,
Brad


On Mar 22, 2012, at 9:31 AM, Vladimir S. FONOV wrote:

> Hello,
> 
> I was going to make it an External module as Matt McCormick suggested 
> earlier to start with.
> 
> 
> 
> On 12-03-22 09:27 AM, Félix C. Morency wrote:
>> Correct me if I'm wrong, but I think you want to push your patch to
>> Gerrit for review. More information on the ITK development workflow
>> can be found at [1].
>> 
>> [1]: http://www.itk.org/Wiki/ITK/Git/Develop
>> 
>> Regards,
>> -F
>> 
>> On Wed, Mar 21, 2012 at 5:20 PM, Vladimir S. FONOV
>> <vladimir.fonov at gmail.com>  wrote:
>>> Hello Everybody,
>>> 
>>> 
>>> I have managed to create an External module for ITKv4 to add MINC1 and MINC2
>>> io support.
>>> 
>>> Unfortunately installation requires tweaking CMake/UseITK.cmake
>>> 
>>> So, for those who are interested in trying it out:
>>> after obtaining sources of ITKv4, apply provided patch ( it adds minc file
>>> format to the list of recognized formats) and clone minc into external
>>> module directory:
>>> 
>>> 
>>> patch<  add_minc_file_format.patch
>>> cd  Modules/External/
>>> git clone git://github.com/vfonov/minc.git
>>> 
>>> 
>>> To compile you would need to have netcdf library installed in the system,
>>> module will use HDF5 bundled with ITK.
>>> 
>>> As you can see the whole minc project is inserted as a module, if you think
>>> that it would be better idea to have only ITK - wrapper interface in the
>>> module let me know.
> 
> 
> -- 
> Best regards,
> 
> Vladimir S. FONOV ~ vladimir <dot> fonov <at> gmail <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://www.itk.org/mailman/listinfo/insight-users

========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120322/2ba7e2a5/attachment.htm>


More information about the Insight-users mailing list