Convert pixel/grayscale values to decibels
5 views (last 30 days)
Show older comments
I would like to know how to convert uniformity in ultrasound images into decibels.
I found that uniformity testing procedures involve several steps:
- Apply coupling gel to the scanning surface.
- Position the transducer of the standard ultrasound system above a phantom region without targets, only containing a speckle pattern.
- Adjust instrument settings individually in the ultraosund equipament
- Freeze one image for each setting combination and obtain a hard copy.
- Perform computer analysis by placing a series of 4 small ROI (Region of Interest) along the axial direction. Compute the average pixel value (PV̅̅̅̅i, i=1,...,4) in each ROI. Calculate the difference between the average pixel values of the two quadrants with the highest (MAX(PV̅̅̅̅i)) and lowest (min(PV̅̅̅̅i)) average pixel values, recording this result as the uniformity parameter:U = MAX(PV̅̅̅̅i) - min(PV̅̅̅̅i)This parameter represents the maximum variation of mean grey levels among discrete quadrants. To compare results with tolerance limits suggested by international standards, uniformity is converted to the decibel scale (how?).
In the following image, we have an example of automatic selection of ROIs on MATLAB for image uniformity assessment.
Any help is welcome!
0 Comments
Answers (1)
William Rose
on 2 Mar 2024
@ESTER LIMA, given two levels, PVmin and PVmax, whose values are proportional to the intensity of the ultrasound signal, the decibel difference is
10*log(PVmax/PVmin)
I used a factor of 10 above, not 20, because I assumed the gray level is proportional to intensity rather than amplitude. If the gray level is proportional to amplitude, then the dB value is
20*log(PVmax/PVmin)
There is a reasonable chance that the actual grayscale value is not proportional to either amplitude or intensity, because the user can adjust image gain and contrast. This creates a nonlinear mapping from amplitude (or intensity) to gray level. Ultrasound devices may use proprietary or public domain algorithms to map from intensity to gray scale. Matlab's histeq() is an example of a public algorithm for this purpose. In such cases, I would use the actual ultrasound intensity ratio, and the fomula above with "10", for the dB difference. But I can't tell you how to extract the intensity from the grayscale level. You would have to know more about the machine's grayscale mapping.
5 Comments
William Rose
on 4 Mar 2024
@ESTER LIMA, I'm afraid I do not have more time to work on this problem. Good luck with your analysis.
See Also
Categories
Find more on Ultrasound Imaging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!