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