[Insight-users] Restrict image processing to a smaller region
Chr. Rossmanith
cr at neuro.ma.uni-heidelberg.de
Wed Feb 8 09:22:43 EST 2012
Hi,
I've tried a lot to get a pipeline of RegionOfInterestImageFilter ->
PasteImageFilter working. For the moment I'm leaving out the filter
between ROI and Paste. It keeps failing with
terminate called after throwing an instance of 'itk::ExceptionObject'
what():
.../ITK/ITK-4.0.0/Modules/Core/Common/include/itkImageToImageFilter.hxx:228:
itk::ERROR: PasteImageFilter(0x87fd350): Inputs do not occupy the same
physical space!
InputImage Origin: [0, 0], InputImageIndexedDataObject1 Origin: [80, 60]
Could someone explain what I'm doing wrong?
Thank you,
Christina
Am 03.02.2012 18:00, schrieb cagatay bilgin:
> "Extract a portion of an image (region of interest)
> <http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/RegionOfInterestImageFilter>"
> http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/RegionOfInterestImageFilter
>
>
> On Fri, Feb 3, 2012 at 3:24 AM, Chr. Rossmanith
> <cr at neuro.ma.uni-heidelberg.de <mailto:cr at neuro.ma.uni-heidelberg.de>>
> wrote:
>
> Hi,
>
> I'd like to process only a subregion of an image. A search only
> gave
> http://old.nabble.com/How-to-restrict-work-region-of-filters-td5963437.html
> as a result. Is the ExtractRegionOfInterestFilter +
> PasteImageFilter approach described there still valid or is there
> a more elegant way?
>
> Christina Rossmanith
> --
> Dept. of Neurology
> University Medical Center Mannheim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120208/f1e4a5c8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkROIPlusPaste.cxx
Type: text/x-c++src
Size: 1589 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120208/f1e4a5c8/attachment.cxx>
More information about the Insight-users
mailing list