[Insight-users] Plotting BSpline controlpoints/deformation vectors?
motes motes
mort.motes at gmail.com
Wed Aug 12 08:02:19 EDT 2009
On Tue, Aug 11, 2009 at 1:41 PM, motes motes <mort.motes at gmail.com> wrote:
> I am using one of the basic BSplineDeformableTransform examples on some 2D
> CT images of a brain.
>
> Now for each 5 or 10 iteration I would like to view the currently
> registered image and the corresponding BSpline controlpoints (deformation
> vectors).
>
> Are there any functionality in ITK that deals with this kind of
> visualization of registered images in progress and the corresponding
> controlpoints (deformation vectors)?
>
Ok I have now written some code that writes the registered image to disk
after a sequence of N iterations.
In the future I hope to enable movement of control points in my
application. Therefore I would also like to plot the current position of the
control points on the current registered image.
I am working on the following idea. When I store the current registered
image, I write the position of the control points to a file.
Later I can (hopefully) in eg. gnuplot load the image and read in the
corresponding control points and plot them on top of the image.
If anyone know of a better/easier way (maybe ITK already has examples
showing this?) they are most welcome to give suggestions!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090812/52624c8a/attachment.htm>
More information about the Insight-users
mailing list