[ITK] [ITK-users] Sampling Percentage in Registration Method

suneeza hanif suneezahanif02 at gmail.com
Wed Mar 30 08:02:04 EDT 2016


Hello Everyone,

I am having problem with sampling percentage. I am getting same transform
matrix and same error value even if I use different sampling percentage
(e.g. 0.8 and 0.2) in case of both random and regular sampling strategy.

I am using same lines of code as written in manual and in examples.

* RegistrationType::MetricSamplingStrategyType
 samplingStrategy=RegistrationType::RANDOM;*
* Registration->SetMetricSamplingStrategy( samplingStrategy );*
* Registration->SetMetricSamplingPercentage( 0.8);*

Am I missing something in code?

I really appreciate your help.

Best Regards,
Suneeza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160330/ba1cbe0a/attachment-0001.html>
-------------- next part --------------
_____________________________________
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