[Insight-users] Enlarging an image

Francis Girard francis.girard07 at gmail.com
Sun Apr 10 12:44:37 EDT 2011


Thank you very much,

I see that the transform is set to identity. Nonetheless I guess there is a
resize transform simply by specifying the output size with the resampler
SetSize method.

Interpolation will be executed as specified by the SetInterpolator method.
So I just have to put the BSplineInterpolateImageFunction there.

I don't think that spacing (input or output) is used for the rescale by the
resampler. It just stays at the level of meta information. Right ?

That helped very much, thank you

Francis Girard

2011/4/10 Bill Lorensen <bill.lorensen at gmail.com>

> Here is an example that resamples a dicom study:
> http://itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM
>
>
> On Sun, Apr 10, 2011 at 12:05 PM, Francis Girard <
> francis.girard07 at gmail.com> wrote:
>
>> Hi,
>>
>> I would like to enlarge an image using a bicubic interpolation. I'm not
>> sure how. Yes I am a beginner.
>>
>> I see there is the InterpolateImagePointsFilter filter but the usage of
>> the method SetInterpolationCoordinate which takes a complete itk::Image with
>> special parameters types seems very strange to me.
>>
>> I also see there is the ResampleImageFilter. But I am a bit loss with all
>> you can do with this when looking at the manual.
>>
>> And there is also the world/physical coordinates spaces.
>>
>> So between all this I am bit loss. What is the simplest way to enlarge and
>> interpolate an image in ITK? Is there an example somewhere showing _just_
>> this?
>>
>> Thank you very much
>>
>> Francis Girard
>>
>>
>> _____________________________________
>> 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.html
>>
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110410/e71c7261/attachment.htm>


More information about the Insight-users mailing list