[Insight-users] ITKFlipImageFilter does not reset origin to (0, 0)

Luis Ibanez luis.ibanez at kitware.com
Tue Nov 30 23:09:27 EST 2010


Emma,


   "Glimpsing at the Source leaves no doubt..."


ITK/Code/BasicFilters/itkRegionOfInterestImageFilter.txx

lines:121-125

  // Correct origin of the extracted region.
  IndexType roiStart( m_RegionOfInterest.GetIndex() );
  typename Superclass::OutputImageType::PointType outputOrigin;
  inputPtr->TransformIndexToPhysicalPoint(roiStart, outputOrigin);
  outputPtr->SetOrigin(outputOrigin);


and

ITK/Code/BasicFilters/itkFlipImageFilter.txx
lines 118-133

  inputPtr->TransformIndexToPhysicalPoint(newIndex, outputOrigin);

  // Finally, flip about the origin if needed
  if ( m_FlipAboutOrigin )
    {
    for ( j = 0; j < ImageDimension; j++ )
      {
      if ( m_FlipAxes[j] )
        {
        outputOrigin[j] *= -1;
        }
      }
    }

  outputPtr->SetDirection(inputDirection * flipMatrix);
  outputPtr->SetOrigin(outputOrigin);


Most ITK filters produce a new image as output,
but some can reuse the input image in order to
store the output of the filter. These are the filters
deriving from the InPlace filter.

Full list here:
http://www.itk.org/Doxygen/html/classitk_1_1InPlaceImageFilter.html

Note that using InPlace is incompatible with using
the ReleaseDataFlag().


    Regards,


          Luis


--------------
On Wed, Nov 24, 2010 at 8:54 PM, Emma Ryan <eryanvtk at yahoo.com> wrote:
> Hello all,
>
>   I'm trying to crop and then flip an image about the Y-axis.  I use the
> RegionOfInterestFilter and the FlipImageFilter.
> I'm having trouble understanding the process.   I have found one previous
> posts but the explanation is not clear.
>
> 1. Do itk filters work with a copy of the image or the image itself ?
>     I thought they worked with a copy of the image, since
> filter->ReleaseDataFlagOn()  would release the original image space.
> Filter->GetOutput() then will return the copy.
>
> 2. for a 500 * 1000 image, after Cropping to 500 * 600 (i.e crop along
> Y-axis from 200 - 800) and Flip, the GetOrigin() returns (0, -800).  Sure I
> can map the indices. But why do I have to ?
> if new_image = filp->GetOutput(), and size of new_image is 500 * 600.  Then
> why is this mapping necessary ?   How can I avoid  it ?
>
> 3. should the flip->ReleaseDataFlagOn(); be used or not ?  What will it do ?
> Irrespective of whether I leave it on of off, I seem to be losing the
> reference to original image.
>
>  Any suggestions are welcome. I have attached the appropriate code segment.
>
>
> Thank you,
> Emma
>
>     ImageType::SizeType roi_size =
> image->GetLargestPossibleRegion().GetSize();
>     itk::Point<float, 2> roi_origin = image->GetOrigin();
>     ImageType::IndexType roi_index;
>     roi_index[0] = roi_origin[0];
>     roi_index[1] = roi_origin[1] + 200;
>     roi_size[1]    = 600;
>     ImageType::RegionType roi_region;
>     roi_region.SetIndex(roi_index);
>     roi_region.SetSize(roi_size);
>
>     typedef itk::RegionOfInterestImageFilter<ImageType, ImageType> ROIType;
>     ROIType::Pointer p_roi_filter = ROIType::New();
>     p_roi_filter->SetRegionOfInterest(roi_region);
>     p_roi_filter->SetInput(image);
>     p_roi_filter->Update();
>
>     flip->SetInput(p_roi_filter->GetOutput());
>     //flip->ReleaseDataFlagOn();
>     flipAxesSet=flip->GetFlipAxes();
>     flipAxesSet[1]=true;
>     flip->SetFlipAxes(flipAxesSet);
>     flip->Update();
>
>     ImageType::Pointer new_image = flip->GetOutput();
>
>
>
> ________________________________
> From: "insight-users-request at itk.org" <insight-users-request at itk.org>
> To: insight-users at itk.org
> Sent: Wed, November 24, 2010 9:00:17 AM
> Subject: Insight-users Digest, Vol 79, Issue 28
>
> Send Insight-users mailing list submissions to
>     insight-users at itk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://www.itk.org/mailman/listinfo/insight-users
> or, via email, send a message with subject or body 'help' to
>     insight-users-request at itk.org
>
> You can reach the person managing the list at
>     insight-users-owner at itk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Insight-users digest..."
>
>
> Today's Topics:
>
>   1. Re: [vtkusers] Interactive seed point selection based on QVTK
>       Widget (urgent request for help!) (Prathamesh Kulkarni)
>   2. Re: 2d 3d registration with multiple 2d images (brian avants)
>   3. reset m_CurrentIteration in itkLBFGSBOptimizer (Mengda Wu)
>   4. Re: ManagedITK compilation problem [was MIDAS    Journal
>       Feedback] (Dan Mueller)
>   5. Re: Constructing a 3D volume from 2D cross section (D?enan Zuki?)
>   6. Re: [vtkusers] Interactive seed point selection    based on QVTK
>       Widget (urgent request for help!) (Xiaopeng Yang)
>   7. Re: [vtkusers] Interactive seed point selection based on QVTK
>       Widget (urgent request for help!) (David Doria)
>   8. Re: 2d 3d registration with multiple 2d images (Karthik Krishnan)
>   9. Simplify a set of points in ITK (Marta Peroni)
>   10. Manual de Configuraci?n ITK, VTK & Borland C++ Builder (en
>       espa?ol ) (olguna at cimat.mx)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 23 Nov 2010 11:16:31 -0600
> From: Prathamesh Kulkarni <prathameshmkulkarni at gmail.com>
> Subject: Re: [Insight-users] [vtkusers] Interactive seed point
>     selection based on QVTK Widget (urgent request for help!)
> To: yxp233 at postech.ac.kr
> Cc: insight-users at itk.org, VTK Mailing List <vtkusers at vtk.org>
> Message-ID:
>     <AANLkTinpCjCxwq7G5Nf3A8t45jYFqJsoXNQstarCxAuw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I think the vtkSeedWidget fits well for marking seed points. Have a look at
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/vtkSeedWidget for example
> usage.
>
> I have used this inside the QVTKWidget as well.
>
> - Prathamesh
>
> Message: 4
> Date: Tue, 23 Nov 2010 06:02:54 -0500
> From: David Doria <daviddoria at gmail.com>
> Subject: Re: [Insight-users] [vtkusers] Interactive seed point
>       selection based on QVTK Widget (urgent request for help!)
> To: Xiaopeng Yang <yxp233 at postech.ac.kr>
> Cc: itk <Insight-users at itk.org>, vtkusers at vtk.org
> Message-ID:
>       <AANLkTimuFS5y157YtpzSWfVerZb8zZ9nsQbM4OLa1Jf1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Nov 23, 2010 at 1:35 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
>> Hello everyone,
>>
>>
>>
>> Greetings!
>>
>>
>>
>> In my program for medical image segmentation, QVTK widget ImageViewer2 is
>> used to visualize the images. Do you know what specific functions in VTK
> or
>> ITK I can use to select and load seed point index to my code by simply
>> clicking a point?
>>
>>
>>
>> I know that if imageplane widget is used, then by clicking a point, the
> seed
>> point index and pixel value can be shown in the screen. But I do not know
>> how to save those values to the code automatically at the same time as
>> clicking that point. Meanwhile, I am not sure it is feasible or not to use
>> imageplane widget in QVTK widget.
>>
>>
>>
>> Since the deadline for my program is approaching, any help will be greatly
>> appreciated!
>>
>>
>>
>> Thank you,
>>
>> Xiaopeng
>
> You may want to look at vtkImageTracerWidget:
> http://www.vtk.org/doc/nightly/html/classvtkImageTracerWidget.html
>
> Here is an example example usage:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ImageTracerWidget
>
> To get the points you handle one of the events (EndInteractionEvent
> probably) and then use the GetPath function.
>
> Also, there should be no problem using VTK widgets in a QVTK widget.
> Here is an example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/BorderWidget
>
> Good luck,
>
> David
>
>
> ------------------------------
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://www.itk.org/pipermail/insight-users/attachments/20101123/ab042e86/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 23 Nov 2010 13:41:04 -0500
> From: brian avants <stnava at gmail.com>
> Subject: Re: [Insight-users] 2d 3d registration with multiple 2d
>     images
> To: "Bertelsen, Alvaro" <abertelsen at ceit.es>
> Cc: "insight-users at itk.org" <insight-users at itk.org>
> Message-ID:
>     <AANLkTin7tvWEkoRZf8LQTbaKYOGsFDcF8jLpy-m1=6y8 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> This is an interesting question.  Registration refactoring will
> address this by formulating the problem as a multi-valued
> optimization.  Is it the case that the 2d images are "in the same
> space"  i.e. already in some physical correspondence to each other?
> If so, then the algorithm would be something like:
>
> - Declare "registration machines" for each of the 2D-3D problems.
> - Registration machines contain the image pairs, optimizers, metrics
> for each problem.
> - Pass the machine set to a multi-resolution , multi-valued
> registration coordinator.
> - The coordinator will determine how to combine the output of each machine.
>
> Would this type of approach work for  you?
>
> On Mon, Nov 22, 2010 at 12:05 PM, Bertelsen, Alvaro <abertelsen at ceit.es>
> wrote:
>> Dear ITK users,
>>
>>
>>
>> I am working on the development of an image-guided surgery application,
>> for
>> which I need a library for registration of a 3d image to multiple
>> projections. I know about the classes already included in ITK ?such as
>> RayCastInterpolateImageFunction- and the extended library developed by
>> Steininger et al.
>>
>> (http://ibia.umit.at/ResearchGroup/Phil/web/Simple2D3DRegistrationFramework.html).
>> However, these do not fit our needs as they are limited to a single 2d
>> image
>> and we are interested in handling an arbitrary number of them.
>>
>>
>>
>> I have searched in the mailing list and found some other people asking the
>> same question, the last one on April 2006 (unless I have missed a more
>> recent one). So, does anyone know about an ITK extension for what I need?
>> Or, is there a way (which I am not aware of) to make ITK handle multiple
>> fixed (2d) images?
>>
>>
>>
>> Any help you could provide me will be greatly appreciated.
>>
>> Yours sincerely,
>>
>>
>>
>> ?lvaro Bertelsen
>>
>> CEIT, University of Navarra, Spain
>>
>>
>>
>> _____________________________________
>> 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
>>
>>
>
>
>
> --
> ?????
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 23 Nov 2010 17:26:39 -0800
> From: Mengda Wu <wumengda at gmail.com>
> Subject: [Insight-users] reset m_CurrentIteration in
>     itkLBFGSBOptimizer
> To: Insight-users at itk.org
> Message-ID:
>     <AANLkTinKa2PYR4mbsg66nNXjej1mUX75A49MzRY1ZZ8b at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
>   I found a small bug which can be annoying in some cases. If the same
> LBFGSBOptimizer is used for BSpline-based deformable registration twice
> (e.g. first in coarser grid and then in finer grid),
> the initial output of the second registration will give the final iteration
> number of the first registration.
>
>   I am wondering if there is a way to reset m_CurrentIteration in
> itkLBFGSBOptimizer. Also, the variable m_InfinityNormOfProjectedGradient has
> the same issue.
>
> Thanks,
> Mengda
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://www.itk.org/pipermail/insight-users/attachments/20101123/b9ebfe04/attachment-0001.htm>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 24 Nov 2010 11:19:35 +0100
> From: Dan Mueller <dan.muel at gmail.com>
> Subject: Re: [Insight-users] ManagedITK compilation problem [was MIDAS
>     Journal Feedback]
> To: bergy at ukr.net
> Cc: Insight Users <insight-users at itk.org>,    Julien Jomier
>     <julien.jomier at kitware.com>
> Message-ID:
>     <AANLkTinD8zV-pkJKSRCNQz5tMygch_Neff1cs5epUuFm at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi bergy,
>
> I will try to help with your ManagedITK compilation problem, but you
> will need to provide some more information.
>
> A. What version of ManagedITK are you using?
> You should use this version:
> http://manageditk.googlecode.com/files/ManagedITK-src-3.20.0.0.zip
>
> B. What version of ITK are you using?
> You should use this version:
> http://voxel.dl.sourceforge.net/sourceforge/itk/InsightToolkit-3.20.0.zip
>
> C. What steps did you follow for compilation?
> You should follow the steps list in section 3.2 here:
> http://manageditk.googlecode.com/files/ManagedITK-article.pdf
>
> >From the error messages you reported, it could be that you missed step 6:
> ===================
> 6. Convert to Managed Projects: Before opening the projects, run the
> FinishCMake.bat file located
> in the build folder. Because CMake does not support managed projects,
> this batch file
> is required to convert the generated vcproj files into managed projects.
> ===================
> Did you run FinishCMake.bat?
>
> Aside: In the future, please use the Insight users
> (insight-users at itk.org) mailing list for ITK/ManagedITK questions, see
> here: http://www.itk.org/mailman/listinfo/insight-users
> Aside: I have stopped development on ManagedITK. The next version of
> ITK (version 4) will include internal support for C# wrapping. This
> will be ready early- to mid-2011.
>
> Please let me know the answer to these questions.
>
> Regards, Dan
> dan.muel at gmail.com
>
> On 23 November 2010 20:41, Julien Jomier <julien.jomier at kitware.com> wrote:
>> Dan,
>>
>> Could you answer this question?
>>
>> Thanks,
>> Julien
>>
>> -------- Original Message --------
>> Subject: MIDAS Journal Feedback
>> Date: Tue, 23 Nov 2010 06:35:31 -0500
>> From: webmaster at insightsoftwareconsortium.org
>> To: webmaster at insightsoftwareconsortium.org
>>
>>
>> MIDAS Journal Feedback from bergy at ukr.net
>>
>> Where:
>> What happened: I'm working with Visual Studio 2010 under Windows 7 x64.
>> I'm
>> trying to use ManagedITK in my magister scince work. Because I'm using C#
>> (more faster developing than C++), I chose ManagedITK.
>> I've downloaded, configured and builded ITK. The next step is to build
>> ManagedITK. And I just can not cope with two errors during building
>> ManagedITK:
>> 1. There wasn't /clr command line flag. When I added it another error
>> comming out:
>> ?Command line error D8016: '/clr' and '/EHs' command-line options are
>> incompatible
>>
>> 2. a lot of errors:
>> fatal error C1192: #using failed on
>>
>> 'E:\Work\Magister\ManagedITK\ManagedITKBin-3.6.0.2\bin\Debug\ManagedITK.Common.dll
>>
>> and
>>
>> fatal error C1083: Cannot open source file:
>> 'E:/Work/Magister/ManagedITK/ManagedITKBin-3.6.0.2/bin/Debug': Permission
>> denied
>>
>> I can not understand why there is some "Permission denied" on that folder.
>> I
>> tried to run VS 2010 as an administrator and it didn't help.
>>
>> System: Mozilla/5.0 (Windows; U; Windows NT 6.1; uk; rv:1.9.2.12)
>> Gecko/20101026 Firefox/3.6.12
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 24 Nov 2010 14:01:22 +0100
> From: D?enan Zuki? <dzenanz at gmail.com>
> Subject: Re: [Insight-users] Constructing a 3D volume from 2D cross
>     section
> To: Zein Salah <zeinsalah at gmail.com>
> Cc: insight-users at itk.org
> Message-ID:
>     <AANLkTim7HdNfF-Q6+jmaU=k6azYmEDdMjy6M9jtf_e9G at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> perhaps you can convert those slices into DICOM images (if they are in
> that format already just put them all in one series, somehow), and
> then pass them as one series to ITK's DICOM image reader.
>
> HTH,
> D?enan
>
> On Wed, Nov 3, 2010 at 19:56, Zein Salah <zeinsalah at gmail.com> wrote:
>> Hello everybody,
>>
>> I have a set of 2D cross sections, originating from an ultrasound
>> scanner, together
>> with their position and rotation data. The sections are non parallel.
>> I am wondering
>> weather there is a mechanism in ITK to reconstrcut a 3D image from these
>> slices.
>>
>> Thanks in advance,
>>
>> Zein
>> _____________________________________
>> 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
>>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 24 Nov 2010 22:49:50 +0900
> From: "Xiaopeng Yang" <yxp233 at postech.ac.kr>
> Subject: Re: [Insight-users] [vtkusers] Interactive seed point
>     selection    based on QVTK Widget (urgent request for help!)
> To: "'David Doria'" <daviddoria at gmail.com>
> Cc: 'itk' <Insight-users at itk.org>, vtkusers at vtk.org
> Message-ID: <016101cb8bde$773d0780$65b71680$@ac.kr>
> Content-Type: text/plain;    charset="utf-8"
>
> Thank you for your help. But are you sure the vtkimagetracerwidget is what I
> need for seed point selection?
>
> Xiaopeng
>
> -----????-----
> ???: David Doria [mailto:daviddoria at gmail.com]
> ????: 2010? 11? 23? ??? ?? 8:03
> ???: Xiaopeng Yang
> ??: itk; vtkusers at vtk.org
> ??: Re: [vtkusers] Interactive seed point selection based on QVTK Widget
> (urgent request for help!)
>
> On Tue, Nov 23, 2010 at 1:35 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
>> Hello everyone,
>>
>>
>>
>> Greetings!
>>
>>
>>
>> In my program for medical image segmentation, QVTK widget ImageViewer2 is
>> used to visualize the images. Do you know what specific functions in VTK
>> or
>> ITK I can use to select and load seed point index to my code by simply
>> clicking a point?
>>
>>
>>
>> I know that if imageplane widget is used, then by clicking a point, the
>> seed
>> point index and pixel value can be shown in the screen. But I do not know
>> how to save those values to the code automatically at the same time as
>> clicking that point. Meanwhile, I am not sure it is feasible or not to use
>> imageplane widget in QVTK widget.
>>
>>
>>
>> Since the deadline for my program is approaching, any help will be greatly
>> appreciated!
>>
>>
>>
>> Thank you,
>>
>> Xiaopeng
>
> You may want to look at vtkImageTracerWidget:
> http://www.vtk.org/doc/nightly/html/classvtkImageTracerWidget.html
>
> Here is an example example usage:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ImageTracerWidget
>
> To get the points you handle one of the events (EndInteractionEvent
> probably) and then use the GetPath function.
>
> Also, there should be no problem using VTK widgets in a QVTK widget.
> Here is an example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/BorderWidget
>
> Good luck,
>
> David
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 24 Nov 2010 08:51:18 -0500
> From: David Doria <daviddoria at gmail.com>
> Subject: Re: [Insight-users] [vtkusers] Interactive seed point
>     selection based on QVTK Widget (urgent request for help!)
> To: Xiaopeng Yang <yxp233 at postech.ac.kr>
> Cc: itk <Insight-users at itk.org>, vtkusers at vtk.org
> Message-ID:
>     <AANLkTinNjJd2yonodyjhA4FxnPB1saeOwS4W-NqtLUeC at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Nov 24, 2010 at 8:49 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
>> Thank you for your help. But are you sure the vtkimagetracerwidget is what
>> I need for seed point selection?
>>
>> Xiaopeng
>
> As Prathamesh mentioned, you might also consider vtkSeedWidget.
>
> David
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 24 Nov 2010 20:33:23 +0530
> From: Karthik Krishnan <karthik.krishnan at kitware.com>
> Subject: Re: [Insight-users] 2d 3d registration with multiple 2d
>     images
> To: brian avants <stnava at gmail.com>
> Cc: "insight-users at itk.org" <insight-users at itk.org>
> Message-ID:
>     <AANLkTinLdaUmR2yBgHFMkc3Pme00m2++nyE62bggHdM0 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Groupwise registration has similar needs. ie. An API in the metric /
> cost function superclass to take in an array of images.
>
> Perhaps it calls for a another hierarchy deriving from
> SingleValuedCostFunction (for groupwise registration) driven by
> variants of the ImageRegistrationMethod
>
> Thanks
> --
> karthik
>
>
> On Wed, Nov 24, 2010 at 12:11 AM, brian avants <stnava at gmail.com> wrote:
>> This is an interesting question. ? Registration refactoring will
>> address this by formulating the problem as a multi-valued
>> optimization. ? Is it the case that the 2d images are "in the same
>> space" ?i.e. already in some physical correspondence to each other?
>> If so, then the algorithm would be something like:
>>
>> - Declare "registration machines" for each of the 2D-3D problems.
>> - Registration machines contain the image pairs, optimizers, metrics
>> for each problem.
>> - Pass the machine set to a multi-resolution , multi-valued
>> registration coordinator.
>> - The coordinator will determine how to combine the output of each
>> machine.
>>
>> Would this type of approach work for ?you?
>>
>> On Mon, Nov 22, 2010 at 12:05 PM, Bertelsen, Alvaro <abertelsen at ceit.es>
>> wrote:
>>> Dear ITK users,
>>>
>>>
>>>
>>> I am working on the development of an image-guided surgery application,
>>> for
>>> which I need a library for registration of a 3d image to multiple
>>> projections. I know about the classes already included in ITK ?such as
>>> RayCastInterpolateImageFunction- and the extended library developed by
>>> Steininger et al.
>>>
>>> (http://ibia.umit.at/ResearchGroup/Phil/web/Simple2D3DRegistrationFramework.html).
>>> However, these do not fit our needs as they are limited to a single 2d
>>> image
>>> and we are interested in handling an arbitrary number of them.
>>>
>>>
>>>
>>> I have searched in the mailing list and found some other people asking
>>> the
>>> same question, the last one on April 2006 (unless I have missed a more
>>> recent one). So, does anyone know about an ITK extension for what I need?
>>> Or, is there a way (which I am not aware of) to make ITK handle multiple
>>> fixed (2d) images?
>>>
>>>
>>>
>>> Any help you could provide me will be greatly appreciated.
>>>
>>> Yours sincerely,
>>>
>>>
>>>
>>> ?lvaro Bertelsen
>>>
>>> CEIT, University of Navarra, Spain
>>>
>>>
>>>
>>> _____________________________________
>>> 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
>>>
>>>
>>
>>
>>
>> --
>> ?????
>> _____________________________________
>> 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
>>
>
>
> ------------------------------
>
> Message: 9
> Date: Wed, 24 Nov 2010 17:17:48 +0100
> From: Marta Peroni <m.peroni at gmail.com>
> Subject: [Insight-users] Simplify a set of points in ITK
> To: ITK Users <insight-users at itk.org>
> Cc: Luis Ibanez <luis.ibanez at kitware.com>
> Message-ID:
>     <AANLkTimNPYev6x2FCw=NKyZ8AiPZR=0_vqbFOF7r6Q-N at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi!
> I have a kind of "dummy" problem. I do need to select a subset of point
> cloud describing the contour of a structure (the points are previously
> derived with the ITK Review implementation of Marching Squares and therefore
> I do have *lots* of points).
> I found a very nice implementation of this in CGAL Random_Simplify_Points,
> but unfortunately I cannot include the whole library in my project.
> So here it comes the question:
> I did store my points (x,y,z) in a PointsContainer (as in PointSet2.cxx).
> Now in order for the algorithm to work, I need to randomly shuffle /
> randomly extract from the container (shuffle would be the best option).
> Is there something similar to itk::ImageRandomNonRepeatingIteratorWithIndex
> but for points containers?and/or a shuffle method?
> thanks a lot
> Marta
> --
> *******************************************************************
> Marta Peroni
> PhD Student - Bioengineering department - Politecnico di Milano (IT)
>
> contacts:
> mail: marta.peroni at mail.polimi.it , m.peroni at gmail.com
> mobile: +393488202136 (IT) +16178186365 (US)
> office: +39 02 2399 9022
>
> ********************************************************************
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://www.itk.org/pipermail/insight-users/attachments/20101124/a0021bea/attachment-0001.htm>
>
> ------------------------------
>
> Message: 10
> Date: Wed, 24 Nov 2010 10:25:45 -0600
> From: olguna at cimat.mx
> Subject: [Insight-users] Manual de Configuraci?n ITK, VTK & Borland
>     C++ Builder (en espa?ol )
> To: insight-users at itk.org, vtkusers at vtk.org
> Message-ID:
>     <5d7e2c715bad80e8ac4852a0e710bcea.squirrel at correo.cimat.mx>
> Content-Type: text/plain;charset=iso-8859-1
>
> Message written in Spanish with the intention to communicate with Spanish
> speakers, without attempting to exclude anyone.
>
> Saludos Usuarios de ITK & VTK y quienes aun trabajen en Borland C++
> Builder 5.3 (desde 2008 C++ Builder pertenece a Embarcadero), hago de su
> conocimiento y pongo a su disposici?n un manual de instalaci?n/compilaci?n
> de BCB, ITK & VTK, en espa?ol, lo pueden encontrar en
> http://effort-2-improve.wikispaces.com/BCBITKVTK, a manera de
> agradecimiento por la disponibilidad de estas librer?as y de la buena
> asesor?a recibida cuando realizaba mis primeros pasos en dicha plataforma.
>
> Espero les sea de utilidad, ATTE:
> L. en M. Oscar Guti?rrez Luna
>
> Greetings Members of ITK & VTK and who are still working in Borland C + +
> Builder 5.3 (since 2008 C + + Builder belongs to Embarcadero), I put at
> its disposal a manual installation / compilation of BCB, ITK & VTK (only
> in Spanish), can be found on
> http://effort-2-improve.wikispaces.com/BCBITKVTK, as an appreciation for
> the availability of these libraries and good advice received while
> conducting my first steps on that platform.
>
> I hope this will be useful
> L. in M. Oscar Guti?rrez Luna
>
> "One can't learn anything so well as by experiencing it oneself"
>
> Albert Einstein
>
>
> "...la sabiduria no se transmite. La ciencia que el sabio intenta
> comunicar suena siempre a locura." Hermann Hesse. SIDDHARTHA
>
>
>
> ------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
> End of Insight-users Digest, Vol 79, Issue 28
> *********************************************
>
>
> _____________________________________
> 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
>
>


More information about the Insight-users mailing list