User Tools

Site Tools


other:dsx:x4d:x-ray_windows

X-ray Windows

The matching of DRR images to X-ray images is sensitive to the image processing parameters in this 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 using the selected image metric algorithm.

The processing method consists of

  1. performing a Sobel edge detection on the image,
  2. thresholding the edge-detection image
  3. multiplying the edge-detection image by a weighting factor and adding it to the original image, and
  4. thresholding the merged image.


Parameters
* Edge/Intensity Merge This is the value of the weighting factor in step 3.

* Edge Capping (%) These two values values govern the edge thresholding in step 2. Pixels in the edge image whose values are greater than the edge capping maximum are set to zero. Very bright pixels (sharp edges) are usually inorganic objects like EMG electrodes or metal plates or wires. They can be removed from the edge image by lowering the edge capping maximum from 100. Every pixel in the edge image whose value is above the edge capping minimum is set to the edge capping minimum. This effectively strengthens weaker edges (those below the edge capping minimum) because the entire image is scaled later.

* Image Thresholds (%) All pixels above the image threshold maximum are set to the maximum, and all pixels below the image threshold minimum are set to 0. Much of the time these thresholds should be left at 100 and 0. However, there are times when it is useful to raise the minimum above zero to mask soft tissue regions, and lower the maximum from 100 to remove artificial edges, such as the end of a CT bone that is within the X-ray image. Also, when tracking metal implants, it may be helpful to make the DRR a solid, bright color by setting both the minimum and maximum thresholds to 0.
other/dsx/x4d/x-ray_windows.txt · Last modified: 2024/07/17 15:44 by sgranger