Editing
Image Registration
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=Scanco Image Registration= ==Image Transformation== *Refer to [[Media:Scanco-software-transform-v101-ipl_fe.pdf| '''Scanco Image Transformation v1.01 User Guide''']] [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ==Image Registration== *Refer to [[Media:Scanco-software-register-v101-ipl_fe.pdf| '''Scanco Image Registration v1.01 User Guide''']] [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ==Register MRI to HR-pQCT== The registration between MRI and HR-pQCT using the Scanco system requires an initial guess as the MRI and HR-pQCT images are usually not close to being aligned (unlike two HR-pQCT images that start off in the same orientation). The following steps explain how to determine an initial guess using blSurfaceViewer. 1. Contour bones (really rough for MRI is ok). 2. Find initial guess that approximately aligns bones from both scans. - Read in aim to IPL - Use gobj_maskaimpeel_ow to get just the MRI and XCT bone (but not change dimensions of the image as this affects the initial guess) - Scale the peeled XCT image down by 3 - Write out both these files and ftp to computer - Open in blSurfaceViewer (input = MRI, source = XCT if you are using the XCT as the fixed image and MRI as the moving image) - Move them until they are aligned. - Click Save Transform - Go file -> Save TDatOpen the TDat file to get the initial inputs 3. This initial guess (in x, y, z rotations and translations) can be used in the registration function in IPL as the 'initial rotation' and 'initial translation' input. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] =Similarity Registration= ==Understand rotation parameters== In SimilarityRegistration, former AppSimilarityRegistrationV3, used when registering images with Shape, the config file allows for setting inital rotations <code>initial_transform_axis_x, initial_transform_axis_y, initial_transform_axis_z</code>. These correspond to the versor components and are calculated as follows: <pre> initial_transform_axis_x = n_x * sin(alpha/2) initial_transform_axis_y = n_y * sin(alpha/2) initial_transform_axis_z = n_z * sin(alpha/2) </pre> where <code>n=[n_x,n_y,n_z]^T</code> is the unit vecotr representing the axis of rotation and <code>alpha</code> is the angle of rotation. Example 45 degree rotation around x-axis: <pre> initial_transform_axis_x = 1 * sin(45/2) = 0.382 initial_transform_axis_y = 0 * sin(45/2) = 0 initial_transform_axis_z = 0 * sin(45/2) = 0 </pre> The rotations after registration <code>final_transform_axis_x, final_transform_axis_y, final_transform_axis_z</code> can be interpreted the same way. ITK provides the functions GetAxis() and GetAngle to obtain <code>[n_x, n_y, n_z]</code> and <code>alpha</code> respectively, which are calculated as follows: <pre> v_1 = initial_transform_axis_x v_2 = initial_transform_axis_y v_3 = initial_transform_axis_z magnitude = sqrt(v_1^2 + v_2^2 + v_3^2) n_x = v_1/magnitude n_y = v_2/magnitude n_z = v_3/magnitude alpha = 2 * atan(magnitude/1) </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ==Set optimizer scales== http://www.vtk.org/Wiki/ITK/ImageRegistration#Parameter_Selection [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] =SkiRegistration= ==ITK Rigid registration for HR-pQCT== *Refer to [[Media:skiRegistration-Guide.doc| '''skiRegistration-Guide''']] Available on the SVN server https://mike.kin.ucalgary.ca/svn/bonelab/trunk/UserApps/yves/ The three executables skiInitialize, skiRegister and skiTransform are called in sequence using a shell script skiRegistration.sh. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']]
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information