[ITK] [ITK-users] Fwd: ERROR: MeanSquaresImageToImageMetric: Too many samples map outside moving image buffer
elena bresciani
elena.bresciani87 at gmail.com
Wed Jul 23 06:20:56 EDT 2014
Hello folks,
I have a registration problem for you. I'm using the code in the example
ImageRegistration5.cxx in order to align image of drugs blisters to assess
if they are the same or not.
The code works well even though for certain images couples I get the error
in this message object.
I thought the problem could be the relative difference in images size and
tried to pad the smallest one to have the same size as the biggest: same
error.
After reading comments on the same topic I tried to add to the code the
line
registration -> SetFixedImageRegion (fixedImage -> GetBufferedRegion());
again not solving my problem.
Attached you can find example images: while I can register image "1" on
image "0", if I try to register "2" on "1" I get the ERROR.
Any guess?
Cheers,
Elena
[image: Immagine in linea 3][image: Immagine in linea 2][image: Immagine in
linea 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140723/910d7547/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.jpg
Type: image/jpeg
Size: 43787 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140723/910d7547/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.jpg
Type: image/jpeg
Size: 43096 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140723/910d7547/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 43321 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140723/910d7547/attachment-0005.jpg>
-------------- 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