[ITK-users] Registration with Spatial Masking

suneeza hanif suneezahanif02 at gmail.com
Wed Mar 9 12:49:49 EST 2016


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> 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>
> 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
>>
>> 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/2381341d/attachment.html>


More information about the Insight-users mailing list