[ITK Community] [Insight-users] ImageRegistrationHistogramPlotter Not Working
Emma Saunders
emmasaunders123 at gmail.com
Tue Dec 3 12:47:59 EST 2013
Hi Bill,
That works great for the 2D example, I would like to use for 3D so change
Dimension to 2 but keep typedef itk::Image< unsigned char, 2 >
RescaledOutputImageType, as dimension 2.
The histograms are still being written but for the very first one I get an
error
Exception thrown
itk::ExceptionObject (0x7f9c88014c90)
Location: "void
itk::ImageBase<VImageDimension>::ComputeIndexToPhysicalPointMatrices()
[with unsigned int VImageDimension = 2u]"
File:
/vol/ITKVTKsrc/ITKLatestRelease/ITKLatestReleaseb/ITK/Modules/Core/Common/include/itkImageBase.hxx
Line: 189
Description: itk::ERROR: Image(0x7f9c8800b1f0): A spacing of 0 is not
allowed: Spacing is [0, 0.0380726]
Any ideas.
Thanks
Emma
On Tue, Dec 3, 2013 at 4:35 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> Emma,
>
> Try this patch:
> http://review.source.kitware.com/#/c/13671/
>
> BTW, please keep the list posted in your replies.
>
> Bill
>
> On Tue, Dec 3, 2013 at 10:53 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > Emma,
> >
> > I have found the problems with that example. I am in the process of
> > repairing it. Once I have it fixed, I'll send to a link to the gerrit
> > patch.
> >
> > Bill
> >
> >
> > On Tue, Dec 3, 2013 at 10:48 AM, Emma Saunders
> > <emmasaunders123 at gmail.com> wrote:
> >> Hi Bill
> >>
> >> I am using ITKv4 which was updated from the git repository a couple of
> >> months back, not sure how to find out which specific sub version I am
> using,
> >> if this helps?
> >>
> >> Thanks
> >>
> >> Emma
> >>
> >>
> >> On Tue, Dec 3, 2013 at 3:01 PM, Bill Lorensen <bill.lorensen at gmail.com>
> >> wrote:
> >>>
> >>> Emma,
> >>>
> >>> What version of ITK are you using?
> >>>
> >>> Bill
> >>>
> >>>
> >>> On Tue, Dec 3, 2013 at 6:48 AM, Emma Saunders <
> emmasaunders123 at gmail.com>
> >>> wrote:
> >>> > Hi all Im recieving errors when running
> >>> > ImageRegistrationHistogramPlotter.cxx.
> >>> >
> >>> > I am using the examples as indicated in the ITK software guide yet
> >>> > receive
> >>> > the errors of
> >>> >
> >>> > "A spacing of 0 is not allowed:"
> >>> >
> >>> > when writing the joint histogram prior to and after registration,
> also
> >>> > the
> >>> > joint histogram after every iteration appears to be the same for each
> >>> > iteration of the image.
> >>> >
> >>> > Does anyone else have a working example they are willing to share.
> >>> >
> >>> > Thanks
> >>> >
> >>> > Emma
> >>> >
> >>> >
> >>> >
> >>> > _____________________________________
> >>> > 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://www.itk.org/mailman/listinfo/insight-users
> >>> >
> >>> > _______________________________________________
> >>> > Community mailing list
> >>> > Community at itk.org
> >>> > http://public.kitware.com/cgi-bin/mailman/listinfo/community
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Unpaid intern in BillsBasement at noware dot com
> >>
> >>
> >
> >
> >
> > --
> > Unpaid intern in BillsBasement at noware dot com
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131203/c4a734b7/attachment.htm>
-------------- 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://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list