User Tools

Site Tools


other:dsx:x4d:matching_x-ray_and_drr_images

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:x4d:matching_x-ray_and_drr_images [2025/05/29 13:54] – Cleaned up and added headers + See Also section + links. wikisysopother:dsx:x4d:matching_x-ray_and_drr_images [2025/06/04 14:49] (current) – Updated links to account for merging two other pages together. All relevant links now point to other:dsx:x4d:x-ray_and_drr_settings. wikisysop
Line 1: Line 1:
 ====== Matching X-ray and DRR Images ====== ====== Matching X-ray and DRR Images ======
  
-The process of matching the [[other:dsx:dsx_definitions#digitally_reconstructed_radiograph_drr|digitally reconstructed radiograph]] (DRR) images to the X-ray images is sensitive to the image processing parameters in the [[Other:DSX:X4D:X-ray_Windows|X-ray/DRR Settings]] widget. Once the DRR images have been generated for a particular set of bone poses the DRR images and the X-ray images are processed (using an identical method) and then compared to each other. The algorithm used to compare them, called the [[Other:DSX:X4D:X4D_Overview#Optimization_Metrics|image metric]], can be selected in the [[Other:DSX:X4D:Object_Tracking|Object Tracking]] widget.+The process of matching the [[other:dsx:dsx_definitions#digitally_reconstructed_radiograph_drr|digitally reconstructed radiograph]] (DRR) images to the X-ray images is sensitive to the image processing parameters in the [[other:dsx:x4d:x-ray_and_drr_settings|X-ray/DRR Settings]] widget. Once the DRR images have been generated for a particular set of bone poses the DRR images and the X-ray images are processed (using an identical method) and then compared to each other. The algorithm used to compare them, called the [[Other:DSX:X4D:X4D_Overview#Optimization_Metrics|image metric]], can be selected in the [[Other:DSX:X4D:Object_Tracking|Object Tracking]] widget.
  
 ===== Matching Process ===== ===== Matching Process =====
Line 8: Line 8:
  
   - performing a Sobel edge detection on the image,   - performing a Sobel edge detection on the image,
-  - thresholding the edge-detection image (which is controlled by the //Edge Capping// values in the [[Other:DSX:X4D:X-ray_Windows|X-ray and DRR Settings]] widget), +  - thresholding the edge-detection image (which is controlled by the //Edge Capping// values in the [[other:dsx:x4d:x-ray_and_drr_settings|X-ray and DRR Settings]] widget), 
-  - multiplying the edge-detection image by a weighting factor (which is controlled by the //Edge/Intensity Merge// value in the [[Other:DSX:X4D:X-ray_Windows|X-ray and DRR Settings]] widget) and adding it to the original image, and+  - multiplying the edge-detection image by a weighting factor (which is controlled by the //Edge/Intensity Merge// value in the [[other:dsx:x4d:x-ray_and_drr_settings|X-ray and DRR Settings]] widget) and adding it to the original image, and
   - thresholding the merged image   - thresholding the merged image
  
Line 23: Line 23:
  
 When you start processing a new data set, it can take some trial and error to figure out the set of image processing parameters that produce the best results. It is recommended that you start by tracking the bones (individually) in a single frame, trying different parameter values until the optimization algorithm can lock onto the correct pose for each bone. Then try solving a few adjacent frames to see if the same parameter values work on those. When you start processing a new data set, it can take some trial and error to figure out the set of image processing parameters that produce the best results. It is recommended that you start by tracking the bones (individually) in a single frame, trying different parameter values until the optimization algorithm can lock onto the correct pose for each bone. Then try solving a few adjacent frames to see if the same parameter values work on those.
 +
 +===== Image Metrics =====
 +
 +X4D can use one of two different image metrics to compare the X-ray and DRR images during object tracking:
 +  - [[other:dsx:x4d:pixel_difference|Pixel Difference]]
 +  - [[other:dsx:x4d:conditional_entropy|Conditional Entropy]]
  
 ===== See Also ===== ===== See Also =====
  
 See how X4D performs [[other:dsx:x4d:4d_optimization|4D optimization]] for tracking objects. See how X4D performs [[other:dsx:x4d:4d_optimization|4D optimization]] for tracking objects.
other/dsx/x4d/matching_x-ray_and_drr_images.1748526895.txt.gz · Last modified: 2025/05/29 13:54 by wikisysop