This invention relates to the field of
image processing technology and discloses an
image enhancement method for handheld X-
ray machines, comprising: Step 1, acquiring the image to be processed and performing
grayscale statistics to construct a smooth
grayscale histogram, and extracting the
global information entropy and effective
grayscale range from the smooth grayscale
histogram; Step 2, using the effective grayscale range to perform linear mapping on the image to be processed to complete
dynamic range pre-compression and generate a preprocessed image; Step 3, performing multi-scale
decomposition on the preprocessed image to construct a
Laplacian pyramid composed of several different frequency
layers. By employing an adaptive preprocessing scheme based on the
global information entropy and effective grayscale range of the image, the method achieves the technical effect of automatically adapting to different shooting locations and
exposure doses, realizing precise compression of the image's
dynamic range, and overcoming the shortcomings of traditional fixed-parameter algorithms in contrast adjustment failure under handheld low-
dose radiography.