I have a DSM and a DTM and want to create Normalized DSM by subtracting DTM from DSM. It is a simple calculation that I can do it in Raster Calculator with the DSM-DTM expression. However, the height values are generated different than I expected.
For example here DOM40_Clipped is my DSM and maximum height value is 629. The maximum value in DTM is 582 and I expect to the max value in N_DSM as around 47 but it looks like 124 and have the same problem in the minimum value.
What could be the reason and how to fix it?
Min / Max Value Settings
section of the Layer Styling pane.