[ITK-users] Registration with Spatial Masking

Bradley Lowekamp blowekamp at mail.nih.gov
Wed Mar 9 12:58:23 EST 2016


Hello,

Does you registration work without utilizing the mask? Are you trying to use 2 or 1 mask?

How did you initialize your transforms?

When does this error occur? Do you have iteration callbacks? 

Brad


> On Mar 9, 2016, at 12:49 PM, suneeza hanif <suneezahanif02 at gmail.com> wrote:
> 
> Hello Dženan,
> 
> Thank you for your response.
> 
> I have tried with larger mask but I get same error.
> 
> Secodly, when I use itk::ImageSpatialObject instead of itk::ImageMaskSpatialObject I do not get this error but then mask is not activated because even when I take mask of size (0,0) registration process still keeps on running.
> 
> Best Regards,
> Suneeza
> 
> 
> On Wed, Mar 9, 2016 at 6:39 PM, Dženan Zukić <dzenanz at gmail.com <mailto:dzenanz at gmail.com>> wrote:
> Hi Suneeza,
> 
> I would say that your mask is too small, so the masked part does not contain sample points. It could be also that your initialization is not good, so there is no overlap between fixed and moving images.
> 
> Regards
> 
> On Wed, Mar 9, 2016 at 11:10 AM, suneeza hanif <suneezahanif02 at gmail.com <mailto:suneezahanif02 at gmail.com>> wrote:
> Hello Everyone,
> 
> I have problem while applying spatial masking.
> 
> When I apply spatial mask I get this error.
> 
> "itk::ExceptionObject (0038D8CC)
>  <>
> Location: "void __thiscall itk::ImageToImageMetricv4<class itk::Image<float,2>,class itk::Image<float,2>,classitk::Image<float,2>,double,class itk::DefaultImageToImageMetricTraitsv4<class itk::Image<float,2>,class itk::Image<float,2>,class itk::Image<float,2>,double>>::MapFixedSampledPointSetToVirtual(void)"
> 
> 
> 
> File: c:\itk\src\modules\registration\metricsv4\include\itkImageToImageMetricv4.hxx
> 
> Line: 532
> 
> Description: itk::ERROR: MattesMutualInformationImageToImageMetricv4(060914C0):
> 
> Fixed Sample point set is empty."
> 
> Does anyone know how to solve this?
> 
> Best Regards,
> Suneeza
> 
> _____________________________________
> Powered by www.kitware.com <http://www.kitware.com/>
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php <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 <http://www.itk.org/Wiki/ITK_FAQ>
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users <http://public.kitware.com/mailman/listinfo/insight-users>
> 
> 
> 
> _____________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20160309/b44a498c/attachment.html>


More information about the Insight-users mailing list