A problem about window_leveling mapping issues

Is there any way to implement the mapping of my red arrows, and the CT displayed will still be normal? The top one was linearly mapped, but only the window level of the bone was left. What I need is the bottom result, that is Normal results.

Window/level mapping from HU to displayed range (black to white) is always done using a linear ramp function. Both CT display that you show above are normal. It is up to you what you want to emphasize (bone, soft-tissues, etc.).

In addition to the window/level mapping, there is an optional thresholding operation (off by default), that allows hiding part of the image that is outside the specified range.