[Insight-users] New CMake Advanced Options in ITK 3.4.

Luis Ibanez luis.ibanez at kitware.com
Wed Sep 26 11:53:44 EDT 2007



Hi John,


Here is a brief summary of these new Advanced options:



A) ITK_USE_OPTIMIZED_REGISTRATION :

  Refers to an experimental implementation of registration
  accelerated using multi-threading. The current implementations
  of ImageMetrics in ITK are not multi-threaded. This project
  refactors the metrics to make them multi-threaded.

  For details you may want to look at the Wiki page:
http://wiki.na-mic.org/Wiki/index.php/ITK_Registration_Optimization

  You need to turn this option ON in ITK when you build the
  experimental source code of the optimized registration.
  Please note that this is work in progress.



B) ITK_USE_STRICT_CONCEPT_CHECKING

  Was a compromise between enforcing concept checking as
  a way of producing compile-time errors when classes are
  misused, and still supporting backward compatibility.

  We have found recently that several ITK classes are missing
  specific concept checks. But if we add them now, applications
  that were compiling before will no longer compile, and the
  application developers may have difficulty understanding why.

  We added this STRICT option (set to OFF by default), so that
  those who want to enforce concept checking can still do it,
  without negatively impinging on applications developers who
  were using previous versions of the toolkit.


C) ITK_USE_TRANSFORM_IO_FACTORY

  This is an experimental implementation of IO classes for
  reading and writing Transforms in different file formats.
  It is modeled after the ImageIO factories. Since it is new
  and experimental code, it is used conditionally under the
  control of this advanced option. We still have to code review
  these classes and to exercise them in order to refine their
  API. Once that happens the classes may be transferred to the
  Code/IO directory.





You may want to take some time to look at many other classes
in the Code/Review directory. In particular the QuadEdgeMesh
framework which provides support for oriented surfaces in 3D.



All these classes are contributions that ITK users kindly
posted to the Insight Journal and that now are being
introduced into the toolkit.


Note that the process of introducing new code has to be
particularly meticulous because our Backward Compatibility
policy states that once a class is included in a release
we are committed to maintain that API forever.



   Please let us know if you have further questions,



      Thanks



         Luis




-----------------------------
johnjtchen at aol.co.uk wrote:
> Sorry, it's my bad. Using SetImageIO(itk::AnalyzeImageIO) works like charm.
> The reason why I failed before is that I compiled my app in debug mode 
> but I run the old release version, my bad!
> 
> BTW in this new release, there're are some tantalizing new experimental 
> features in cmake setup such as ITK_USE_OPTIMIZED_REGISTRATION, 
> ITK_USE_STRICT_CONCETPCHECKING and ITK_USE_TRANSFORM_IO_FACTORY which I 
> can't find the descriprtion on itk-wiki page. So can somebody explain a 
> little?
> 
> Again, thanks for this fantastic release!
> 
> Cheers.
> 
> 
> 
> -----Original Message-----
> From: johnjtchen at aol.co.uk
> To: insight-users at itk.org
> Sent: Wed, 26 Sep 2007 11.13am
> Subject: Some trouble with ImageFileWriter in ITK 3.4.
> 
> Hi guys, thanks for the great effort of ITK team bring us this wonderful 
> library.
> My problem is the Analyze header size now is 352 bytes in itk 3.4 (I am 
> usging ImageFileWriter), most of image viewer can't recognize this 
> header. It seems that the ImageFileWriter uses NiftiIO as the default 
> writer of *.hdr file. So is there any way to solve this problem? I've 
> already tried to spcifie the SetImageIO() to the AnalyzeImageIO, bit it 
> won''t work.
> 
> Thanks.
> ------------------------------------------------------------------------
> Get a FREE AOL Email account with unlimited storage. Plus, share and 
> store photos and experience exclusively recorded live music Sessions 
> from your favourite artists. Click Here 
> <http://info.aol.co.uk/joinnow/?ncid=548> for more information.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list