hi everyone

if you want a high-level view of the vector metrics that jeff put
together, then you can compare this example ( for a vector / rgb type
image ):

http://review.source.kitware.com/#/c/4807/1/Modules/Registration/Metricsv4/test/itkDemonsImageToImageMetricv4OnVectorTest.cxx

to this one (scalar already in ITK):

Modules/Registration/Metricsv4/test/itkMeanSquaresImageToImageMetricv4Test.cxx

jeff's contribution basically lets one use an almost identical
registration pipeline for scalar or vector images ...  this is
achieved through some new traits.

so the same framework will be usable on images typedefd as


typedef itk::Vector<double, 2>                             PixelType;
typedef itk::Image< PixelType, imageDimensionality >      ImageType;

or  as

typedef double                             PixelType;
typedef itk::Image< PixelType, imageDimensionality >      ImageType;

...

brian
_______________________________________________
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.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-developers

Reply via email to