[Insight-developers] PNG unsupported in modular ITK

Xiaoxiao Liu xiaoxiao.liu at kitware.com
Tue Mar 15 13:44:44 EDT 2011


During the modularization process, we separated all the IO codes into
image-format-specific modules: e.g. itkPNGImageIO classes are now located in
ITK-IO-PNG module.
Each IO module has its own IO tests.

We also created the test driver (
ITK/ITK/Core/TestKernel/CreateTestDriver.cmake)  that registered with the
mostly common used image formats: PNG, JPEG.Meta, TIFF etc  (listed in:
  ITK/Core/TestKernel/include/itkTestDriverIncludeRequiredIOFactories.h).

If your testing code uses the test driver and specifies "ITK-TestKernel" in
your module dependency list, it should run smoothly.
Can you show your codes (including CMakeLists.txt) for further diagnosis?





On Tue, Mar 15, 2011 at 1:28 PM, David Doria <daviddoria at gmail.com> wrote:

> On Tue, Mar 15, 2011 at 1:25 PM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:
>
>> Luis,
>>
>> Shouldn't these be enabled by default?
>>
>> Brad
>>
>>
> Hm, I guess I did something wrong passing the flag the first time. I passed
> it again and now I get
>
> /home/doriad/src/ITK/ITK/IO/Base/src/itkImageIOFactory.cxx:70:34: error:
> itkPNGImageIOFactory.h: No such file or directory
>
> The file seems to be in a different place than expected:
> /home/doriad/src/ITK/ITK/IO/PNG/include/itkPNGImageIOFactory.h
>
> ?
>
> David
>
>
> _______________________________________________
> 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://kitware.com/products/protraining.html
>
> 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-developers
>
>


-- 
---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924  or  (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110315/19c48fc0/attachment.htm>


More information about the Insight-developers mailing list