[Insight-users] Newbie needs help: Inserting the MultiResolutionPyramidImageFilter into a preexisting code
mariangelalucente at inwind.it
mariangelalucente at inwind.it
Wed Feb 18 10:55:56 EST 2009
Dear Luis,many thanks for your suggestions! Your help was very important for the resolution of my problem.I compiled the .cxx file you sent me on monday, but while testing the program with two .mha sample images I downloaded from http://public.kitware.com/pub/itk/Data/BrainWeb, I had this error:MetaImage: Read: Cannot open data fileBefore your appreciated email, I used to give only .nii images as input to the program (and getting .nii image as output): this is the first time I use the .mha image format. So:1) maybe you are using a different (newest?) version of the library? Mine is ITK.3.0.02) which kind of external tool should I use in order to display those .mha images? MRICRON is not usefull..King redards (and again: thank you :)!> >>> Hi Mari,>>> In general lines:>>> a) Add the CenteredTransformInitializer>>> in order to initialize the center of rotation of the>>> VersorRigid3DTransform.>>> b) Add MultiResolution Pyramids (Fixed and Moving)>>> c) Replace ImageRegistrationMethod with>>> MultiResolutionImageRegistrationMethod>>> Please find attached the modified version of the file.>>> You may want to study the diffs between this file and>>> the file that you sent.>>> The attached file was tested with the following input>>> ./ImageRegistration>>> brainweb165a10f17.mhd>>> brainweb165a10f17Rot10Tx15.mhd>>> registered.mhd 0 0 0 10 0 0>>> (all in a single command line).>>> Regards,>>> Luis>>> --------------------------------------------------------->>> On Wed, Feb 11, 2009 at 4:39 PM, Mariangela Lucente <>>> mariangelalucente at inwind.it> wrote:>>> >>>> Dear ITK Users,>>>> I'm an Insight-newbie and I need your precious help!>>>> I'm desperately trying to edit the attached cxx file in order to>>>> > insert> >>>> a>>>> pyramidal filter (itk::MultiResolutionPyramidImageFilter) into the>>>> > existing> >>>> (and already functioning) registration pipeline; I've tried several code>>>> combinations, without obtaining anything useful: the introduced pyramidal>>>> filter does not work (or it seems doing so)!! :-(>>>> Please, can you indicate me which kind of editing operations I should>>>> > perform into the attached file in order to correctly use the> >>>> itk::MultiResolutionPyramidImageFilter? Which portions of the existing>>>> > code> >>>> should be modified in order to correctly insert the filter? Maybe there's>>>> also something to delete cause it 's not needed anymore..>>>> If you think it would be useful, I can post you the modified version>>>> > of> >>>> the>>>> same file (the not-functioning version that contains the pyramidal>>>> > filter..)> >>>> I would appreciate any suggestions..>>>> Thanks a lot!>>>> Cheers,>>>> Mari>>>> _____________________________________>>>> Powered by www.kitware.com>>>> Visit other Kitware open-source projects at>>>> http://www.kitware.com/opensource/opensource.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/20090218/39d0b028/attachment-0001.htm>
More information about the Insight-users
mailing list