User Tools

Site Tools


other:dsx:locate3d:tutorials:track_objects_using_points_of_interest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
other:dsx:locate3d:tutorials:track_objects_using_points_of_interest [2024/07/16 19:21] – created sgrangerother:dsx:locate3d:tutorials:track_objects_using_points_of_interest [2025/05/05 21:13] (current) – Cleaned up and added section headers. wikisysop
Line 1: Line 1:
-====== Track_Objects_using_Points_of_Interest ======+====== Track Objects using Points of Interest ======
  
-||+This "How To" tutorial will teach you how to track objects using points of interest [[other:dsx:dsx_definitions#point_of_interest_poi|POI]]s. 
 + 
 +===== Before You Start =====
  
 Before you can use Locate3D to track objects using points of interest, you must first use other DSX programs to define certain elements of the object: Before you can use Locate3D to track objects using points of interest, you must first use other DSX programs to define certain elements of the object:
  
-  - Use __Surface3D__ to digitize the bead locations in the object's image data. These will be stored as points of interest (POIsin the subject file, with the 3D coordinates expressed in the image data's reference frame. See the wiki entry for the [[Other:DSX:Surface3D:Points_of_Interest|**Points of Interest**]] widget in Surface3D for more details. You need at least three points of interest in each object you want to track. +  - Use [[other:dsx:surface3d:surface3d_overview|Surface3D]] to digitize the bead locations in the object's image data. These will be stored as POIs in the subject file, with the 3D coordinates expressed in the image data's reference frame. See the wiki entry for the [[Other:DSX:Surface3D:Points_of_Interest|Points of Interest]] widget in Surface3D for more details. You need at least three points of interest in each object you want to track. 
-  - Use __xManager__ to modify the radius and color of each POI. The radius is the radius of the physical bead, in the image data units (usually mm). It is important to set the bead size correctly because //Locate3D// uses it to determine how big the bead should appear in the X-ray images. The POI color is used in the //Locate3D// graphical interface to make it easier to distinguish between the POIs. +  - Use [[other:dsx:xmanager:xmanager_overview|xManager]] to modify the radius and color of each POI. The radius is the radius of the physical bead, in the image data units (usually mm). It is important to set the bead size correctly because //Locate3D// uses it to determine how big the bead should appear in the X-ray images. The POI color is used in the //Locate3D// graphical interface to make it easier to distinguish between the POIs. 
-  - Use __Orient3D__ to define a local coordinate system for the object, using the object's surface model. When //Locate3D// computes the object poses from the POI locations, the poses will be expressed as the transform from the X-ray lab frame to the object's local coordinate system (LCS). Follow this tutorial for more details: [[Other:DSX:Orient3D:Tutorials:Define_the_Local_Coordinate_System_of_an_Object|How To: Define the LCS of an Object]].+  - Use [[other:dsx:orient3d:orient3d_overview|Orient3D]] to define a local coordinate system for the object, using the object's surface model. When //Locate3D// computes the object poses from the POI locations, the poses will be expressed as the transform from the X-ray lab frame to the object's local coordinate system (LCS). Follow this tutorial for more details: [[Other:DSX:Orient3D:Tutorials:Define_the_Local_Coordinate_System_of_an_Object|How To: Define the LCS of an Object]].
  
-You are now ready to use //Locate3D//:+===== Using Locate3D to Track Objects =====
  
 +You are now ready to use //Locate3D//:
   - Launch //Locate3D// and load the subject file.   - Launch //Locate3D// and load the subject file.
   - Select the appropriate session, configuration, and trial.   - Select the appropriate session, configuration, and trial.
Line 19: Line 22:
   - Go to a third reporting time near or next to the first two and digitize all of the beads.   - Go to a third reporting time near or next to the first two and digitize all of the beads.
   - You now have three time stamps of POI poses. If the bead motion is not too fast or abrupt, and the beads are not too close together, you can try to have Locate3D automatically locate the beads in the other X-ray frames. Realistically, you will probably need to digitize them in more key frames throughout the trial in order to have Locate3D auto-identify them in all of the remaining frames.   - You now have three time stamps of POI poses. If the bead motion is not too fast or abrupt, and the beads are not too close together, you can try to have Locate3D automatically locate the beads in the other X-ray frames. Realistically, you will probably need to digitize them in more key frames throughout the trial in order to have Locate3D auto-identify them in all of the remaining frames.
-  - Try using the auto-identification feature (called propagation) on a small range of reporting times. In the [[Other:DSX:Locate3D:Points_of_Interest|**Points of Interest**]] widget, set the //Propagate Range// to a range of 10 to 15 reporting times surrounding the times you just digitized.+  - Try using the auto-identification feature (called propagation) on a small range of reporting times. In the [[Other:DSX:Locate3D:Points_of_Interest|Points of Interest]] widget, set the //Propagate Range// to a range of 10 to 15 reporting times surrounding the times you just digitized.
   - Select //Tools→Propagate POIs//. For each POI in the object, Locate3D will fit GCV splines to the XYZ coordinates of its existing poses and then for each reporting time in the range that does not already have a pose, the splines will be interpolated to calculate a predicted location of the POI. The neighborhood around this point is then searched for the optimal POI center, as described in the wiki entry for this command.   - Select //Tools→Propagate POIs//. For each POI in the object, Locate3D will fit GCV splines to the XYZ coordinates of its existing poses and then for each reporting time in the range that does not already have a pose, the splines will be interpolated to calculate a predicted location of the POI. The neighborhood around this point is then searched for the optimal POI center, as described in the wiki entry for this command.
-  - Scroll through the frames and check the results. If you need to delete POI poses, open the [[Other:DSX:Locate3D:POI_Graphs|**POI Graphs**]] widget and select and delete the bad poses. To display a POI's poses in the graphs, check its //graph// checkbox in the [[Other:DSX:Locate3D:Points_of_Interest|**Points of Interest**]] widget. See the wiki entry for the [[Other:DSX:Locate3D:POI_Graphs|**POI Graphs**]] widget for details on how to select and delete poses from the graphs.+  - Scroll through the frames and check the results. If you need to delete POI poses, open the [[Other:DSX:Locate3D:POI_Graphs|POI Graphs]] widget and select and delete the bad poses. To display a POI's poses in the graphs, check its //graph// checkbox in the [[Other:DSX:Locate3D:Points_of_Interest|Points of Interest]] widget. See the wiki entry for the [[Other:DSX:Locate3D:POI_Graphs|POI Graphs]] widget for details on how to select and delete poses from the graphs.
   - If propagation worked well, increase the range and propagate over the additional reporting times. If it did not work well, you can:   - If propagation worked well, increase the range and propagate over the additional reporting times. If it did not work well, you can:
-    - change the value of the [[Other:DSX:Locate3D:Locate3D_Parameters#Propagation_Search_Factor|//Propagation Search Factor//]] parameter+    - change the value of the [[Other:DSX:Locate3D:Locate3D_Parameters#Propagation_Search_Factor|Propagation Search Factor]] parameter
     - manually digitize the beads for more reporting times, in order to improve the spline interpolation     - manually digitize the beads for more reporting times, in order to improve the spline interpolation
   - Once you have tracked the POIs in all of the frames, save their 2D locations (in the X-ray images) and 3D locations (in the X-ray lab frame) using the //File→Save POI Locations// command.   - Once you have tracked the POIs in all of the frames, save their 2D locations (in the X-ray images) and 3D locations (in the X-ray lab frame) using the //File→Save POI Locations// command.
other/dsx/locate3d/tutorials/track_objects_using_points_of_interest.1721157665.txt.gz · Last modified: 2024/07/16 19:21 by sgranger