[IGSTK-Users] IGSTK: Polaris and recorded images synchronization

Patrick Cheng cheng at isis.georgetown.edu
Thu Mar 3 23:37:43 EST 2011


Hi Lai,

You should be able to find a testing program comes with the ndicapi 
code. If not, you can take a look at the Polaris API menu to write your 
tracker communication code based on their device initialization sequence 
graph. That will require significant amount of effort.

Another way is to take a look at the call sequence in the IGSTK code. 
Specifically in the following two classes:
igstkNDITracker is the base class for shared API among all NDI trackers
igstkPolarisTracker has the command specific to Polaris tracker.

Serial communication command is being evoked through 
NDICommandInterpreter class, which is developed based on the ndicapi 
code. The code is well documented, you might be able to easily reference 
it back and forth.

Patrick


On 3/3/2011 7:49 AM, l khinwee wrote:
> Hi Patrick,
>
> After playing with few of IGSTK examples, i think this toolkit is not
> suitable for my goal, in order to synchronize Polaris tracking
> information with recorded 2D ultrasound slices.
>
> So i decided come back to VTK toolkits. About the example you have
> mentioned, namely SynchroGrab, i have success to comment out the codings
> that are not required to communite VTK with Polaris. I have attached
> (mypolaris1) here for your references. This program can be configurate
> with CMake and build without error by using VS 8. The problem is to
> write the main script to work with Polaris. I do not know how to
> continue to make it work with Polaris, as i do not have any references
> examples.
>
> About the video grabber connected with Ultrasound machine in VTK
> program, i do it separately. but right now i want to solve the Polaris
> problem first.
>
> Do you have the examples or any suggestion for me to continue on this
> task? I've stuck in this problem pretty long time ago until now. Any
> helps from you are much appreciated.
>
> p/s: I have also attached the original program SynchroGrab for your
> references, (SynchroGrabSources)
>
> best regards,
> Lai
> ------------------------------------------------------------------------
> *From:* Patrick Cheng <cheng at isis.georgetown.edu>
> *To:* l khinwee <khinwee at yahoo.com>
> *Cc:* igstk-users at public.kitware.com
> *Sent:* Fri, February 25, 2011 5:31:00 PM
> *Subject:* Re: [IGSTK-Users] IGSTK: Polaris and recorded images
> synchronization
>
> Hi Lai,
>
> What is the status of your video recording component? Unfortunately, we
> haven't quite finish that function in IGSTK at this moment, which means
> you can't do the whole application in IGSTK. We do have some draft code
> for testing purpose, if you are willing to jump on the beta.
>
> But if you have that component developed independently already, then its
> relatively easy to integrate IGSTK tracking into your program. I can
> give you some guidance on that.
>
> Let me know how I can best assist you,
>
> Patrick
>
> On 2/25/2011 11:11 AM, l khinwee wrote:
>  > HI Patrick,
>  >
>  > I have seen the link you given before. It is the software developed
>  > namely SynchroGrab4D, in the last few weeks, i have also contacted with
>  > David Gobbi, who are one of the author/developer for this software. The
>  > reason why i give up to implement this SynchroGrab4D, is because they
>  > are not using any video grabber/frame grabber, they using Ultrasonix (PC
>  > based ultrasound machine) so that they can have direct access of the
>  > computer memory to get the recording images. All the coding in this
>  > software are mixed with Ultrasonix coding. So, if i am not using this
>  > ultrasound machine, i cannot build the application successfully. I have
>  > tried to comment out the related coding from Ultrasonix, but it seems
>  > like far more complicated as i thought.
>  > However, this is the only example coding/software that are available
>  > online and related to vtkNDITracker, i could not find any more others
>  > examples, as more people working on tracking devices with IGSTK only,
>  > rather than VTK.
>  > Please correct me, if i am mistake.
>  >
>  > Lai
>  >
>  > ------------------------------------------------------------------------
>  > *From:* Patrick Cheng <cheng at isis.georgetown.edu
> <mailto:cheng at isis.georgetown.edu>>
>  > *To:* l khinwee <khinwee at yahoo.com <mailto:khinwee at yahoo.com>>
>  > *Cc:* igstk-users at public.kitware.com
> <mailto:igstk-users at public.kitware.com>
>  > *Sent:* Fri, February 25, 2011 10:56:23 PM
>  > *Subject:* Re: [IGSTK-Users] IGSTK: Polaris and recorded images
>  > synchronization
>  >
>  > Hi Lai,
>  >
>  > You might find this reference helpful:
>>  http://hdl.handle.net/10380/3083
>  >
>  > vtkNDITracker class is the precursor of igstk tracker code. If that
>  > tracking code works and you have your video recording working in VTK, I
>  > would recommend you do it in VTK.
>  >
>  > VideoGrabber component is currently under development, so there is no
>  > video recording capability in IGSTK yet. Once we have that, it will be
>  > relatively easy to do this in IGSTK.
>  >
>  > I hope this helps,
>  >
>  > Patrick
>  >
>  > On 2/25/2011 7:05 AM, l khinwee wrote:
>  > > Hi All IGSTK Users,
>  > >
>  > > i have a question regarding IGSTK. I am trying to reconstruct 3D
>  > > ultrasound images from a series of 2D images,and i have a Polaris
>  > > Optical tracking devices working together with the ultrasound machine
>  > > while recording the 2D image slices. My idea is to synchronize the
>  > > position orientation with each of the recording 2D images, before
>  > > further reconstruct into 3D.
>  > >
>  > > Can i using IGSTK for this works? I have go through some examples from
>  > > IGSTK, such as NeedleBiopsy, Navigation and etc. But the examples is
>  > > trying to navigate the needle(or Polaris Passive Marker) positions.
> Some
>  > > how it is not the goal that i wish to achieve.
>  > >
>  > > I realize that there are a class vtkNDITracker.cxx from VTK. Should i
>  > > focus on this vtk implementation, or trying the IGSTK. I have no idea
>  > > which tools should i using. Please advise me, thank you very much.
>  > >
>  > > regards,
>  > > Lai
>  > >
>  > >
>  > >
>  > > _______________________________________________
>  > > Powered by www.kitware.com
> <http://www.kitware.com><http://www.kitware.com>
>  > >
>  >> Visit other Kitware open-source projects at
>>  http://www.kitware.com/opensource/opensource.html
>  > >
>  > > Follow this link to subscribe/unsubscribe:
>> > http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>  >
>



More information about the IGSTK-Users mailing list