other:dsx:x4d:tutorials:how_to_optimize_x-ray_and_drr_settings
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
other:dsx:x4d:tutorials:how_to_optimize_x-ray_and_drr_settings [2024/07/17 15:44] – created sgranger | other:dsx:x4d:tutorials:how_to_optimize_x-ray_and_drr_settings [2025/06/04 15:01] (current) – Cleaned up page and added section headers. Added reference to basic guide. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to Optimize X-ray and DRR Settings ====== | ====== How to Optimize X-ray and DRR Settings ====== | ||
- | || | + | Before beginning this tutorial, ensure that you are familiar with the steps in the [[other: |
- | To make it easier to find the best set of parameter values for a particular trial, the [[Other: | + | ===== Finding |
+ | To make it easier to find the best set of parameter values for a particular trial, the [[Other: | ||
+ | |||
+ | ==== Set-up ==== | ||
- Select a single object for which to optimize the image settings. | - Select a single object for which to optimize the image settings. | ||
- Choose an X-ray frame in which the object is fairly easy to see. | - Choose an X-ray frame in which the object is fairly easy to see. | ||
- Manually move the object into the correct pose as best you can. | - Manually move the object into the correct pose as best you can. | ||
- | | + | |
+ | ==== Object Tracking ==== | ||
+ | | ||
- Set the tracking optimization ranges to larger values (e.g., 3 mm and 3 deg) and keep the number of iterations at about 1000. | - Set the tracking optimization ranges to larger values (e.g., 3 mm and 3 deg) and keep the number of iterations at about 1000. | ||
- | | + | |
- | - Set the ranges of the image processing parameters (the X-ray and DRR settings as well as the image metric parameters) to values appropriate for the current frame. You may want to experiment with the X-ray and DRR settings in the [[Other:DSX:X4D:X-ray_Windows|**Xray/DRR Settings**]] widget to get a sense of how they affect the images. For parameters that have a large effect on the images (e.g., X-ray Min Edge), set their ranges smaller so that the optimizer focuses more on the optimal region. | + | ==== Image Optimization ==== |
+ | | ||
+ | - Set the ranges of the image processing parameters (the X-ray and [[other: | ||
- Press // | - Press // | ||
- When the optimization is finished, the image processing parameters will be set to their optimal values-- the values that caused the tracking optimization to lock-in on a pose closest to the initial pose. The object will be returned to its initial pose, but the output window will show how close the " | - When the optimization is finished, the image processing parameters will be set to their optimal values-- the values that caused the tracking optimization to lock-in on a pose closest to the initial pose. The object will be returned to its initial pose, but the output window will show how close the " | ||
- | **Note**: | + | ===== Notes ===== |
+ | |||
+ | For any given X-ray frame and object, there is no guarantee that there exists a set of image processing parameters such that the correct pose is the global minimum pose. This is because of the inherent differences between the X-ray and DRR images and the quality and extent of the CT data. There is also no guarantee that the optimal parameters for one frame will work on any other frame. However, image optimization is still often useful for finding a neighborhood of parameter values that improve the performance of the tracking optimization. | ||
other/dsx/x4d/tutorials/how_to_optimize_x-ray_and_drr_settings.txt · Last modified: 2025/06/04 15:01 by wikisysop