<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    I've tried a lot to get a pipeline of RegionOfInterestImageFilter
    -&gt; PasteImageFilter working. For the moment I'm leaving out the
    filter between ROI and Paste. It keeps failing with<br>
    <br>
    terminate called after throwing an instance of
    'itk::ExceptionObject'<br>
    &nbsp; what():&nbsp;
.../ITK/ITK-4.0.0/Modules/Core/Common/include/itkImageToImageFilter.hxx:228:<br>
    itk::ERROR: PasteImageFilter(0x87fd350): Inputs do not occupy the
    same physical space! <br>
    InputImage Origin: [0, 0], InputImageIndexedDataObject1 Origin: [80,
    60]<br>
    <br>
    Could someone explain what I'm doing wrong?<br>
    <br>
    Thank you,<br>
    Christina<br>
    <br>
    <br>
    <br>
    Am 03.02.2012 18:00, schrieb cagatay bilgin:
    <blockquote
cite="mid:CAHoiV3bfFtzxDF98usp4rcYT5Lu+WD2Tp770A8rNPU57=YyAkA@mail.gmail.com"
      type="cite">
      <div><span class="Apple-style-span" style="font-family:
          sans-serif; font-size: 13px; line-height: 19px;
          background-color: rgb(249, 249, 249);">"<a
            moz-do-not-send="true"
href="http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/RegionOfInterestImageFilter"
title="ITK/Examples/ImageProcessing/RegionOfInterestImageFilter"
            style="text-decoration: none; color: rgb(0, 43, 184);
            background-image: none;">Extract a portion of an image
            (region of interest)</a>"</span></div>
      <div><a moz-do-not-send="true"
href="http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/RegionOfInterestImageFilter">http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/RegionOfInterestImageFilter</a><br>
      </div>
      <br>
      <div><br>
        <div class="gmail_quote">On Fri, Feb 3, 2012 at 3:24 AM, Chr.
          Rossmanith <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:cr@neuro.ma.uni-heidelberg.de">cr@neuro.ma.uni-heidelberg.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">Hi,<br>
            <br>
            I'd like to process only a subregion of an image. A search
            only gave <a moz-do-not-send="true"
href="http://old.nabble.com/How-to-restrict-work-region-of-filters-td5963437.html"
              target="_blank">http://old.nabble.com/How-to-restrict-work-region-of-filters-td5963437.html</a>
            as a result. Is the ExtractRegionOfInterestFilter +
            PasteImageFilter approach described there still valid or is
            there a more elegant way?<br>
            <br>
            Christina Rossmanith<br>
            -- <br>
            Dept. of Neurology<br>
            University Medical Center Mannheim<br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>